A message sampling method and device

A packet sampling and packet technology, applied in the field of communication, can solve the problems of network equipment system resource waste and packet sampling ratio error, and achieve the effect of correct sampling ratio and avoiding waste.

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

AI Technical Summary

Problems solved by technology

Due to the random distribution of hash values, errors occur in the packet sampling ratio within a certain period of time, resulting in unnecessary waste of network equipment system resources

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 message sampling method and device
  • A message sampling method and device
  • A message sampling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] 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.

[0024] 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 message sampling method and device. A message sampling method, comprising: extracting feature information corresponding to a message received by a network device; calculating a hash value corresponding to the feature information according to a preset hash algorithm; Hash value entries, and update the number of new hash value entries; determine whether the number of updated new hash value entries meets the preset requirements; if the updated number of new hash value entries The received packets are marked as sampled packets if the preset requirements are met.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular to a message sampling method and device. Background technique [0002] With the explosive growth of data and the rapid development of big data technology, there are more and more demands for packet sampling and analysis from the packets received by network devices. Therefore, with the increasing performance, functions and bandwidth of network systems, , the network device is required to provide support for sampling a large number of packets. [0003] The current packet sampling is based on the packet quintuple, and the hash value corresponding to the packet quintuple is calculated. The hash value interval is composed of the hash value corresponding to the packet quintuple. The hash value interval is divided into hash value sampling interval and hash value non-sampling interval. The packet is sampled (for example, the packet is marked and forwarded to the pac...

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
CPCH04L69/22
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