1. A data collection method, comprising: a network management device collecting data files to be processed reported by a network element device; assigning the data files to be processed as a plurality of tasks; and adding the plurality of tasks into a task queue and extracting tasks from the task queue one by one for processing.