Design of Sports Training Data Monitoring System Based on Wireless Internet of Things

With the development of the times and the continuous improvement of science and technology, people’s living standards are getting better and better, living conditions are getting more and more abundant, the infrastructure of cities is becoming more and more perfect, the comprehensive strength of the country is constantly increasing, and the speed of development is also increasing fast. However, under conditions of continuous development, the physical health of adolescents and children has not improved, the physical tness of adolescents has declined, and many problems have appeared. ­is survey will combine embedded software and Internet technology, focusing on testing the safety of the sports training system and collecting data. It is very necessary for us to investigate the safety of the sports training system. ­e system also has potential for development. Only when the safety of the sports training system is determined can we understand the most suitable exercise methods for contemporary youths and ensure that they are not right in order to make the relevant sports training methods more condently when a second injury occurs to the body. ­e sports training system to be studied this time consists of three basic technologies, namely, data collection terminals, database stations, and web servers. We will install the relevant equipment of the data collection system in the campus, such as teaching buildings or campus buildings and roads on the open space next to it, and a chip with a wireless transmission system will be placed in the student’s campus card. ­is chip is small in size, high in transmission eciency, and easy to carry by students. ­erefore, when each student holds the campus card, the related equipment in the campus card will be signal linked with the equipment installed in the school. ­is mode is wireless, which is very convenient and fast. In this way, we can collect the identity information and money storage status of the campus card through the web server. When the student ID is displayed on the computer screen, it proves that the student has swiped the card successfully.


Introduction
With the development of the times and the continuous improvement of science and technology, people's living standards are getting better and better, living conditions are getting more and more abundant, the infrastructure of cities is becoming more and more perfect, the comprehensive strength of the country is constantly increasing, and the speed of development is also increasing fast. However, under conditions of continuous development, the physical health of adolescents and children has not improved, the physical tness of adolescents has declined, and many problems have appeared [1,2]. According to the National Health Survey in recent years, we can see that the obesity rate of adolescents and adults has increased signi cantly, and more and more people are plagued by obesity [3]. At the same time, we can see from the data that the physical health problems of college students today are prominent, the physical tness level of college students has dropped signi cantly, and the downward trend is more obvious. ese problems deserve our attention [4]. College students are at the center of the youth group and account for a large proportion of the number of young people. e development of a country and the future are inseparable from the development of young people. Young people are a powerful driving force for the improvement of the country's comprehensive strength [5]. erefore, a young person with development potential should not only focus on cultivating good quality and achieving better results but also focus on cultivating a healthy body and a stable mental state. Only by combining these aspects will the future of young people be brighter, the development will be faster, and the strength will be stronger [6].
rough relevant data surveys, we can find that today's fitness system and health model have not received much attention. People use the Internet, high-tech digital systems, and intelligent related equipment to exercise and improve their own health [7]. e level of understanding of them is low, so sometimes you will encounter situations where you do not know how to train or what kind of exercise is suitable for you. erefore, the effect of training is not very good, and the effect of physical exercise cannot be achieved. ere are also people who suffer physical damage due to blind training and overtraining [8]. e sports training system is mainly composed of the central component of each equipment and the main part of each fitness method. e central component and related systems are connected using Internet technology, the central system is the main component, and the other fitness systems are supplemented [9]. rough the bottomup data collection of each layer of the real situation, the final data collection can be achieved, and it can also be compared with historical data. e fitness system can also directly affect those who want to exercise [10].

