The invention discloses a service-oriented intelligent residential area real-time database system and a working method thereof. The system comprises a data interface layer, a data persistence layer, a call service layer, a data model layer and a service layer, wherein the data interface layer is used for performing classified collection on sensor information of a safety protection system or a building automation system of a residual area, packaging data according to a unified communication protocol and transmitting the packaged data into a memory of the data persistence layer in a binary data stream form; the data persistence layer is used for unified storage of the data collected by the data interface layer; the call service layer performs data analysis and storage; the data model layer is used for providing measurement points and an internet-of-things device and performing data associative analysis and prediction; and the service layer is used for providing core services including data analysis, data cleaning, data compression, data decompression, data conversion, real-time data access, historical data access, state monitoring, business management, log recording and alarm services. A real-time database has the characteristics of loose coupling, service reusability and the like.