ACL (Access Control List) rule management method and device

A management method and management device technology, applied in the field of ACL rule management, can solve problems such as system failure, complex rule types, mismatch between rule loading speed and rule aging speed, etc.

Active Publication Date: 2016-05-25
曙光网络科技有限公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. The types of rules are complex and require multiple linked lists to manage independently. Different linked lists have different aging times, and the order of loading rules is changeable, but the aging order is fixed and single, which will cause the aging accuracy of some aging linked lists to change when threads switch between multiple linked lists. Difference
[0006] 2. The number of rules increases, the rule loading speed does not match the rule aging speed, and the rule aging speed cannot keep up with the rule loading speed, which will still cause the aging accuracy of the added rules to become worse and worse
[0007] 3. There is no aging threshold control. Some aging chains reach the aging time almost at the same time, which will cause the aging thread to occupy the thread lock and cannot be released for a long time. When other threads such as query or add rules, the system cannot respond

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
  • ACL (Access Control List) rule management method and device
  • ACL (Access Control List) rule management method and device
  • ACL (Access Control List) rule management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0041] According to an embodiment of the present invention, a method for managing ACL rules is provided.

[0042] like figure 1 As shown, the management method of the ACL rule according to the embodiment of the present invention includes:

[0043] Step S101, establishing a hash chain according to the type of the ACL rule and the time when the ACL rule was added;

[0044] Step S103, obtaining the aging delay of the list headers of all hash chains;

[0045] Step S105, according to the aging ...

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 provides an ACL rule management method and device. The ACL rule management method comprises the following steps: establishing Hash chains according to a type of an ACL rule and an ACL rule adding rule; acquiring aging delay of chain table headers of all the Hash chains; and deleting a chain table header corresponding to maximum aging delay according to the aging delay. Through the scheme of the invention, rule loading in various ways can be coped flexibly, and aging of rules which need to be aged firstly can be performed firstly through aging management in the way no matter rule loading is multi-client simultaneous loading or different types of rules are switched in order or a rule capacity is increased.

Description

technical field [0001] The present invention relates to the technical field of communications, in particular to a method and device for managing ACL rules. Background technique [0002] The existing network environment is increasingly complex, and network devices with a small number of ACLs cannot meet the needs of actual network applications. Therefore, the demand for network devices supporting massive ACLs has gradually become prominent, and at this time, the management of massive rule tables has become a challenge. [0003] Most of the aging rule management methods commonly used in the industry are to string up the rule list in chronological order, periodically refresh and check the aging time of the rules, and complete the aging. The aging time refers to the effective time of matching ACL rules. However, this single management method will seriously affect the rule aging accuracy when the number of rules increases and the types of services increase. The aging accuracy re...

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): H04L29/06
CPCH04L63/101
Inventor 石娜
Owner 曙光网络科技有限公司
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