Method of network security situation perception based on artificial life