Application of Offensive and Defensive Linkage in a Virtual Football Game in the Internet of Things Decision-Making System

Football is a popular sport in the world. Playing football can not only exercise the body and improve physical fitness but also learn some offensive and defensive skills. Football games are popular events all over the world. With the development of science and technology, virtual football games have also become popular. The virtual football game is an entertainment project that combines computer technology and virtual reality technology to analyze the attack and defense relationship in the virtual football game. It can understand the decision-making mechanism and apply the decision-making mechanism to the Internet of Things decision-making system, which will be able to make accurate and fast decisions like virtual players. This is also the content of this paper. This paper proposes a decision system based on virtual football, applies the system to the Internet of Things, and shows that the data of the system fluctuate within 1.5%, that is, the calculation accuracy of the system model is as high as 98.5%, with high calculation stability, high accuracy, and certain reliability.


Introduction
e Internet of ings is a comprehensive development technology formed by the integration of multiple disciplines, and its core technologies mainly include AI, sensor technology, radio frequency identi cation technology, and GPS navigation technology. e development of it and the intelligent system is mainly to simulate the human brain system, nervous system, information system, and behavior system. e improvement of arti cial intelligence technology has produced the so-called virtual reality technology. As a realistic embodiment of imitating all human activities, VR has been paid much attention by researchers, and gradually started to study virtual football.
In order to integrate the Internet of ings and virtual football games, researchers need a new object research and development platform. In the process of better scienti c research, it can also save research costs. e football game is now used as the research object carrier, mainly because of the inherent combat nature of the team, the individual players' football control ability, the physical confrontation in the game, and the frequent occurrence of emergencies in the game. In view of the characteristics, the virtual football simulation system is produced. e virtual football system mainly refers to the use of virtual reality technology through computer programming to realize the compilation of virtual football characteristics, the transmission of information between virtual players and the control of football in the game. It is a system that competes with the opposing team through cooperation in the virtual arena and wins the game. e application of Internet of ings technology and virtual reality technology in the simulation of football games has important research signi cance and practical value for the integration and innovation of the two technologies. e decision-making system is a system studied by the decision theory, which generally consists of three parts: input, output, and internal structure. Its mathematical model describes the state evolution formula and output formula of the research object and re ects the goals required by decision makers. In this way, only after a reasonable objective function is formulated, it is possible to obtain the optimal decision. As a ubiquitous activity of human beings, decision-making is based on a speci c object system (decision-making system).
is decision-making system generally includes basic elements such as decision makers, decision-making objects, decision-making information, decision-making theories and methods, and decisionmaking results. It is the core of the modern scientific decision-making system. It is necessary to study the Internet of ings decision-making system to take measures more efficiently, improve work efficiency, or reduce security incidents. e innovation of this article lies in the integration of the overall optimization strategy and the individual optimization on the basis of the existing virtual human technology research and decision-making. erefore, on the basis of the theoretical research, this paper abstracts the mathematical model of the simulation system of virtual reality technology in football games. e model can increase players' enthusiasm for the game and gain a detailed understanding of game strategy decisions. It can well reflect the situation of the real football game and better deal with the emergencies in the game.

