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

A method and device for counting hit times of rule entries

A technology of hit times and statistical methods, which is applied in the field of communication and can solve problems such as statistical errors in the number of hits of rule entries

Active Publication Date: 2021-01-26
杭州迪普信息技术有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since there is a certain delay in reading the historical hit times of rule entries from the external storage space, when a certain rule entry hits packets with a high frequency, for example, within a delay period, the packets hit the rule entry multiple times, In fact, it is only accumulated once based on the historical hit count of the rule entry, resulting in an error in the hit count statistics of the rule 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
  • A method and device for counting hit times of rule entries
  • A method and device for counting hit times of rule entries
  • A method and device for counting hit times of rule entries

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0027] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 application provides a method and a device for counting hit times of rule entries. A method for counting the number of hits of a rule entry, comprising: determining a rule entry that meets preset requirements, and counting the number of hits of the rule entry; storing the identifier and the number of hits of the rule entry in a local storage space middle; read the identification and the number of hits of the rule entry in the current round of local storage space, and determine the hit count increment of the rule entry in the current round; according to the identification of the rule entry, from the external storage space Reading the historical hit count of the rule table entry; adding the hit count increment to the historical hit count to obtain the current hit count of the rule table entry.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular to a method and device for counting hit times of rule entries. Background technique [0002] In the field of communication technology, whether it is a routing switching device or a network security device, there are usually a large number of rule entries (rule entries are used for packet forwarding, packet filtering, session management, etc.), such rule entries The order of magnitude is usually in the order of millions, tens of millions, and billions. In the actual application process of such rule entries, it is necessary to count the number of packet hits of the rule entries as an important management and maintenance means in the process of using and maintaining such rule entries. [0003] The current method for counting the number of hits of a rule entry is to directly accumulate the number of packet hits of a rule entry, specifically: when a rule entry hit...

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/26
CPCH04L43/16H04L43/50
Inventor 吴刚
Owner 杭州迪普信息技术有限公司