Research Article
N-Gram, Semantic-Based Neural Network for Mobile Malware Network Traffic Detection
| | WHILE (packet reading a packet) | | | IF (hash_search(packet 5-tuple information m_fe) = = FALSE) | | | FUNC ( ) { | | | creat flow: Flow New | | | establish the hash mapping of flow: HM(m_fe) | | | put the flow into hash_table | | | } | | | ELSE | | | The packet belongs to Flow A | | | IF (the packet arrival time is out of the set timeout value) | | | Delete Flow A | | | FUNC( ) | | | END IF | | | END IF | | | flow ← packet | | | END WHILE |
|