Idle classroom real-time query system based on single-chip microcomputer

By designing a real-time query system for free classrooms based on microcontrollers, using image recognition and noise recognition technology to monitor classroom status in real time, the problem that existing systems are difficult to monitor and display classroom busy and idle status in real time and accurately, and the query efficiency and rationality of resource management are improved.

CN120067170APending Publication Date: 2025-05-30LIAONING UNIVERSITY OF PETROLEUM AND CHEMICAL TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510145143.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing real-time query system for classrooms is difficult to monitor and display the busy and idle status of the classroom in real time and accurately, resulting in low student query efficiency and unreasonable management resources.

Method used

A real-time query system for free classrooms based on microcontrollers is designed, using microcontroller AT89C52, LCD screen, real-time clock module and serial port monitoring module. Through image recognition and noise recognition technology, the busy and idle status of the classroom is determined in real time, and the query results are displayed through the LCD screen.

Benefits of technology

Real-time status monitoring and display of classrooms is realized, the efficiency of students inquiring classrooms is improved, and managers are helped to plan resources reasonably and avoid waste of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120067170A_ABST
    Figure CN120067170A_ABST
Patent Text Reader

Abstract

The invention provides an idle classroom real-time query system based on a single-chip microcomputer, relates to the technical field of single-chip microcomputer systems, and realizes data storage and query functions by constructing a system capable of storing information of each classroom in a teaching building, calling data and executing a write-in program. Basic concepts and operation steps of information storage, information display, clock setting and data random distribution are elaborated. According to the system, information storage and a clock system are closely integrated, the use state of the classroom can be judged by comparing and analyzing data randomly called from the information storage, and required information is displayed, so that students can select the classroom conveniently. In addition, the system also supports a time query function, and state information of the classroom at the corresponding moment is obtained by querying time. And the information storage system and the clock system are effectively combined, so that the accuracy and the real-time performance of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of single-chip microcomputer systems, and particularly to a real-time query system for idle classrooms based on a single-chip microcomputer. Background Art

[0002] The real-time monitoring system for classroom busy and idle states is used to accurately and real-timely display the status of each classroom in the current comprehensive building. On the one hand, it greatly facilitates students to query classrooms and saves the time wasted in searching for suitable classrooms; on the other hand, it also facilitates management institutions such as universities to efficiently manage classroom resources. By collecting and analyzing real-time data, managers can quickly know which classrooms are in use and which are idle, so as to reasonably plan courses and activities and avoid waste of resources. The real-time classroom query system not only improves the utilization efficiency of classroom resources, but also optimizes the teaching management process on campus, providing a more convenient and efficient learning and working environment for teachers and students. With the continuous progress of technology, the future real-time classroom query system will be more intelligent and personalized, and better serve the development of the education cause. Summary of the Invention

[0003] Aiming at the deficiencies of the prior art, the present invention provides a real-time query system for idle classrooms based on a single-chip microcomputer;

[0004] A real-time query system for idle classrooms based on a single-chip microcomputer includes a single-chip microcomputer AT89C52, a classroom status display module, a real-time clock module, and a serial port monitoring module.

[0005] The classroom status display module uses a liquid crystal display screen and includes a key query module and an information display module; the information display module is specifically used for displaying the following information: the current query time, the number of busy and idle classrooms, the names of idle classrooms, the daily class schedules of idle classrooms, the locations of idle classrooms, and the navigation of idle classroom locations; the key query module includes a query function key and a navigation key; users can query the busy and idle status of classrooms in the teaching building by clicking the query function key on the touch liquid crystal display screen; when the user clicks the navigation key of the target idle classroom, the optimal path information from the current position to the target classroom is displayed on the liquid crystal display screen;

[0006] The serial port monitoring module is a monitoring device set inside the classroom; the real-time clock module includes a clock system and an information storage system. The clock system is used to determine the time, and the information storage system stores the images and videos of the classroom usage status collected in real time by the serial port monitoring module;

