The invention relates to an ALG implementation method and
system based on DPDK, and the method comprises the steps: configuring a control
reverse proxy in a user mode Nginx program, and carrying out the proxy to a
server; taking the control
reverse proxy as a static control connection interception address, and accessing the static control connection interception address through a
client; disconnecting the user mode Nginx program from the
client and establishing the connection with the
server, wherein the user mode Nginx program is used for forwarding a control connection data packet between the
client and the
server; carrying out, by the user mode Nginx program, the protocol analysis
rewriting and related control actions on the control connection data packet based on a DPDK + FreeBSD + Nginx architecture; and pushing, by the
server side, the
stream to a dynamic media connection interception address of the user mode Nginx program, so that the user mode Nginx program uses a local media port to send the
stream media to the
client side. According to the invention, the ALG function based on the DPDK user mode
protocol stack layer can be realized, the service of a multi-channel protocol is opened, and the ALG high-
concurrency large-
throughput application scene is satisfied.