The construction and application of dynamic population database based on“Suishenma code”,Based on the community, units, buildings, residential areas, residential buildings and public places existing “changsuo code”. It makes use of image recognition, wireless encryption, big data and cloud storage technology to make it become the terminal of mobile personnel data collection, recognition and processing analysis. Meanwhile, the real-time dynamic matching database of people and houses is recorded and generated to form the corresponding relationship between people and places of activity. The construction of the system mainly covers the interior of buildings such as residential areas, units and houses with intensive human activities, social cases and high incidence of livelihood cases, make up the“Xueliang、 Tianyan、Anke Project” monitoring blind spots, and can be used for the prevention and control of the epidemic and other emergencies trace source and early warning. The construction of this program serves the following areas: Tianyan project, major emergencies, housing management, special crowd management, public publicity, residents services and government services.