Method and system for address lookup in data communication

   
   

A system and method searches for a longest prefix match for an address having a number of binary bits among a plurality of entries having different lengths of bits. The entries are associated with a trie having a first number of trie nodes for L-bit trie match, wherein L is a predetermined integer greater than 1, and at least a first trie unit including at least one trie node for K.sub.1 -bit trie match and at least one trie node for K.sub.2 -bit trie match, wherein K.sub.1 and K.sub.2 are two different positive integers. Each of the entries corresponds to one trie node, and at least one trie node for L-bit trie match points to the first trie unit. Each trie node corresponds to a first, second, third, or fourth type of trie node. The method of searching first splits the address into at least a first key and a second key, each key including a predetermined number of address bits. Then, it determines a first matching node among the first number of trie nodes based on the address bits in the first key. Responsive to the first matching node corresponding to the first or second trie node type, the method selects the entry corresponding to the first matching node as the longest prefix match for the address. Also, responsive to the first matching node corresponding to the third or fourth trie node type, the method determines at least one second matching node in the first trie unit based upon the address bits in the second key.

Οι αναζητήσεις συστημάτων και μεθόδου ενός πιό μακροχρόνιου προθέματος ταιριάζουν με για μια διεύθυνση που έχει διάφορα δυαδικά κομμάτια μεταξύ μιας πολλαπλότητας των καταχωρήσεων που έχουν τα διαφορετικά μήκη των κομματιών. Οι καταχωρήσεις συνδέονται με ένα trie που έχει έναν πρώτο αριθμό κόμβων trie για την αντιστοιχία λ-κομματιών trie, όπου το λ είναι ένας προκαθορισμένος ακέραιος αριθμός μεγαλύτερος από 1, και τουλάχιστον μια πρώτη trie μονάδα συμπεριλαμβανομένου τουλάχιστον ενός κόμβου trie για K.sub.1 - αντιστοιχία κομματιών trie και τουλάχιστον ένας κόμβος trie για K.sub.2 - αντιστοιχία κομματιών trie, όπου K.sub.1 και K.sub.2 είναι δύο διαφορετικοί θετικοί ακέραιοι αριθμοί. Κάθε μια από τις καταχωρήσεις αντιστοιχεί σε έναν κόμβο trie, και τουλάχιστον έναν κόμβο trie για τα σημεία αντιστοιχιών λ-κομματιών trie στην πρώτη trie μονάδα. Κάθε κόμβος trie αντιστοιχεί σε έναν πρώτο, ένα δευτερόλεπτο, τρίτον, ή τέταρτο έναν τύπο κόμβου trie. Η μέθοδος αρχικά χωρίζει τη διεύθυνση σε ένα τουλάχιστον πρώτος βασικό και δεύτερο κλειδί, κάθε κλειδί συμπεριλαμβανομένου ενός προκαθορισμένου αριθμού κομματιών διευθύνσεων. Κατόπιν, καθορίζει έναν πρώτο κόμβο ταιριάσματος μεταξύ του πρώτου αριθμού κόμβων trie βασισμένων στα κομμάτια διευθύνσεων στο πρώτο κλειδί. Απαντητική στον πρώτο κόμβο ταιριάσματος που αντιστοιχεί στον πρώτο ή δεύτερο trie τύπο κόμβων, η μέθοδος επιλέγει την είσοδο που αντιστοιχεί στον πρώτο κόμβο ταιριάσματος ως πιό μακροχρόνια αντιστοιχία προθέματος για τη διεύθυνση. Επίσης, απαντητικός στον πρώτο κόμβο ταιριάσματος που αντιστοιχεί στο τρίτο ή τον τέταρτο trie τύπο κόμβων, η μέθοδος καθορίζει τουλάχιστον τον κόμβο ταιριάσματος ενός δευτερολέπτου στην πρώτη trie μονάδα που βασίζεται στα κομμάτια διευθύνσεων στο δεύτερο κλειδί.

 
Web www.patentalert.com

< System and method for implementing a natural language user interface

< Method and apparatus for longest match address lookup

> Voice dialing using speech models generated from text and/or speech

> Flexible configuration file manager

~ 00100