Network traffic pattern recognition based on genetic algorithms