Method and device for maintaining GRE tunnel

The invention discloses a method and a device for maintaining a GRE tunnel. The method comprises the steps of adjusting the number of caches of the GRE tunnel in real time based on a packet loss probability of the GRE tunnel; adjusting the storage structure of each cache of the GRE tunnel based on t...

Full description

Saved in:
Bibliographic Details
Main Authors LIN WENFU, TANG XINMIN, SHEN ZHIJIE, JING XIAOJUN, YANG QIANG
Format Patent
LanguageChinese
English
Published 24.05.2017
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a method and a device for maintaining a GRE tunnel. The method comprises the steps of adjusting the number of caches of the GRE tunnel in real time based on a packet loss probability of the GRE tunnel; adjusting the storage structure of each cache of the GRE tunnel based on the disorder degree of the data packets of the GRE tunnel; adjusting a lookup algorithm of the GRE tunnel based on the disorder degree and the caches; and carrying out an elimination mechanism of the GRE tunnel based on the activity time of the GRE tunnel. The method and the device for maintaining the GRE tunnel have the beneficial effects that the size of each cache in the tunnel can be adjusted adaptively while a large number of GRE tunnels are maintained, a disorder algorithm is switched automatically based on the disorder degree of the tunnels, rearrangement of the disorder can be accordingly finished in an accelerated manner, a system memory can be kept in a balanced state through an effective GRE tunnel elimin
Bibliography:Application Number: CN20151786304