The invention discloses a dynamic token two-factor two-dimensional code door opening system which comprises a cloud management service platform, a mobile phone APP platform and a terminal controller.The cloud management service platform provides identity authentication, identification, right management and authorization for the login of a mobile phone APP user, manages the device ID and physicaladdress of the terminal controller, and issues user login information, an interference code and the like to the terminal controller. The mobile phone APP platform provides an entrance for the user operation, generates a one-time password as a token carrier, and asks the cloud for the interference code. After the challenge code is calculated, a two-dimensional code is generated by encryption, and the terminal controller is challenged by the two-dimensional code. The terminal controller scans, decodes, decrypts and identifies the two-dimensional code, and determines whether to issue an open command to a lock control board according to the identification. According to the invention, the problems that the existing two-dimensional code door opening technology based on network transmission and cross-region cannot realize transmission door opening, and two-dimensional code door opening cannot be realized in an emergency non-network environment are solved, and the safety of the existing two-dimensional code door opening is realized.