Unlocking method of classroom teaching intelligent large screen and related equipment
By combining the AS608 optical fingerprint recognition module with the analog keyboard input sequence, the problem of insufficient convenience and security in the opening method of the smart classroom screen is solved, realizing fast and secure unlocking without network, and ensuring the stability and continuity of the teaching process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHENGDU NO 7 MIDDLE SCHOOL FOR YOUNG TALENTS
- Filing Date
- 2025-11-18
- Publication Date
- 2026-04-21
AI Technical Summary
The existing methods for opening smart classroom screens rely on mobile phones or traditional passwords, resulting in insufficient convenience and security. In particular, they cannot be opened normally when the network is unstable, which affects teaching efficiency and order.
The system uses the AS608 optical fingerprint recognition module to collect fingerprint information and uses the ESP8266 main control unit and Arduino Leonardo to simulate keyboard input sequences, enabling fingerprint unlocking without a network and ensuring security and stability.
Fingerprint recognition unlocking eliminates reliance on mobile phones, improves the convenience and efficiency of teaching preparation, ensures the safety, stability and continuity of teaching equipment, and avoids interference from network problems.
Smart Images

Figure CN121902111A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart classroom teaching screen application technology, and in particular to a method for unlocking a smart classroom teaching screen and related equipment. Background Technology
[0002] Against the backdrop of rapid development in modern educational informatization, smart classroom teaching screens are widely used in various teaching scenarios, greatly enriching teaching methods and improving teaching effectiveness. However, existing methods of activating smart classroom teaching screens have many drawbacks, causing considerable inconvenience to teachers.
[0003] Currently, the two most common ways to activate smart screens are via mobile app control and traditional password input. While mobile app control offers convenience, allowing instructors to remotely activate the screen from a distance, it is overly reliant on the phone. In daily teaching activities, instructors may forget their phones for various reasons, such as forgetting them in a rush in the morning, or losing or damaging them. In these situations, they cannot use this method to activate the smart screen, thus disrupting the teaching process. Furthermore, this method is highly dependent on network conditions. In classrooms with unstable network signals, network congestion, or no network coverage, communication between the mobile app and the smart screen will be hindered, preventing the screen from being activated.
[0004] Traditional password input methods also have many problems. Firstly, passwords are easily obtained by others, resulting in poor security. If a password is leaked, unauthorized personnel could unauthorizedly access the large screen, disrupting teaching order and potentially damaging the equipment. Secondly, the password input process is cumbersome, requiring instructors to manually enter a string of characters, which is not only time-consuming but also prone to errors during the busy preparation process. Entering the wrong password requires re-entry, undoubtedly wasting valuable teaching time and impacting teaching efficiency.
[0005] Therefore, improving the security and convenience of opening smart classroom teaching screens is an urgent problem to be solved. Summary of the Invention
[0006] To address the aforementioned issues, embodiments of this application provide a method and apparatus for unlocking a smart classroom teaching screen, an electronic device, a computer-readable storage medium, and a computer program product.
[0007] Firstly, in order to solve the aforementioned technical problems, this application provides a method for unlocking a smart classroom teaching screen, including: Fingerprint information is collected using the AS608 optical fingerprint recognition module; The fingerprint information is matched and identified to obtain the identification result; The recognition result is received by the ESP8266 main control unit and forwarded to the Arduino Leonardo. Using the Arduino Leonardo, the authentication information is obtained by executing the simulated keyboard input sequence corresponding to the recognition result based on a preset device class protocol. An unlocking command is generated based on the authentication information, and the display device of the smart classroom teaching screen is unlocked based on the unlocking command.
[0008] The beneficial effects are: The technical solution provided in the embodiments of this application eliminates reliance on mobile phones by using a fingerprint recognition unlocking device, greatly improving the convenience and efficiency of teaching preparation. Furthermore, the uniqueness and uncopyability of fingerprints effectively prevent unauthorized access due to password leaks, ensuring the security of teaching equipment and maintaining teaching order. Simultaneously, the use of simulated keyboard input eliminates reliance on a network environment, ensuring that teaching activities are not interfered with by network issues, significantly improving the stability of opening the smart classroom teaching screen and ensuring the continuity of the teaching process. Therefore, this application enhances the convenience, security, and stability of opening the smart classroom teaching screen and subsequent teaching activities.
[0009] Furthermore, the acquisition of fingerprint information via the AS608 optical fingerprint recognition module includes: The AS608 optical fingerprint recognition module uses an optical sensor to obtain reflected light from the user's fingerprint at the sensor window, which is generated by the built-in light source. The reflected light is converted into a grayscale image, which serves as the fingerprint information corresponding to the user's fingerprint.
[0010] Furthermore, the matching and identification of the fingerprint information to obtain the identification result includes: The AS608 optical fingerprint recognition module's DSP processor acquires pre-stored reference fingerprint feature values. The reference fingerprint feature value and the actual feature value of the fingerprint information are matched and identified to obtain an identification result, which indicates whether the fingerprint is successfully matched and authenticated or not.
[0011] Furthermore, the step of receiving the recognition result through the ESP8266 main control unit and forwarding the recognition result to the Arduino Leonardo includes: The ESP8266 main control unit receives the recognition result transmitted by the AS608 optical fingerprint recognition module via the UART serial port. The recognition result is forwarded to the Arduino Leonardo via serial communication.
[0012] Furthermore, the preset device class protocol is the USB-HID protocol; The process of obtaining authentication information by executing the simulated keyboard input sequence corresponding to the recognition result using the Arduino Leonardo based on a preset device class protocol includes: When the recognition result indicates that the fingerprint has been successfully matched and authenticated, the Arduino Leonardo obtains a pre-stored data pair corresponding to the fingerprint information. The data pair includes the fingerprint feature value of the fingerprint information and the corresponding simulated keyboard input sequence. The simulated keyboard input sequence is executed based on the USB-HID protocol to obtain authentication information, which is the password data corresponding to the fingerprint information.
[0013] Furthermore, the method also includes: When a fingerprint addition request is detected, the spatial status of the fingerprint database is obtained; When the spatial state meets the preset spatial requirements, new fingerprint information is acquired; Obtain the fingerprint feature value of the new fingerprint information, configure a unique identifier, and store the fingerprint feature value and the unique identifier in the fingerprint database.
[0014] Furthermore, the method also includes: When a fingerprint deletion request is detected, the request fingerprint information corresponding to the fingerprint deletion request is obtained; The permission verification result is obtained by performing permission verification on the request fingerprint information based on the pre-stored reference fingerprint feature values. When the permission verification result is successful, a secondary confirmation message is sent. Obtain feedback confirmation information from the user based on the secondary confirmation information, and perform a deletion operation based on the feedback confirmation information.
[0015] Secondly, the present invention provides an unlocking device for a smart classroom teaching screen, including an AS608 optical fingerprint recognition module, an ESP8266 main control unit and an Arduino Leonardo, for unlocking the smart classroom teaching screen using the unlocking methods provided in the above-mentioned various optional embodiments. The TX pin of the AS608 optical fingerprint recognition module is connected to the RX pin of the ESP8266 main control unit, and is used to send the collected fingerprint information and the recognition result obtained by matching and recognizing the fingerprint information to the ESP8266 main control unit through the UART serial port. The TX pin of the ESP8266 main control unit is connected to the RX pin of the Arduino Leonardo, and is used to forward the received recognition results to the Arduino Leonardo. The Arduino Leonardo's USB interface is connected to the input device of the smart classroom teaching screen, and is used to execute the simulated keyboard input sequence corresponding to the recognition result through the input device based on a preset device class protocol to obtain authentication information; The Arduino Leonardo is also used to generate an unlocking command based on the authentication information, and to trigger the unlocking of the display device of the smart classroom teaching screen based on the unlocking command.
[0016] Thirdly, this application also provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the aforementioned unlocking method for the smart classroom teaching screen.
[0017] Fourthly, this application also provides a computer-readable storage medium storing computer-readable instructions thereon, which, when executed by a computer's processor, cause the computer to perform the unlocking method for the smart classroom teaching screen as described above.
[0018] Fifthly, this application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the unlocking method for the smart classroom teaching screen provided in the various optional embodiments described above.
[0019] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings: Figure 1 This is a flowchart illustrating an exemplary embodiment of the present application of a method for unlocking a smart classroom teaching screen; Figure 2This is a schematic diagram of the structure of an unlocking device for an unlocking method of a smart classroom teaching screen in an exemplary embodiment of this application; Figure 3 This is a schematic diagram of an unlocking device for a classroom teaching smart screen connected to a smart screen, as shown in an exemplary embodiment of this application. Figure 4 This is a schematic diagram of the structure of a computer system suitable for implementing the electronic devices of the present application embodiments. Detailed Implementation
[0021] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0022] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0023] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily need to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0024] In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0025] To address the shortcomings of existing methods for unlocking smart classroom teaching screens in terms of convenience, stability, and security, which fail to adequately meet the needs of teachers for quick and secure unlocking in various complex situations, embodiments of this application propose an unlocking method and device, electronic device, and computer-readable storage medium for smart classroom teaching screens. The main focus is on unlocking technologies for smart classroom teaching screens, as included in the application technology of smart classroom teaching screens. These embodiments will be described in detail below.
[0026] Please refer to the following first. Figure 1 , Figure 1 This is a flowchart illustrating an exemplary embodiment of the present application of a method for unlocking a smart classroom teaching screen. This method can be applied to unlocking devices including an AS608 optical fingerprint recognition module, an ESP8266 main control unit, and an Arduino Leonardo.
[0027] like Figure 1 As shown in an exemplary embodiment, the unlocking method for the smart classroom teaching screen may include steps S101 to S105, which are described in detail below: Step S101: Collect fingerprint information using the AS608 optical fingerprint recognition module.
[0028] Step S102: Match and identify the fingerprint information to obtain the identification result.
[0029] Step S103: Receive the recognition result through the ESP8266 main control unit and forward the recognition result to the Arduino Leonardo.
[0030] Step S104: Using Arduino Leonardo, execute the simulated keyboard input sequence corresponding to the recognition result based on the preset device class protocol to obtain authentication information.
[0031] Step S105: Generate an unlocking command based on the authentication information, and trigger the unlocking of the display device of the smart classroom teaching screen based on the unlocking command.
[0032] In this application, after the unlocking device is powered on, it first performs hardware initialization, including the initialization settings of the AS608 optical fingerprint recognition module, ESP8266 main control unit and Arduino Leonardo, to ensure that each hardware module is in normal working condition.
[0033] After initialization, fingerprint information is collected through the AS608 optical fingerprint recognition module; the fingerprint information is matched and recognized to obtain the recognition result; the recognition result is received through the ESP8266 main control unit and forwarded to the Arduino Leonardo; through the Arduino Leonardo, the simulated keyboard input sequence corresponding to the recognition result is executed based on the preset device class protocol to obtain authentication information; an unlocking command is generated based on the authentication information, and the unlocking command triggers the display device of the smart classroom teaching screen to unlock.
[0034] In addition, the unlocking device remains in standby mode, ready to perform fingerprint verification at any time. After the user places their finger, it is matched and recognized in real time. If successful, the simulated keyboard is activated to execute the input sequence corresponding to the recognition result, allowing the user to enter the password into the connected smart screen and automatically complete the unlock. If it fails, it returns to a waiting state to await input again, ensuring efficient operation and continuous availability.
[0035] As can be seen from the above, the method provided in this embodiment eliminates the reliance on mobile phones by using a fingerprint recognition unlocking device. The smart classroom screen can be quickly unlocked simply by fingerprint recognition, greatly improving the convenience and efficiency of teaching preparation. In actual teaching scenarios, teachers can enter the classroom more easily and quickly unlock the screen for teaching, saving time wasted searching for or dealing with mobile phone-related issues. Furthermore, the uniqueness and uncopyability of fingerprints effectively prevent unauthorized unlocking due to password leaks, offering higher security compared to traditional password methods. Only authorized users with pre-registered fingerprints can unlock the smart screen, ensuring the security of teaching equipment and maintaining teaching order.
[0036] On the other hand, by using simulated keyboard input, it does not rely on the network environment. Even in the case of poor network signal, network failure, or no network in the classroom, the smart screen can still be reliably turned on, ensuring that teaching activities are not affected by network problems. Compared with the network-dependent method based on mobile APP control, the stability is greatly improved, ensuring the continuity of the teaching process.
[0037] Please see Figure 2 , Figure 2 This is a schematic diagram of the unlocking device for an unlocking method applied to a smart classroom teaching screen in an exemplary embodiment of this application. Figure 2 As shown, the unlocking device includes an AS608 optical fingerprint recognition module, an ESP8266 main control unit, and an Arduino Leonardo connected in sequence. The AS608 optical fingerprint recognition module includes a sensor window, a built-in light source, an optical sensor, and a DSP (Digital Signal Processing) processor. As the core component for fingerprint acquisition, the sensor window is used for finger contact, and the built-in light source, optical sensor, and DSP processor are integrated inside the AS608 optical fingerprint recognition module.
[0038] The AS608 optical fingerprint recognition module connects to the ESP8266 main control unit via a UART serial port to transmit fingerprint recognition results. The ESP8266 main control unit connects to an Arduino Leonardo via a serial port to ensure accurate transmission of the recognition results. The Arduino Leonardo includes a microcontroller capable of rapidly processing data and executing the corresponding simulated keyboard input sequence based on a preset device class protocol to unlock the smart screen.
[0039] In an exemplary embodiment of this application, the specific steps for acquiring fingerprint information using the AS608 optical fingerprint recognition module may include: The AS608 optical fingerprint recognition module uses an optical sensor to capture reflected light from the user's fingerprint at the sensor window, which is generated by the built-in light source. The reflected light is converted into a grayscale image, which serves as the fingerprint information corresponding to the user's fingerprint.
[0040] In this embodiment, the AS608 optical fingerprint recognition module is used as the core acquisition unit, utilizing a high-precision optical sensor to acquire the user's fingerprint image. When a finger touches the sensor window, the module's built-in light source evenly illuminates the fingerprint surface. The ridges and valleys of the user's fingerprint reflect light to different degrees. The optical sensor receives these reflected rays and converts them into a grayscale image, which serves as the fingerprint information corresponding to the user's fingerprint.
[0041] Thus, through the above embodiments, this application uses the AS608 optical fingerprint recognition module to collect user fingerprints, which can capture fingerprint details more clearly and accurately compared to traditional fingerprint recognition methods.
[0042] In an exemplary embodiment of this application, the specific steps for matching and identifying fingerprint information to obtain an identification result may include: The AS608 optical fingerprint recognition module's DSP processor acquires pre-stored reference fingerprint feature values. The fingerprint feature value and the actual feature value of the fingerprint information are matched and identified to obtain the identification result, which is represented as either successful fingerprint matching and authentication or unsuccessful fingerprint matching and authentication.
[0043] In this embodiment, after the AS608 optical fingerprint recognition module obtains the grayscale image of the seat fingerprint information, it quickly extracts the actual feature value of the fingerprint information through its powerful internal DSP processor and matches it with the pre-stored reference fingerprint feature value.
[0044] Thus, through the above embodiments, this application utilizes a DSP processor and employs high-precision fingerprint recognition technology to greatly improve the accuracy and reliability of recognition, and reduce the probability of misidentification.
[0045] In an exemplary embodiment of this application, the specific steps of receiving the recognition result through the ESP8266 main control unit and forwarding the recognition result to the Arduino Leonardo may include: The ESP8266 main control unit receives the recognition results transmitted by the AS608 optical fingerprint recognition module via UART serial port. The recognition results are forwarded to the Arduino Leonardo via serial communication.
[0046] In this embodiment, the AS608 optical fingerprint recognition module transmits the recognition result to the ESP8266 main control unit via a UART serial port. The ESP8266 main control unit, leveraging its powerful data coordination and forwarding capabilities, efficiently receives the recognition result from the AS608 optical fingerprint recognition module and accurately transmits it to the Arduino Leonardo via serial communication. This optimized data transmission link ensures that the authentication result is transmitted quickly and stably, avoiding data loss or errors during transmission.
[0047] In an exemplary embodiment of this application, the default device class protocol of the Arduino Leonardo is the USB-HID protocol. Correspondingly, the specific steps for obtaining authentication information by executing the simulated keyboard input sequence corresponding to the recognition result through the Arduino Leonardo based on the default device class protocol may include: When the recognition result indicates that the fingerprint has been successfully matched and authenticated, the Arduino Leonardo acquires the pre-stored data pair corresponding to the fingerprint information. The data pair includes the fingerprint feature value of the fingerprint information and the corresponding analog keyboard input sequence. The system executes a simulated keyboard input sequence based on the USB-HID protocol to obtain authentication information, which is the password data corresponding to the fingerprint information.
[0048] In this embodiment, when the collected fingerprint information matches the pre-stored reference fingerprint feature value, the recognition result is characterized as successful fingerprint matching and authentication. After receiving the successful matching and authentication signal, the Arduino Leonardo acquires the pre-stored data pair corresponding to the fingerprint information. The data pair includes the fingerprint feature value of the fingerprint information and the corresponding simulated keyboard input sequence. The simulated keyboard input sequence is executed based on the USB-HID protocol to obtain authentication information and output it. The authentication information is the password data corresponding to the fingerprint information.
[0049] Thus, through the above embodiments, this application leverages the native USB-HID protocol support of the Arduino Leonardo to simulate keyboard operation based on a simulated keyboard input sequence. This allows for the automatic execution of the simulated keyboard input sequence, enabling quick and accurate input of a preset password, thereby unlocking the smart screen. This simulated keyboard input unlocking method does not rely on a network or require additional devices such as mobile phones; it directly interacts with the computer connected to the smart screen, greatly improving the convenience and stability of unlocking the screen.
[0050] This application also incorporates fingerprint enrollment and deletion functions via the AS608 optical fingerprint recognition module, forming a complete management function together with fingerprint recognition and unlocking. In an exemplary embodiment of this application, the specific steps for implementing the fingerprint enrollment function may include: When a fingerprint addition request is detected, the spatial status of the fingerprint database is obtained; Acquire new fingerprint information when the spatial conditions meet the preset spatial requirements; Obtain the fingerprint feature value of the new fingerprint information, configure a unique identifier, and store the fingerprint feature value and unique identifier in the fingerprint database.
[0051] In this embodiment, if a user selects to add a fingerprint and initiates a fingerprint addition request on the interactive interface, the system automatically checks the space status of the fingerprint database to determine whether it meets the preset space requirements, such as the remaining space reaching a preset space threshold, thereby ensuring that the fingerprint database has sufficient space to store the new fingerprint. The system then guides the user to place their finger, collects a fingerprint image to form new fingerprint information, generates fingerprint feature values, assigns a unique identifier to the fingerprint, and successfully stores it in the fingerprint database for subsequent identification and use.
[0052] In another exemplary embodiment, the specific steps of fingerprint deletion may include: When a fingerprint deletion request is detected, the request fingerprint information corresponding to the fingerprint deletion request is obtained; The permission verification result is obtained by verifying the request fingerprint information based on the pre-stored reference fingerprint feature value. When the permission verification result is successful, a secondary confirmation message is sent. Obtain user feedback confirmation information based on the secondary confirmation information, and perform the deletion operation based on the feedback confirmation information.
[0053] In this embodiment, if a user selects to delete a fingerprint and initiates a fingerprint deletion request on the interactive interface, to ensure system security, the operator's permissions must be verified first. Specifically, the request fingerprint information corresponding to the fingerprint deletion request is obtained; based on pre-stored reference fingerprint feature values, the request fingerprint information is used for permission verification to determine if there is a matching unique identifier, thus obtaining the permission verification result. If the permission verification result is successful, it indicates that a unique identifier matching the threshold exists in the fingerprint database, and a secondary confirmation message is sent for user confirmation. Then, the user's feedback confirmation information based on the secondary confirmation information is obtained, and the deletion operation is performed based on the feedback confirmation information. In this way, the deletion operation is only performed after the user's secondary confirmation, effectively preventing accidental or unauthorized fingerprint deletion.
[0054] Thus, through the above embodiments, this application incorporates an authorization verification step in the fingerprint deletion operation, further enhancing system security. Furthermore, it achieves complete management functions for fingerprint enrollment, deletion, and unlocking, allowing users to flexibly manage the fingerprint database according to their actual needs. This completeness of functionality enables the system to better adapt to changes in different teaching staff and usage scenarios, improving the device's practicality and versatility.
[0055] Figure 3 This is a schematic diagram illustrating an exemplary embodiment of this application, showing an unlocking device for a classroom smart teaching screen connected to a smart screen. (See diagram for example.) Figure 3 As shown, the unlocking device includes an AS608 optical fingerprint recognition module, an ESP8266 main control unit, and an Arduino Leonardo, used to unlock a smart classroom teaching screen using the same unlocking method. The TX pin of the AS608 optical fingerprint recognition module is connected to the RX pin of the ESP8266 main control unit, used to send the collected fingerprint information and the recognition result obtained by matching and recognizing the fingerprint information to the ESP8266 main control unit via a UART serial port. The TX pin of the ESP8266 main control unit is connected to the RX pin of the Arduino Leonardo to forward the received recognition results to the Arduino Leonardo. The Arduino Leonardo's USB interface connects to the input device of the smart classroom teaching screen, which is used to execute the simulated keyboard input sequence corresponding to the recognition result based on the preset device class protocol to obtain authentication information. The Arduino Leonardo is also used to generate unlocking commands based on authentication information, and to trigger the unlocking of the display device on the smart classroom teaching screen based on the unlocking commands.
[0056] This unlocking device utilizes the unlocking method for the smart classroom teaching screen provided in this application, eliminating reliance on a mobile phone and significantly improving the convenience and efficiency of teaching preparation. Furthermore, by leveraging the uniqueness and uncopyability of fingerprints, it effectively prevents unauthorized access due to password leaks, ensuring the security of teaching equipment and maintaining teaching order. Simultaneously, it employs simulated keyboard input, eliminating reliance on a network environment and ensuring that teaching activities are not disrupted by network issues, greatly enhancing the stability of unlocking the smart classroom teaching screen and guaranteeing the continuity of the teaching process. Therefore, this application improves the convenience, security, and stability of unlocking the smart classroom teaching screen and subsequent teaching activities.
[0057] like Figure 3 As shown in the figure, the pin relationships of the AS608 optical fingerprint recognition module, the ESP8266 main control unit, and the Arduino Leonardo in this embodiment are as follows.
[0058] The AS608 optical fingerprint recognition module: The VCC pin is connected to the 3.3V output of the power supply module to provide the operating voltage. The GND pin is grounded to ensure the electrical reference point of the circuit. The TX pin is connected to the RX pin of the ESP8266 main control unit to send the authentication result data processed by the fingerprint recognition module to the ESP8266 via the UART serial port. The RX pin is also connected to the TX pin of the ESP8266 main control unit to receive configuration commands from the ESP8266 (although mainly used for data transmission in this application, the hardware connection retains the receiving function). The RST pin can be connected to a reset circuit (e.g., connected to 3.3V through a resistor and then grounded through a capacitor) to reset the module, ensuring that the module can return to its initial state if necessary.
[0059] ESP8266 Main Control Unit: The VCC pin is connected to the 3.3V output of the power module to provide a stable operating power supply for the ESP8266. The GND pin is grounded. The RX pin is connected to the TX pin of the AS608 optical fingerprint recognition module to receive fingerprint recognition result data. The TX pin is also connected to the RX pin of the Arduino Leonardo to forward the received fingerprint authentication result data to the Arduino Leonardo. The CH_PD pin is connected to 3.3V to enable the ESP8266 and ensure its normal operation. The GPIO0 pin can be grounded through a pull-down resistor to enter download mode during program download.
[0060] Arduino Leonardo: The VIN pin is connected to a power supply (either via USB or an external power adapter) to provide the operating voltage for the Arduino Leonardo. The GND pin is grounded. The RX pin connects to the TX pin of the ESP8266 main control unit to receive fingerprint authentication result data from the ESP8266. Its USB interface connects to a computer connected to a smart screen, using the USB-HID protocol to simulate keyboard input. The microcontroller inside the Arduino Leonardo will simulate keyboard input of a preset password via the USB interface according to a preset program based on the received successful authentication signal.
[0061] The unlocking device for the smart classroom teaching screen provided in this application utilizes the unlocking method of the smart classroom teaching screen. When the user's finger touches the sensor window of the AS608 optical fingerprint recognition module, the optical sensor acquires a fingerprint image under light illumination. The DSP processor converts this image into a digital signal and extracts feature values for matching. The matching result is sent to the RX pin of the ESP8266 via the TX pin using the UART serial communication protocol.
[0062] After receiving data, the ESP8266 main control unit performs simple processing and buffering, and then sends the data to the RX pin of the Arduino Leonardo via serial communication through the TX pin. The ESP8266's operating mode configuration can also be set through relevant pins, such as the GPIO0 pin for selecting the program download mode.
[0063] After receiving the data, the Arduino Leonardo's internal program determines whether it's a successful authentication signal. If so, it simulates keyboard operation via the USB interface, inputting a preset password into the computer connected to the smart screen. This process relies on the USB-HID protocol natively supported by the Arduino Leonardo, using the D+ and D- pins of the USB interface to interact with the computer, achieving simulated keyboard input and unlocking the smart screen by entering the preset password.
[0064] It should be noted that the unlocking device for the smart classroom teaching screen provided in the above embodiments and the unlocking method for the smart classroom teaching screen provided in the above embodiments belong to the same concept. The specific ways in which each module and unit performs operations have been described in detail in the method embodiments, and will not be repeated here. In practical applications, the unlocking device for the smart classroom teaching screen provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above, and this is not a limitation here.
[0065] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device enables the unlocking method of the smart classroom teaching screen provided in the above embodiments.
[0066] Figure 4 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 4 The computer system 400 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0067] like Figure 4 As shown, the computer system 400 includes a Central Processing Unit (CPU) 401, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on a program stored in Read-Only Memory (ROM) 402 or a program loaded from Storage Unit 408 into Random Access Memory (RAM) 403. The RAM 403 also stores various programs and data required for system operation. The CPU 401, ROM 402, and RAM 403 are interconnected via a bus 404. An Input / Output (I / O) interface 405 is also connected to the bus 404.
[0068] The following components are connected to I / O interface 405: an input section 406 including a keyboard, mouse, etc.; an output section 407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to I / O interface 405 as needed. A removable medium 411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 410 as needed so that computer programs read from it can be installed into storage section 408 as needed.
[0069] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by central processing unit (CPU) 401, it performs various functions defined in the system of this application.
[0070] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0071] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, or they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0072] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the unlocking method for the smart classroom teaching screen described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.
[0073] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the unlocking method for the smart classroom teaching screen provided in the above embodiments.
[0074] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for unlocking a smart classroom teaching screen, characterized in that, The method, applied to an unlocking device including an AS608 optical fingerprint recognition module, an ESP8266 main control unit, and an Arduino Leonardo, comprises: Fingerprint information is collected using the AS608 optical fingerprint recognition module; The fingerprint information is matched and identified to obtain the identification result; The recognition result is received by the ESP8266 main control unit and forwarded to the Arduino Leonardo. Using the Arduino Leonardo, the authentication information is obtained by executing the simulated keyboard input sequence corresponding to the recognition result based on a preset device class protocol. An unlocking command is generated based on the authentication information, and the display device of the smart classroom teaching screen is unlocked based on the unlocking command.
2. The method according to claim 1, characterized in that, The process of acquiring fingerprint information via the AS608 optical fingerprint recognition module includes: The AS608 optical fingerprint recognition module uses an optical sensor to obtain reflected light from the user's fingerprint at the sensor window, which is generated by the built-in light source. The reflected light is converted into a grayscale image, which serves as the fingerprint information corresponding to the user's fingerprint.
3. The method according to claim 1, characterized in that, The process of matching and identifying the fingerprint information to obtain the identification result includes: The AS608 optical fingerprint recognition module's DSP processor acquires pre-stored reference fingerprint feature values. The reference fingerprint feature value and the actual feature value of the fingerprint information are matched and identified to obtain an identification result, which indicates whether the fingerprint is successfully matched and authenticated or not.
4. The method according to claim 1, characterized in that, The step of receiving the recognition result through the ESP8266 main control unit and forwarding the recognition result to the Arduino Leonardo includes: The ESP8266 main control unit receives the recognition result transmitted by the AS608 optical fingerprint recognition module via the UART serial port. The recognition result is forwarded to the Arduino Leonardo via serial communication.
5. The method according to claim 1, characterized in that, The preset device class protocol is the USB-HID protocol; The process of obtaining authentication information by executing the simulated keyboard input sequence corresponding to the recognition result using the Arduino Leonardo based on a preset device class protocol includes: When the recognition result indicates that the fingerprint has been successfully matched and authenticated, the Arduino Leonardo obtains a pre-stored data pair corresponding to the fingerprint information. The data pair includes the fingerprint feature value of the fingerprint information and the corresponding simulated keyboard input sequence. The simulated keyboard input sequence is executed based on the USB-HID protocol to obtain authentication information, which is the password data corresponding to the fingerprint information.
6. The method according to claim 1, characterized in that, The method further includes: When a fingerprint addition request is detected, the spatial status of the fingerprint database is obtained; When the spatial state meets the preset spatial requirements, new fingerprint information is acquired; Obtain the fingerprint feature value of the new fingerprint information, configure a unique identifier, and store the fingerprint feature value and the unique identifier in the fingerprint database.
7. The method according to claim 1, characterized in that, The method further includes: When a fingerprint deletion request is detected, the request fingerprint information corresponding to the fingerprint deletion request is obtained; The permission verification result is obtained by performing permission verification on the request fingerprint information based on the pre-stored reference fingerprint feature values. When the permission verification result is successful, a secondary confirmation message is sent. Obtain feedback confirmation information from the user based on the secondary confirmation information, and perform a deletion operation based on the feedback confirmation information.
8. An unlocking device for a smart classroom teaching screen, comprising an AS608 optical fingerprint recognition module, an ESP8266 main control unit, and an Arduino Leonardo, for unlocking the smart classroom teaching screen using the unlocking method of any one of claims 1 to 7; The TX pin of the AS608 optical fingerprint recognition module is connected to the RX pin of the ESP8266 main control unit, and is used to send the collected fingerprint information and the recognition result obtained by matching and recognizing the fingerprint information to the ESP8266 main control unit through the UART serial port. The TX pin of the ESP8266 main control unit is connected to the RX pin of the Arduino Leonardo, and is used to forward the received recognition results to the Arduino Leonardo. The Arduino Leonardo's USB interface is connected to the input device of the smart classroom teaching screen, and is used to execute the simulated keyboard input sequence corresponding to the recognition result through the input device based on a preset device class protocol to obtain authentication information; The Arduino Leonardo is also used to generate an unlocking command based on the authentication information, and to trigger the unlocking of the display device of the smart classroom teaching screen based on the unlocking command.
9. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the unlocking method of the smart classroom teaching screen as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, It stores computer-readable instructions, which, when executed by the computer's processor, cause the computer to perform the unlocking method of the smart classroom teaching screen according to any one of claims 1 to 7.