Message processing method and device, medium and equipment
A message processing and message technology, applied in the Internet field, can solve the problems of high consumption and high hardware cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] Such as figure 1 Shown:
[0058] This disclosure provides
[0059] A method for message processing, applied to a network device, the network device is configured with a virtual network card driver, the network device also includes a user mode protocol stack and a kernel protocol stack, and the method includes:
[0060] S1: Create a virtual network card in the system kernel based on the virtual network card driver, and send the virtual network card information to the user protocol stack;
[0061] Specifically, the virtual network card driver ioctl command execution function creates the virtual network card according to the information passed in by the ioctl command, allocates the virtual network card sending and receiving packet queue, defines the virtual network card interface management and the function of sending and receiving packets, and returns the information of the virtual network card to the user mode protocol stack , so that the protocol stack in the user mode ...
Embodiment 2
[0096] Such as image 3 Shown:
[0097] The present disclosure also provides a message processing device, including:
[0098] A virtual network card creation module 301, configured to create a virtual network card in the system kernel based on the virtual network card driver, and send the virtual network card information to the user protocol stack;
[0099] A filtering module 302, configured to filter the message based on the user mode protocol stack when receiving the message;
[0100] If the message is a control message, the user protocol stack forwards the control message to the kernel protocol stack through the virtual network card for processing based on the virtual network card information;
[0101] If the message is a service message, the user protocol stack processes the service message.
[0102] In the packet processing device described in the present disclosure, the virtual network card creation module 301 is connected to the filtering module 302 .
[0103] Furth...
Embodiment 3
[0113] The present disclosure can also provide a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is used to implement the steps of the above method for message processing.
[0114] The computer storage medium of the present disclosure may be implemented using semiconductor memory, magnetic core memory, magnetic drum memory, or magnetic disk memory.
[0115] Semiconductor memory, mainly used in computers, mainly has two types of semiconductor memory elements: Mos and bipolar. Mos components are highly integrated, the process is simple but the speed is slow. Bipolar components are complex in process, high in power consumption, low in integration but fast in speed. After the advent of NMos and CMos, Mos memory began to play a major role in semiconductor memory. NMos is fast, for example, the access time of Intel's 1K-bit SRAM is 45ns. CMos consumes less power, and the 4K-bit CMos static memory access ...
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