Related Work
In the current era, people's physical health is getting less and less attention. e way people use the Internet, high-tech digital systems, and smart equipment to improve their health has not been popularized. ere are also a series of problems, such as low level of understanding. In order to solve the above problems, literature successfully designed a green platform ITIHP that can exercise through the Internet and promote the health of the whole people through practical exploration [11].
is platform uses a Bluetooth system to connect fitness equipment and related systems through signal transmission so that while the machine is operating, it uploads the time and calories consumed by the person using it to the mobile phone or computer to achieve fitness, entertainment, and informationization, and there will be dedicated personnel to compare the information uploaded by people and the information of people's previous physical conditions [12]. Finally, according to each person's different physique and different situations, users will be provided with more personalized and accurate fitness plans and diet plans. rough further exploration, literature successfully designed a series of network intelligent digital collection systems, and this system is mainly used in gyms. It includes human body and mind perception system, network system capable of collecting data, data collection system, and comprehensive analysis application system [13]. e main function of the perception system is to measure the body-related conditions of the fitness person and the pressure that the body can bear [14]. e network system converts the obtained customer information into useful data, transmits it to the relevant computer server, and then transmits it to the staff after sorting. e application system is mainly for data storage and extraction functions [15]. Literature puts forward a problem that needs to be solved urgently. Nowadays, fitness equipment is relatively single, and users are not interested in using it. e newly designed fitness equipment combines modern high technology, which can first verify the user's identity and then provide a personalized mode. Since the new system combines the simulated reality technology, it can give users a better experience, so it is more attractive [16,17]. e system can not only guide people's fitness methods but also record the data and results of people's exercise in real time, avoiding the disadvantage of poor communication with users and making fitness equipment more personalized and digitizing. We specifically use treadmills as an example. e treadmills under the new technology have added embedded technology, perception technology, and automatic collection technology, which can verify people's identities, collect statistics during and after exercise, make fitness distribution of functions between the equipment, fitness people, and fitness coaches more reasonable [18,19], and increase the communication between the three to maximize advantages, diversify exercises, and make data more accurate.

Human Arm Motion Analysis.
Bring the relevant position of the connecting rod into the formula established according to the coordinate system, and the transformation law can be obtained. e specific relation formula is as follows: (1) e specific explanation of the above formula is as follows: In order to study the impact of the sports training system on people, we need to introduce the D-H model to calculate the transformation law between the human arm joints and the joints. We bring the relevant collected human arm joint change data into the following formula: e specific calculation process of the above formula is as follows: When we perform shoulder-related exercises, the most commonly used sports equipment is the shoulder press. When people use this type of exercise equipment to exercise, their arm movements are carried out on a relatively inclined horizontal surface, including up and down or back and forth, two modes of exercise. Combining the above conditions, we need to fix the positions of the two rods. If in the coordinate system we have established, where people are located is the origin of the coordinate system, when the inclination of the arm and the ground is 30 degrees, we can bring relevant data into the formula to observe the result: e real data obtained in the coordinate system is Bring the relevant data into the DH system to get smaller data: Since the shelf of the referral equipment can only be composed of one component, we can only build a change matrix. Of course, we still have to calculate on the basis of the DH system, so we can describe the motion formula of the relevant machinery as Next, we need to bring in more specific relevant data to verify the hypothesis. First, we need to make a plan to specify the length of the mechanical lever and ensure that the human arm joints and the mechanical level are consistent so that they are in the same coordinate experiment under the department. At this time, we record the coordinates of the lever. But it is also worth noting that when people use shoulder presses to exercise, the direction of the arm force is not parallel to the plane, but in an inclined state, the angle of inclination is about 25 degrees, so we must also include the rotation angle, so we can combine the data in the shoulder pusher coordinate system with the original data and then convert the specific steps as follows: Next, get a more specific formula: Bring in We can make adjustments to relevant data, such as changing the angle at which the exercise equipment is placed or the angle when the human body moves, perform a more realistic measurement of the equipment, and finally get the end space displacement curve, as shown in Figure 1.
According to the angle that the human body and the machine can rotate when moving, we count the angle and the recording angle of each rotation of the machine lever device and input the relevant formula to obtain the rotation angle and the recording angle of the arm joint during the movement. en, we calculate the difference between the two rotation angles and finally obtain the corresponding rotation speed of the human body joint. en, we bring the data of the rotation angle of the human arm into the differential calculation so that we can get the specific situation of the change of the rotational acceleration of the arm joint. e specific data selection and experimental results change are shown in Figure 2.