Related Work
With the rapid development of the Internet of ings technology, many fields use its fast and efficient characteristics to make data decisions. Among them, Pegoraro et al. proposed and discussed a novel DSSE (i.e., adaptive distributed system state estimation) solution that relies on distributed decision points and leverages the cloud-based IoT paradigm. So far, DSSE procedures have used fixed settings independent of the actual value of the measurement accuracy, which is actually affected by the actual health of the network. e proposed DSSE is innovative with respect to previous literature studies in that it can adaptively use the updated accuracy of the measurement device. e information used in the estimation process and the execution rate will be updated as indicated by the appropriate local metrics. ese metrics are designed to detect possible changes in the health of the distribution network. Specifically, the variation and variation trend of the rms voltage value obtained by the phasor measurement unit (PMU) is used to trigger the variation in DSSE. If a dynamic change is detected, the measurement data are sent to the DSSE at a higher rate for the estimation process to update the precision values to be considered in the estimation. e proposed system relies on a cloud-based IoT platform designed to integrate various measurement devices, such as PMUs and smart meters. e results obtained on the bus system demonstrate the effectiveness of the proposed method, which is very efficient both in the estimation process and in the use of communication resources [1]. Suryaprakash et al. proposed a human-machine interface through a distance-based fuzzy algorithm that utilizes the user's domain knowledge to construct rules through context awareness and a decision support system. e developed system is based on Linux OS, the algorithms are developed using python and the results are stored on the Internet via FHEM API for IoT application Raspberry Pi B+ toolbox and mobile SSH setup using Wi-Fi modem. Using this app, Suryaprakash et al. can be accessed through the home automation system by connecting to the IP address of the web server, and the voice assistance module can also help the patient to control the device through voice control. Suryaprakash et al. believed that this efficient algorithmic decision-making and voice-assisted automation can produce better results in the real world automating things [2]. Early warning systems (EWS) are core type of data-driven Internet of ings (IoT) systems for environmental disaster risk and impact management. Potential benefits of EWS using semantic types include the following: easier plug-and-play of sensors and data sources, simpler, richer, and more dynamic metadata-driven data analysis, and easier service interoperability and coordination. e challenges faced during the practical deployment of semantic EWS are the need for scalable time-sensitive data exchange and processing (especially involving heterogeneous data sources) and the need to be resilient to changing ICT resource constraints in crisis areas. Based on the multisemantic representation model, Poslad et al. proposed a novel IoT EWS system framework to deal with the challenges faced in the actual deployment process. Poslad et al. used heavyweight semantics for the top-level W3C web ontology language ontology model, which describes a multilayered knowledge base and semantic-driven decision support and workflow orchestration.
is approach can be validated by identifying system-related metrics and case studies involving a high-level prototype system of semantic EWS (integrated with a deployed EWS infrastructure) [3]. Fukuda et al. attempted to develop a new type of prosthetic control system based on the Internet of ings (IoT) paradigm. e method proposed by Fukuda et al. was able to exploit not only information from the user's muscle activity and prosthetic hand state but also extensive data obtained from objects and objects in the environment. Sensor data can be static features, dynamic states, or even contextual information for operations. e fusion of these sensor data forms a rich information base to support multi-DOF and dexterous prosthetic hands. It is expected that more reliable reasoning and more autonomous control decisions can be developed using IoT-based control systems. e method proposed by Fukuda et al. is validated by a case study using an object with a simple sensor unit and a Myo armband for electromyography (EMG) signals [4]. Data are essential to help decision-making. If the authenticity of the data is low, the choice is less likely to be correct. e Internet of ings (IoT) inevitably involves mistakes, irregularities, flaws, tricks, and model guesswork in big data. Improving data accuracy is critical to addressing these difficulties. Revathy and Canessane summarized the key qualities and difficulties of IoT that affect data processing and decisionmaking. Revathy and Canessane audited scenarios for estimating and upgrading data accuracy and mining uncertain data streams. Revathy and Canessane makes five recommendations for advancing truly big IoT data surveys in the future. e recommendations relate to the heterogeneity and appropriateness of IoT data, fundamental leadership for autonomy, the idea of developing conscious and regional lean, and data cleansing and processing procedures for IoT. Moreover, Revathy and Canessane proposed edge gadgets and data management methods for protection, customization and security [5]. (2) random forest; (3) and decision tree. e results show that Siryani et al.'s method produces statistically significant estimates and that DSS will improve the cost efficiency of ESM network operation and maintenance [6]. e research and experiments of the scholars have provided a strong theoretical basis and authenticity for the decision-making of the Internet of ings, but further refinement is needed in the algorithm. is paper analyzes the algorithm based on the attack and defense connection in the virtual football game, and the proposed scheme has practical feasibility, accuracy, and efficiency.

