1 Introduction

IoT and cloud computing are Internet application technologies with a wide range of applications. With the feature that everything can be connected to the Internet, it has greatly facilitated the lives of the public. Some scholars believed that IoT was the third trend in the development of the information industry and has a profound impact on social development [1, 2].

Athletics is an indispensable sport nowadays, and it is even closely related to the daily life of the public. Athletics, as a competitive sport, has different degrees of competitive pressure in different events. However, to maintain their excellent sports status, athletes are prone to some post-exercise injuries. Therefore, predicting them is also a key research project. Athletics is a national sport, to obtain better results, there are many scholars who analyze track and field athletes. It usually studies how to obtain the best performance, and also studies the common injuries of athletes, but rarely combines cloud computing and IoT for further analysis [3, 4]. This paper was based on cloud computing and IoT to analyze the common sports injuries of track and field athletes, so as to further explore the development of track and field sports and sports injuries and other related aspects.

In this paper, cloud computing and IoT are used as relevant research methods for common sports injuries of track and field athletes, and relevant algorithms are used to analyze the experimental data and obtain practical conclusions. The innovation of this paper is that this paper is based on the related algorithms of cloud computing and IoT, and conducts related research on common sports injuries of track and field athletes.

2 Related Works

Track and field athletes are prone to physical injuries, so there are many studies on common sports injuries in track and field athletes. Asperti et al. [5] organized the athletes to fill out the injury monitoring system questionnaire to obtain the relevant data information of 396 athletes in the 2013 season. Through specific analysis, he can thought that the probability of an athlete being injured during the game far exceeds the probability of being injured during the practice process. During the game, the injury caused by player contact is the most, while the injury caused by non-player contact during the practice process is more. The study of Makubuya et al. [6] estimated the relative risk of sports injuries by pre-competition assessments of Ugandan athletes. He found that athletes who were measured had a lower risk of developing sports injuries than those who were not evaluated. Nunes et al. [7] conducted a survey of records of athletes treated in sports specialist physiotherapy centres. The survey involving 1090 patients showed that the most common type of injury was joint injury. Purser et al. [8] believed that cross country and track and field have high injury rates, but it was difficult to have specific criteria for predicting future injuries. Therefore, he conducted a study of 15 athletes to determine whether hip strength is associated with injury risk and functional movement screen scores. Because track and field is a national sport and an all-around sport, it can promote physical and mental health and is closely related to people's lives. Therefore, there are many scholars who have studied it, but researchers mostly conduct surveys based on the nature of questionnaires, and rarely combine with cloud computing and IoT.

Cloud computing and IoT technology are the research objects that are widely discussed by many scholars. The study of Subhakala et al. [9] mainly built smart villages through the combination of IoT and artificial intelligence, and connects villages through the Internet to build smart villages. Shiny et al. [10] believed that the existing water tank control system can help reduce water waste, but the sensor cannot determine the exact change of the water level, and there are some unstable factors. Therefore, it was proposed to use IoT to monitor the water level. Nasution and Fajar [11] believes that IoT is inseparable from cloud computing. Due to the low cost and strong reliability of cloud computing, it has more advantages than traditional computing methods and can be widely used in meteorology and other fields. Therefore, a new type of IoT weather detection system has been developed. Yi [12] conducted a detailed analysis of the development of the logistics industry. Combined with the current form of economic development, IoT and cloud computing are used as the basic research methods to further optimize the intelligent logistics information management system. To build a cold chain monitoring system that can improve the cold chain logistics distribution system, Chen [13] fully integrated IoT and cloud computing in the process. IoT and cloud computing are widely used data analysis methods. Because of its wide application range and strong permeability, it is especially suitable for the transmission industry. Therefore, there are certain limitations in the research projects using it, such as less research on human motion.

3 Cloud Computing and IoT Methods for Common Sports Injuries of Track and Field Athletes

Cloud computing and the Internet of Things methods can play an important role in calculating sports injuries. It can analyze the common sports injuries of track and field athletes in detail, and apply the clustering analysis method to the analysis of human sports injuries.

3.1 Common Sports Injuries of Track and Field Athletes

Athletics is a basic sports project, and it is also the foundation of various sports, involving running, jumping, throwing, and race walking, etc., and these activities involve the daily life of the public [14, 15]. However, the lack of scientific understanding of track and field events can easily cause sports injuries and affect the training quality of athletes. It is an important factor affecting the promotion or retirement of athletes [16]. Among them, the common track and field injuries of athletes include: ligament strain, muscle injury, joint and bone injury [17, 18]. Injuries caused by racing are rare, but sprinting is more likely to cause injury than long-distance running, and it is generally more related to leg injuries. Throwing events are generally prone to injuries between the shoulders, elbows, waist, and knees [19]. Factors causing sports injuries include, but are not limited to, the strength of sports training, the conditions of the sports environment, and the mastery of sports techniques [20, 21].

