| In recent years,with the deepening of teaching reform and the change in the demand for practical talents in today's society,the proportion of experimental teaching has become more and more important,and laboratories have played an important role in the cultivation of talents.Due to the problems of low management efficiency,difficult handover and inconvenient learning of students' spare time in the traditional laboratory,it is necessary to upgrade the intelligent management of the laboratory in order to improve the utilization rate of the laboratory.The application of intelligent access control system can be an important means to improve management efficiency.Intelligent lock should have different application mode in different occasions,Aiming at the inconveniences of traditional laboratory and current access control system solutions,this paper designs a "Intelligent Laboratory Access Control System Based on National Secret Algorithm SM2".The system consists of four parts: iOS mobile client-side(APP),WeChat applet,access control,and server.They are divided into teachers and students according to the authorized objects.Teachers use the mobile to have long-term unlock permissions,and students obtain temporary authorization through the applet.The access control terminal is responsible for signature verification and unlock control.The server interacts with the client-side and applet,save user information and signature data.The main research contents of this system are as follows:(1)By investigating the background and requirements of laboratory management and the current access control system,from the perspective of security and convenience,an intelligent access control system for specific application scenarios in the laboratory is designed.(2)According to the security requirements,the national secret algorithm SM2 and digital digest technology are researched.By combining with the system,it is necessary to perform multiple verification such as user permissions,unlocking public key sources,and signature data to ensure the unlock identity is true and reliable.(3)The iOS intelligent lock client-side is designed for the teacher group,which is dividedinto two methods: Bluetooth unlocking and 4G unlocking.Bluetooth unlocking enables short-range unlocking without network,and 4G unlocking(with a SIM card inserted)enables remote unlocking with network.The client is divided into modules such as information,unlocking,and personal according to functions,and the subdivision modules are implemented in turn.(4)The intelligent lock WeChat applet is designed for the student group to implement temporary authorization.By setting the validity period of the passage and sharing a specific laboratory,you can easily unlock it during this period.(5)The access control terminal is mainly designed for the intelligent lock main control board,which mainly includes data transmission module,storage module,controller module,motor module and door lock.(6)According to the requirements of user login and signature replacement,the server is designed and implemented to realize the data interaction between the server and the client-side,the applet and the access control terminal.(7)Various functional tests were performed on the iOS mobile client-side,applet,and access control,and the test results achieved the design goal of the laboratory access control system. |