Offensive and Defensive Linkages in Virtual Football Matches
3.1.1. Virtual Football Game. When people try to explain a concept, they usually define it with the help of another concept. It is believed that if this way of definition continues, some concepts will be reached eventually. ese concepts are so simple and straightforward that there is no other meaning in logic. Observing the proposition that "football is a game", we will find that people's interpretation of football is very consistent with the process of explaining other concepts. If "0" means "football", "1" is "game", if the concept of "game" is still abstract. It must be further explained with the help of the concept of "2" or "3", so that the concept of "football" is more directly and concretely accepted by us. Since "football is a game", the next question is "what is a football game?". Obviously, it is very difficult to directly define the football game. is is largely due to the complexity, dynamics, and unpredictability of processes and outcomes of football games. However, it seems easier to form an intuitive understanding to explain the football game, which involves "what is in the football game". at is, it constitutes what people call a football game. According to different angles, the football game can be composed of two aspects. First of all, the individual player is the basic element of the game. Although the football game is centered on the ball, the decisive factor affecting the process and result of the game is the players on the field. From this point of view, the football game can be decomposed into two parts, the individual and the whole [7,8]. ere are many studies on these two parts. e research on individual ability involves the player's technique, physical fitness, and intelligence, while the overall research mainly covers three aspects: formation, play, and position analysis. e general formation for a football match is shown in Figure 1.

Importance of Offense and
Defense. e division of various parts of a football game is the first step that people take in the process of understanding the game, and it reflects people's current fundamental understanding of football issues, that is, football views. Observing any training session, one can clearly see the profound impact of this concept on the training content. A training session is carried out from two perspectives, the individual and the whole. e technical training and physical fitness training in the preparation activities are aimed at improving the personal ability of the players.
e tactical coordination drill, formation movement, and group confrontation are the main forms of overall training. However, individual and overall training is always combined with the game scene. A player's individual ability usually refers to a player's ability to handle situations in an offensive and defensive environment. Passing and receiving, shooting, and ball-handling abilities are the reflection of individual abilities in offense. Steals, balls, and clearances are the embodiment of personal ability in defense. Compared with the training of personal ability, the training of overall tactics, formation and play style will inevitably incorporate offensive and defensive elements. e wing tactical training includes both wing attack tactics training and wing defense training. Correspondingly, set-pieces appear in both offense and defense. erefore, offense and defense are still indispensable factors in set-piece training [9,10]. Figure 2 shows the tactical arrangement and decision-making in a football match.

Role of Offense and Defense in the Game.
Offense and defense are the eternal themes of football games. Some teams advocate offense and believe that only scoring goals can bring the possibility of winning for the team, and some even put forward the view that "offense is the best defense", which fully reflects the importance of offense in the game [11].
ose who hold this opinion can indeed provide convincing evidence, with the data summarizing the rankings and goals and losses of the top three teams in the Europa League for the 2021-2022 season. Table 1 shows the Premier League standings, Table 2 shows the Serie A standings, Table 3 shows the Bundesliga standings, and Table 4 shows the Ligue 1 standings. ese data fully demonstrate the important role of offense for the team to win and even win the league championship.
In the 2021-2022 European football season, the champions and runners-up of the Premier League, Serie A, Bundesliga, and Ligue 1 ultimately belong to the teams with the strongest attacking power. e characteristics of Serie A : Most teams have a slower pace, and most teams are not competitive for the championship, but whether it is a strong team or a weak team, they all pay attention to the defensive mode.
e characteristics of the Premier League: e competition in the Premier League is more intense year by  year, creating more big-name players. e high salary has also attracted many stars, the scene is relatively hot, the rhythm of playing is relatively fast, the mid-to-long distance coordination is relatively good, and the short-range short pass can be used with individual teams. e characteristics of the Bundesliga: Each team is more inclined to the technical flow. With the decline of Bayern's dominance year by year, each team has begun to maintain a certain degree of competitiveness for the championship. At the same time, the referee's law enforcement level is relatively high, and there are few disputes. 's penalty. e characteristics of Ligue 1: Compared with other league teams, Ligue 1 teams prefer to develop their own players. Among them, there are many African players with good skills, but they are not famous. At the same time, the team cooperates with discipline and the organization is not so good, so the scenes are often gorgeous, but there are few goals. And as can be seen from Table 3, the Bayern Munich team in the Bundesliga is very aggressive, scoring 74 goals, 11 more than the second place.
is is enough to show that the offense plays a decisive role in the team's victory [12].
It can also be seen from the data that the top three teams not only score the most goals but also concede fewer goals. As shown in Table 1, the number of goals scored by Manchester City and Liverpool is similar. Manchester City scored 1 goal less, but Manchester City conceded fewer goals than Liverpool, and its ranking is higher than Liverpool. is law fully explains the role of defense in the game, and the data of consecutive seasons in Serie A point to this trend, which proves that defense has a significant impact on the process and results of football matches [13,14].

