Design of Smart Classroom System Based on Internet of Things Technology and Smart Classroom

,


Introduction
e continuous development of new media technology promotes the development of modern education technology and at the same time puts forward higher requirements for modern education technology workers. e continuous updating of educational technology, coupled with the improvement of the functionality and operability of multimedia classrooms, has created favorable conditions for the application of modern educational technology in colleges and universities. e use of multimedia equipment to develop and serve modern teaching has become a common phenomenon and then developed into a new teaching mode.
Based on the concepts of smart equipment management, safety management, and energy-saving management in the classroom, this paper designs and develops an IoT cloud platform for smart classrooms and realizes real-time management of classroom environment information, combined with the development of smart campus.
With the development of information technology and the wave of intelligent technology, colleges and universities are exploring new teaching models to meet the needs and development of education. rough thinking and improving teaching, students' subjective initiatives can be mobilized and their creativity cultivated.
e Internet of ings technology is developing rapidly. e use of Internet of ings technology to build smart classrooms is helpful for information sharing and analysis and has a significant impact on the way of learning knowledge. Students majoring in the Internet of ings, computer, and other related majors can use the platform to learn wireless sensing technology and embedded development technology and can also use the provided interface to carry out the secondary development of the project. e environment created by the smart classroom stimulates students' interest in learning, thereby improving the quality of education and teaching. Li believes that as the Ministry of Education vigorously promotes the construction of smart campuses, the development concept of smart campuses will have broad application prospects. However, colleges and universities are still at the stage of digital campuses, and there are still many problems. He designed and realized a complete intelligent campus management system by analyzing the design principles and design goals of the system. His system is mainly divided into face recognition terminal hardware based on the Internet of ings and smart campus software system. Although the user satisfaction of the system he studied is relatively high, there are still certain shortcomings [1]. Kim believes that the degree of student participation refers to the degree to which students are immersed in learning when receiving education in the classroom. He proposed an environmental intelligence algorithm for smart classrooms. e algorithm provided information to teachers by measuring student participation in real time. He proposed an algorithm for evaluating student participation by measuring thermal infrared images to evaluate students' mental state. He proposed a measurement model that uses thermal infrared imaging to characterize student participation. e color of the teacher's mobile application will change in real time according to the immersion level of the students in the classroom. Although the algorithm he proposed is innovative, it lacks algorithm simulation [2]. Tissenbaum and Slotta believe that although K-12 media has had a significant impact on many other aspects of life, people's classroom environment has not yet incorporated ubiquitous computing, augmented reality, and other emerging technologies, even touch screens. He has carried out a series of designbased research projects to investigate the smart classroom infrastructure, which provides support for students and teachers in a new form of collaboration and inquiry, including the substantial role of large projection displays and small touch surfaces, as well as the dependence of the student's physical location in the room. His design includes (1) the role of a large-screen display to transmit aggregate information and environmental information, (2) real-time communication between students, (3) application of intelligent software agents to formulate real-time teaching logic, (4) support cross-context learning, and (5) investigate the coordination of roles, materials, and environment. Although his research has a certain role in promoting the development of smart classrooms, it lacks specific experimental data [3]. Lin believes that, in recent years, many organizations have announced the importance of software development to the country, society, and individuals. In the process of software development, various unpredictable problems are often encountered, especially when developing large and complex software. To reduce the possibility of these problems, it is essential for students to apply software engineering techniques to scientifically define the standards, models, and processes required in the software development process. His goal is to apply an innovative teaching method, called flipped classroom, to implement a learner-centered learning environment in software engineering courses. In addition, he also developed an intelligent learning diagnosis system to support the teaching of this course. He conducted experiments on a software engineering course at a university in Taiwan to explore the effectiveness of the proposed method. e experimental group adopts the flipped classroom teaching method, and the control group adopts the traditional classroom teaching method. Although his research is more accurate, it is not innovative enough [4].
rough the Internet of ings application platform for teachers and students to build a learning experience platform with strong credibility, teachers and student users can integrate into all aspects of the Internet of ings application platform through actual operation and management, which facilitates the high-speed flow and sharing of information resources. To make full use of the Internet of ings application technology to enhance the information management of the university classrooms, based on the professional characteristics to promote the integration of theory and application practice of diversified universities, through the Internet of ings application platform to provide teachers and students with a strong credibility of learning experience, teachers and students can integrate into all aspects of the Internet of ings application platform through the actual operation and management.

