Technical and Tactical Command Decision Algorithm of Football Matches Based on Big Data and Neural Network

A successful football team not only consists of more than a dozen people on the field but also includes a complete training, analysis, coaching team behind it, and the same basic education and youth training system. With the development of scientific concepts and the advancement of computer technology, more people have begun to study the use of modern technology to replace part of the traditional human work with low creativity and the use of more convenient quantitative analysis, prediction and other technologies to assist football professionals’ decision-making. Based on big data and neural network technology, this paper has designed a novel football technical and tactical command decision algorithm. First, the use of big data technology for analyzing the characteristics of the historical big data of football competitions provides valuable data for the work of this article. Secondly, to formulate scientific and reasonable football technical and tactical command, it requires learning effective offensive or defensive strategies from the big data of football competitions. ,is article uses deep neural networks to learn massive amounts of football competition data, which can effectively predict the offensive and defensive tactics of each position of the team to a certain extent. In addition, in order to better learn the timing video data of football matches, this paper also has proposed to use longand shortterm memory networks to improve the algorithm of this paper. ,e proposed method has achieved good results in football technical and tactical command and decision-making and also provides some new ideas for the subject of football combined with computer technology.


Introduction
Football match is a popular sport activity around the world. e prosperous development of sports business and the application of Internet technology allow fans to easily obtain high-quality videos of almost all professional football matches. Data providers can easily collect and archive these video data as well as game and player statistics. However, the resulting big data has brought both challenges and opportunities for sports professionals and related companies. In order to make the most of these data, football scouts and coaches need advanced analytical tools to evaluate, select, and train players. Researchers have been developing tools for scientific analysis to help evaluate the performance of players and teams [1].
Although the relevant research is quite popular and has made certain achievements, its scientificity and effectiveness still need to be improved [2][3][4][5][6]. Existing research is usually difficult for professionals and amateurs to examine. It is not easy to conduct professional and reliable quantitative analysis of competition data. e football game is a complex whole, affected by many factors. On the other hand, statistics are sparse and lack relevance. It is not wise to use only shooting or passing statistics to describe a game. Most existing systems only use statistics instead of considering the whole, which may lead to a misunderstanding of the game.
is is why many coaches still believe in their eyes rather than statistics. Football professionals and computer and data researchers often lack effective communication, which makes the development of related tools inseparable from the long-term close cooperation between football professionals and computer and data researchers. Finally, big data and neural network [7][8][9][10][11][12] technologies still need indepth research in the football field. As a football game with many players on the field, rich tactics, and a large range of activities, its flexibility and complexity make many existing methods unable to directly hit the core of football. Researchers need to develop relevant neural network algorithms specifically for football sports, taking full account of the particularity of football sports and filling the gaps in the industry. erefore, this paper designs a novel football technical and tactical command decision algorithm based on big data and neural network technology [13][14][15][16][17]. First of all, the use of big data technology to analyze the characteristics of the historical big data of football competitions provides a lot of valuable data for the work of this article. Secondly, to formulate scientific and reasonable football technical and tactical command, it requires learning effective offensive or defensive strategies from the big data of football competitions. is article uses deep neural networks to learn massive amounts of football competition data, which can effectively predict the offensive and defensive tactics of each position of the team to a certain extent. In addition, in order to better learn the timing video data of football matches, this paper also proposes to use long-and short-term memory networks to improve the algorithm of this paper. Following are the main innovative points of this paper: (1) is paper uses big data technology to analyze the characteristics of massive historical data of football matches, extracts a lot of valuable data, and designs some new interactive methods, quantitative methods, and evaluation methods for football matches (2) We have innovatively introduced a long-and shortterm memory network (LSTM) to learn the time series data of football matches and built a deep neural network model to assist football technical and tactical command decisions (3) We have conducted sufficient comparative experiments and ablation studies to prove the effectiveness of the football technique and tactics command decision algorithm based on big data and neural network proposed in this paper, which can provide a scientific basis for sports coaches to formulate reasonable football techniques and tactics e organization of the paper is as follows: Section 2 shows the related work to the proposed study. Section 3 represents the methodology section of the paper. Section 4 depicts the experiment and results of the paper. e paper is concluded in Section 5.

