DATA PROCESSING APPARATUS AND DATA PROCESSING METHOD
摘要
The present invention relates to a data processing apparatus and a data processing method. The apparatus comprises M protocol stacks and at least one service distribution module. The M protocol stacks are separately run on different logic cores of a processor and are used for performing protocol processing independently on a data packet to be processed according to a protocol processing rule. The service distribution module receives an input data packet from a network interface and sends the data packet to one protocol stack among the M protocol stacks to perform protocol processing. Data packets obtained after processing by the M protocol stacks are received and the data packets are sent outside through the network interface. The present invention can implement a function of multi-process parallel protocol processing in an operating system user space by utilizing a characteristic of parallel processing in a multiple-core system in a multi-core environment, and reduce resource consumption caused by duplication of a data packet.