An experimental equipment management system based on the Internet of Things and a method of using the same
Through the Internet of Things-based experimental equipment management system, combined with RFID module and electronic lock module, the self-service borrowing and repayment function and remote management of experimental equipment in colleges and universities is realized, solving the problems of user self-service borrowing and repayment and remote maintenance, and improving management efficiency and Security.
Patent Information
- Application Number
- CN202010706782.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-21
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2040-07-21
AI Technical Summary
The existing RFID technology has failed to solve the problem of remote maintenance of users and managers in the management of experimental equipment in colleges and universities, and data security and controller management are difficult.
A experimental equipment management system based on the Internet of Things was designed, using terminal equipment to send rent and return commands to the controller through the cloud platform, combining RFID modules and electronic lock modules to realize the self-service borrowing and return function of the experimental equipment, and buzzing The device issues an alarm tone to ensure the correct return of the device; it also provides the administrator with the function of remotely viewing CPU performance and electronic lock status to ensure the remote management and security of the system.
It realizes the self-service borrowing and repayment function of experimental equipment in colleges and universities, reduces manual management costs, improves the efficiency and security of experimental equipment management, and ensures data reliability and security.
Smart Images

Figure CN111935247B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of school equipment inventory management, and more specifically, relates to an Internet of Things-based experimental equipment management system and a method of using the same. Background Art
[0002] With the continuous increase in practical courses for college students, colleges and universities have invested a lot of money in the management and maintenance of experimental equipment. In the daily management of colleges and universities, the experimental equipment management system based on QR codes simplifies the daily management of experimental equipment in colleges and universities. Its basic principle is to store the information of experimental equipment in the cloud and QR codes. When managers perform daily maintenance, they can recognize the QR codes through mobile phone applications to maintain the information of experimental equipment. Applying QR codes to the daily management of experimental equipment not only improves the management efficiency of experimental equipment, but also achieves good results in the management and maintenance of experimental equipment. However, since QR codes are easy to damage and cannot be recognized after being contaminated, it adds a certain degree of difficulty to the maintenance of experimental equipment.
[0003] With the maturity of RFID technology, RFID readers and RFID tags can be applied to experimental equipment management. The basic principle of the RFID-based experimental equipment management system is to store the "identity" ID of the experimental equipment in the electronic tag, and the manager uses the RFID reader to read the experimental equipment ID and upload it to the cloud for daily information maintenance. Compared with the QR code experimental equipment management system, this system solves the disadvantage that the QR code is easy to be contaminated and causes inconvenience in maintenance. The external material and shape of the RFID tag can be customized according to different use environments, and the internal chip has strong anti-interference and can be used stably in a variety of environments. In addition, RFID tags can also avoid arbitrary copying of data, further strengthening the information security in experimental equipment management. However, the generalized experimental equipment management system based on RFID technology does not solve the problem of users' self-service borrowing and returning experimental equipment, as well as the problem of remote maintenance by managers. Therefore, there is an urgent need for an experimental equipment management system that is convenient for teachers and administrators to manage, and for students to borrow and return by themselves. At the same time, in order to ensure data security and management of experimental equipment controllers, cloud services need to be deployed to a secure and reliable cloud service agent. Summary of the invention
[0004] In order to solve the above problems, the present invention provides an experimental equipment management system based on the Internet of Things, which uses a terminal device to send a rental and return command to a controller through a cloud platform. The controller of the experimental equipment control system performs corresponding actions according to the instructions, and sends the device data sent by the receiving RFID module and the cabinet door data sent by the electric lock module to the cloud platform for analysis to determine whether the experimental equipment is returned correctly. If the return is wrong, the buzzer will sound an alarm to remind the user to find a cabinet to place the experimental equipment again, which solves the problem that university experimental equipment cannot be borrowed and returned by itself. At the same time, the terminal device also provides the administrator with the function of remotely viewing the performance indicators of the CPU and the status of the cabinet electric lock, ensuring the remote management of the experimental equipment control system by teachers and administrators.
[0005] In order to achieve the above purpose, a technical solution adopted by the present invention is:
[0006] An experimental equipment management system based on the Internet of Things, comprising:
[0007] An experimental equipment control system, comprising a controller, multiple RFID modules, multiple electric lock modules, a buzzer and multiple experimental equipment, wherein the controller is connected to the RFID module, the electric lock module and the buzzer respectively, the electric lock module is arranged on the cabinet door, and the RFID module and the experimental equipment are arranged inside the cabinet;
[0008] The controller is used to receive the device data sent by the RFID module and the cabinet door data sent by the electric lock module, and send the device data and cabinet door data to the cloud platform for analysis to determine whether the experimental equipment is correctly returned or rented. The cloud platform stores the data analysis results and sends them to the controller and the terminal device; the RFID module is used to identify the electronic tag of the experimental equipment; the electric lock module is used to control the switch of the cabinet door; the buzzer is used to send an alarm tone when the cabinet door is opened and the experimental equipment is returned incorrectly, reminding the user to return the experimental equipment to the correct cabinet;
[0009] The terminal device sends instructions to the controller through the cloud platform, and the instructions include opening the door, renting, returning, querying the performance of the controller and querying the status of the electric lock, thereby realizing the remote operation and management of the experimental equipment control system by the terminal device.
[0010] Preferably, the cloud platform is the AWS IoT platform and a virtual host built on Amazon EC2, the virtual host is equipped with a Web server program, the Web server program is used to analyze the equipment data and cabinet door data services and send the analysis results to the AWS IoT platform; the virtual host runs a business data back-end program, the analysis results are sent to the AWS IoT platform and the terminal device through the business data processing back-end program, the Web server program is also used to visualize the analysis results and provide an interface for remote management and operation of the experimental equipment controller, the terminal device includes a display screen and a control program, and the control program is a Web page; wherein AWS IoT is the Amazon Internet of Things application platform, and Amazon EC2 is the Amazon Elastic Compute Cloud. Deploying the business data back-end program and the Web server program on the virtual host built on Amazon EC2 can facilitate developers to operate various software according to their own needs in a computing environment that has been verified by Amazon, while providing security and shortening the access time to the AWS IoT platform.
[0011] Further preferably, the controller is an STM32L475VGT6 single-chip microcomputer, the controller uses a WIFI module to communicate with the AWS IoT platform, the WIFI module is ISM43362-M3G-L44, the controller is certified by Amazon FreeRTOS, and the message sending between the AWS IoT platform and the controller and the virtual host all adopts the MQTT protocol. After the controller is certified by Amazon FreeRTOS, the controller can use the MQTT protocol to access the AWS IoT platform to call related cloud services.
[0012] Preferably, the controller uses the SNTP protocol and the NTP server for clock synchronization. The controller is also connected to the humidity sensor 1 and the pressure sensor. The controller controls the humidity sensor 1 to collect the temperature and humidity data of the environment in which the controller is located and the pressure sensor to collect the pressure data of the environment in which the controller is located according to the received sensor data collection instruction or the time set by the timer, and sends the temperature and humidity data of the environment in which the controller is located and the pressure data of the environment in which the controller is located to the virtual host through the AWS IoT platform for analysis, storage and visual display. The sensor data collection instruction is sent to the controller by the terminal device via the virtual host and the AWS IoT platform.
[0013] Further preferably, the controller is also connected to the humidity sensor 2, and the controller controls the humidity sensor 2 to collect the temperature and humidity data of the environment in which the experimental equipment is located according to the received sensor data acquisition instruction or the time set by the timer, and sends the temperature and humidity data of the environment in which the experimental equipment is located to the virtual host through the AWS IoT platform for analysis, storage and visual display.
[0014] Preferably, the humidity sensor 1 is a HTS221 temperature and humidity sensor, and the air pressure sensor is a LPS22HB pressure sensor.
[0015] Preferably, the humidity sensor 2 is a DHT11 temperature and humidity sensor.
[0016] The method for using the experimental equipment management system based on the Internet of Things provided by the present invention includes a remote query mode and a self-service borrowing and returning mode, wherein the self-service borrowing and returning mode includes the following steps:
[0017] S10: Setting a standard correspondence relationship, wherein the standard correspondence relationship is a correspondence relationship between a controller ID, an electronic ID of an experimental device, and a cabinet door ID, and the standard correspondence relationship is stored in a cloud platform;
[0018] S20: Collecting data, the RFID module collects equipment data of the experimental equipment, and the electric lock module collects cabinet door data;
[0019] S30: Processing data, the cloud platform determines whether the experimental equipment has been rented or returned to the correct cabinet based on the equipment data and cabinet door information sent by the controller and the standard correspondence analysis;
[0020] S40: Change the location of the experimental equipment: When the experimental equipment is not returned to the correct cabinet, the buzzer sounds an alarm to remind the user to change the experimental equipment to another cabinet and repeat step S20.
[0021] Preferably, S20 includes the following steps:
[0022] S21: The terminal device sends a rental or return instruction to the controller through the platform, and the controller controls the electric lock module to open the cabinet door according to the rental or return instruction, and the buzzer sends an alarm prompt sound;
[0023] S22: When the cabinet door is closed, the detection line signal of the electric lock module is interrupted, thereby controlling the RFID module to start collecting the electronic tags of the experimental equipment to form equipment data.
[0024] Preferably, the remote query mode includes the following steps:
[0025] S10: The terminal device sends a query to the cloud platform to inquire about the performance of the controller and the status of the electric lock. The performance query includes the CPU usage query;
[0026] S20: The controller sends the performance indicators to the cloud platform for storage and displays them on the terminal device.
[0027] The above technical solution of the present invention has the following advantages compared with the prior art:
[0028] (1) The present invention utilizes the terminal device to send a rental or return command to the controller through the cloud platform. The controller executes corresponding actions according to the instructions, and sends the device data sent by the receiving RFID module and the cabinet door data sent by the electric lock module to the cloud platform for analysis to determine whether the experimental equipment is correctly returned or rented. If the return is incorrect, the buzzer will sound an alarm to remind the user to find a cabinet to place the experimental equipment again, thus solving the problem that university experimental equipment cannot be borrowed and returned by themselves. At the same time, the terminal device also provides the function of remotely viewing the performance indicators of the CPU and the status of the cabinet electric lock, ensuring the remote management of the experimental equipment control system by teachers and administrators, greatly reducing the cost of manual management.
[0029] (2) The present invention utilizes the AWS IoT platform’s own identity authentication and MQTT transmission protocol to ensure the legal identity of the access device. At the same time, the business data processing backend program and the Web server program are deployed on the Amazon EC2 virtual host to ensure the security of the experimental equipment management system and the data stored in the AWS IoT platform of the terminal equipment, thereby ensuring the reliability of experimental equipment management.
[0030] (3) The present invention uses sensors to monitor the temperature, humidity and air pressure data around the controller and experimental equipment in real time, which provides guidance for the safe operation of the place where the experimental equipment is located. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 The overall architecture diagram of an experimental equipment management system based on the Internet of Things provided in one embodiment of the present invention;
[0032] Figure 2 A pin diagram for connecting a controller and an RFID module (RC522) provided in one embodiment of the present invention;
[0033] Figure 3 A pin diagram for connecting a controller and a humidity sensor 1 (HTS221) provided in one embodiment of the present invention;
[0034] Figure 4 A pin diagram for connecting a controller and a humidity sensor 2 (DHT11) provided in an embodiment of the present invention;
[0035] Figure 5 A pin diagram for connecting a controller and an air pressure sensor (LPS22HB) provided in one embodiment of the present invention;
[0036] Figure 6 A pin diagram for connecting a controller and an electric lock module provided in one embodiment of the present invention;
[0037] Figure 7 A pin diagram showing the connection between a controller and a buzzer provided in one embodiment of the present invention;
[0038] Figure 8 A physical diagram of an experimental equipment management system based on the Internet of Things provided in one embodiment of the present invention;
[0039] Fig. 9 A flowchart of experimental equipment rental provided in one embodiment of the present invention;
[0040] Fig.10 A flow chart of returning experimental equipment provided in one embodiment of the present invention;
[0041] Fig.11 A controller online software test diagram provided in one embodiment of the present invention;
[0042] Fig.12 A test diagram of a remote sensor data acquisition software provided in one embodiment of the present invention;
[0043] Fig.13 This is a test diagram of the remote door opening software provided in one embodiment of the present invention;
[0044] Fig.14 A test diagram of the experimental equipment lending software provided in one embodiment of the present invention;
[0045] Fig.15 A software test diagram for returning an experimental device provided in an embodiment of the present invention;
[0046] Fig.16 A CPU performance acquisition test diagram provided in an embodiment of the present invention;
[0047] Fig.17 This is a visualization diagram of sensor data results in one embodiment of the present invention. DETAILED DESCRIPTION
[0048] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.
[0049] like Figure 1As shown, the present invention discloses an experimental equipment management system based on the Internet of Things, comprising a controller, multiple RFID modules, multiple electric lock modules, a buzzer and multiple experimental equipment, wherein the controller is connected to the RFID module, the electric lock module and the buzzer respectively, the electric lock module is arranged on the cabinet door, the RFID module and the experimental equipment are arranged inside the cabinet, and there is an initial standard correspondence between the controller ID, the electronic ID of the experimental equipment and the cabinet door ID;
[0050] The controller is used to receive the device data sent by the RFID module and the cabinet door data sent by the electric lock module, and send the device data and cabinet door data to the cloud platform for analysis to determine whether the experimental equipment is returned correctly. The cloud platform stores the data analysis results and sends them to the controller and the terminal device; the RFID module is used to identify the electronic tags of the experimental equipment; the electric lock module is used to control the opening and closing of the cabinet door; the buzzer is used to send an alarm tone when the cabinet door is opened and the experimental equipment is returned incorrectly, reminding the user to return the experimental equipment to the correct cabinet;
[0051] The terminal device sends instructions to the controller through the cloud platform, and the instructions include opening the door, renting, returning, querying the performance of the controller and querying the status of the electric lock, thereby realizing the remote operation and management of the experimental equipment control system by the terminal device.
[0052] The present invention utilizes the terminal device to send a rental and return command to the controller through the cloud platform. The controller of the experimental equipment control system executes corresponding actions according to the instructions, and sends the device data sent by the received RFID module and the cabinet door data sent by the electric lock module to the cloud platform for analysis to determine whether the experimental equipment is correctly returned or rented. If the return is wrong, the buzzer will sound an alarm to remind the user to find a cabinet to place the experimental equipment again. The controller determines whether the experimental equipment is rented by using whether the RFID module recognizes the electronic tag of the experimental equipment, thereby solving the problem that university experimental equipment cannot be borrowed and returned by itself. At the same time, the terminal device also provides the administrator with the function of remotely viewing the performance indicators of the CPU and the status of the cabinet electric lock, ensuring the remote management of the experimental equipment control system by teachers and administrators, and greatly reducing the cost of manual management.
[0053] Preferably, the cloud platform is the AWS IoT platform and a virtual host built on Amazon EC2, the virtual host is equipped with a Web server program, the Web server program is used to analyze the equipment data and cabinet door data service and send the analysis results to the AWS IoT platform; the virtual host deploys a business data processing backend program, the analysis results are sent to the AWS IoT platform and the terminal device through the business data processing backend program, the Web server program is also used to visualize the analysis results and provide an interface for remote management and operation of the experimental equipment controller, the terminal device includes a display screen and a control program, the control program is a Web page, the terminal device can use a Web page to connect to the virtual host, and can also remotely access the virtual host such as ftp or telnet, when remote access is used, the program interface provided by the Web server program is used to send instructions to the experimental equipment controller; wherein AWS IoT is the Amazon Internet of Things application platform, Amazon EC2 is the Amazon Elastic Compute Cloud, running the business data processing backend program and the Web server program on the virtual host built on Amazon EC2 can facilitate developers to operate various software according to their own needs in a computing environment that has been verified by Amazon, while providing security, it also shortens the access time to the AWS IoT platform.
[0054] Preferably, in the embodiment of the present invention, the controller is a STM32L475VGT6 single-chip microcomputer, the controller uses a WIFI module to communicate with the AWS IoT platform, the WIFI module is ISM43362-M3G-L44, the controller is certified by Amazon FreeRTOS, and the message transmission between the controller, AWS IoT and the virtual host adopts the MQTT protocol. The data frame structure of the MQTT protocol (message queue telemetry transmission) is as follows:
[0055] id order data Controller id Operation Instructions Transferring Data
[0056] The fields of the above data frame are explained as follows:
[0057]
[0058] After receiving the data, the controller parses the data and performs corresponding operations according to the order. The virtual host analyzes and displays the received data on the terminal, such as adding sensor data to the library, changing the controller's online status, and determining whether the experimental equipment is returned correctly. When the terminal device uses a Web page to send instructions, the terminal device will send instructions for opening the door, renting, returning, querying the CPU performance indicators and the cabinet electric lock status to the virtual host according to the HTTP protocol. The business data processing backend program parses the instructions and sends them to the Web server program. After the Web server program analyzes the instructions, it visualizes the instructions and sends them to the business data processing backend program. The instructions are repackaged into MQTT protocol format instructions by the business data processing backend program and sent to the AWS IoT platform. The instructions in MQTT protocol format are used to let the controller perform corresponding actions through the AWS IoT platform. The controller sends data such as device information and cabinet door information to the AWS IoT platform according to the MQTT protocol. The AWS IoT platform forwards the data such as device information and cabinet door information to the virtual host according to the MQTT protocol. The business data processing backend program parses the above data and sends it to the Web server program. After the Web server program analyzes the data, it visualizes the analysis results and sends them to the business data processing backend program, thereby realizing the judgment of whether the experimental equipment is returned correctly. The business data processing backend program encapsulates the analysis results into MQTT protocol data and HTTP protocol data, and the MQTT protocol data is sent to AWS IoT platform, the data of the HTTP protocol is sent to the terminal device; the difference between the above instructions and data is marked according to the second field order. In addition, the Web server program also provides an interface for sending instructions to the controller through the Web server program when remotely logging into the virtual host, so as to realize remote management and operation of the experimental equipment controller.
[0059] The present invention utilizes the AWS IoT platform's own identity authentication and MQTT transmission protocol to ensure the legal identity of the access device. During the controller initialization phase, the controller's identity information is stored in the AWS IoT platform. When a device accesses the AWS IoT platform, the AWS IoT platform's identity authentication module authenticates the access device. Only after the authentication is passed can the device continue to access the AWS cloud through the gateway. At the same time, the Amazon EC2 virtual host runs the business data processing backend program to ensure the timeliness of the terminal's access to the AWS IoT platform, thereby ensuring the security of the experimental equipment management system and the data stored in the AWS IoT platform for the terminal device, thereby ensuring the reliability of experimental equipment management.
[0060] Furthermore, the controller uses the SNTP protocol and the NTP server for clock synchronization. The controller is also connected to the humidity sensor 1 and the air pressure sensor. The controller controls the humidity sensor 1 to collect the temperature and humidity data of the environment in which the controller is located and the air pressure sensor to collect the air pressure data of the environment in which the controller is located according to the received sensor data collection instruction or the time set by the timer, and sends the temperature and humidity data of the environment in which the controller is located and the air pressure data of the environment in which the controller is located to the virtual host through the AWS IoT platform for analysis, storage and visual display. The sensor data collection instruction is sent to the controller by the terminal device through the virtual host and the AWS IoT platform. The humidity sensor 1 is an HTS221 temperature and humidity sensor, and the air pressure sensor is an LPS22HB pressure sensor.
[0061] Furthermore, the controller is also connected to the humidity sensor 2. The controller controls the humidity sensor 2 to collect the temperature and humidity data of the environment in which the experimental equipment is located according to the received sensor data collection instruction or timer, and sends the temperature and humidity data of the environment in which the experimental equipment is located to the virtual host through the AWS IoT platform for analysis, storage and visual display. The humidity sensor 2 is a DHT11 temperature and humidity sensor.
[0062] like Figure 8 As shown, the RFID module is an RC522 module, the electronic tag of the experimental equipment is NTAG213, and the electric control lock module is composed of a J02 electric control lock and a four-way optical coupling isolation relay driver module. Figure 2-7 The pin diagram shown is a diagram of the connection between the controller and each peripheral device, thereby enabling the controller to control each peripheral module.
[0063] like Fig. 9As described, when the terminal device uses the HTTP protocol to send an equipment rental instruction, it provides the controller ID, cabinet door ID and corresponding actions OD and CD. After receiving the HTTP protocol instruction, the virtual host calls the business data processing back-end program and the Web server program to convert the above instruction into an MQTT message. At this time, the MQTT message is set to the controller ID+OD+cabinet door ID and the controller ID+CD+cabinet door ID respectively. When the AWS IoT platform receives the MQTT message, it is forwarded to the controller. The controller parses the first MQTT message and executes the control of the electric lock module to open the door while the buzzer sounds an alarm. At the same time, the controller sets the MQTT message to the controller ID+OD+cabinet door ID+cabinet door state and sends it to the virtual host through the AWS IoT platform for storage. When the user closes the cabinet door, the detection line signal of the electric lock module is interrupted, and the controller controls the RC522 module to identify the electronic tag of the experimental equipment in the cabinet. If the RC522 module does not recognize the electronic tag, it means that the equipment is borrowed. If the electronic tag is recognized, it means that the equipment is not borrowed. At the same time, the controller sets the MQTT message to the controller ID+CD+cabinet door ID+experimental equipment state through AWS The IoT platform sends it to the virtual host for storage, and the virtual host calls the business data processing back-end program and the Web server program to convert the MQTT message of controller ID+CD+cabinet door ID+experimental equipment state into an HTTP protocol message and send it to the terminal device.
[0064] like Fig.10As described, when the terminal device uses the HTTP protocol to send a device return instruction, it provides the controller ID, cabinet door ID and corresponding actions OD and RE. After receiving the HTTP protocol instruction, the virtual host calls the business data processing back-end program and the Web server program to convert the above instruction into an MQTT message. At this time, the MQTT message is set to the controller ID+OD+cabinet door ID and the controller ID+RE+cabinet door ID respectively. When the AWS IoT platform receives the MQTT message, it is forwarded to the controller. The controller parses the first MQTT message and executes the control of the electric lock module to open the door while the buzzer sounds an alarm. At the same time, the controller sets the MQTT message to the controller ID+OD+cabinet door ID+cabinet door state and sends it to the virtual host through the AWS IoT platform for storage. When the user closes the cabinet door, the detection line signal of the electric lock module is interrupted, and the controller controls the RC522 module to identify the electronic tag of the experimental equipment in the cabinet. If the RC522 module does not identify the electronic tag, it means that the equipment has not been returned. At the same time, the controller sets the MQTT message to the controller ID+RR+cabinet door ID+experimental equipment state through AWS The IoT platform sends it to the virtual host for storage; if the RC522 module recognizes that the electronic tag indicates that the equipment has been returned, the controller sets the MQTT message to the controller ID+RE+cabinet door ID+electronic ID of the experimental equipment and sends it to the virtual host through the AWS IoT platform. The business data processing backend program parses the MQTT message and sends it to the Web server program. The Web server program determines whether the equipment is returned correctly according to the standard relationship between the controller ID, cabinet door ID and electronic ID of the experimental equipment preset in the storage. When the experimental equipment is not returned correctly, the business data processing backend program is called to set the MQTT message to the controller ID+RR+cabinet door ID+electronic ID of the experimental equipment and send it to the controller through the AWS IoT platform. After receiving the MQTT message, the controller controls the buzzer to sound an alarm to remind the user to change the cabinet; at the same time, the virtual host calls the business data processing backend program to convert the MQTT message of controller ID+RR+cabinet door ID+electronic ID of the experimental equipment into an HTTP message and sends it to the Web end of the terminal device for display.
[0065] like Figure 11-Figure 16 As shown, the user uses a terminal device to remotely connect to a virtual host and use script instructions to test the experimental equipment management system based on the Internet of Things of the present invention. At this time, the controller ID is set to "102019", the cabinet door ID is set to "105901", and the electronic ID of the experimental equipment is set to "5A070C2A";
[0066] like Fig.11As shown, when the experimental equipment controller system starts, it will perform certificate verification and WiFi module initialization, and the controller will send a message through the AWS IoT platform to inform the Web server that the controller device is online;
[0067] like Fig.12 As shown, after the Web server program establishes the sensor collection instruction, the controller feedbacks the sensor collection data result;
[0068] like Fig.13 As shown, after the Web server program establishes the door opening command, the controller feedbacks the cabinet door opening result;
[0069] like Fig.14 As shown, after the Web server program establishes the rental instruction, the Web server program determines whether the experimental equipment is rented according to the cabinet door ID and the state of the experimental equipment fed back by the controller. From state=1, it can be known that the equipment has been rented at this time;
[0070] like Fig.15 As shown, after the Web server program establishes the return instruction, the Web server program calculates the result of the return of the experimental equipment according to the cabinet door ID and the electronic ID of the experimental equipment fed back by the control, and the experimental equipment is returned correctly at this time;
[0071] like Fig.16 As shown, after the Web server program establishes the CPU performance query instruction, the controller feedbacks the CPU performance index result;
[0072] like Fig.17 As shown, after the Web server program establishes the sensor collection instruction, the Web server program is used to visualize the sensor collection data fed back by the controller.
[0073] The method for using the experimental equipment management system based on the Internet of Things in the embodiment of the present invention includes a remote query mode and a self-service borrowing and returning mode, wherein the self-service borrowing and returning mode includes the following steps:
[0074] S10: Setting a standard correspondence relationship, wherein the standard correspondence relationship is a correspondence relationship between a controller ID, an electronic ID of an experimental device, and a cabinet door ID, and the standard correspondence relationship is stored in a cloud platform;
[0075] S21: The terminal device sends a rental or return instruction to the controller through the platform, and the controller controls the electric lock module to open the cabinet door according to the rental or return instruction, and the buzzer sends an alarm prompt sound;
[0076] S22: When the cabinet door is closed, the detection line signal of the electric lock module is interrupted, thereby controlling the RFID module to start collecting the electronic tags of the experimental equipment to form equipment data.
[0077] S30: Processing data, the cloud platform determines whether the experimental equipment has been rented or returned to the correct cabinet based on the equipment data and cabinet door information sent by the controller and the standard correspondence analysis;
[0078] S40: Change the location of the experimental equipment: When the experimental equipment is not returned to the correct cabinet, the buzzer sounds an alarm to remind the user to change the experimental equipment to another cabinet and repeat step S20.
[0079] The remote query mode includes the following steps:
[0080] S10: The terminal device sends a query to the cloud platform to inquire about the performance of the controller and the status of the electric lock. The performance query includes the CPU usage query;
[0081] S20: The controller sends the performance indicators to the cloud platform for storage and displays them on the terminal device.
[0082] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for managing and using experimental equipment based on the Internet of Things, characterized in that: It includes remote query mode and self-service borrowing and returning mode, where the self-service borrowing and returning mode includes the following steps: S10: Setting a standard correspondence relationship, wherein the standard correspondence relationship is a correspondence relationship between a controller ID, an electronic ID of an experimental device, and a cabinet door ID, and the standard correspondence relationship is stored in a cloud platform; S20: Collect data, the RFID module collects equipment data of the experimental equipment, and the electric lock module collects cabinet door data; S30: Processing data, the cloud platform determines whether the experimental equipment has been rented or returned to the correct cabinet based on the equipment data and cabinet door information sent by the controller and the standard correspondence analysis; S40: Change the location of the experimental equipment: When the experimental equipment is not returned to the correct cabinet, the buzzer sounds an alarm to remind the user to change the experimental equipment to another cabinet and repeat step S20; S20 includes the following steps: S21: The terminal device sends a rental or return instruction to the controller through the pan / tilt platform, and the controller controls the electric lock module to open the cabinet door according to the rental or return instruction, and the buzzer sounds an alarm prompt sound; S22: When the cabinet door is closed, the detection line signal of the electric lock module is interrupted, thereby controlling the RFID module to start collecting electronic tags of experimental equipment to form equipment data; The remote query mode includes the following steps: S101: The terminal device sends a query to the cloud platform to inquire about the performance of the controller and the status of the electric lock, and the performance query includes the CPU usage query; S201: The controller sends the performance indicators to the cloud platform for storage and displays them on the terminal device.
2. The system for managing and using experimental equipment based on the Internet of Things according to claim 1 is characterized in that: Include: An experimental equipment control system, comprising a controller, multiple RFID modules, multiple electric lock modules, a buzzer and multiple experimental equipment, wherein the controller is connected to the RFID module, the electric lock module and the buzzer respectively, the electric lock module is arranged on the cabinet door, and the RFID module and the experimental equipment are arranged inside the cabinet; The controller is used to receive the device data sent by the RFID module and the cabinet door data sent by the electric lock module, and send the device data and cabinet door data to the cloud platform for analysis to determine whether the experimental equipment is correctly returned or rented. The cloud platform stores the data analysis results and sends them to the controller and the terminal device; the RFID module is used to identify the electronic tag of the experimental equipment; the electric lock module is used to control the opening and closing of the cabinet door; the buzzer is used to send an alarm tone when the cabinet door is opened and the experimental equipment is returned incorrectly, reminding the user to return the experimental equipment to the correct cabinet; The terminal device sends instructions to the controller through the cloud platform, and the instructions include opening the door, renting, returning, querying the performance of the controller and querying the status of the electric lock, thereby realizing the remote operation and management of the experimental equipment control system by the terminal device; The cloud platform is the AWS IoT platform and a virtual host built on Amazon EC2. The virtual host is equipped with a Web server program, which is used to analyze the equipment data and cabinet door data and send the analysis results to the AWS IoT platform; the virtual host runs a business data processing backend program, and the analysis results are sent to the AWS IoT platform and the terminal device through the business data processing backend program. The Web server program is also used to visualize the analysis results and provide an interface for remote management and operation of the experimental equipment controller; the terminal device includes a display screen and a control program, and the control program is a Web page; The controller is a STM32L475VGT6 single-chip microcomputer. The controller uses a WIFI module to communicate with the AWS IoT platform. The WIFI module is ISM43362-M3G-L44. The controller is certified by Amazon FreeRTOS. The AWS IoT platform and the controller and the virtual host all use the MQTT protocol for message transmission. The controller uses the SNTP protocol and the NTP server for clock synchronization. The controller is also connected to the humidity sensor 1 and the air pressure sensor. The controller controls the humidity sensor 1 to collect the temperature and humidity data of the environment where the controller is located and the air pressure sensor to collect the air pressure data of the environment where the controller is located according to the received sensor data collection instruction or the time set by the timer, and sends the temperature and humidity data of the environment where the controller is located and the air pressure data of the environment where the controller is located to the virtual host through the AWS IoT platform for analysis, storage and visual display. The sensor data collection instruction is sent from the terminal device to the controller through the virtual host and the AWS IoT platform; The controller is also connected to the humidity sensor 2. The controller controls the humidity sensor 2 to collect the temperature and humidity data of the environment in which the experimental equipment is located according to the received sensor data collection instructions or the time set by the timer, and sends the temperature and humidity data of the environment in which the experimental equipment is located to the virtual host through the AWSIoT platform for analysis, storage and visual display.
3. The experimental equipment management system based on the Internet of Things according to claim 2 is characterized in that: The humidity sensor 1 is a HTS221 temperature and humidity sensor, and the air pressure sensor is a LPS22HB pressure sensor.
4. The experimental equipment management system based on the Internet of Things according to claim 2 is characterized in that: The humidity sensor 2 is a DHT11 temperature and humidity sensor.