Related Work
Various approaches and techniques are existing in literature associated with diverse decisions of football matches. Krzysztof and Pawet [18] conducted a multidimensional study on the characteristics of goals in the game. e author believes that insufficient sample size will make the research results inaccurate. In the 08/09 season, the Premier League's close-range shots accounted for more than 50%, 53% of the goals were below the goalkeeper's stock, and the second half of the goal accounted for 57%. e author believes that the inattention of players due to fatigue is a goal loss. Key factor: the goal rate after dribbling was only 12.8%. e goalkeeper failed to save a low shot (53% of goals). In general, the author believes that the lower area of the upper goal is the most effective area for scoring. Michalls et al. [19] through the way of creating goals in the Premier League, La Liga, Bundesliga, and Serie A, the purpose of the study is to compare the creation of goals in the four major European football leagues. e study uses a multidimensional observation method to evaluate multiple tactical dimensions and the three stages of the team's beginning, development, and end. Kruskal-Wallis analysis showed that there were significant tactical differences in these 4 games. La Liga shows a greater proportion of long-distance offenses and teamwork. e Premier League appears to be quick and direct in attacking methods. Compared with cooperating offense and quick offense, Bundesliga has the most counterattacks, Serie A has the shortest offensive distance, and the proportion of counterattacks and direct attacks is also larger. Kubayi [20] studied the goal pattern of the 2018 World Cup. All goals in the game are analyzed with the InStat video analysis system. e results showed that a total of 169 goals were scored in this game (sports battle: 60.9%; setup: 39.1%). Eighty-five goals (82.5%) came from the team's offense, and 18 goals (17.5%) came from the counterattack. Chi-square test shows that there is a significant difference in the type of possession (card 2 (1, n � 103) � 43.58, p ≤ 0.001). Compared with the first third (33%) and the middle third (32%), the last third (35%) has the most goals.
Perl et al. [21] believes that "different technologies have different data collection methods. e technical collection methods can be divided into two types of technologies: video capture and wearable transmission." Video capture uses panoramic photography and game video recording. e latter places chips in clothes and sneakers to analyze sports performance. Reilly and Williams [22] found that the Cologne University of Sport used a computer system to process video matches and found that, before 80% of a goal, the number of passes is no more than 3 times. Fast attack and teamwork have always been the direction of modern football development. Pollard and Reep [23] found that the analysis of football performance is divided into two types: predata collection and postanalysis. Compared with physical load, technical and tactical analysis can determine the outcome of a match.

Methodology
Football technique is the general term for reasonable actions and movements used in football matches. According to the analysis characteristics of large-scale competitions in the physical education field and the realistic possibilities of video statistics, this research divides football skills into two categories: offensive technology and defensive technology. Offensive skills include passing, ball possession, dribbling breakthrough, and shooting. Defensive skills include steals, clearances, and tackles. Among these concepts, the concepts of passing, possession, and shooting are very clear. (1) Dribble breakthrough: the player uses dribbling or passing to pass one or more opponents' pressing and blocking forward (2) Steal: when the attacking player holds the ball or the attacking player passes the ball to his partner, the defensive player uses defensive skills to get the ball before the opposing player (3) Rescue: in order to prevent the attacking side from attacking, the defensive player directly destroys the ball out of the defensive area without passing the ball.