[0007] The single-chip microcomputer AT89C52 determines the busy line situation of the classroom by calling the stored classroom usage status images and videos. Specifically, it randomly calls the classroom usage status images and videos stored at the user query time, analyzes and determines the data on the number of students assigned to each classroom and the noise intensity data present in the classroom, obtains the usage situations of different classrooms, and the single-chip microcomputer AT89C52 returns the judged classroom status to the classroom status display module, and displays the current query time, the number of busy and idle classrooms, the names of idle classrooms, the class schedules of idle classrooms on the current day, the locations of idle classrooms, and the navigation of the locations of idle classrooms through a liquid crystal display screen.

[0008] The above-mentioned analysis and determination specifically include image recognition and noise recognition. The image recognition specifically is: recognizing the seats in the classroom usage status image, and when the number of vacant seats exceeds a set proportion of all the seats in the classroom, it is determined to be in an idle state. The noise recognition specifically is: judging the signal-to-noise ratio in the classroom usage video, and when the noise is lower than a set threshold, it is determined to be in an idle state.

[0009] The classroom status display module controls the display of the busy and idle status of each classroom and the control of the key query module through the single-chip microcomputer AT89C52.

[0010] The beneficial effects produced by adopting the above technical solution are as follows:

[0011] The present invention provides a real-time query system for idle classrooms based on a single-chip microcomputer, which can display the occupancy situation of classrooms in real time, including whether someone is using it, whether it is in a class state, the current number of people, and the noise level, and presents these query results on the screen. By intuitively displaying the current state of the classroom, the query personnel can easily select a suitable classroom for different purposes. Brief Description of the Drawings

[0012] Figure 1 It is the overall flowchart of the real-time query method for idle classrooms in the embodiment of the present invention. Detailed Embodiment

[0013] The following combines the drawings and embodiments to further describe in detail the specific embodiments of the present invention. The following embodiments are used to illustrate the present invention, but are not used to limit the scope of the present invention.

[0014] A real-time query system for idle classrooms based on a single-chip microcomputer includes a single-chip microcomputer AT89C52, a classroom status display module, a real-time clock module, a key query module. In addition, in order to monitor data, a serial port monitoring module is also included.

[0015] The classroom status display module uses a liquid crystal display screen (touch control enabled), and includes a key query module and an information display module; the information display module is specifically used for displaying the following information: the current query time, the number of busy and idle classrooms, the names of idle classrooms, the class schedules of idle classrooms on the current day, the locations of idle classrooms, and the navigation to the locations of idle classrooms; the key query module includes query function keys and navigation keys; users can query the busy and idle status of classrooms in the teaching building by clicking the query function keys on the touch liquid crystal display screen; when the user clicks the navigation key of the target idle classroom, the optimal path information from the current location to the target classroom is displayed on the liquid crystal display screen, saving the arrival time.

[0016] The serial port monitoring module is a monitoring device installed inside the classroom; the real-time clock module includes a clock system and an information storage system. The clock system is used to determine the time, and the information storage system stores the images and videos of the classroom usage status collected in real time by the serial port monitoring module.

[0017] The single-chip microcomputer AT89C52 determines the busy or idle situation of the classroom by calling the stored images and videos of the classroom usage status; specifically, it randomly calls the images and videos of the classroom usage status stored at the user's query time, analyzes and discriminates the data of the number of students assigned to each classroom and the noise intensity data present in the classroom, obtains the usage situations of different classrooms, and the single-chip microcomputer AT89C52 returns the determined classroom status to the classroom status display module, and the current query time, the number of busy and idle classrooms, the names of idle classrooms, the class schedules of idle classrooms on the current day, the locations of idle classrooms, and the navigation to the locations of idle classrooms are displayed through the liquid crystal display screen.

[0018] The analysis and discrimination specifically include image recognition and noise recognition; the image recognition is specifically as follows: identify the seats in the classroom usage status image, and when the number of vacant seats exceeds the set proportion of all seats in the classroom, which is set to 80% in this embodiment, it is determined to be in an idle state; the noise recognition is specifically as follows: discriminate the signal-to-noise ratio in the classroom usage status video, and when the noise is lower than the set threshold, it is determined to be in an idle state.

[0019] The classroom status display module controls the display of the busy and idle status of each classroom and the keyboard key control through the single-chip microcomputer AT89C52.

