A traffic redirection method, comprising: determining an application that sent a traffic data packet based on a single packet recognition step; obtaining a pre-configured routing policy corresponding to the application; and based on the routing policy, forwarding the traffic data packet; the single packet recognition step, comprising: after a connection between a client terminal and a destination server is established, obtaining a data packet sent by the client terminal, wherein the data packet is a first data packet to carry application layer data (101, 201, 301) and the data packet carries an IP address of the destination server; determining whether a format feature of the application layer data of the data packet matches a data packet format feature of any known application (102; 204; 305); wherein the format feature of the application layer data is a content of specific bytes in the application layer data of the data packet; and when it is determined that the format feature of the application layer data matches a data packet format feature of a known application, determining whether the IP address of the destination server is present in a pre-configured database (205; 306); and when it is determined that the IP address of the destination server is present in the pre-configured database and applications corresponding to the IP address of the destination server include the matched application (206; 307), recognizing the matched application as the application which sent the data packet (103; 203, 207; 304, 308); wherein the determining whether a format feature of the application layer data of the data packet matches a data packet format feature of any known application includes: determining whether information parsed from the specific bytes in the application layer data of the data packet is the same as corresponding features in application data of any known application. determining an application that sent a traffic data packet based on a single packet recognition step; obtaining a pre-configured routing policy corresponding to the application; and based on the routing policy, forwarding the traffic data packet; the single packet recognition step, comprising: after a connection between a client terminal and a destination server is established, obtaining a data packet sent by the client terminal, wherein the data packet is a first data packet to carry application layer data (101, 201, 301) and the data packet carries an IP address of the destination server; determining whether a format feature of the application layer data of the data packet matches a data packet format feature of any known application (102; 204; 305); wherein the format feature of the application layer data is a content of specific bytes in the application layer data of the data packet; and when it is determined that the format feature of the application layer data matches a data packet format feature of a known application, determining whether the IP address of the destination server is present in a pre-configured database (205; 306); and when it is determined that the IP address of the destination server is present in the pre-configured database and applications corresponding to the IP address of the destination server include the matched application (206; 307), recognizing the matched application as the application which sent the data packet (103; 203, 207; 304, 308); wherein the determining whether a format feature of the application layer data of the data packet matches a data packet format feature of any known application includes: determining whether information parsed from the specific bytes in the application layer data of the data packet is the same as corresponding features in application data of any known application. after a connection between a client terminal and a destination server is established, obtaining a data packet sent by the client terminal, wherein the data packet is a first data packet to carry application layer data (101, 201, 301) and the data packet carries an IP address of the destination server; determining whether a format feature of the application layer data of the data packet matches a data packet format feature of any known application (102; 204; 305); wherein the format feature of the application layer data is a content of specific bytes in the application layer data of the data packet; and when it is determined that the format feature of the application layer data matches a data packet format feature of a known application, determining whether the IP address of the destination server is present in a pre-configured database (205; 306); and when it is determined that the IP address of the destination server is present in the pre-configured database and applications corresponding to the IP address of the destination server include the matched application (206; 307), recognizing the matched application as the application which sent the data packet (103; 203, 207; 304, 308); wherein the determining whether a format feature of the application layer data of the data packet matches a data packet format feature of any known application includes: determining whether information parsed from the specific bytes in the application layer data of the data packet is the same as corresponding features in application data of any known application.