MESSAGE ORDER-PRESERVING PROCESSING METHOD, ORDER-PRESERVING COPROCESSOR AND NETWORK EQUIPMENT
摘要
The embodiments of the present invention provide a message order-preserving processing method, an order-preserving coprocessor and a network equipment. The message order-preserving processing method includes: receiving network messages sent by threads, wherein the network messages contain message identifications(101); determining order-preserving stream corresponding to the message identifications, wherein an order-preserving stream corresponds to a channel of the network equipment and the message processing order contained in the order-preserving stream is the order in which the messages enter the channel(102); executing the order-preserving processing to the network messages according to the message processing order(103). The embodiments of the present invention can execute the order-preserving processing to the messages in the case of the multi-threaded asynchronous message processing.