The invention belongs to the technical field of
industrial internet security, and particularly relates to a digital mine
network security situation awareness method and
system, and the method comprises the following steps: S1, accessing the network flow of a mine industrial switch, deconstructing a data packet into an instruction domain, an address domain and a load domain through protocol analysis, and extracting a
timestamp and the binary content of each domain; s2, calculating the Shannon entropy of the protocol field in the
current time window, and calculating the abnormal entropy increase index of the protocol field according to the
average entropy value and the standard deviation under the historical normal working condition, thereby evaluating the hidden channel risk; and S3, extracting physical values in the
continuous data packets, and calculating a physical
inertia conflict coefficient according to the maximum change rate allowed by the physical parameters of the equipment. According to the method, the
physical law is introduced as a safety criterion, so that the
false alarm rate is effectively reduced, and precise
perception of advanced persistent threats is realized.