Human Dynamics Analysis.
If we decompose the weight of the human arm, the weight distribution of the front arm and the back arm of the human is the same, and we can record the relevant quality data as c 1 and c 2 . e formula for calculating the mass of the forearm is as follows: Mobile Information Systems e mass calculation formula of the back arm is is calculated by and followed by  Mobile Information Systems e equation for calculating the force of the forearm is as follows: e calculation equation about the force of the rear arm is as follows: Among them, which is substituted into Among them, Combine the above formula to get So the specific equation of Newton Euler about force is as follows: Mobile Information Systems 5 After we know the specific machine composition, machine state, machine rotation speed, and machine force, we will combine the data with the R system. e relationship between the specific machine angle and the machine force is shown in Figure 3.

Establish a Basic Exercise Prescription Generation Model.
e relevant model designed in this experiment not only has the model foundation of the ordinary model but also makes relevant adjustments according to the development of the times. e main features are as follows.
e model used in this experiment is a model with a personalized design for people of different age groups and people with different physical conditions. According to the different characteristics of exercise intensity that children, youth, adults, and the elderly can withstand, the exercise methods we recommend for each type of people are also different, and the exercise effects that can be achieved are also different. For example, for younger children or older people, we should use a less-intensity mode to exercise their cardiorespiratory capacity, muscle endurance, or flexibility so as not to have a bad effect on their bodies; for people and adults, they can withstand greater intensity and can exercise for a longer time, so we can relatively increase their cardiorespiratory capacity, muscle endurance, or flexibility exercises so that their exercise can produce a good effect. In addition, we must pay more attention to the problems of the body itself; that is, for people with heart disease, asthma, and other diseases, their exercise style will be very different from the exercise style of ordinary people; otherwise, there will be very serious consequences, which may be life-threatening. Another point worthy of our attention is that although sports are good for people's bodies, we still have to consider people's subjective wishes and see where they want to perform specific exercises. For example, girls pay more attention to body shape adjustments, boys pay more attention to the strengthening of muscle strength, and some people exercise to increase lung capacity, so the exercise system must combine multiple aspects to plan the exercise mode. e general exercise method has limitations. e exercise equipment is relatively single. During the exercise, we can only measure the amount that each person can do each time or each person per group, and the data collection is relatively incomplete. Under the new sports model design, we have added a new recording method to the original sports mode. We will check the speed of each exercise of each person, the highest point that the referral can reach, and the time between each referral or the exercise, monitor the heartbeat frequency and other aspects of the participants, and make relative adjustments to the planning of people of different ages, different physical conditions, and different exercise purposes.
During people's exercise, people's physical condition is not a static state but constantly changes with the time and frequency of the exercise and maintains a more continuous state during this exercise. erefore, in the process of constant change, the new model can capture the changing process of people's bodies and make timely adjustments. e specific data to be referred to are as follows.

e Pressure on the Body during the Referral Process.
In this experiment, we will use the most accurate RM system to represent the pressure that the body bears during the referral process. e pressure that each person's muscles can bear is different, and the maximum bearing capacity of each person's muscles is also different, so we have to collect the maximum number of times and the longest time that each person can exercise. For example, if the maximum weight recommended by a person is 30 kg, then the maximum strength recommended by him is 30 kg. ese data correspond to each other. e specific data are shown in Table 1.

Maximum Referral Height.
e measurement of the lifting height refers to a calculation method of how high people can lift equipment of different weights during the lifting exercise; that is, we need to focus on the movement process and distance of the equipment. We can divide the reference height into two categories: one is the height that can be reached each time in the dynamic reference process, and the other is the maximum height that people can reach in the static time. Moreover, the arm length of people of different heights and genders is different, so the recommended height is also different. In the experiment, by analyzing the maximum value of the recommended height, we can get the relationship between it and the rotation angle of the motion machine, and finally, we can get the motion cycle data in real time.

Pushing Speed.
In the process of exercise, we must pay attention to muscle stretching and contraction and pay attention to the time and frequency of exercise. When performing a press exercise, we should control the force used for the upward movement of the arm and the speed of the upward push, try to maintain a uniform speed with a relatively uniform time interval, and ensure smooth breathing. When exercising and pushing, every time we want to accelerate the exercise, we must first ensure a slow and uniform increase so that the muscles have a process of adaptation and also maintain a more stable state after acceleration. In the same way, every time we want to decelerate, we must first ensure that the speed is reduced slowly and uniformly so that the muscles have an adaptation process and also maintain a relatively stable state after deceleration so as to ensure that it will not be accelerated due to rapid acceleration or slow down and damage the muscle. For people who want to achieve different goals, the speed of the press is different. For those who pursue lung capacity exercise and muscular endurance exercise, we can reduce their press speed and then increase the number of presses, but for those who want to exercise muscle power of people, we can increase the speed of recommendation appropriately.