3.2 Cloud Computing

Cloud computing, as a new concept of network application, is a system resource that can be accessed in a shared resource library without space limitations in the Internet. Therefore, it is usually possible to obtain higher and faster levels of information technology with less operational constraints [22, 23]. As a comprehensive distributed computing, it can better cope with the classification and processing of massive data, so as to provide users with faster computing services. Because cloud computing has virtualization technology, it can break through the limitations of time and space and complete the connection between the physical platform and the application space [24]. Cloud computing services include software as a service, platform as a service and infrastructure as a service. Users do not need very professional knowledge and skills to use cloud computing services, which reduces the maintenance effort of related aspects, thereby reducing the basic cost in the early stage [25, 26]. The resource utilization of cloud computing is very high, usually does not cause idle resources, and has high reliability with multiple redundant sites.

3.3 Internet of Things

IoT is a derivative of the Internet, which is a technical way to connect the Internet with the real world. The main function is to connect many factors with the network, so that the network can obtain relevant information. At the same time, it realizes the detection and management of objects through the network, and finally enables objects to acquire the ability of intelligent management [27]. IoT can be seen as the third development trend of the information industry, focusing on user experience and the connectivity between things, and the connection between things and things is its most significant feature. When IoT is connected, it generally uses radio frequency identification and laser scanning. According to a certain communication agreement, it communicates items with the Internet to achieve intelligent management and monitoring. Figure 1 is the basic hierarchical structure diagram of IoT.

Fig. 1
figure 1

Basic hierarchy diagram of IoT

Since this paper discusses common sports injuries of track and field athletes, based on the perspective of cloud computing and IoT, the method of cluster analysis is used to analyze the experimental data in this article. Computation is the premise of cluster analysis, which can divide data into several categories according to data characteristics, involving many fields. The clustering process is a process in which the components in the same group are constantly increasing due to the similarity, and the members in different groups are constantly decreasing due to the similarity, which belongs to an unsupervised learning process. The clustering process is different from the classification process and is similar to the data pre-processing process. The characteristics to be based on can be clearly identified before the classification is carried out, which can be used as a preliminary step in data processing. Generally speaking, cluster analysis includes: hierarchical method, partition method and grid method. According to the similarity of the defined data, the distance range between the sample points can be described. The following are the more commonly used distance metrics:

Standard Euclidean distance: It is a more commonly used way to measure distance. For example, the formula for the distance between \(o = (o_{1} , \cdots ,o_{k} )\) and \(p = (p_{1} , \cdots ,p_{k} )\) is:

$$ d(o,p) = \sqrt {(o_{1} - p_{1} )^{2} + (o_{2} - p_{2} )^{2} + \cdots (o_{k} - p_{k} )^{2} } $$
(1)

Then in a two-dimensional plane, the Euclidean distance between two points is:

$$ d_{12} = \sqrt {(o_{1} - o_{2} )^{2} + (p_{1} - p_{2} )^{2} } $$
(2)

In three-dimensional space, the Euclidean distance between two points is:

$$ d_{12} = \sqrt {(o_{1} - o_{2} )^{2} + (p_{1} - p_{2} )^{2} + (q_{1} - q_{2} )^{2} } $$
(3)

If it finds the Euclidean distance between two vectors, it should be:

$$ d_{12} = \sqrt {\sum\nolimits_{i = 1}^{k} {(o_{1i} - o_{2i} )^{2} } } $$
(4)

Manhattan distance: It mainly refers to L1 distance or city block distance. The measurement content generally refers to the sum of the lengths of the line between two points in the plane rectangular coordinate system projected to the two-dimensional plane. Assuming that there are two points \((o_{1} ,p_{1} ),(o_{2} ,p_{2} )\) in a plane rectangular coordinate system, the Manhattan distance is:

$$ \left| {o_{1} - o_{2} } \right| + \left| {p_{1} - p_{2} } \right| $$
(5)

However, the Manhattan distance between the two vectors is:

$$ d_{12} = \sum\nolimits_{i = 1}^{k} {\left| {o_{1i} - o_{2i} } \right|} $$
(6)

Minkowski distance: Its essence is not a distance measure, but simply a distance definition. Therefore, assuming that there are two k-dimensional variables, the Min's distance between \(a(o_{11} ,o_{12} , \ldots o_{1k} ),(o_{21} ,o_{22} , \ldots o_{2k} )\) is:

