User mode network protocol stack system and method for processing message

A network protocol stack and user-mode technology, applied in the field of computer networks, can solve the problems of low performance efficiency, low security, and poor message control of the user-mode network protocol stack, and achieve enhanced security management and control capabilities and enhanced security Effect

Active Publication Date: 2010-10-20
SHENZHEN Y& D ELECTRONICS CO LTD
View PDF0 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The technical problem to be solved by the present invention is to propose a new user-mode network protocol stack system and a method for processing messages in view of the above-mentioned defects such as low performance efficiency, low security, and poor message control of the user-mode network protocol stack

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • User mode network protocol stack system and method for processing message
  • User mode network protocol stack system and method for processing message
  • User mode network protocol stack system and method for processing message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0056] The protocol stack of the present invention runs in the user state memory space rather than the operating system kernel memory space, wherein the user state memory space is the address space reserved by the operating system for the user, rather than the address space reserved by the operating system for itself, and the above-mentioned user Space has no overlap with kernel space. The receiving data buffer area and the sending data buffer area of ​​the protocol stack are directly mapped in the operating system kernel memory space, and the mapping maps the kernel space to the user space by calling the memory mapping method provided by the operating system. Therefore, the protocol stack performs only one memory copy, that is, the memory copy is performed only when the protocol stack receives and / or sends data to the user application out...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a user mode network protocol stack system, which comprises a protocol stack configuration management module, an array receiving module, an array sending module and a plurality of proxy protocol modules. The protocol stack configuration management module is used for cutting proxy protocols in a protocol stack and configuring the filter rule of each proxy protocol; the array receiving module is used for managing a cache region which receives a message; the array sending module is used for managing a cache region which sends the message; the plurality of proxy protocol modules are positioned on a plurality of layers; each proxy protocol module comprises an A-class interface, a B-class interface and a C-class interface; the A-class interface is used for receiving the message sent by the upper layer of proxy protocol module; the B-class interface is used for the lower layer of proxy protocol module to submit the message; and the C-class interface is used for the protocol stack configuration management module to configure the proxy protocol module. The invention realizes a user mode network protocol stack through the protocol stack configuration management module.

Description

technical field [0001] The invention relates to the field of computer networks, in particular to a user state network protocol stack system and a method for processing messages. Background technique [0002] In a network operating system (such as Linux, FreeBSD operating system, etc.), the TCP / IP protocol stack is subordinate to the operating system kernel. The above method can ensure that the protocol stack has higher stability and higher performance. [0003] Encapsulating the network protocol into the kernel of the operating system can provide users with a complete network operating system and simplify the network support work of users, but it is not conducive to users to add and implement new user protocols, and it is also not conducive to users to customize protocols according to their own special needs. Adjust the implementation details of the protocol, or dynamically assemble the protocol or conduct in-depth inspection of the protocol package according to its own spe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06
Inventor 戚建淮唐威李俊刚
Owner SHENZHEN Y& D ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products