A method for realizing dual-protocol stack switching based on network card

A dual protocol stack and protocol stack technology, applied in the field of multi-network protocol stack switching by network card, can solve the problems of time-consuming, packet loss, etc., and achieve the effect of reducing the switching time

Inactive Publication Date: 2008-03-26
ZTE CORP
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But its main disadvantage is that the entire network card driver is stopped and restarted again, and the registers of the network card chip are operated many...

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
  • A method for realizing dual-protocol stack switching based on network card
  • A method for realizing dual-protocol stack switching based on network card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention provides a method for network card to realize dual protocol stack switching, the key point is to abstract the relevant points of dual protocol stack switching and network card driver into switching key points, mainly including: (1) interrupt processing mechanism, that is, by changing the interrupt function Pointer to hook the interrupt processing function of the new protocol stack; (2) Memory allocation and release mechanism, that is, the replacement of the receiving buffer memory, including the release of the receiving buffer memory of the protocol stack before switching, and the application of memory allocation of the protocol stack after switching , and write its address into the descriptor of the receiving buffer; (3) the establishment method of the connection, that is, to judge whether the establishment method of the current connection satisfies the communication of the switched protocol stack when switching, and if it is satisfied, the current ...

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

This invention relats to a method for realizing switch of double-protocol stack by a network card including: 1, interruption process means to alter an interrupt function pointer to be connected to the interrupt process function of a new protocol stack, 2, distribution and releasing of EMS memory is to exchange memory in a buffer region including release of memory of a received buffer region of a protocol stack before switch and application for distribution of memory of the protocol stack after switch and writes the address into a descriptor of the received buffer region, 3, mode of connection is to judge if the current set-up mode of connection satisfies communication of the switched protocol stack when switching, if so, the current mode is kept, if not, new connection is set up again, thus, only different points in the switch key points are switched in each time of switch.

Description

technical field [0001] The invention relates to a multi-network application technology in the communication field, and more particularly relates to a method for a network card to realize multi-network protocol stack switching. Background technique [0002] With the popularization and application of network technology more and more widely, a specific application may need to be supported by a protocol stack with certain specific functions, and in the continuous change and update of application requirements, the functions of the network protocol stack also need to Constantly revising and changing. Therefore, in many network applications, such as typical applications on softswitches, some applications with special requirements cannot be met because the network protocol stack that comes with the operating system meets the versatility, and the source code is not open. The protocol stack cannot be modified and customized. Therefore, merchants who develop communication software oft...

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
IPC IPC(8): H04L12/02H04L29/06H04L12/56H04L12/24
Inventor 田云操杨磊任勤
Owner ZTE CORP
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