The invention relates to a high-risk industry enterprise risk early warning and prevention and 
control system, and the 
system comprises a 
coal mine, a mining company, a group company, a 
coal mine supervision unit, a plurality of servers and clients. The business 
server module comprises a 
data acquisition server, a 
database server, a real-time 
database server, a network end 
application server, an APP 
application server, a main control node server, a front end 
application server, a 
file storage server and an ROSE application level 
backup server; an enterprise-level micro-service architecture with separated 
front and back ends is adopted, and Spring Security is deeply customized to realize stateless unified authority 
authentication based on RBAC, jwt and oauth2; a redis high-speed cache is integrated, a shardingsphere sub-
library and sub-table component is introduced, and an elasticsearch is introduced to improve the response rate of query and statistics under 
big data; according to the 
system, a docker containerized deployment mode is adopted, k8s is used for service arrangement, and k8s is subjected to graphical management and control through kuboard. The 
system has the advantages that information collection, acquisition, early warning analysis and prevention and control guidance work from bottom to top can be realized.