Stadium
Modeling. e purpose of stadium modeling is to convert the position of the player from the video perspective to the position of the top view (aerial view). One of the purposes of this is that redundant video information is often not needed in football visualization analysis, but top view and representative players are used. e dynamic icon is replaced. e second reason is that, in order to obtain information about the physical fitness of the player in the future, the player's position information needs to be obtained first. Due to the reason that the distance is small, the position information obtained by simply tracking the original video cannot be used for calculation. erefore, perspective transformation is required for football field modeling. In this study, both the video provided by the Shanghai Institute of Physical Education and the video of the National Games adopted the FIFA standard show that the vertical length of the field is 105 meters, the horizontal width is 68 meters; the goal: the length is 7.32 meters, the height is 2.44 meters; the big penalty area (penalty area): horizontal 40.32 meters, vertical 16.5 meters, on the bottom line 5 meters away from the goal post; small restricted area (goal area): 18.32 meters long, 5.5 meters wide, 5.5 meters from the goal post on the bottom line; center circle area: a radius of 9.15 meters; 4 corner kick area: radius of 1 meter, 13.84 meters from the penalty area; penalty kick arc: a semicircle with a radius of 9.15 meters centered on the penalty kick point; penalty kick point: 11 meters from the goal line. For the convenience of debugging in the development process and the applicability of the subsequent software release, our video size and court plane model diagram are both 1920 * 1080 pixels in size.
After the target detection and tracking part of the video, we successfully obtained the pixel position (x, y) of each player. Before we can use this location, there is one more step that needs further research. When the human eye sees things nearby, they appear larger than those far away. is is often referred to as a perspective phenomenon. e perspective transformation refers to the transfer of an object from one state to another. Popular application examples such as in the picture, there is a trapezoidal test paper viewed from an oblique direction. Its actual shape is undoubtedly a rectangle.
rough perspective transformation, we select several points on the test paper and then select the corresponding one on the plan view. To demonstrate, the rectangular test paper in the illustration can be turned into a rectangle when viewed from the front. At this time, if you want to recognize the words on the test paper, the effect will be better. At the same time, the points on the plane where the test paper is not are used because of the number. e correct perspective transformation produces distortion. In general, the perspective conversion process converts a 3D world to a 2D image, but we need to determine a plane that is the only concern. Points outside the plane will be distorted. In this article, we need to use such a transformation matrix to adjust the pixel position as follows. rough perspective transformation, we obtain a top view. In the top view, any two points with the same distance in the real world have the same Euclidean distance between their pixels. We can superimpose the distance between two points between adjacent frames to calculate the running distance of the player. e essence of perspective transformation is to change the projection of the image to a new perspective plane. e general conversion formula can be written as, where (u, v) are the pixel coordinates of the original image, (x � (x′/w′), y � (y ′ /w ′ )). It is the pixel coordinate transformation after the image. e perspective transformation matrix is shown as follows: We choose four pixels in the original image, which are usually easily distinguishable signs such as the corner, intersection, or inflection point of the court. en, we find their corresponding points in the model image. We use these two sets of points to calculate the transformation matrix. After the transformation matrix is obtained, we select the position of the player's foot that is on the same plane as the court for transformation to obtain the position of the top view.
In the game, football can easily be in the air. If we use the same method as calculating the player's position, the height of the football will cause a big error: the position obtained by the perspective transformation is the position of the football projected on the ground plane in the video. How do we find the exact position of football? First of all, we need to calibrate the camera parameters of the camera used to obtain the correspondence between camera coordinates and world coordinates. After having at least two different views and calibrating the camera, we can calculate the 3D position of Scientific Programming 3 the ball. is is a simple application of 3D reconstruction. Suppose the straight line L can be expressed by the following formula: where t is the position of the camera, w 3 is a constant, and direction 3 represents the direction of the line. We have two cameras, which form two nonparallel lines in the coordinate system: Calculate the intersection point: After the calibration operation is completed, with the help of perspective transformation, we can have two lines, which can be understood as a light taken by the football by the camera. Due to the influence of the height of the football mentioned above, the actual position of the football is on this line. At some point, ideally, the 3D position (x, y, z) of a football can be calculated from the intersection of two lines. In practical applications, it is impossible because the two lines intersect. We use the midpoint of the shortest distance line of the two straight lines to simulate the intersection of the two straight lines to obtain the football position. [24] refer to neural networks with deep network structure, which have made outstanding achievements in match prediction [25][26][27][28][29] and computer vision [30][31][32][33][34]. Deep neural networks have more neural network layers, so they can extract more features from the input and have a stronger ability to portray reality. According to the core network used, deep neural networks can be divided into deep convolutional neural networks (deep CNN) and deep recurrent neural networks (deep RNN). In the field of computer vision and image and video processing, convolutional neural networks have greater advantages than other neural networks. In the field of sports competition data analysis, because the input data is dependent and sequential mode, there is no correlation between the front and back inputs of CNN, and all outputs are independent of each other, so the performance of CNN is not good. For the task of automatic generation of Chinese couplets studied in this article, all outputs are related to the previous output, and some biases based on the previous output information are required. erefore, the recurrent neural network RNN is more suitable.

