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

A keep-alive optimization method and device

An optimization method and technology of keep-alive messages, applied in the field of communication, can solve problems such as interruption of neighbor relationship and failure of routers to process keep-alive messages in time, so as to avoid interruption of neighbor relationship and improve network stability

Active Publication Date: 2019-09-06
HANGZHOU DPTECH TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a keep-alive optimization method and device to solve the problem that the neighbor relationship is interrupted due to the inability of the router to process the keep-alive message in time

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 keep-alive optimization method and device
  • A keep-alive optimization method and device
  • A keep-alive optimization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to solve the above problems, the present invention provides a keep-alive optimization method and device, which can forward the screened keep-alive messages to a designated socket and set priority to process all messages in the socket before the processing timer expires. Keep-alive messages can be used to avoid interruption of neighbor relationship caused by failure to process keep-alive messages in time, realize keep-alive optimization, and improve network stability.

[0049] Please refer to figure 1 , is a processing flowchart of a keep-alive optimization method in an exemplary embodiment of the present invention, the method is applied to a router, and the method includes:

[0050] Step 101, select the keep-alive message from the received protocol message;

[0051] In this embodiment, the router may select a keep-alive message from received packets of various protocols. A specific method may be selected according to a specified field in the protocol message....

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 present invention provides a keep-alive optimization method and device, the method is applied to a router, and the method includes: selecting a keep-alive message from received protocol messages; forwarding the keep-alive message to the first set of An interface; processing the keep-alive messages in the first socket; after all the keep-alive messages in the first socket are processed, the timer timeout judgment is performed. The present invention can forward the screened keep-alive message to a designated socket, and set priority to process all the keep-alive messages in the socket before the processing timer times out, thereby avoiding the failure of keeping-alive messages to be processed in time. Neighbor relationship interruption caused by text, realize keep-alive optimization, and improve network stability.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method and device for keeping alive optimization. Background technique [0002] Currently, most dynamic routing protocols help routers discover and maintain neighbor relationships by periodically sending and receiving keep-alive packets. This requires the router not only to send keep-alive messages in time, but also to process keep-alive messages from neighbors in a timely manner. [0003] In the prior art, in order to ensure the maintenance of the neighbor relationship, the router can add an aging timer to it after establishing the neighbor relationship according to the dynamic routing protocol. If the keep-alive message is not processed within the timeout period of the timer, the neighbor relationship is broken. In order to respond to network changes in a timely manner, the processing priority of timers is usually higher than that of packets. However, as the ...

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): H04L12/751H04L12/771H04L45/02H04L45/60
Inventor 王旭
Owner HANGZHOU DPTECH TECH