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

Network protocol address-regional information matching method and system

A network protocol address and regional information technology, which is applied in the field of network protocol address-regional information matching methods and systems, can solve problems such as improving the matching efficiency of user IP matching regional information, and achieve the effect of reducing the number of searches and improving the matching efficiency.

Active Publication Date: 2017-09-01
SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method realizes the integration of relatively accurate geographical information in each IP database, so that the integrated IP database contains the most accurate geographical information, thus obtaining an integrated IP database that is superior to all original IP databases, but does not match the user IP Improve the matching efficiency of geographical information

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
  • Network protocol address-regional information matching method and system
  • Network protocol address-regional information matching method and system
  • Network protocol address-regional information matching method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following are specific embodiments of the present invention and in conjunction with the accompanying drawings, the technical solutions of the present invention are further described, but the present invention is not limited to these embodiments.

[0035] Such as figure 1 As shown, a network protocol address-regional information matching method includes the following steps,

[0036] (1) Obtain the user network protocol address that needs to match the regional information.

[0037] (2) Match the user's network protocol address through the method of sequentially searching the high-frequency region code table. If the matching is successful and the region information of the user's network protocol address is determined, the matching ends.

[0038] (3) Divide the user network protocol address from left to right into four fields: field 1 c1, field 2 c2, field 3 c3 and field 4 c4, and use the binary search algorithm to divide field 1 c1, field 2 c2, field 3 c3 and field 4 ...

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 relates to the field of massive data network protocol address-regional information matching technology, and particularly relates to a network protocol address-regional information matching method and system. The method comprises the following steps: (1) acquiring a user network protocol address that needs to match regional information; (2) matching the user network protocol address through a high-frequently used regional coding schedule according to a sequential lookup method; and (3) dividing the user network protocol address into a field 1, a field 2, a field 3 and a field 4 from left to right, and separately matching the four fields with a low-frequently used regional coding schedule through a binary lookup algorithm. According to the network protocol address-regional information matching method and system disclosed by the invention, the network protocol addresses in the high-frequently used regional coding schedule are sorted according to the frequency of usage and also adopt a sequential lookup matching algorithm; the network protocol addresses in the low-frequently used regional coding schedule are divided into the four fields, and perform matching for the network protocol address-regional information by adopting the binary lookup algorithm; and thus the number of lookups can be decreased in multiples, and the matching efficiency can be improved.

Description

technical field [0001] The invention relates to the technical field of massive data network protocol address-regional information matching, in particular to a network protocol address-regional information matching method and system. Background technique [0002] The regional information matching is performed on the data packets of the upstream files sent by the router, so that the data can be stored and researched by region, which can double the value of the data. The method currently used is to query online by obtaining the user network protocol address in the data packet. Although the accuracy is high, the efficiency is extremely low. [0003] Among them, the Internet protocol address (IP) is a protocol for interconnection between networks, that is, a protocol designed for computer networks to communicate with each other. In the Internet, it is a set of rules that enable all computer networks connected to the Internet to communicate with each other, and stipulates the rul...

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): H04L29/12
CPCH04L61/4552H04L61/5007H04L2101/604
Inventor 魏晓林
Owner SHANGHAI MUNICIPAL ELECTRIC POWER CO
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