$$ d_{12} = {}^{y}\sqrt {\sum\nolimits_{i = 1}^{k} {\left| {o_{1i} - o_{2i} } \right|^{y} } } $$
(7)

Among them, when \(y = 1\), it is the Manhattan distance; when \(y = 2\), it is the Euclidean distance; when \(y = 3\), it is the Chebyshev distance.

Normalized Euclidean distance: The simple Euclidean distance is improved to form a standardized Euclidean distance, which can reduce the deviation of the measurement distance and make the standardization to mean = 0 and variance = 1:

Among them, the mathematical expectation of sample O is s, and the standard deviation is m, then the standardized variable of O − "O*" can be expressed as:

$$ O* = \frac{O - s}{m} $$
(8)

Therefore, the normalized Euclidean distance of these two k-dimensional vectors \(a(o_{11} ,o_{12} , \ldots ,o_{1k} ),b(o_{21} ,o_{22} , \ldots ,o_{2k} )\) is:

$$ d_{12} = \sqrt {\sum\nolimits_{i = 1}^{k} {(\frac{{o_{1i} - o_{2i} }}{{m_{i} }})^{2} } } $$
(9)

Angle cosine: It is mainly used to measure the difference in the direction of two vectors, usually used in machine learning to measure the difference between two samples.

Assuming that there are vectors \(e(o_{1} ,p_{1} )\) and \(f(o_{2} ,p_{2} )\) in the plane rectangular coordinates, the formula for the cosine of the included angle is:

$$ \cos \theta = \frac{{o_{1} o_{2} + p_{1} p_{2} }}{{\sqrt {o_{1}^{2} + p_{1}^{2} } \sqrt {o_{2}^{2} + p_{2}^{2} } }} $$
(10)

Then the cosine of the included angle of the two k-dimensional samples \(e(o_{11} ,o_{12} , \ldots ,o_{1k} ),f(o_{21} ,o_{22} , \ldots ,o_{2k} )\) is:

$$ \cos (\theta ) = \frac{e \cdot f}{{\left| e \right|\left| f \right|}} $$
(11)

Then the degree of similarity can be expressed by the cosine angle as:

$$ \cos (\theta ) = \frac{{\sum {_{i = 1}^{k} o_{1i} o_{2i} } }}{{\sqrt {\sum {_{i = 1}^{k} o_{1i}^{2} } } \sqrt {\sum {_{i = 1}^{k} o_{2i}^{2} } } }} $$
(12)

When the value range of the angle cosine is [− 1, 1], the smaller the value, the larger the angle between the vectors. When the value is 1, the two vector directions are exactly the same, and when the value is -1, the directions are opposite.

There are many clustering algorithms, so there are many ways to measure the pros and cons of clustering algorithms, including the following: hierarchical method, partition method, density-based method and grid-based method. Among them, the hierarchical method refers to the clustering method obtained by hierarchical decomposition of known data, which is divided into split decomposition and composite decomposition. In this decomposition process, the measurement of data distance generally adopts the following methods:

The minimum distance is:

$$ d_{\min } (r_{n} ,r_{l} ) = \min_{{y \in r_{n} ,y^{\prime} \in r_{l} }} \left| {y - y^{\prime}} \right| $$
(13)

The maximum distance is:

$$ d_{\max } (r_{n} ,r_{l} ) = \max_{{y \in r_{n} ,y^{\prime} \in r_{l} }} \left| {y - y^{\prime}} \right| $$
(14)

The mean distance is:

$$ d_{mean} (r_{n} ,r_{l} ) = \left| {s_{n} - s_{l} } \right| $$
(15)

The average distance is:

$$ d_{avg} (r_{n} ,r_{l} ) = \frac{1}{{k_{n} ,k_{l} }}\sum\limits_{{y \in r_{n} }} {\sum\limits_{{y^{\prime} \in r_{n} }} {\left| {y - y^{\prime}} \right|} } $$
(16)

The working algorithm formula of the system proposed in this paper is as follows:

$$f\left(x\right)=d/{O}^{*}+\sum_{n=1}^{\infty }\left({a}_{n}\mathrm{cos}\frac{n\pi x}{L}+d{y}_{max}\mathrm{sin}\frac{n\pi x}{L}\right)$$
(17)

\(d\) is a standardized European distance.

Among them, \(s_{n}\) is the average value of \(r_{n}\), and \(k_{n}\) is the number of data in \(r_{n}\). Because the hierarchical method is clear, it is simple and easy to understand. Because there are many processes, it is easy to produce results with low clustering quality due to the behavior of some parts that do not handle the distance well.