[0020] The data also includes querying the time, and obtaining the status information of the classroom at the corresponding time through the query of the time; the effective combination of the information storage system and the clock system makes the system work more accurately and have higher real-time performance.

[0021] In this embodiment, C language is used for programming. C language instructions execute relatively fast and occupy less memory. At the same time, in order to facilitate the expansion and modification of the system functions, each function of the system is divided into small pieces in this design, and a modular structure is adopted to design the logical relationship of the program design, and different functions are set for calling respectively.

[0022] In this embodiment, as Figure 1 shown, the real-time query system for idle classrooms adopts a one-key query method. By clicking the query function button on the touch display screen, the busy and idle status of the classrooms in the teaching building can be queried. By calling the query function, several factors affecting the idle and busy status of the classrooms are randomly called and analyzed to obtain the real-time status of the classrooms (in this design, the number of students in the classroom and the noise intensity are considered as two factors). Finally, information such as time information and the number of idle classrooms is returned to the liquid crystal display for display, and students can intuitively see the currently queried information, which is convenient for them to select the use of classrooms.

[0023] In this embodiment, the information storage system aims to achieve the effective storage and data retrieval of the information of each classroom, and realizes the functions of information storage and retrieval query through programming. As the core of the research, the information storage and call system completes the tasks of data storage and query by processing the information storage, data call and programming writing of each classroom in the teaching building. This system details the basic concepts and operation steps of information storage, information display, clock setting and data random allocation.

[0024] Using the DS1302 clock system, we can accurately time time information such as year, month, day, week, hour, minute and second. The main functions of this system include querying the idle or busy status of each classroom at the current time, randomly calling data from the information storage for comparative analysis to judge the use situation of the classrooms, and displaying the required information, so as to facilitate students to select suitable classrooms.

[0025] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.

Claims

1. A real-time query system for idle classrooms based on a single-chip microcomputer, characterized in that: It includes single-chip microcomputer AT89C52, classroom status display module, real-time clock module and serial port monitoring module; The classroom status display module uses a liquid crystal display screen, and includes a key query module and an information display module; the information display module is specifically used to display the following information: current query time, number of busy and idle classrooms, name of idle classrooms, daily class schedule of idle classrooms, location of idle classrooms, and navigation of idle classroom locations; the key query module includes query function keys and navigation keys; users can query the busy and idle status of classrooms in the teaching building by clicking the query function keys on the touch screen of the liquid crystal display screen; When the user clicks the navigation key of the target free classroom, the LCD screen displays the optimal path information from the current location to the target classroom; The serial port monitoring module is a monitoring device set up inside the classroom; the real-time clock module includes a clock system and an information storage system, the clock system is used to determine the time, and the information storage system stores the classroom usage status images and videos collected in real time by the serial port monitoring module.

2. According to the single chip microcomputer-based real-time query system for idle classrooms in claim 1, it is characterized in that: The classroom status display module controls the display of the busy and idle status of each classroom and the control of the key query module through the single-chip microcomputer AT89C52.

3. According to the single chip microcomputer-based real-time query system for idle classrooms in claim 1, it is characterized in that: The single-chip microcomputer AT89C52 determines the busyness of the classroom by calling the stored classroom usage status images and videos; specifically, the classroom usage status images and videos stored at the time of user query are randomly called, and the usage status of different classrooms is obtained by analyzing and judging the number of students assigned to each classroom and the noise intensity data existing in the classroom. The single-chip microcomputer AT89C52 returns the determined classroom status to the classroom status display module, and displays the current query time, the number of busy and idle classrooms, the name of the idle classroom, the daily class schedule of the idle classroom, the location of the idle classroom and the idle classroom location navigation through the liquid crystal display.

4. According to the single chip microcomputer-based real-time query system for idle classrooms in claim 3, it is characterized in that: The analysis and discrimination specifically include image recognition and noise recognition; the image recognition specifically includes: identifying seats in the classroom usage status image, and when the vacant seats exceed the set ratio of all seats in the classroom, it is determined to be an idle state; the noise recognition specifically includes: judging the signal-to-noise ratio in the classroom usage status video, and when the noise is lower than the set threshold, it is determined to be an idle state.