一种报文处理方法、装置、计算机设备及存储介质
By optimizing the socket management table lookup process based on quadruples in the Linux kernel, the problem of low UDP socket lookup efficiency is solved, and the performance and accuracy of packet processing are improved.
CN118972476BActive Publication Date: 2026-07-17NETEASE (HANGZHOU) NETWORK CO LTD
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2024-07-16
- Publication Date
- 2026-07-17
AI Technical Summary
Technical Problem
In the Linux kernel, the low lookup efficiency of UDP sockets leads to poor packet processing performance, and existing technologies cannot efficiently match and process UDP packets.
Method used
The target key of the message is determined based on the quadruple information, and a matching socket is searched in the first socket management table. The search process in the socket management table is optimized by using a hash table structure and replacement function pointers, thereby improving search efficiency.
Benefits of technology
It enables fast UDP socket lookup, improves message processing performance and efficiency, and ensures that messages are delivered correctly to the application.
✦ Generated by Eureka AI based on patent content.
Smart Images

Figure CN118972476B_ABST
Abstract
本申请实施例公开了一种报文处理方法、装置、计算机设备及存储介质。本方案通过在接收到报文时,获取报文中的四元组信息;基于四元组信息,确定报文对应的目标键;根据目标键,从第一套接字管理表中查找与目标键匹配的第一目标套接字,其中,第一套接字管理表中各套接字对应的键根据各套接字对应的客户端端点信息以及服务端端点信息得到;基于第一目标套接字对报文进行处理。以此,在报文处理过程中快速查找到对应的套接字,从而可以提高处理性能。
Need to check novelty before this filing date? Find Prior Art