Standard Recurrent Neural
Network. e basic neural network includes a three-layer structure of input layer, hidden layer, and output layer. It only establishes connections between layers, while the standard recurrent neural network RNN (recurrent neural network) is based on this, in the same layer. Connections are also established between neurons. e neural network structure of the RNN is shown in Figure 3. e right side of the equal sign is the timeexpanded diagram of the neural network, and the left side of the equal sign is its simplified diagram. Assuming that x t is the input of time step t in the sequence and h t is the hidden state vector of that time step. According to the neural network structure in Figure 3, the current h t is where h t−1 is the hidden state vector of the previous time step. In simple terms, the hidden state vector of time step t is determined by the input x t of the current time step and the hidden state vector h t−1 of the previous time step. F is the activation function of the neural network, and w xh and w hh are the weight matrices of the neural network.

Long-and Short-Term Memory
Network. e longand short-term memory network (As shown in Figure 4) is more suitable for solving the time series problem with longterm dependence, which is to solve the shortcomings of the general RNN network. As shown in Figure 5, compared with ordinary RNN, LSTM adds a memory unit and three controllers: input control, forgetting control, and output control. e function of the memory unit is to store the network state; the input controller decides how much input is kept at the current moment; the forgetting controller decides the degree of retention of the neural network state at the current moment; the output controller determines the output information according to the neural network state at the current moment. e core of LSTM is the memory cell state, which is composed of a sigmoid network and a multiplier. Using this structure, the information in the memory cell can be added or deleted. e output range of the sigmoid network is [0, 1], which indicates how much information can pass through the memory unit, 0 means none can pass, and 1 means all can pass.
Forgetting gate: use a sigmoid layer to receive the output of the previous time node t-1 and the input of the current time node t, merge it into a tensor, and then apply a linear transformation afterwards. After the sigmoid activation function, the output of the forgetting gate is a value between 0 and 1. is value will be multiplied by the internal state, which is why it is called the forget gate. If f t � 0, the previous internal state is completely forgotten, and if f t � 1, it will pass without any change. e calculation equation of the forget gate is as follows: Input gate: accept previous output and new input and pass it to another sigmoid layer. e input gate returns a value between 0 and 1. en, the value returned by the input gate is multiplied with the output of the candidate layer.
is layer mixes the input with the output of the previous layer, then applies hyperbolic tangent activation, and returns a candidate vector to add to the internal state. e internal status update rules are as follows: e output gate controls how many internal states are passed to the output, and it works like other gate structures. e output gate calculation equation is as follows: e above is the structure principle of LSTM.

Experiments and Results
e following sections show the experiments and results of the paper.

Experimental Environment.
Since the experiment in this article needs to train a deep neural network, the scale is large, the structure is more complex, and the calculation scale is large. e neural network training process needs to use GPU to accelerate the calculation. e experimental environment configuration is shown in Table 1.
e experiments in this article are all done on this machine, where the neural network training is accelerated by GPU, the programming language used is Python, the version is 3.6, the deep learning framework used is Keras2.1.5, and the IDE for program deployment is PyCharm.

