| With the improvement of the quality of life,people pay more and more attention to physical health.A reasonable and personalized exercise program is regarded as an important means to prevent a variety of chronic diseases and improve personal physical fitness.As early as the end of 2016,the State Council put forward the "Healthy China2030" planning and development outline,incorporating the health of the people into the strategic plan at the national level.Collecting individual exercise data recorded by various devices during exercise is helpful to formulate an effective individualized exercise plan,and it is also helpful for professionals to analyze the user’s health status.However,in previous work,for sports and health equipment such as treadmills,all manufacturers did not have a unified data transmission protocol above the application layer,which is very unfavorable for data sharing between different manufacturers and different sports and health equipment.However,it will be a difficult task to establish a set of protocol standards applicable to sports and health from scratch.Therefore,based on the latest version of the interoperability protocol ISO/IEEE 11073-PHD in the field of medical equipment,this article has formulated a set of interoperability protocols suitable for treadmill equipment.In the work of this article,taking the most common equipment treadmill in the sports and health field as an example,a set of treadmill interoperability standard models based on the international standard 11073-PHD in the medical and health field is first established.This set of standards establishes the corresponding domain information model,communication model and service model according to the characteristics and requirements of the data transmitted by the treadmill.Secondly,a set of test standards corresponding to the treadmill interoperability protocol is designed to test whether the treadmill equipment complies with the interoperability protocol.Finally,a set of distributed storage system is designed to carry out remote persistent distributed storage of data files of sports and health equipment integrated by the gateway equipment,and a set of client data access schemes are provided.In the software implementation stage,using Continua’s open source software library,a standard treadmill simulation device was constructed.The treadmill sends the generated data stream to the test software written by MFC for standard compliance testing,and generates a corresponding test report.During the interaction between the treadmill and the gateway device,the gateway device sorts and escapes the sports health data sent by the treadmill,generates a corresponding JSON document,and sends it to the back-end distributed file system.Using QT,the client interface is designed to access and parse the sports health data files in the file system,and display sports information. |