The k-means algorithm is a more popular algorithm in the clustering algorithm, because of its fast convergence speed and simple algorithm program, it is widely used in the processing of massive data. However, since the clustering center of the algorithm is not easy to select, the number is required to be clearly specified, and it is very sensitive to noise. Therefore, when these problems exist, the k-means algorithm should not be used. The basic network model is shown in Fig. 2.

Fig. 2
figure 2

The basic network model of k-means

4 Experiment on Common Sports Injuries of Track and Field Athletes

4.1 Introduction to Basic Situation

Athletics involves the daily life of most of the public and is closely related to national health. With the scientific popularization of track and field in various countries and the surging fitness boom, the number of people participating in track and field sports has gradually increased. As a result, the number of professional track and field athletes and amateur track and field athletes has also gradually increased. However, the popularity of track and field has increased, and the frequency of athlete-related injuries has gradually increased, which has raised public concerns about track and field [28].

The data comes from a middle school in Beijing in the third quarter of 2020. Based on the exploration of common sports injuries of track and field athletes to achieve the purpose of prevention and rehabilitation training, this paper conducts a related survey on 70 track and field athletes in a high school. In this article, 100 athletes were randomly selected from a high school, and 70 of them met the requirements of this study after screening. Therefore, this article conducted a study on these 70 athletes. The basic situation is shown in Figs. 3 and 4 [the unit of weight: kilogram (kg); the unit of height: centimeter (cm)]:

Fig. 3
figure 3

Weight chart of 70 track and field athletes

Fig. 4
figure 4

The height of 70 track and field athletes

According to the relevant data in Fig. 3, in the data survey of track and field athletes, there are 31 women and 39 men, and a total of 70 high school track and field athletes participated in the survey. Among the 70 track and field athletes, 18 were under 60 kg. Among them, 14 were female and 4 were male, accounting for 25.7% of the total; 34 were in the range of 60–70 kg. Among them, 12 were women and 22 were men, accounting for 48.6% of the total. The number of people weighing more than 70 kg was 18, including 5 women and 13 men, accounting for 25.7% of the total number. To sum up, among the 70 athletes, the weight of women is mainly below 70 kg, while the weight of men is mainly above 60 kg, which is very related to the weight of the bones and the proportion of muscles of the athletes.

According to the data in Fig. 4, the height of these 70 track and field athletes is mainly concentrated in the range of 165–180 cm. The number of people with a height below 165 cm is the least, only 9 people, accounting for 12.9% of the total number, of which the number of women is the largest, with 8 people. The number of people with a height of more than 180 cm is in the middle, there are 15 people, accounting for 21.4% of the total number, among which the number of men is the largest, with 13 people.

4.2 Experimental Design

This article examines common injuries among track and field athletes. Therefore, after a basic understanding of the relevant conditions of 70 athletes, the data of the athletes' acute injury, the basic situation of the nature of the injury, the location of the injury and the main causes of the injury were selectively counted. This paper combines cloud computing and cluster analysis to analyze.

4.2.1 Basic Situation of Acute Injury of Athletes

Athlete injury is a relatively common situation. This part of the content counts the basic situation of female athletes and male athletes when acute injuries occur within three months, as shown in Tables 1 and 2:

Table 1 Basic information on acute injuries of 31 female athletes
Table 2 Basic information on acute injuries of 39 male athletes

It can be seen from Tables 1 and 2 that the research on acute injuries in this experiment mainly involves injuries caused by professional sports, injuries caused by amateur sports and daily sudden injuries. Combining with Table 1, it can be seen that among the 31 women investigated in this experiment, acute sports injuries were mainly caused by professional sports, and there were 17 women, accounting for 54.8% of the women. The number of people who occurred in amateur sports was 12, accounting for 38.7% of the number of women; the number of sports injuries mainly caused by emergencies was 2 people, accounting for 6.5% of the number of women.

Combining with Table 2, it can be seen that among the 39 males investigated in this experiment, acute sports injuries were mainly caused by professional sports, and there were 23 males, accounting for 59% of the male population. The number that occurred during amateur sports was 12, accounting for 30.8% of the male population. The number of sports injuries mainly caused by emergencies was 4, accounting for 10.2% of the male population. Combining Tables 1 and 2, it can be seen that the acute injury of athletes is the largest in professional sports. The second is leisure activities, which are mainly related to the relevant state of the athlete when exercising. The number of sports injuries caused by emergencies is relatively small, which is an accidental event.

4.2.2 Cause of Damage

This article explores the causes of sports injuries in 70 athletes, which is beneficial to prevent and reduce the frequency of track and field sports injuries, as shown in Table 3:

