Message matching method and device

A matching method and message technology, applied in the field of communication, can solve the problems of increasing the matching errors between messages and ACL entries, frequent changes in the arrangement of entries, etc., and achieve the effect of reducing the probability of matching errors

Active Publication Date: 2021-06-04
XINHUASAN INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] It can be seen that in the prior art, each time an ACL entry takes effect, the ACL entry will be saved in the corresponding position in the TCAM according to the priority of the ACL entry, and the arrangement of the entries stored in the TCAM will also be changed. Moreover, every time an ACL entry becomes invalid, the ACL entry in the TCAM will be deleted, which involves recycling of TCAM hardware entry resources. Probability that a file does not match an ACL entry

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
  • Message matching method and device
  • Message matching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to reduce the probability of message matching errors, the embodiments of the present invention provide a message matching method and device.

[0023] 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. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and examples.

[0025] The method ...

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 embodiment of the present invention provides a message matching method and device, which are applied to network equipment. The method includes: when the effective time of the ACL entry in the ACL starts, the ACL entry stored in the TCAM The corresponding state information is identified as effective; when the expiration time of the ACL entry begins, the state information corresponding to the ACL entry stored in the TCAM is marked as invalid; when the message is received, according to the The state information corresponding to each ACL table item stored in the TCAM determines that the state information in the ACL table item stored in the TCAM is the effective first ACL table item; the message is compared with the first ACL table item match. In this embodiment, when an ACL entry becomes effective or invalid, it is only necessary to modify the state information of the ACL entry without adding or deleting the ACL entry. When a message is received, the message can be Matching the ACL entries in effect in the TCAM can reduce the probability of incorrect matching between packets and ACL entries.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a message matching method and device. Background technique [0002] An access control list (Access Control List, ACL) is a collection of one or more rules for identifying packet flows. The rule here refers to the judgment statement describing the matching condition of the packet. The matching condition can be the source address, destination address, port number, etc. of the packet. ACL is saved in the network device, and when a packet is received, it can determine how to process the packet according to the rules saved in the ACL. [0003] Specifically, in the network device, ACL entries may be added to TCAM (Ternary Content Addressable Memory), so as to search large-scale ACL entries through the TCAM lookup technology. [0004] TCAM is a three-state content addressable memory, which is mainly used to quickly look up entries such as ACL and routing. The TCAM lookup techn...

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
CPCH04L63/101
Inventor 范路路程爱爽姚烁郭永亮马宏源
Owner XINHUASAN INFORMATION TECH CO LTD
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