Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for treating protocol stack of route through one process

A routing protocol and single-process technology, applied in the field of communication, can solve the problems of high CPU overhead and low CPU operating efficiency, and achieve the effect of improving operating efficiency and saving resources

Inactive Publication Date: 2009-07-08
CHINA NAT DIGITAL SWITCHING SYST ENG & TECH R&D CENT
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0018] The problem solved by the present invention is that when multi-process is used to process the routing protocol stack protocol, due to the switching between processes and the mutual communication between processes, the overhead of the CPU is large, and the technical problem that the operating efficiency of the CPU is low

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
  • Method for treating protocol stack of route through one process
  • Method for treating protocol stack of route through one process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The invention points of the present invention will be specifically described below with reference to the drawings.

[0033] see figure 2 , which is a flow chart of the present invention using a single process to process the routing protocol stack. The method includes:

[0034] S110: When the process of the routing protocol stack is started, the routing protocol stack is initialized, and the initialization includes:

[0035] A: Establish a protocol registration linked list of each layer, each node of the protocol registration linked list saves the information of a protocol supported by this layer, and the information is used to process sending and receiving data and protocol events;

[0036] B: Establish a protocol event chain list, if the protocol receives an instruction from the application layer, add a node in the protocol event chain list to save the protocol event;

[0037] S120: Search each node of the protocol registration linked list in turn, and perform pack...

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 discloses a method for processing a routing protocol stack using a single process, including: (1) when the process of the routing protocol stack is started, the routing protocol stack is initialized, and the initialization includes: A. Establishing a protocol registration list of each layer , each node of the protocol registration list saves the information of a protocol supported by this layer, and the information is used to process the sending and receiving data and protocol events; B. Establish the protocol event list, if the protocol receives the instruction sent by the application layer, the protocol event Add a node in the linked list to save the protocol event; (2) search each node of the protocol registration linked list in turn, and perform packet receiving and sending operations on the protocol corresponding to this node; (3) search each node of the protocol event linked list in turn, Call the handler function of the event corresponding to the node for processing. In addition, the present invention also adopts a unified timer management strategy. As a result, the operating efficiency and data throughput of the routing protocol stack are improved, thereby improving the operating efficiency of the CPU.

Description

technical field [0001] The invention relates to the communication field, in particular to a method for processing routing protocol stacks in network node devices with three-layer routing functions such as routers and multilayer switches. Background technique [0002] At present, network node devices with routing functions such as routers and multilayer switches are mainly used to connect multiple logically separated networks and perform data storage and forwarding functions between different networks. It can transmit data according to different link frames, and then complete the network layer relay task. The following takes a router as an example to describe its working process of routing and forwarding in detail. [0003] The routing is to determine the best path to the destination, which is realized by the routing algorithm in the routing protocol. In order to determine the best path, a routing table containing routing information is created according to the routing prot...

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 Patents(China)
IPC IPC(8): H04L29/06
Inventor 陈庶樵郭云飞李云涛伊鹏魏进武申涓
Owner CHINA NAT DIGITAL SWITCHING SYST ENG & TECH R&D CENT