Offensive and Defensive
Contact. Links exist on both ends of the offensive and defensive end. In the moment of offense and defense, contact always has an important impact on both offense and defense. In all situations in the game, one side is on offense and the other side is on defense. From the point of view of the attacking side, breaking the connection of the defending side with the connection between the players of the own side is the key factor for success in the attack. If the attacking side establishes a close enough connection, and the defending side is relatively loose, then the attacking side is likely to take advantage of this advantage to create scoring opportunities [15].
From the standpoint of the defender, a certain scene in the game can also be analyzed accordingly. If the team members are at a disadvantage in the local confrontation, the action to be taken must be to delay the opponent's attack and buy the necessary time for the teammates to establish contact in this area. If the offensive and defensive sides form an evenly matched situation in a local area, the action that the defensive side needs to take is to maintain contact with each other, control the offensive players, and try to cut off the contact between the ball carrier and other players [16].

Establish effective contacts.
Usually, players can establish and maintain contact through observation, communication and movement. Observation is the subjective behavior of players to understand the game, and it is the direct way for players to obtain game information. Communication is the main way players exchange information during the game, including verbal reminders and body language expressions. Running is the most basic way a player moves in a game. Almost all coaches are emphasizing the importance of running in the process of competition, and they even believe that active running is the premise of all tactics and the guarantee of team victory [17,18].

Internet of ings.
e Internet of ings is also known as the "Internet of Everything". It is a huge network formed by the combination of various information detection equipment and the Internet. e goal is to realize the interconnection of people, machines, and things anytime, anywhere.
e Internet of ings serves the society with "things" or the physical world as the data source and is a data-centric network. It covers a wide range, including satellite positioning, video surveillance, driving recorders, intelligent identification, education and medical care,    Scientific Programming entertainment and leisure, and many other fields. Its data volume is large, and the current big data include billions of records and petabyte-level data volume. Its update speed is fast, and the Internet of ings big data flow at a speed of hundreds of thousands of pieces of data per second [19]. e IoTdata model is usually not one step from IoTdevices to big data, but after one or more levels of processing and aggregation, big data are formed, and the convergence point in the middle is called small data. In other words, IoT devices are first aggregated to small data nodes, and then aggregated into big data. Its specific meaning can be shown in Figure 3. e source and development process of the Internet of ings is shown in Figure 4. From the initial Internet in 1969 to the concept of the Internet of ings in 2005, it has experienced 36 years of development. It has only been more than 10 years since the concept of the Internet of ings was proposed to its popularization. e rapid development of the Internet of ings has greatly facilitated people's work and life.
e key technologies of the Internet of ings mainly include radio frequency identification technology, sensor technology, M2M system framework, and cloud computing. e RFID technology enables items to "talk", which gives the Internet of ings a feature that can be tracked. e goal of the sensor technology is to integrate the acquisition, processing, and execution of information to form a multifunctional microsystem. It is integrated into a large-scale system, thereby greatly improving the level of automation, intelligence, and reliability of the system. M2M is a networked application and service centered on the intelligent interaction of machine terminals, which will enable objects to realize intelligent control. Cloud computing aims to integrate multiple relatively low-cost computing entities into a perfect system with powerful computing power through the network. Moreover, with the help of advanced business models, end users can get these powerful computing services. e application field of the Internet of ings involves all aspects and is applied in infrastructure fields such as industry, agriculture, environment, transportation, logistics, and security. It effectively promotes the intelligent development of these aspects, making the limited resources more rational use and distribution, thereby improving the efficiency and benefit of the industry. Its application in fields is closely related to life, such as home furnishing, medical health, education, finance and service industry, tourism, and so on. It has greatly improved in terms of service scope, service method, and service quality, which greatly improves people's quality of life. In "The Road to the Future", Bill Gates has mentioned the concept of the Internet of Things American Auto-ID first proposed the concept of "Internet of Things" American "Technology Review" proposed that sensor network technology will be the first of ten technologies that will change people's lives in the future  e IoT decision framework helps users understand where decisions need to be made and ensures consistency across all strategic business decisions, technology, and more. e IoT decision framework is even more important because a product or service that communicates over a network goes through several different layers of technical complexity.

