FastFlow is a time-series flow classification method that accurately classifies network flows as known types or unknown types.FastFlow dynamically selects the minimal number of packets to balance accuracy and efficiency.The method utilizes a flow representation process and a sequential decision-based classification model trained with reinforcement learning.FastFlow achieved superior performance in early and accurate flow classification in evaluations on public datasets.