Recommended Interval.
It is best to keep the interval within a few seconds.

Recommended Number.
For those who want to improve muscle power, the number of recommendations can be increased to about 10 as a group. is type of data is suitable for young people and adults with better health, but for the elderly, it is too intense, and the referral is not suitable for them, so we can adopt a strengthening strength training program, control the number of each group to about 10, and increase the interval of referrals appropriately. If middle-aged and elderly people want to improve muscle endurance, you can increase the number of recommendations to no more than 20 and practice repeatedly on this basis. e number of suitable exercises for different groups is shown in Table 2.

Interval between Exercises.
We can divide the interval of each group of exercises into two types: one is the longer rest time, which can control the rest time within 3-4 minutes, and the other is the shorter each group exercise interval mode. e rest time is controlled between 40 and 50 seconds. Choosing a suitable rest method and a more flexible rest time can strengthen muscle training and improve the effect of exercise.

Number of Recommended Groups.
According to the relevant standards set by the country, we can strengthen training for adults and young people with better physical conditions. ey can set the number of referrals to more than two groups, but it is best not to exceed four groups, and the intensity and speed of the referrals should not be too strong; for middle-aged and elderly people with relatively poor physical conditions and people who have just started to involve this exercise method, the number of referrals needs to be controlled within one group.

Training Frequency.
In accordance with relevant national standards, we suggest that ordinary people should be able to set aside 1-3 days a week for physical exercise and at least one set of recommended exercises each time. If people need to do multiple press exercises in a day, the interval between two consecutive press exercises should not be less than 9 hours, and the muscles should be fully relaxed; otherwise, it will cause damage to the body. After several weeks of exercise, you can record your exercise results and compare with the previous data to see if there is a better and more suitable training method.

System Overall Design.
e method used in this experiment to collect data is mainly to use the monitoring system to collect exercise data in the gym. Different types of fitness equipment have different monitoring methods, which has changed the single type and relatively boring mode of the previous fitness equipment. Equipment is more carefully divided into two types: aerobic and anaerobic. Regarding aerobic equipment, its main function is to reduce fat, reduce weight, shape the body, and exercise lung capacity. Common equipment includes spinning and treadmills. As for anaerobic exercise, its main function is to increase muscle endurance, explosive power, and so on. e main types are barbells, dumbbells, and so on, which mainly exercise    various parts of the body such as thighs, buttocks, and biceps. e sports training system used in this experiment is a system that combines a variety of smart devices, which is both personalized and targeted and can make people feel interesting; the specific components of the sports training system built through the server are as shown in Figure 4.
When we apply the above training system to our lives, we will use related intelligent tracking modes to monitor people's movement patterns and processes. e model connects the relevant equipment with the central processor through the network transmission system and then realizes the data transmission through the relevant website or platform. Use the Bluetooth system to connect the fitness equipment to the relevant system so that the machine can operate, and at the same time, it can also be used to upload people's exercise time, calories consumed, and other related data to the mobile phone or computer, and special personnel will conduct a comparative investigation on the information uploaded by people and finally provide users with more personalized and accurate fitness programs and diet programs according to each person's different physiques and different situations. e network topology is shown in Figure 5. e main communication methods are shown in Table 3.

Functional Analysis of Embedded Software System and
Internet of ings. e main function of the software is to combine the relevant data of the human body with the relevant data of the sports equipment and quickly process and calculate. e function of this mode can be related to the following aspects: the human body produces data during the exercise; data is constantly changing; especially after strenuous exercise, our body is actually in a relatively fragile state. When the body is relatively tired, the rate of change of human body data will be faster, so we have to beat the human heart. e changes in data such as speed and vital capacity are very concerned because these data can show people's physical condition. e most important data is the change in the heart rate. If the heart rate recovers faster after strenuous exercise, it means that the human body has better physical health and stronger cardiopulmonary function. On the contrary, if the recovery speed of the heart rate is slow after strenuous exercise, it means that the body's physical fitness is poor and the cardiopulmonary function is weak. erefore, monitoring the data generated by the human body during people's exercise is very important to judge the performance of the human body.

