The invention discloses a multi-thread task
processing method and a multi-thread task
processing device. The method comprises the following steps: a
task manager receives business information, adds an entity of task information included in the business information to a task
pool, calls a management module to process the entity in the task
pool, and calls the management module to obtain a result that the management module processes the entity in the task
pool; the management module calls an execution module to process the entity in the task pool, and calls a monitoring module to obtain the result that the execution module processes the entity in the task pool; the execution module obtains the entity from the task pool, calls a thread, a lock as well as a task
processing function of the obtained entity, processes the obtained entity, and notifies the processed result to the monitoring module; and the monitoring module records a successful
label or a failed
label according to the processed result, and sends the successful
label or the failed label to the management module. Therefore, the method and the device disclosed by the invention realize execution of the entity with multiple task information in a multi-thread parallel manner, the time for processing a single business is relatively short, and the efficiency of processing the business is improved.