Abstract:At present, communication technologies such as WiFi, Bluetooth, ZigBee and IPv4 protocol are widely used in the intelligent lock communication architecture, which cannot take into account the needs of long-distance transmission and low power consumption, resulting in problems such as inconvenient management, low security and lack of IP addresses.To solve these problems, an intelligent door lock system based on IPv6 and LoRa is designed.The system consists of four parts: execution layer, network layer, service layer and application layer.The lock terminal uses the STM32L151CBU6 microcontroller as the primary controller, and the LoRa server and Java Web application are deployed on the cloud server to manage and control the system.The test shows that a gateway can cover the effective area of a building of about 11 floors, and a 1000mAh battery can be used for 1.8 years. The system has the advantages of low power consumption, long communication distance and high security.