Method for controlling smart classroom Internet of Things equipment based on mobile terminal

By using a mobile-based method in a smart classroom, the control of IoT devices is achieved through temporary control links and QR codes, and the problems of high cost, complex network and complex permission management in the existing technology are solved, and simple and efficient equipment control is achieved.

CN119603327APending Publication Date: 2025-03-11SICHUAN CHANGHONG EDUCATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411733609.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In the prior art, the control of smart classroom IoT devices through APPs or mini programs has problems such as high cost, complex network penetration, and complex account permission management.

Method used

Using a mobile-based method, a temporary control link is generated through the service backend. The user converts it into a QR code through the control screen, scans the code to open the link on the mobile side, and uses the H5 page to load and display the control components that can control the Internet of Things devices to realize device control.

Benefits of technology

It realizes simple and efficient IoT device control, reduces implementation costs, simplifies account permission management, and solves the stability of device control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603327A_ABST
    Figure CN119603327A_ABST
Patent Text Reader

Abstract

The invention relates to the Internet of Things technology, and provides a method for controlling intelligent classroom Internet of Things equipment based on a mobile terminal in order to at least partially or completely solve the problems existing in a scheme for controlling the intelligent classroom Internet of Things equipment through an APP or an applet in the prior art, so that simple, convenient and efficient control is realized, and complicated account authority management is not needed. The method comprises the following steps: S1, a user sends an Internet of Things equipment control request to a service back end by using a control screen; s2, the service back end generates a temporary control link according to the Internet of Things equipment control request and sends the temporary control link to the control screen; s3, converting the temporary control link into a two-dimensional code by the control screen, and displaying the two-dimensional code on the control screen; and S4, a user scans the two-dimensional code on the control screen through a mobile terminal to open the temporary control link, the link is an H5 page in the mobile terminal, and a control component capable of controlling the Internet of Things equipment is loaded and displayed in the H5 page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to Internet of Things technology, and in particular to a method for controlling Internet of Things devices in a smart classroom based on a mobile terminal. Background Art

[0002] With the development of Internet of Things technology, a large number of IoT devices are usually installed in smart classrooms. Teachers can control the devices in the IoT control panel of these devices during teaching, so as to adjust the classroom environment or audio and video playback. However, when teaching, teachers usually interact with students and need a more convenient control method. Therefore, the technology of controlling IoT devices based on mobile terminals (such as teachers' mobile terminals) has emerged.

[0003] In traditional technology, teachers control IoT devices in the classroom by designing apps or mini-programs, and installing apps or loading mini-programs. This model requires the listing of IOS and Android apps, domain name registration and other operations, which is costly for schools to implement. At the same time, IoT classrooms may not be connected to the public network, and control requires complex network penetration, and control may also be unstable. In addition, the use of apps also requires complex teacher account permission management, because teachers may teach in different classrooms, and classrooms may be frequently adjusted and changed, which makes account permission management very complicated. Summary of the invention

[0004] The technical problem to be solved by the present invention is: to at least partially or completely solve the problems existing in the solution of controlling the IoT devices in smart classrooms through APP or mini-programs in the prior art, a method for controlling the IoT devices in smart classrooms based on a mobile terminal is proposed to achieve simple and efficient control without the need for complex account authority management.

[0005] The technical solution adopted by the present invention to solve the above technical problems is:

[0006] A method for controlling IoT devices in a smart classroom based on a mobile terminal is applied to a system including a mobile terminal, a control screen, IoT devices and a service backend. The method includes the following steps:

[0007] S1. The user uses the control panel to send an IoT device control request to the service backend;

[0008] S2. The service backend generates a temporary control link based on the IoT device control request and sends it to the control panel;

[0009] S3, the control screen converts the temporary control link into a QR code and displays it on the control screen;

[0010] S4. The user scans the QR code on the control screen through the mobile terminal to open the temporary control link, which is linked to an H5 page in the mobile terminal, and loads and displays the control component that can control the Internet of Things device in the H5 page.

[0011] Furthermore, in step S1, the user uses the control screen to send an IoT device control request to the service backend, including:

[0012] When the user opens the control interface on the control screen, the control screen automatically sends an IoT device control request to the service backend. When sending the request, it carries the device identification code of the control screen, which is used by the service backend to determine the space where the corresponding control screen is located based on the device identification code.

[0013] Furthermore, in step S1, the user needs to undergo login authority verification before opening the control interface on the control screen, and the login authority verification includes but is not limited to: password verification or fingerprint verification or face recognition verification.

[0014] Furthermore, in step S2, the temporary control link generated by the service backend contains an authorization credential and an expiration time of the credential, wherein the authorization credential includes information that the user can control the IoT device in the current scene and the operation rights of the corresponding IoT device; the expiration time of the credential is the limited end time of the control and use of the IoT device.

[0015] Furthermore, in step S3, the control screen displays the QR code and the expiration time of the temporary control link at the same time, and the expiration time of the temporary control link is the same as the expiration time of the voucher.

[0016] Furthermore, in step S4, the control component that can control the IoT device is loaded and displayed in the H5 page, including:

[0017] The H5 page obtains the permission credentials in the temporary control link, and requests the service backend to obtain the permission information corresponding to the credentials, including the IoT devices that can be controlled in the current scene, operation permissions, and permission validity period, and loads and renders the corresponding device control components on the page.

[0018] Furthermore, step S4 also includes:

[0019] Users can edit the display effects of the H5 page through the service backend, including: setting the size, color, font effect and arrangement of control components.

[0020] Furthermore, the rendering of the corresponding device control component includes:

[0021] The H5 page automatically identifies the screen resolution of the mobile terminal and automatically arranges the control components according to the different screen resolutions.

[0022] Furthermore, in step S3, the QR code displayed on the control screen can only be scanned and used once, and repeated scanning is invalid, and the QR code can be requested to be refreshed. When a refresh is requested, the temporary control link corresponding to the QR code before the refresh is invalid.

[0023] Furthermore, step S3 also includes:

[0024] If the permission certificate has expired, the QR code has not been scanned and used, and the control interface on the control screen is not closed, the control screen will re-request the service backend to obtain a new temporary control link and convert it into a QR code.

[0025] The beneficial effects of the present invention are:

[0026] Based on the solution of the present invention, there is no need to put an APP or applet on the shelf, but the smart classroom IoT devices can be directly controlled through the H5 page, which can be used in both the intranet and the public network; since teachers do not need to install an APP or load a applet and register and log in, they can use it more freely and also reduce the complicated account management work; in addition, the present invention solves the problem of control permissions by linking with attached permissions, and there is no need to specifically manage the permissions of teachers to use IoT devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 The present invention is a flowchart of a method for controlling IoT devices in a smart classroom based on a mobile terminal in an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The present invention aims to provide a method for controlling IoT devices in smart classrooms based on mobile terminals, which can realize simple and efficient control without complicated account authority management. The core idea is that the service backend generates a temporary control link with a time limit according to the IoT device control request and sends it to the control screen. The control screen converts it into a QR code for users to scan the code through the mobile terminal to open the link. According to the authority certificate in the temporary control link, the service backend is requested to obtain the authority information corresponding to the certificate, including the IoT devices that can be controlled in the current scene, the operation authority and the authority time limit, and the corresponding device control component is loaded and rendered in the H5 standard page.

[0029] The scheme of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0030] Example

