Japan is one of the countries with the most frequent natural disasters in the world and is faced with various threats of natural disasters every year, which significantly impact Japan’s social economy and people’s lives. A great deal of information about disasters is preserved in Japanese literature. Interpreting and organizing this information help us to analyze the regularity of disasters and understand the preventive measures of ancient people. This paper aims to organize, analyze and save disaster data by collecting various information about disasters. Then a disaster spatiotemporal database system is constructed by using deep learning, image processing, and database technology. The system consists of two parts, namely, the disaster database and disaster website. The disaster database is the core of the whole system, which saves the disaster data after organizing and summarizing. The database collects disaster information from various sources, including key information such as disaster type, time, location, scale, and scope of impact. The Disaster website is the system’s user interface, providing an interactive platform for users to access and use disaster data easily. The website has many functions, including search, visual display, disaster information query, etc. We also make a detailed analysis of the collected data, aiming to predict the causes and occurrence rules of disasters so as to achieve the target of disaster prediction.