High-speed message processing method, apparatus and system
A message processing, high-speed technology, applied in transmission systems, electrical components, etc., can solve the problem of low data packet acquisition ability, and achieve the effect of reducing CPU performance consumption and improving processing capacity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Embodiment 1 of the present invention provides a high-speed message processing method, such as figure 1 As shown, the method includes:
[0052] S101. Map the first address of the data packet storage to the user virtual address space through the memory mapping function mmap;
[0053] S102. Create a message receiving thread corresponding to the network card receiving queue;
[0054] S103. Start the message receiving thread, and poll to receive the data message.
[0055] The high-speed message processing method provided by the embodiment of the present invention establishes a preset receiving mode between the operating system kernel module and the user virtual space, so that the user virtual space directly communicates with the network card when sending and receiving data files, and the data files do not need to go through the operating system The kernel performs processing to improve the processing capability of the data file. In addition, the data file is filtered thro...
Embodiment 2
[0057] Embodiment 2 of the present invention provides a high-speed message processing method applied to figure 2 shown in the Internet cache system. Such as figure 2 As shown, the Internet caching system includes a client, an origin site, a redirection server, and a caching server group. When working, the client in the Internet domain initiates a request for resources outside the network; the request is split into the redirection server by DPI (Deep Packet Inspection, deep packet inspection technology); the redirection server receives and analyzes the request packet, and constructs a corresponding The http / 302 redirect message is sent to the requesting client in the domain; after the client receives the request redirect message, the request for resources outside the network is directed to the cache server, and the client initiates a resource request to the cache server again. If the content hits locally , the cache server directly provides user services, otherwise the cach...
Embodiment 3
[0077] The high-speed packet processing method provided by Embodiment 3 of the present invention is applied to figure 2 shown in the Internet cache system. The HTTP GET request from the client is introduced to the redirection server through splitting, and the redirection server parses the HTTP request message, filters the HTTP request message, and reduces the CPU performance consumption of the redirection service.
[0078] Embodiment 3 of the present invention provides a high-speed message processing method, such as Figure 4 As shown, the method includes:
[0079] S401. Determine whether the user attribute of the data message belongs to the user blacklist, and filter the data message corresponding to the user blacklist;
[0080] Wherein, the basis for judging may include the IP address of the client sending the data packet, the sending method of the URL, and the like. In this embodiment, the IP address of the client is used as the judgment basis for description.
[0081]...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com