[0031] This embodiment provides a method for controlling IoT devices in a smart classroom based on a mobile terminal. Figure 1 , which includes the following implementation process:

[0032] S1. The user uses the control panel to send an IoT device control request to the service backend;

[0033] In this step, the control screen is a device that controls the IoT devices in the scene, and the service backend is deployed in the school; when the user opens the control interface on the control screen, the control screen automatically sends an IoT device control request to the service backend. When sending the request, it carries the device identification code of the control screen, which is used by the service backend to determine the space where the corresponding control screen is located based on the device identification code, such as: which classroom or conference room it is, so as to know which controllable IoT devices are in the space.

[0034] It is understandable that the "user" here usually refers to the teacher in the teaching scenario. In order to ensure that only the teacher has the right to use the IoT devices in the scene, the user needs to undergo a login permission verification before opening the control interface on the control screen. The login permission verification includes but is not limited to: password verification, fingerprint verification, or face recognition verification.

[0035] S2. The service backend generates a temporary control link based on the IoT device control request and sends it to the control panel;

[0036] In this step, the temporary control link generated by the service backend contains the permission certificate and the expiration time of the certificate. The permission certificate includes the information that the user can control the IoT device in the current scene and the operation authority of the corresponding IoT device; the expiration time of the certificate is the end time of the control of the IoT device, that is, the time limit for the use of the IoT device. When the user subsequently obtains the status of the IoT device and issues control instructions, it will determine whether the link is still within the time limit. If it is invalid, the IoT device cannot be controlled, and the user will be prompted on the control screen.

[0037] S3, the control screen converts the temporary control link into a QR code and displays it on the control screen;

[0038] In this step, the control screen converts the temporary control link into a QR code for the user to open the link by scanning the code. In addition, while displaying the QR code on the control screen, it also displays the expiration time of the temporary control link. The expiration time of the temporary control link is the same as the expiration time of the credential, so that the user knows how much time the temporary control link will expire.

[0039] In order to ensure the security of IoT devices and prevent IoT devices from being controlled by others, the QR code displayed on the control screen in this embodiment can only be scanned and used once, and repeated scanning is invalid, and the QR code can be requested to be refreshed. When refreshed, the temporary control link corresponding to the QR code before being refreshed becomes invalid. This ensures that only one user can operate the equipment in the classroom through the link at the same time. In addition, if the permission certificate has expired, the QR code has not been scanned and used, and the control interface on the control screen is not closed, the control screen will re-request the service backend to obtain a new temporary control link and convert it into a QR code. The new temporary control link can be regained without verifying the user's login authority again.

[0040] S4. The user scans the QR code on the control screen through the mobile terminal to open the temporary control link, which is linked to an H5 page in the mobile terminal, and loads and displays the control component that can control the Internet of Things device in the H5 page.

