IP address list matching method and device

An IP address and matching method technology, applied in the field of network communication, can solve the problems of reducing the memory usage efficiency, occupation, and storage space failure of network devices, and achieve the effect of improving the memory usage efficiency.

Inactive Publication Date: 2014-02-12
OPZOON TECH
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Because the existing IP address list matching method needs to occupy a large continuous storage space in the memory of the network device in order to ensure the matching efficiency, thereby reducing the memory usage efficiency of the network device, and there is a failure to allocate a large continuous storage space risks

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
  • IP address list matching method and device
  • IP address list matching method and device
  • IP address list matching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0053] figure 1 It is a flow chart of an IP address list matching method in an embodiment of the present invention; refer to figure 1 , the method includes the following steps:

[0054] S1: Obtain an IP address list, the IP address list is a doubly linked list structure (all IP addresses in the linked list are stored in the form of unsigned integers), and each node in the doubly linked list is sequentially connected according to the size of the IP address;

[0055] S2: Match the IP address to be matched with the IP address list to obtain a matching result.

[0056]Before performing a matching search on the IP address list, an IP address list needs to be generated first,...

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 an IP address list matching method and device, and relates to the technical field of network communication. The method comprises the following steps of S1, obtaining an IP address list, wherein the IP address list is of a two-way chain table structure, and nodes in the two-way chain table are sequentially connected according to the size sequence of IP addresses; S2, conducting matching on the IP addresses to be matched and the IP address list to obtain the matching result. The IP address list is arranged to be of the two-way chain table structure, the nodes in the two-way chain table are sequentially connected according to the size sequence of the IP addresses, due to the fact that the nodes in the two-way link table are in a discontinuous memory, the memory use efficiency of network equipment is improved, and risks caused by failure distribution of large segment continuous memory space are removed.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to an IP address list matching method and device. Background technique [0002] When a network device performs network communication, it often needs to match an IP address with an IP address list (for example, when the network device is a load balancing device, the load balancing device needs to match the IP address with the network address list of the Internet service provider ISP match to select the corresponding ISP). [0003] Because the existing IP address list matching method needs to occupy a large continuous storage space in the memory of the network device in order to ensure the matching efficiency, thereby reducing the memory usage efficiency of the network device, and there is a failure to allocate a large continuous storage space posed risks. Contents of the invention [0004] (1) Technical problems to be solved [0005] The technical problem to be sol...

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
Inventor 刘建兴
Owner OPZOON TECH
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