Hyperparameter Settings.
Use LSTM as the neural network structure of the encoder and decoder and share parameters between the SoftMax layer and the word vector Scientific Programming layer to reduce the number of parameters [[45][46]}. e size of the LSTM hidden layer is 1024, the encoding and decoding neural network, the number of layers in the LSTM structure is 6 layers, the batch size is 128, the probability of a node being dropped out is set to 0.1, and the model is saved every 2000 steps in training.

Experimental Results of Different Methods.
In this section, experimental results are presented to verify the proposed system. is paper presents experimental results to verify the proposed system. In order to ensure the effectiveness of the method, the detection experiment was applied to the football video data of the 13th China National Games. In order to prove the effectiveness of the width learning system, we compare our method with existing mainstream methods, including SVM, SRC, LRC, LCCR, and RDBLS. Table 2 gives a quantitative comparison of different methods. In Table 2, we find that our method can achieve less training time, while the accuracy remains at a level similar to other methods.
e results of the number of different mapped features are given in Table 3. In Table 2, we tested three features: low-frequency Fourier transform feature (FFT), Gabor amplitude, and local binary pattern (LBP) instead of using the original pattern unaligned image. ese methods are all suitable for identification with the information of the previous sequence. We tested the success rate of the tracker when it lost the target. In short, the width learning method showed acceptable accuracy and excellent running time.
Passing is one of the most basic techniques in football. Players need to pass the ball to connect in series. Passing is also the basis of collective cooperation in football. To complete tactical coordination and even create shooting opportunities, a team needs to pass the ball. Since the European Cup in 2008, the World Cup in 2010, and the European Cup in 2012, after the Spanish team won successively, a passing style has been set off in the world football. e world's strong teams have paid more and more attention to the passing ability of the players. Teams generally have a pass success rate of more than 90%. e statistics of the number of passes, the number of long passes and the success rate of passes of the Portuguese team in each game of this European Cup are made. e specific results are shown in Table 2. e overall pass success rate of the Portuguese team is not high, with an average success rate of only 80.86%. In the last game of the group match, the Portuguese team had a traditional success rate of only 64% against the weak Hungary team. e passing success rate is not high but the game can be won, which has become a common phenomenon in recent world high-level football     matches. e reason is that the teams are not blindly pursuing a safer backcourt in the offense. It is daring to pass the threatening ball in the offense. In this case, although the turnover rate is high, the threat is not reduced at all.

Visualization of Results.
Judging from the research results in Figure 6, the Portuguese team used more dribble breakthrough techniques in the game, and the success rate of dribble breakthroughs was also relatively high. It is the excellent offensive players such as Ronaldo and Nani who can often create opportunities through sharp personal dribble breakthroughs. In fact, modern high-level football games require more comprehensive and threedimensional player skills. A team needs to have players with strong passing and control skills, as well as players with personal dribbling and breakthrough capabilities. is type of staffing will enrich the team's tactical play, making it more difficult for opponents to pin them.

Technical and Tactical Decision Based on Neural Network.
Section 4.4 proved our algorithm to accurately predict the pass success rate of a single team. For opponents, the prediction of the time and fulcrum of the tackle (Figure 7 shows an example of tackle) will become extremely important.
is article uses neural network to make model prediction. Figure 8 below shows the predicted position and actual position. From Figure 8, we can intuitively see that the football technical and tactical command decision algorithm based on big data and neural network in this article has achieved effective results. It can provide a certain reference

Conclusion
Based on big data and neural network technology, this paper designs a novel football technical and tactical command decision algorithm. rough, the experimental research proved that big data analysis can extract effective feature information. Secondly, we established a neural network model based on long-and short-term memory and proved through experiments that the algorithm can predict the pass success rate and defensive tackle position. It can formulate reasonable training plans for practitioners in the sports industry, especially coaches, and provide scientific command and decision-making advice on football standing skills. e method proposed in this paper has achieved good results in football technical and tactical command and decision-making and also provided some new ideas for the subject of football combined with computer technology.

Data Availability
e data used to support the findings of this study are included within the article.

Conflicts of Interest
e authors declare that there are no conflicts regarding the publication of this paper.