Internet of ings.
With the rapid development of the Internet of ings, a large amount of unstructured data will be generated. ese data are growing exponentially. e data are complex and polymorphic, and there is no obvious correlation between them. However, the traditional data acquisition, analysis, storage, and processing technologies can not meet the needs of the rapid development of society [5,6]. erefore, if we can focus on the following key technologies in data processing of the Internet of ings according to the characteristics of data, massive data storage, data fusion, data query, search and mining, intelligent decision making, etc., it will play a technical support and promotion role in information construction, smart city, industrial manufacturing, smart agriculture, commerce, finance, transportation, and other fields [7,8].
Assuming that, in the regression of the function curve, the weight coefficient A, the standard deviation S, the mobile application behavior variable x, and the linear change variable y ensure a high degree of fit between the function curve and the sample point data, it is necessary to establish an alternative relationship expression between x and y based on the regression equation formula. e calculated residual SS can be used to determine whether the fitting is a composite data mining analysis requirement, and the expression is as follows [9]: e relationship between the conversion delay of the curve regression sampling point and the perception accuracy is as follows: Among them, D T represents the conversion delay and d represents the perception accuracy [10]. e errors of linear data mining are as follows: Among them, i represents the user scale, j represents the number of data mining polls, and the function P is used for curve fitting [11]. e similarity between the user demand conclusion of linear data mining and the actual demand is as follows: e characteristics of the Internet of ings technology are to give objects to perceive the environment and to communicate with each other and have simple intelligence, so for the architecture design, the Internet of ings needs to support the above three main features. Generally speaking, the technical architecture of the intelligent Internet of ings can be divided into three levels. We can call it the control layer or perception layer, the transmission layer or network layer, and the application layer or service layer [12,13]. After the IoT terminal device perceives the surrounding environment data, these data need to be transmitted. erefore, the support of the network layer is required. rough the connection of the network layer, objects can be connected in series to form a mesh structure. In addition to transmission, the confidentiality and correctness of data transmission must be ensured, while stability and continuity are required. e higher-level requirement is to occupy less bandwidth and the transmission process needs to occupy less energy consumption [14,15].
Zigbee wireless network channel distribution is shown in Table 1. Different types of network can be used to transmit different types of data to achieve the optimal allocation of network resources and the perfect integration of sensor network and current network and to realize fast, stable, accurate, safe, and reliable transmission of data. On the terminal, various functional requirements can be realized according to data characteristics and user needs, which can be realized through application design and development [16].