Decision-Making Strategies.
For football, its decisionmaking strategies are divided into low-level decision-making strategies and high-level decision-making strategies. For the team, the high-level strategy library reflects the core strategy of the team. It guides all players of the team to cooperate to implement the formation and tactics in the strategy library, which is similar to the role of the coach in the actual game. e low-level strategy library is to establish different low-level strategy libraries for different player roles, and the different tasks of each role determine the football strategy in the game [20]. Figure 5 displays a diagram of the passing relationship between players of different formations.

Decision-Making Algorithm.
e distance and behavior between players are used as the basis for decisionmaking. Assuming that the distance between the football and the player is dis(ball, player), and the ball control distance is set to CONST_DIST, then when formula (1) is satisfied, it means that the ball control is lost: dis(ball, player) ≤ CONST DIST. (1) When dis(ball, player) > CONST DIST, it is assumed that the last three players have possession of the ball, as shown in Figure 6.
According to the triangular cosine law: According to the relationship between distance and speed, there are the following conditions: According to this, the player who has the earliest possession of the ball and the position of possession can be obtained.
e player movement path can be described as follows: Guidance can be obtained: Substitute t � 0, 1 into the formula, respectively, to obtain: en, the expression is as follows: Soccer sports model: where V is the speed, S is the distance, and P is the position. If the motion acceleration is ignored in the model, the velocity can be calculated as follows: e distance the player runs is as follows: Assuming that the collision distance between the two players is, if the distance is less than this, it means that the players collide and have the same spatial position, that is: When the ball-handling player gets the ball, his next step can be represented by the activation function as follows: where d ij represents the distance from i to j during the player's travel.
In the process of traveling, the information obtained between i and j is as follows: where ρ is the information disappearance coefficient and Δτ ij is the information increment.
U is used to represent the offensive potential energy of the ball-handling side, U art is used to represent the total potential energy of the arena, U goal (x) represents the attractive potential energy, and U obs (x) represents the repulsive potential energy, then it can be expressed as follows: Among them, the attractive potential energy: Repulsive potential energy:

