The invention discloses a method and a device for message processing. The method comprises: arranging a front pre-processor on the external of a multi-core CPU, the front pre-processor generating a to-be-processed task according to message information of a received to-be-processed message, according to the identification of a physical port corresponding to the to-be-processed task and receiving sequence, distributing a sequence code for the to-be-processed task, scheduling the to-be-processed task to the multi-core CPU, and according to the sequence code of the to-be-processed task, performing order-preserving processing on processed tasks of the multi-core CPU. Using the technical scheme, the front pre-processor realizes scheduling of the messages and an order-preserving function, the multi-core CPU can execute tasks in a parallel manner, competition among the multiple cores and resource interlocking are and relieved, and processing capability of the multi-core CPU is effectively improved. In addition, the multi-core CPU can execute tasks in a parallel manner, and can effectively improve task processing speed and prevents wastes of processor resources, and CPU function uninstallation is realized.