Smart Classroom System.
e system structure of the smart classroom system is shown in Figure 1. Pad mobile platform allows users to register and log in and realize the collection and upload of basic face information; through receiving the instructions from PC workstation, the collection and preprocessing of face attendance information are completed; the submission of face attendance information is completed, the online examination, teaching evaluation, electronic whiteboard display, and other functions are realized, and the results of teaching evaluation information and performance information can be queried in real time [17]. e equipment control system in the classroom uses PID control related technology to set the target temperature value, realize automatic temperature control, and adjust the set value of stable operation in the target area. e relationship between the three PID algorithms is [18] PID out � P out + I out + D out .
In the formula, PID out represents the total output value, P out represents the current deviation value, I out represents the historical deviation value, and D out represents the latest deviation value [19].
Suppose that N sensors are used to perform feature detection with a certain performance index of the target object independently of each other, and the obtained data is sorted in ascending order to obtain a set of detection sequences T 1 , T 2 , ..., T n−1 , T n , where T 1 is the lower limit of the detection sequence, and T n is the upper limit of the detection sequence [20]. Define the median T M as According to the extreme value theory of multivariate functions, the minimum condition of the total mean square error σ 2 is obtained.
e weight corresponding to each sensor is W i (i � 1, 2, ..., n). When the variance is smaller, the corresponding weight evaluation factor is larger [21]. e weighting factor W i of each sensor corresponding to the minimum total mean square error σ 2 min is [22] 2.3. Smart Classroom. Any education ecosystem is inseparable from the social environment. e material flow, energy flow, and information flow in the education ecosystem will Mobile Information Systems eventually be transformed into social benefits and serve the society. Whether it is the cultivation of talent or technological inventions and creations, they will eventually appear in the society. e society has been developed and progressed, and the economic benefits produced are invested in education to promote the redevelopment of education and form a virtuous circle of sustainable development [23]. Education bears the responsibility of historical and cultural heritage. Any education ecosystem not only presents the function of serving people and society, but also contains more or less cultural details. For example, in a university, cultural heritage is more important than teaching and educating people to a certain extent, and it is the spiritual force to support its successful long-term development [24].
Before the class, learn to inspire students to learn independently. e class is based on cloud technology, great wisdom, and other information technologies, and the tablet is used to combine the classroom with resources, to provide students with rich learning resources, and to use big data and other technologies for students. e learning process and learning feedback are tracked and evaluated in real time [25]. "Smart classroom" integrates self-learning before class, answering questions and key explanations in the class, and feedback services after class through self-learning plans, microvideos, teaching resources, homework, assessments, etc. "Smart classroom" makes teaching more and more intelligent, makes the education environment more and more networked, and makes students' learning more and more personalized, so that students can adapt to the informationized social environment and promote the development of students' wisdom [26]. e basic teaching process based on the smart classroom is shown in Figure 2. Before class, the teacher analyzes the students' homework, makes clear the students' existing knowledge and experience, and combines the characteristics of the students' age and physical and mental development to preliminarily determine the teaching objectives. According to the learning situation, textbook analysis, teaching difficulties, and problems encountered by students in the preview, teachers determine the teaching design scheme [27]. Students show their own preview results and put forward their own confusion. In the process of inquiry, teachers should give corresponding guidance. e teacher sends the homework to the student client, and the students submit it to the teacher after completing the homework. e teacher corrects the homework in time, gives feedback to the students, and answers questions online through the tablet. Students summarize what they have learned and upload their feelings or questions after class to the learning platform, and teachers organize students to discuss and exchange as an expanding supplement. Teachers push network resources to enable students to expand their learning according to their own situation [28,29].

Test Environment of the System.
e test environment of the smart classroom teaching system mainly includes the hardware environment and related operating system and the database of the Internet of ings engineering experiment platform constructed with the optical wireless switch and its distributed wireless system as the core, supplemented by the intelligent access gateway and its distributed wired system. e software environment is composed of two parts, and the specific test environment configuration is shown in Table 2.

Environmental Intelligence Perception.
For temperature detection, we mainly use the DS18B20 chip to detect the  temperature in the classroom. For the light intensity of the classroom, we use a photoresistor to collect the light data, and after amplification by the amplifier, the A/D sampling process of the single-chip microcomputer is used to obtain the light intensity, combined with the clock module to distinguish the influence of the classroom light. In the classrooms of colleges and universities, most of the participants in the activities are adults, who emit heat and humidity to the outside world. e effective monitoring range is set to 0-100RH, and the resolution is 2.5%RH. At the same time, the fault self-check and alarm are carried out according to the electrical and physical characteristics of the equipment. In order not to affect the indoor activities or the teaching process, the alarm only occurs on the server side or the user's mobile terminal and does not support the on-site whistle alarm, to facilitate the maintenance and safety of personnel after failure and support human body static electricity or leakage protection.