System Design.
In the design process of the framework, the overall framework is divided into four modules, namely, entity module, situation module, strategy module, and monitor module. e software structure included in each module is shown in Figure 7. e situation module state is similar to the entity information on the field such as the physical state of the player and the football path as the main maintenance object. At the same time, the objects monitored by the monitor system are moving objects that can be imaged or animated. Due to the position and moving speed of football and players, it just meets the research object criteria of the surveillance system. It uses the abstract method defined by run() to implement overloading in the entity class. In order to update the motion state of players and footballs, the subclass overloading process is determined according to the motion laws of different research objects. In the state class, each entity instance in the entity module is often used as the reference object, and each entity instance is simultaneously referenced by multiple entities to form the state class. e state class provides a getter to collect the game information of the game through the monitor module. It introduces it into the module interface, in order to keep abreast of the situation on the field, find the collision problem in the field, and make processing decisions in the first time. is needs to establish a separate circuit program in the state class, start the program in the simulated state class, and perform simulated manipulation [21]. e abstract decision maker class used in the strategy module is an abstract form of decision makers, which can provide decision makers with some decision-making information. e execute abstract method it describes must be implemented in all its concrete subclasses. e derived global decision maker class is suitable for the global decision of the actual team, and the individual decision maker class is suitable for a specific individual decision of a player in the game. Due to the differences in the division of labor among players on the field, the individual decision maker divides all players into four categories: Goalie DM for goalkeeper decision-making, Rear Guarder DM for defender decisionmaking, Centre Forwarder DM for midfield decisionmaking, and Van Guarder DM for forward decision-making.

System Testing and Data Analysis.
e IoT Decision Framework focuses on six key decision areas in any IoT product. ese decision areas include user experience, data, business, technology, security, standards, and regulations. Aiming at the offensive and defensive relationship between players, this paper applies the designed decision-making system to data prediction and processing to make decisions.
In this paper, for an Internet of ings system, we use the designed decision system to predict its data and make corresponding decisions to increase the output. e data volume of the Internet of ings in the past 10 years is shown   As can be seen from Figure 8, although there are still many errors compared with the training data displayed according to the Internet of ings, the two fitting degrees are still quite high, and the overall trend is consistent. In order to understand the error more easily, the error diagram is made as shown in Figure 9.
As can be seen from Figure 9, the magnitude of the training variance values are between 65, compared with the maximum value of 200, and the error is less than 5%, so there is sufficient accuracy after training.
erefore, this is further tested, and the test and actual results are obtained, as shown in Figure 10.
As can be seen from Figure 10, the final test result fluctuates in the variance value within 1, and the error is not more than 1.5%. at is to say, the calculation accuracy of the system model on the data decision of the Internet of ings is as high as 98.5%, with high calculation stability, high accuracy and certain reliability.

Discussion
In order to create a realistic and effective decision-making system about virtual football games, this paper still needs to work hard from the following three aspects: (1) is paper considers the player's action process during the game, but there is no analysis and research on the warm-up action and physical state of the player before the official start of the game. (2) In the process of formulating decision-making strategies, this paper only analyzes the actions and thinking of the ball-controlling members in detail. However, this paper does not conduct a detailed study on the activities of other team members. Perhaps, sudden actions such as physical collisions by non-ball-possessing members often affect the progress of the game. (3) e static formation in the decision-making system is not perfect, and the information in the player's personal strategy database is not clear and accurate, and needs to be further improved.

Conclusion
is paper first summarizes the research purpose and content of this paper in the abstract part and introduces the background meaning and some key content of this paper in the introduction part. Second, some scholars' research results on the main content of this paper are listed in the related work part, so as to understand the relationship between the content of the virtual football game and the offense and defense.
In the theoretical research part, this paper first focuses on the attack-defense connection of virtual football games. It includes its virtual football game, the importance of offense and defense, the role of offense and defense in the game, the link between offense and defense, and the establishment of effective links. Second, this paper introduces the Internet of ings, including its concept and development process. Finally, this paper introduces the decision-making system, including its concept, decision-making strategy, and decision-making algorithm.
In the experimental test, this paper first introduces the overall structure of the decision-making system based on virtual football and introduces the particularly important situation module and strategy module in detail. Second, this paper conducts data training on the system according to the collected data of the Internet of ings. After obtaining sufficient training accuracy, the system test is carried out. Finally, the test results are described in this paper with the help of charts. e final result shows that the overall architecture of the decision-making system based on virtual football in this paper has high calculation accuracy, high calculation stability, and high accuracy for IoT decisionmaking data, and the system has a certain reliability.

Data Availability
No data were used to support this study.

Conflicts of Interest
ere are no conflicts of interest with any financial organizations regarding the material reported in this manuscript.