This application relates to the field of network voice acquisition technology, and discloses a high-performance RTP voice acceleration acquisition method and
system based on FPGA implementation. The method includes receiving raw IP packets and
parsing them to obtain a set of key packet information containing five-tuple information, service type identifiers, and policy matching results; filtering out matching RTP voice packets and extracting the five-tuple information; and accessing the flow table in the first DDR4 memory through a multi-
BANK interleaved parallel read / write engine to complete the query. When a flow table entry is empty, a table is created for the five-tuple flow, and a storage token corresponding to the second DDR4 storage address is requested. When a flow table entry matches, the
timestamp is updated and the storage address is determined. Then, the RTP
payload is extracted, written to the corresponding space, and counted. When the count reaches a threshold, an RTP voice compression frame is assembled and output. If the flow duration times out, the storage token is revoked; if the flow table entry times out, the flow table entry is revoked. This invention improves the rate of RTP voice acquisition and storage
resource utilization, adapts to high-volume voice acquisition scenarios, and reduces
server processing load.