Data Acquisition Test.
e test adopts the method of observing the source data directly, and the data format is not converted twice, which ensures the accuracy of the source data.
e data in the data frame is decoded by relevant software, and the decoded data is printed on the PC screen by means of printf reset.
is test uses a USR-TCP232 network debugging assistant to debug the data acquisition.
rough the control function of the collected data, we can see that the prototype system of the smart classroom has realized the closed-loop functions such as data acquisition, output and data processing, and equipment control and realized the automatic control. e tester can control the operation of the equipment in real time, and the test function can completely realize the management of the smart classroom, save labor cost, and improve safety index and equipment utilization.

Equipment Out-of-Control Alarm Test.
After receiving the control instruction, the control system node starts the regulation of the device. When the device starts to work, it returns information to the host computer management system. e main page device control module will receive the return value of the control device, indicating that the device is in accordance with the configuration, if you do not receive the returned task signal and the system defaults to the device failure or communication failure, then the system will send the control command again. If the execution control command is sent 10 times in a row, the system still has no return signal. en the system will send the data reported to the mobile phone information reserved by the administrator to report the loss of control of the equipment in the classroom.
is enables the administrator to grasp the control and operating status of the equipment in the smart classroom for the first time and to grasp and troubleshoot the faults in time.

Performance Test.
To optimize the safety and reliability of the system, dual-computer backup switching is adopted on the hardware, and process monitoring and management strategies are adopted on the software. e smart classroom teaching system has relatively high requirements for the stable operation of the system, and the data in the system requires long-term storage characteristics, and no accidents are allowed. Once data is lost or the system is paralyzed, it will bring immeasurable consequences to the school. At the same time, the amount of data interaction in the smart classroom is relatively large, so it is necessary to build a highly available cluster server, so that the system not only has a certain degree of stability, but also can quickly respond to users' access requests.  Figure 2: e basic teaching process is based on a smart classroom.

Wisdom Evaluation.
is study uses the intelligent evaluation method to evaluate the quality of teaching and learning. In the intelligent evaluation, the intelligent teaching tool rain classroom collects the data of students' learning process or learning results to realize the comprehensive evaluation of students.
e big data provides an important support for the evaluation of smart classroom teaching. According to various data sources, modular analysis technology is used to form visual analysis results. e former teaching evaluation is a single evaluation by teachers. In the intelligent evaluation, teachers are the main body of students' evaluation, students are the objects being evaluated and the main body of evaluation and the evaluation of teaching and learning quality.

