The utility model discloses a
stream-based strategic routing method on a
network processor, comprising following procedures: after receiving the message, the
processing is carried out by a
stream analytic module, and the heading
key assignment is extracted and supplied to a
stream sorting module to process the
key assignment; a stream distribution module decides to send the message to the specific threading of the stream sorting module. The searching and handling are carried out by a stream searching module in the stream
database to see whether the same stream mark as that of the message already exists; if the search succeeds, the message is handed to the stream distribution module for disposal; and then the message is transferred to a stream forwarding module for further
processing through the stream distribution module. If the search fails, the message is transferred to a renewal module for disposal. The stream renewal module establishes relevant stream
list entries and then stores them in the stream
database, and then, begins a new search. The utility model can adopt different routing strategy according to various application types, so that the availability of the network is promoted.