A novel two-phase cycle algorithm for effective cyber intrusion detection in edge computing | Synapse