Data stream classification method and related device