System Hardware Design.
After we have completed the design of various systems and functions, the ultimate goal is to apply them on the campus of the university to have a positive impact on the health of students. We install a chip with countless transmission systems in the student's campus card. is chip is small in size, high in transmission efficiency, and easy to carry by students. erefore, when each student holds the campus card, the related equipment in the campus card will be signal linked with the equipment installed in the school. is mode is wireless, which is very convenient and fast. In this way, we can collect the identity information and money storage status of the campus card through the web server. When the student ID is displayed on the computer screen, it proves that the student has swiped the card successfully.

Database Design.
e software of the lower computer uses wireless technology to transmit various data. e main function of the upper computer software is to integrate and analyze the data transmitted to each other and then upload the data to the relevant website, and students can check it by themselves.
e database includes the following information:.
(1) User-related information, such as name, gender, height, and weight. User information form is shown in Table 4. (2) Related information generated when the user exercises, such as data generated by raising or lowering the arm. User exercise record is shown in Table 5. (3) What is the effect produced by the user during the exercise, such as the force required to raise or lower the arm, and the overall effect after the completion of the press exercise. Exercise effect evaluation form is shown in Table 6.

Lower Computer Installation and Performance Test.
Design specific hardware facilities according to relevant data, and the bottom PCB design of the data acquisition terminal is shown in Figure 6. Top PCB design drawing of data acquisition terminal is shown in Figure 7.
We will take a school in a certain place as an example to practice the experimental model designed above and then see how effective it is. First, after the students have created their own accounts, they enter the correct user name and password to enter the corresponding interface, where they can formulate their own sports mode and sports goals according to their own situation, and they can receive the administrator-related notices, some practical health recommendations, and so on; the system can monitor the students' exercise and avoid cheating. If students forget their account or password, they can log on to the relevant website to retrieve it, which is simple and convenient. Secondly, after we let the teacher create his own account, they enter the correct user name and password to enter the corresponding interface and check the student's movement through related functions.
Finally, the students created their own accounts. After entering the correct user name and password to enter the corresponding interface, they can view the schedule of each sports course and choose the course they like.

Analysis of Test Results.
rough specific practice in a school in a certain area, we can know that the accuracy of the data is high, the network signal is better, the data transmission speed is faster, and the transmission distance is longer, which can cover the entire campus. After about 5 months of practical testing in a school in a certain area, no obvious problems were found. e information collection and network transmission functions are good, and the students' evaluation is high.

Conclusion
In the era of rapid development of the Internet, intelligent technology has become a part of our life and has been applied to many fields; now, there are more and more hightech emerging and developing; this paper mainly uses the embedded software to model the sports training system and studies the development of its security performance. We use the Internet to collect a large number of data and then    Evaluation of the effect of raising the right arm decimal 10-30 Evaluation of the effect of right arm stay decimal 10-30 Evaluation of the effect of lowering the right arm decimal 10-30 Overall evaluation decimal 10-30 we found that the new system is more personalized and professional and has scientific outstanding advantages and found out the shortcomings of the traditional mechanical equipment to avoid a similar situation in the new model. We have also independently established a wireless network signal enhancement system to ensure the real-time data collection and transmission and ensure that, even in the case of bad weather, our signal remains in a relatively stable state, without information loss and signal interruption. We have also installed and tested the system. Before the system is installed, we need to plan the installation plan and carry out a series of tests at the set point to test the ideal distance between the two points and the packet loss rate. After finding a good point, the whole system is installed to simulate the normal operation state, and the students will test it, including the system pressure test. For the upper computer, it also needs a large amount of access data to test the pressure of the web page. Before the system is officially put into use, it has been running in the school for five days. According to the student visits and the running status of the website, it evaluates the whole background server and analyzes the reasons.

Data Availability
e data used to support the findings of this study can be obtained from the corresponding author upon request.

Conflicts of Interest
e authors declare that they have no conflicts of interest.