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

A method and device for storing, matching and updating name-based routing prefixes

A matching method and prefix matching technology, applied in the field of computer networks, can solve the problems that the matching time cannot be well adapted, and cannot meet the needs of high efficiency and high accuracy of routing addressing, so as to reduce the probability of conflict and achieve high efficiency. Prefix matching, the effect of saving search time

Active Publication Date: 2017-02-08
BEIJING UNIV OF POSTS & TELECOMM
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the existing routing addressing policy matching scheme can no longer meet the high efficiency and high accuracy requirements of routing addressing in the future network
Existing IP network prefix matching methods cannot adapt well to future content-centric networks in terms of memory and matching time

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 storing, matching and updating name-based routing prefixes
  • A method and device for storing, matching and updating name-based routing prefixes
  • A method and device for storing, matching and updating name-based routing prefixes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Such as figure 1 As shown, the flow chart of Bloom filter and Trie initialization provided by Embodiment 1 of the present invention is as follows:

[0044] Step 11, establishing four Bloom filters, which is a structural schematic diagram of the Bloom filter provided by the present invention. Each Bloom filter is a bitset of length m, and the bitset is initialized to 0. Calculate the number of layers L of the prefix name, if L is less than or equal to m, directly use the prefix name as the B-prefix, otherwise intercept the first m layers as the B-prefix, and the last few layers as the T-suffix. Assuming there are k hash functions, use k hash functions to calculate B-prefix into k values ​​v1=hash1(B-prefix), v2=hash2(B-prefix),...,vk=hashk(B- prefix), and finally set the values ​​of k positions of the Bloom filter corresponding to v1, v2, ..., vk to 1 to complete the insertion.

[0045] As mentioned above, the Bloom filter will conflict, that is, after calculating the...

Embodiment 2

[0049] Embodiment 2 of the present invention provides a name-based routing request name prefix matching method, the process is as follows Figure 4 As shown, the method is as follows:

[0050] Step 13. Calculate the number of layers L of the requested name, intercept the first layer, the first two layers, ..., the first min(L, m) layer of the requested name, and use them as B-prefix_1, B-prefix_2, ..., B- prefix_min(L,m), the corresponding remaining part is used as T-suffix_1, T-suffix_2,..., T-suffix_min(L,m), B-prefix_1, B-prefix_2,..., B-prefix_min(L, m) Search in the corresponding Bloom filter in parallel, and store the search results in the stack s from large to small.

[0051] Such as Figure 5 As shown in , it is a schematic diagram of an initialized Bloom filter provided in this embodiment. In the process of searching for the requested name "www / baidu / cn / news / china / jiangsu / ", for the convenience of expression, m=5, including the following steps:

[0052]Get the fir...

Embodiment 3

[0062] The embodiment of the present invention provides a method for updating the routing table according to the popularity of name prefixes, specifically as follows:

[0063] Step 16, saving the prefix names whose prefix matches are successful in the list L;

[0064] Step 17. When the number of entries in the list L is equal to X, take out the first layer of all prefix names as B-prefix, count the number of different B-prefixes, and save each B-prefix and its number sum to the map In the table s; then, take out the first two layers of all prefix names as B-prefix, repeat the above steps until the first n layers are taken, and n is the number of layers of the prefix name with the largest number of layers;

[0065] Step 18, define the B-prefix whose number exceeds Y as the B-prefix of the prefix name with relatively high popularity, and delete their records in the corresponding Bloom filter and Trie, and rebuild a new Bloom filter and Trie, inserting the more popular prefix na...

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 name-based routing prefix storage, matching and routing update method and device, which include a Bloom filter unit, a Trie unit and a popularity counting unit. Among them, the Bloom filter unit, according to the statistical characteristics of the name prefix, stores the first m layers of the name prefix, and performs fast prefix matching on the request name arriving at the router; the Trie unit is used to store the last n layers of the name prefix. The name is used for fast suffix query; the popularity counting unit is used to count the popularity of the requested name and change the storage structure of the Bloom filter and Trie accordingly. The present invention utilizes the low-probability conflict and low-memory characteristics of the Bloom filter, the rapidity of Trie search, parallel search, the statistical rules of real name prefixes, and the routing update based on popularity statistics to solve name-based routing in the new network system The addressing problem can meet the requirements of the future network with small memory consumption, fast matching speed, and high throughput.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a routing prefix matching method and device. Background technique [0002] With the development of the Internet, people's demand for data content itself is becoming stronger and stronger. In this context, the traditional host-centric network architecture has been difficult to meet the current development of the Internet, which led to the emergence of the next-generation network system CCN (Content-Centric Networking). Different from the traditional IP-based network system, CCN is a brand-new network system centered on content and information. It uses the name of the content required by network users to locate data resources instead of using directional IP addresses. Each data packet header in CCN carries the name of the requested content, and the forwarding table in the router is composed of several content name prefixes. When forwarding, the name of the requested cont...

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/741H04L45/74
CPCY02D30/50
Inventor 关建峰张宏科许长桥张萌权伟戴彧张朝贵韩冰洁何云航
Owner BEIJING UNIV OF POSTS & TELECOMM
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