Results and Discussion
e actual space layout of the smart classroom is shown in Figure 3. With the support of cloud desktop, mobile Internet, and other technologies, it has formed a smart classroom cloud desktop software, a smart classroom cloud desktop management system, a smart classroom cloud desktop computing module, a smart classroom cloud desktop storage module, and a live lesson anchor system (the teaching environment background system (teaching platform) and the smart classroom cloud desktop terminal). On the equipment, learners and teachers clearly stated that the current hardware equipment needs to be upgraded and reformed, and they believe that the number, location, size, and clarity of the display screens need to be reconsidered, the mutual interaction of the screens, and the support for handheld devices and audio systems should be "silent" and can support the interaction between teachers and students. e quality of the network continues to be strengthened, and the diversity of the physical environment needs to be strengthened. In addition, it is hoped that a lighter or green version of learning tools can be provided, and the type and quantity of various terminal equipment consider it. e benefits of the smart classroom model to students in all aspects are shown in Table 3. It can be seen from the table that 76.9% of the students think this teaching method is very helpful to improve their interest in learning, and 23.1% of the students think it is helpful, which fully shows that everyone has fully recognized that this teaching method can improve their interest in learning. In terms of improving intercultural communication ability, 61.5% of the students think it is very helpful, 23.1% think it is helpful, and 15.4% hold a neutral attitude. Most of the students think this teaching method is helpful for them to improve their intercultural communication ability. e smart classroom teaching system uses more teachers and students, so when the maximum number of users is online, the average response time of system transactions is required to be less than 5 seconds, the maximum response time is less than 10 seconds, and the response transaction success rate is higher than 98%, and the CPU is occupied. e rate should be less than 80%, and the memory usage should be less than 80%. e specific test data is shown in Table 4. When the load of the number of online users reaches 500, the average response time of the system is 3.65 seconds, and the maximum response time is 5.11 seconds, which is in line with the expected value. e CPU and memory occupancy rate can also ensure the stability of the system.
To evaluate the effectiveness of the smart classroom model, this article selects 100 high school students in parallel classes to ensure that they have no obvious differences in all aspects except for the different teaching models. e comparison result of classroom teaching structure is shown in Figure 4. In this experimental study, the interactive behavior of the experimental class with students as the main body accounted for 50%, which was higher than the proportion of the interactive behavior with the teacher as the main body (46.7%); the interactive behavior of the control class with the student as the main body accounted for 40.6%, lower than the proportion of interactive behavior with teachers as the main body (57.9%). Compared with the two classes, the proportion of interactive behavior with students as the main body in the experimental class is about 10% higher than that in the control class, and the proportion of interactive behavior with teachers as the main body is about 11% lower than that in the control class. e experimental environment chosen in this paper is an indoor test environment, with a distance of five meters between the terminal node and the coordinator, and there is no obstruction in the line of sight. Operate according to the above process and observe the final result. After power-on, we use an oscilloscope to observe the data transmission waveform diagram of the data transceiver interface. e figure shows the level signal of the chip data pin during the data transmission and reception process. e high level represents the number 1, the low level represents the number 0, and the waveform diagram shows the chip can receive the data sent. e waveform diagram is shown in Figure 5. According to the test results, the coordinator successfully obtained the data packets transmitted from the device terminal. e content of the data packet was verified to prove that the content of the data packet was consistent before and after the data transmission, and no data transmission errors were found. According to the comparison of the difference between the sent data timestamp and the received data timestamp in the data packet header, we can calculate that the average transmission time is about 10 ms and 99.9% of the data transmission delay is less than 30 ms. e system write rate results are shown in Figure 6. As the distance increases, the read and write rates are maintained above 90%, and the trend is generally stable. In the traditional teaching model, teachers impart knowledge to students through books and blackboards, while students test their own learning effects through classrooms and exams, but this traditional model has a single and relatively boring way of imparting knowledge and skills in the classroom. e teaching effect is not good enough and the teacher cannot grasp the students' learning of knowledge and skills in time.
e smart classroom is fully adapted to the development of the Internet of ings era, integrating network electronics and practical teaching, enriching teaching methods, and recording the various situations of teachers and students at school through data, and it is also convenient for teachers to understand the students' mastery in a timely manner.

Conclusions
Educational reforms rely increasing on educational equipment. Only with the help of existing technology can no longer meet the needs of teachers and students, prompting researchers in the field of education to actively and actively develop new technologies and research new educational equipment. New technologies and new equipment account     for an increasing proportion of smart classrooms, which have become a powerful driving force for the development of smart classrooms. is article tries to find the common problems in the application of teaching informatization by investigating the current status of education informatization construction, to start from the realistic requirements of the operation of the teaching business process and the future innovative teaching business process from the perspective of development needs, the design and implementation of the smart classroom teaching system are discussed and studied. Based on the prototype architecture, implementation strategy and software platform of the Internet of ings application system, this paper presents the implementation plan of the college smart classroom Internet of ings system from the aspects of system realization, main technology, system function realization, and system installation and debugging. e combination of networking application technology and data mining technology, through the application of software platforms, hardware platform, and integrated technologies, solves many information technology problems in classroom management, student attendance, equipment management, and teaching activity management in college education and teaching management.

Data Availability
No data were used to support this study.

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