Research Article

A Security Situation Prediction Algorithm Based on HMM in Mobile Network

Algorithm 2

Period analysis algorithm.
Input: the alarm sequence generated by triple <Signature, srcIP, dstIP>
Output: alarm removal rule <Signature,srcIP,dstIP>
(1) select an alarm sequence generated by a triple;
(2) determine the autocorrelation sequence ;
(3) while
(4) calculate the energy value of frequency ;
(5) endwhile
(6) calculate the frequency with the maximum energy;
(7) calculate the cycle of alarm sequence;
(8) calculate the value of F;
(9) if ()
(10) generate the alarm removal rule <Signature,srcIP,dstIP>;
(11) Endif