[0041] In this step, the user can use the mobile phone to scan the QR code on the control screen to open the temporary control link. After the scan is successful and the link is opened, if other people scan the QR code again, they will be prompted that the link is invalid.

[0042] In this embodiment, the link is opened in the form of an H5 page. The H5 page is a web page developed based on HTML5 technology, which can adapt to mobile phone screens with different resolutions and interactive control of audio and video devices without using a specific brand or model of mobile phone or installing a specific version of the browser or browser plug-in.

[0043] The H5 page obtains the permission credentials in the temporary control link and requests the service backend to obtain the permission information corresponding to the credentials, including the IoT devices that can be controlled in the current scene, operation permissions and permission time limit, and loads and renders the corresponding device control components on the page.

[0044] Users can also edit the display effects of the H5 page through the service backend, including: setting the size, color, font effect and arrangement of control components to obtain the display effect they want.

[0045] After loading the control component that can control the IoT device in the H5 page, the user can use the control component to control the corresponding IoT device according to actual needs. During the control process, the IoT device will verify the operation authority and authority validity period. If there is no operation authority or the authority validity period has expired, the user will be prompted that he has no authority.

[0046] Finally, it should be noted that the above embodiments are only preferred implementations and are not intended to limit the present invention. It should be pointed out that for those skilled in the art, several modifications, equivalent replacements, improvements, etc. can be made without departing from the scope of the present invention and the scope of protection of the claims, and all of these should be included in the protection scope of the present invention.

Claims

1. A method for controlling IoT devices in a smart classroom based on a mobile terminal, which is applied to a system including a mobile terminal, a control screen, IoT devices and a service backend, and is characterized in that: The method comprises the following steps: S1. The user uses the control panel to send an IoT device control request to the service backend; S2. The service backend generates a temporary control link based on the IoT device control request and sends it to the control panel; S3, the control screen converts the temporary control link into a QR code and displays it on the control screen; S4. The user scans the QR code on the control screen through the mobile terminal to open the temporary control link, which is linked to an H5 page in the mobile terminal, and loads and displays the control component that can control the Internet of Things device in the H5 page.

2. A method for controlling IoT devices in a smart classroom based on a mobile terminal as claimed in claim 1, characterized in that: In step S1, the user uses the control screen to send an IoT device control request to the service backend, including: When the user opens the control interface on the control screen, the control screen automatically sends an IoT device control request to the service backend. When sending the request, it carries the device identification code of the control screen, which is used by the service backend to determine the space where the corresponding control screen is located based on the device identification code.

3. A method for controlling IoT devices in a smart classroom based on a mobile terminal as claimed in claim 2, characterized in that: In step S1, the user needs to undergo login authority verification before opening the control interface on the control screen, and the login authority verification includes: password verification, fingerprint verification, or face recognition verification.

4. The method for controlling the IoT devices in a smart classroom based on a mobile terminal as claimed in claim 1, characterized in that: In step S2, the temporary control link generated by the service backend contains the permission certificate and the expiration time of the certificate. The permission certificate includes the information that the user can control the IoT device in the current scene and the operation authority of the corresponding IoT device; the expiration time of the certificate is the limited end time of the control and use of the IoT device.

5. A method for controlling IoT devices in a smart classroom based on a mobile terminal as claimed in claim 4, characterized in that: In step S3, the control screen displays the QR code and the expiration time of the temporary control link at the same time, and the expiration time of the temporary control link is the same as the expiration time of the voucher.

6. A method for controlling IoT devices in a smart classroom based on a mobile terminal as claimed in claim 4, characterized in that: In step S4, the control component that can control the IoT device is loaded and displayed in the H5 page, including: The H5 page obtains the permission credentials in the temporary control link, and requests the service backend to obtain the permission information corresponding to the credentials, including the IoT devices that can be controlled in the current scene, operation permissions, and permission validity period, and loads and renders the corresponding device control components on the page.

7. The method for controlling the IoT devices in a smart classroom based on a mobile terminal as claimed in claim 1, characterized in that: Step S4 also includes: Users can edit the display effects of the H5 page through the service backend, including: setting the size, color, font effect and arrangement of control components.

8. The method for controlling the IoT devices in a smart classroom based on a mobile terminal as claimed in claim 1, characterized in that: The rendering corresponding device control component includes: The H5 page automatically identifies the screen resolution of the mobile terminal and automatically arranges the control components according to the different screen resolutions.

9. A method for controlling IoT devices in a smart classroom based on a mobile terminal as described in any one of claims 4 to 8, characterized in that: In step S3, the QR code displayed on the control screen can only be scanned and used once, and repeated scanning is invalid. The QR code can be requested to be refreshed. When refresh is requested, the temporary control link corresponding to the QR code before the refresh is invalid.

10. A method for controlling IoT devices in a smart classroom based on a mobile terminal as claimed in claim 9, characterized in that: Step S3 also includes: if the permission certificate has expired, the QR code has not been scanned and used, and the control interface on the control screen is not closed, the control screen re-requests the service backend to obtain a new temporary control link and converts it into a QR code.