Table 3 List of causes of damage

According to the injury cause table in Table 3, the reasons for the injuries of these track and field athletes include but are not limited to: insufficient preparation activities, excessive training intensity, inappropriate use of sports skills, poor physical fitness of the athletes and others. Among them, the number of athletes injured due to insufficient preparation activities is the largest, with 25 people, including 11 women and 14 men, accounting for 35.7% of the total number. The second reason is that during training activities, the overall training intensity is high, which exceeds the athlete's own ability. There are 16 people in this part, including 7 women and 9 men, accounting for 22.9% of the total number. The number of sports injuries caused by inappropriate sports skills was 15, accounting for 21.4% of the total. Another direct cause related to sports injuries also includes the physical fitness of the athletes themselves. Athletes with poor physical fitness are more likely to increase the probability of sports injuries, in this experiment. The number of sports injuries caused by this aspect was 11, accounting for 15.7% of the total. The number of sports injuries caused by other reasons is relatively small, including but not limited to: unscientific guidance by coaches and athletes' own physical fitness.

Sports injuries are extremely harmful to athletes, especially those that are prone to recurring, which are very tormenting to athletes physically and mentally. It not only affects the mentality of the athlete during the game, but also affects the athlete's performance on the field. Athletes have a high probability of injury. If the causes of sports injuries are not identified and corresponding measures are formulated, this would bring a devastating blow to the sports career of athletes.

4.3 Experimental Results

This article uses the research method of common sports injuries for track and field athletes based on cloud computing and the Internet of Things as the experimental group. The hierarchical linear model in the multi-level model is the control group of this article's experiment, while comparing the athlete's legs, waist, ankle, knee, upper limb, and other six parts for speed and accuracy comparison experiments.

As can be seen from Fig. 5, both in terms of speed and accuracy, from the overall perspective, the computational and Internet of Things (IoT) based research method for common sports injuries of track and field athletes proposed in this article is higher than the multi-level model method, with speed being about 10% faster than the multi-level model method, and accuracy being 18% higher than the multi-level model method.

Fig. 5
figure 5

Experimental comparison of speed and accuracy under different research methods

Therefore, athletes need to have corresponding injury prevention measures during daily training. First of all, coaches, as teachers who provide athletes with skills and methods, and as experienced seniors, need to help athletes as much as possible and build awareness of prevention for athletes. It is necessary to arrange the preparatory activities reasonably, with moderate intensity and warm-up preparations. People should always pay attention to the mental state of athletes and provide care. People need coaches and athletes to master the relevant knowledge of scientific rehabilitation training after sports injuries. People should pay special attention to the relationship between physical training and special training, and the ratio should be balanced. The most important thing is the need to correct the timing and method of recovery after the occurrence of cognitive impairment.

5 Discussion

This paper effectively combined cloud computing, IoT, and research on common injuries in track and field athletes. This was a further expansion of the application field of cloud computing and IoT-related algorithms, and it is also a further extension of the data analysis of human sports injuries. Based on the research purpose of this paper, it is combined with the basic situation of 70 track and field athletes in a high school to conduct a specific analysis. Combined with the cluster analysis method in cloud computing, the content of the investigation is divided into damage nature, damage location, damage cause and so on. This paper conducted in-depth research on the actual situation of 70 track and field athletes, put forward relevant suggestions for athletes to prevent sports injuries, and taps the research potential of cloud computing and IoT in human sports injuries. In addition, based on the existing cloud computing and IoT algorithms, the cluster analysis algorithm is selected to further explore the causes and prevention methods of human sports injuries. Combined with 70 high school track and field athletes for in-depth analysis, the final conclusions about the common sports injuries of track and field athletes are drawn.

6 Conclusion

Combined with the analysis of this case, the following conclusions can be drawn: Cloud computing and IoT are comprehensive Internet technologies that can be applied to the study of sports injuries. Exploring common sports injuries of track and field athletes has always been a hot topic, and the combination of cloud computing and IoT on human movement is also a current research direction. Therefore, to combine cloud computing with IoT and the research on common sports injuries of track and field athletes, it is necessary to understand and enrich the knowledge of related algorithms and how to apply cloud computing and IoT technology. By applying it to related research on sports injuries, it enriches the scientific knowledge in the field of sports. Of course, there are also shortcomings in this article. First, this article takes 70 athletes as the research object, and the experimental results obtained are not scientific enough; Second, the cloud computing and IoT used in this article as the basic methods for studying common sports injuries of track and field athletes have not been compared with other existing research methods proposed by scholars, and it is difficult to see the advantages of this method.