Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for quickly classifying IP addresses

A technology of IP address and rapid classification, which is applied in the Internet field to achieve the effect of reducing the number of queries

Active Publication Date: 2019-01-18
CHINA INFOMRAITON CONSULTING & DESIGNING INST CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And in actual application scenarios, there may be many entries in the subnet table of AS, so querying the AS to which an IP belongs may require many times of retrieval to get the result
Even if the model is used to estimate a fuzzy interval first, and then reduce the range before searching, it may still need to query multiple times to get the final result

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
  • Method for quickly classifying IP addresses
  • Method for quickly classifying IP addresses
  • Method for quickly classifying IP addresses

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0043] The invention discloses a method for rapidly classifying IP addresses. The specific steps of the method are as follows:

[0044]Step 1. The format of the unified network segment and its identification is in the form of a key-value pair, that is, the network segment is identified as a network segment in the form of xx.xx.xx.xx~xx.xx.xx.xx of N (that is, xx.xx. xx.xx~xx.xx.xx.xx:N) to xx.xx.xx.xx / X:N (hereinafter referred to as subnet). Among them, xx.xx.xx.xx is the IPV4 address in dotted decimal notation, X is the mask length, 1≤X≤32, xx.xx.xx.xx / X indicates the subnet, N indicates the identifier of the network segment, xx.xx.xx.xx / X:N represents a key-value pair, and ":" is the symbol between the key and the value in the key-value pair. The content in front of it is the key, and the content in the back is the value. For example, if figure 1 S...

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 discloses a method for quickly classifying IP addresses, and the method comprises the following steps: 1, unifying the format of a network segment and its identifier as a key-value pair;2, performing the equivalent splitting of the key-value pair at step 1 according to a rule and merging the split parts into a key-value pair group: setting the length of a subnet mask as X, wherein Xis between 0 and 32, and according to the difference of the length X, the subnet is split based on the following rules: splitting the subnet into 232-X 32-bit subnets if X is between 25 and 32; splitting the subnet into 224-X 24-bit subnets if X is between 17 and 24; splitting the subnet into 216- X 16-bit subnets if X is between 9 and 16; splitting the subnet into 28-X 8-bit subnets if X is between 1 and 8; 3, sequentially querying a target IP according to the codes based on the key value at step 2.

Description

technical field [0001] The invention belongs to the technical field of the Internet, in particular to a method for rapidly classifying IP addresses. Background technique [0002] An autonomous system (Autonomous System), referred to as AS, refers to a group of networks that use a unified internal routing protocol. Generally, if the network scale of a unit is relatively large and there are multiple exits, it will usually be established as an autonomous system. Different AS numbers are planned for each autonomous system, and many non-duplicate subnet groups are planned for each AS number. For example, domestic operators plan different AS numbers for MANs, IDC outlets, and large units in different cities. In the data center computer room, we can obtain all flow data packets under the device through the netflow protocol. Each flow is marked with information such as source address IP, destination address IP, flow size, inbound and outbound port numbers, etc. We often need to ch...

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 Applications(China)
IPC IPC(8): H04L12/741H04L45/74
CPCH04L45/74H04L45/745
Inventor 王跃庆鞠卫国张云帆程强张舒
Owner CHINA INFOMRAITON CONSULTING & DESIGNING INST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products