CN101834802A - Method and device for forwarding data packet - Google Patents
Method and device for forwarding data packet Download PDFInfo
- Publication number
- CN101834802A CN101834802A CN201010183334.9A CN201010183334A CN101834802A CN 101834802 A CN101834802 A CN 101834802A CN 201010183334 A CN201010183334 A CN 201010183334A CN 101834802 A CN101834802 A CN 101834802A
- Authority
- CN
- China
- Prior art keywords
- packet
- forwarding
- address
- destination address
- fib table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
- H04L45/74591—Address table lookup; Address filtering using content-addressable memories [CAM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
- H04L45/7453—Address table lookup; Address filtering using hashing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a method and a device for forwarding a data packet, relating to the field of communication and aiming to solve the problems of higher cost and lower performance which are caused by requiring to increase the number of TCAM (Temary Content Addressable Memory) or repeatedly access an external RAM (Random-Access Memory) under the condition of requiring to search a longer IP (Internet Protocol) address during forwarding the data packet in the prior art. The method comprises the following steps of: taking out a first preset field from a destination address of a received data packet as a key value; searching a preset TCAM key according to the key value to acquire an index value returned by the TCAM key; and searching a preset RIB (Forward Information Base) key according to the index value and a second preset field in the destination address of the data packet by using a preset algorithm to acquire a forwarding address of the data packet. The technical scheme of the invention can be applied to the table look-up of an IPv6 address by a router.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and device of transmitting packet.
Background technology
In the design of router and switch, must be to the data processing of tabling look-up, so that find the next node of packet.For example, in common routing device, after forwarding engine received the IP message, by extracting the purpose IP address of message, (Forward Information Base, FIB) searching of table obtained the index of next-hop ip address to finish forwarding information base.The rule of tabling look-up commonly used at present is longest prefix match (LongestPrefix Match, LPM) rule.
At internet protocol version 4 (Internet Protocol Version 4, IPv4) to internet protocol version 6 (Internet Protocol Version 6, IPv6) in the process of transition, the technology that the LPM of existing techniques in realizing IPv6 tables look-up has two classes: the one, adopt special-purpose ternary content addressable memory (Ternary ContentAddressable Memory, TCAM), can find content corresponding fast; The 2nd, adopt the special algorithm (as Trie algorithm or B-tree algorithm) of searching, utilize outer cheap Synchronous Dynamic Random Access Memory (the Synchronous Dynamic Random Access Memory of sheet, SDRAM) or static RAM (Static Random Access Memory SRAM) comes storage item FIB.Wherein, the principle of Trie algorithm is that the IP address is divided into a plurality of sections, each section go to visit external random access memory (RandomAccess Memory, RAM), the figure place of IP address is many more, segmentation is just many more, the number of times of visit external RAM is just many more; The B-tree algorithm basic principle is to adopt complete IP address multiple access external RAM, up to finding content corresponding.
In realizing process of the present invention, the inventor finds, (IPv4 is 32 because the IP address of IPv6 has increased a lot of positions than the IP address of IPv4, IPv6 is 128), therefore, if adopt above-mentioned first method to realize that the LPM of IPv6 tables look-up, certainly will to increase the number of TCAM chip, and the TCAM chip is very expensive at present, and power consumption is also very big.If adopt above-mentioned second method to realize that the LPM of IPv6 tables look-up, the number of times of visit external RAM will increase greatly, thereby the performance of tabling look-up is reduced.
Summary of the invention
Embodiments of the invention provide a kind of method and device of transmitting packet, can improve the performance of tabling look-up, reduce the cost of tabling look-up under the situation of searching long IP address.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of method of transmitting packet comprises:
From the destination address of received packet, take out the first predetermined field as key assignments;
Search the TCAM list item that sets in advance according to described key assignments, obtain the index value that described TCAM list item returns;
According to the predetermined field of second in the destination address of described index value and described packet, search the fib table item that sets in advance according to pre-defined algorithm, obtain the forwarding address of described packet.
A kind of device of transmitting packet comprises:
Extraction unit is used for taking out the first predetermined field as key assignments from the destination address of received packet;
First searches the unit, is used for searching the TCAM list item that sets in advance according to the key assignments that is extracted by described extraction unit, obtains the index value that described TCAM list item returns;
Second searches the unit, is used for searching the fib table item that sets in advance according to by the described first second predetermined field of searching the destination address of index value that the unit obtains and described packet according to pre-defined algorithm, obtains the forwarding address of described packet.
The method and the device of the forwarding packet that the embodiment of the invention provides, at first the predetermined field of first in the destination address of packet is adopted the look-up method of TCAM, obtain the index value that the second predetermined field is tabled look-up, adopt algorithm to table look-up by this index value again, obtain the forwarding address of final data bag.Owing to do not increase the number of TCAM, so cost can not increase; Because the second predetermined field is the part in the former destination address, more former destination address is short, so adopt algorithm to table look-up can not to cause the number of times of visit RAM more and cause the problem of decreased performance.The method and the device of the forwarding packet that the embodiment of the invention provides, TCAM tabled look-up to table look-up with algorithm to be combined, and compared with prior art, can improve the performance of tabling look-up, reduce the cost of tabling look-up under the situation of searching long IP address.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The method flow diagram of the forwarding packet that Fig. 1 provides for the embodiment of the invention;
The apparatus structure schematic diagram one of the forwarding packet that Fig. 2 provides for the embodiment of the invention;
The apparatus structure schematic diagram two of the forwarding packet that Fig. 3 provides for the embodiment of the invention;
Second structural representation of searching unit 203 in the device of the forwarding packet that Fig. 4 provides for the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not paying the every other embodiment that is obtained under the creative work prerequisite.
In order to solve prior art when transmitting packet, need search under the situation of long IP address, need to increase the number of TCAM, perhaps need repeatedly to visit external RAM and the problem that cost is higher, performance is lower that causes, the embodiment of the invention provides a kind of method and device of transmitting packet.
As shown in Figure 1, the method for the forwarding packet that the embodiment of the invention provides comprises:
In embodiments of the present invention, the destination address of described packet is purpose IP address, perhaps is the combination of purpose IP address and predetermined network number.Wherein, described purpose IP address is generally 128 IPv6 address, and described predetermined network number is that (Virtual Private Network, identification number VPN) are generally 16 to VPN (virtual private network).When it and purpose IP address combination, the destination address in the packet is 144.The predetermined field of in the embodiment of the invention first is the field of the preceding predetermined length of destination address, and the hypothesis goal address is 128 IPv6 address, then selects preceding 64 to table look-up as key assignments.Certainly, also can select preceding 32 or preceding 16, perhaps other arbitrarily rational field repeats no more as key assignments herein.
In embodiments of the present invention, the described TCAM list item that sets in advance can adopt TCAM realization in the sheet, also can adopt the outer TCAM of sheet to realize.TCAM is a kind of hardware unit that is used for searching list item specially, and its capacity of depositing list item is less, but performance is higher, adopts TCAM can find object content apace.Only use preceding 64 of target ip address to search list item as key assignments in the present embodiment, rather than in the picture prior art, adopt whole target ip address to search list item, like this, the number that just need not increase TCAM extraly is to increase the list item capacity.Adopt said method, if hit the TCAM list item, this TCAM list item can return an index value, is used for follow-up tabling look-up.
In embodiments of the present invention, the described second predetermined field is the residue field except the first predetermined field in the destination address of described packet.As described in step 101, if the first predetermined field is preceding 64 of target ip address, then the second predetermined field is remaining back 64 an of target ip address.The index value that the TCAM list item returns adopts pre-defined algorithm to realize to the searching of fib table item, to obtain final data bag forwarding address, the i.e. index of next-hop ip address with back 64 of purpose IP address.Described fib table sets in advance, and is stored among the RAM, and this RAM can adopt the RAM realization in the sheet, also can adopt the outer RAM of sheet to realize, also can be that the outer RAM of ram in slice and sheet mixes realization.Described pre-defined algorithm can be the Trie algorithm, also can be the B-Tree algorithm.
In the embodiment of the invention, specifically there are two kinds of methods to realize searching: method one to fib table, 64 constitute a new key assignments (being called second key assignments) together behind index value that the TCAM list item is returned and the purpose IP address, search whole fib table item with this key assignments, obtain final data bag forwarding address.In the method, the index value that the TCAM list item is returned is generally 16bit.Method two, the index value that the TCAM list item returns limit the seek scope of fib table item as a parameter.At this moment, directly back 64 with purpose IP address search the fib table item as key assignments (being called the 3rd key assignments) in above-mentioned seek scope, obtain final data bag forwarding address.
Further, in embodiments of the present invention, if do not hit described TCAM list item when tabling look-up for the first time, then with the field of whole purpose IP address as key assignments, directly adopt the Trie algorithm in RAM, perhaps the B-Tree algorithm removes to search the fib table item, obtains the forwarding address of packet.
The method of the forwarding packet that the embodiment of the invention provides, at first the predetermined field of first in the destination address of packet is adopted the look-up method of TCAM, obtain the index value that the second predetermined field is tabled look-up, adopt algorithm to table look-up by this index value again, obtain the forwarding address of final data bag.Owing to do not increase the number of TCAM, so cost can not increase; Because the second predetermined field is the part in the former destination address, more former destination address is short, so adopt algorithm to table look-up can not to cause the number of times of visit RAM more and cause the problem of decreased performance.The method of the forwarding packet that the embodiment of the invention provides, TCAM tabled look-up to table look-up with algorithm to be combined, and compared with prior art, can improve the performance of tabling look-up, reduce the cost of tabling look-up under the situation of searching long IP address.
As shown in Figure 2, the embodiment of the invention also provides a kind of device of transmitting packet, comprising:
Further, as shown in Figure 3, described device also comprises:
The 3rd searches unit 204, is used for searching the fib table item that sets in advance according to the entire fields of described destination address according to pre-defined algorithm when not hitting described TCAM list item, obtains the forwarding address of described packet.
Need to prove, when not hitting described TCAM list item and second and search the unit and support two kinds of patterns (complete IPv6 pattern and IPv6 address space left pattern), also can search the unit and search the fib table item that sets in advance according to pre-defined algorithm according to the entire fields of described destination address with second.
Further, as shown in Figure 4, described second searches unit 203 comprises:
Acquiring unit 2033 is used for according to searching the seek scope that index value that unit 202 obtains obtains described fib table item by described first; Second searches subelement 2034, be used for the second predetermined field with the destination address of described packet as the 3rd key assignments, in the seek scope of the fib table item that is obtained by described acquiring unit 2033, search described fib table item, obtain the forwarding address of described packet according to described pre-defined algorithm.
In embodiments of the present invention, described pre-defined algorithm is the Trie algorithm, perhaps the B-tree algorithm.
The above specific implementation of installing each unit can repeat no more referring to the described method part of step 101~step 103 herein.
The device of the forwarding packet that the embodiment of the invention provides, at first the predetermined field of first in the destination address of packet is adopted the look-up method of TCAM, obtain the index value that second field is tabled look-up, adopt algorithm to table look-up by this index value again, obtain the forwarding address of final data bag.Owing to do not increase the number of TCAM, so cost can not increase; Because the second predetermined field is the part in the former destination address, more former destination address is short, so adopt algorithm to table look-up can not to cause the number of times of visit RAM more and cause the problem of decreased performance.In the embodiment of the invention, according to the stratification characteristics of " IPv6 polymerizable global unicast address ", N bar mask finally can be grouped to the IPv6 route of 1 48bit length or 64bit length greater than 64 IPv6 route.Like this,, only need take a list item (N:1 convergence), still need N list item, but each list item is all than complete 128bit IPv6 list item short (for example remaining list item is 64bit) in second lookup unit in first lookup unit at this N bar route.The device of the forwarding packet that the embodiment of the invention provides combines TCAM table look-up device and algorithm table look-up device, compared with prior art, can improve the performance of tabling look-up, reduce the cost of tabling look-up under the situation of searching long IP address.
Technical scheme provided by the invention can be applied in router in the tabling look-up of IPv6 address.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, as ROM/RAM, magnetic disc or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.
Claims (12)
1. a method of transmitting packet is characterized in that, comprising:
From the destination address of received packet, take out the first predetermined field as key assignments;
Search the TCAM list item that sets in advance according to described key assignments, obtain the index value that described TCAM list item returns;
According to the predetermined field of second in the destination address of described index value and described packet, search the fib table item that sets in advance according to pre-defined algorithm, obtain the forwarding address of described packet.
2. the method for forwarding packet according to claim 1 is characterized in that, the residue field in the destination address that the described second predetermined field is described packet except the first predetermined field.
3. the method for forwarding packet according to claim 1 is characterized in that, described method also comprises:
If do not hit described TCAM list item, search the fib table item that sets in advance according to the entire fields of described destination address according to pre-defined algorithm, obtain the forwarding address of described packet.
4. the method for forwarding packet according to claim 1, it is characterized in that, describedly search the fib table item that sets in advance according to the predetermined field of second in the destination address of described index value and described packet according to pre-defined algorithm, the method for obtaining the forwarding address of described packet comprises:
The predetermined field of in the destination address of described index value and described packet second is combined, constitute second key assignments; Search described fib table item according to described second key assignments according to described pre-defined algorithm, obtain the forwarding address of described packet; Perhaps,
Obtain the seek scope of described fib table item according to described index value; The predetermined field of in the destination address of described packet second as the 3rd key assignments, is searched described fib table item according to described pre-defined algorithm in the seek scope of described fib table item, obtain the forwarding address of described packet.
5. the method for forwarding packet according to claim 1 is characterized in that,
The described TCAM list item that sets in advance adopts TCAM realization in the sheet, perhaps, adopts the outer TCAM of sheet to realize.
6. the method for forwarding packet according to claim 1 is characterized in that,
The described fib table item that sets in advance is stored in the interior random access memory of sheet, perhaps, is stored in the outer random access memory of sheet.
7. the method for forwarding packet according to claim 1 is characterized in that, the destination address of described packet comprises:
Purpose IP address, perhaps, the combination of described purpose IP address and predetermined network number.
8. the method for forwarding packet according to claim 1 is characterized in that,
The first predetermined field of taking out from described destination address is the field of the preceding predetermined length of described destination address.
9. according to the method for claim 1 or 3 described forwarding packets, it is characterized in that described pre-defined algorithm comprises:
Trie algorithm, perhaps B-tree algorithm.
10. a device of transmitting packet is characterized in that, comprising:
Extraction unit is used for taking out the first predetermined field as key assignments from the destination address of received packet;
First searches the unit, is used for searching the TCAM list item that sets in advance according to the key assignments that is extracted by described extraction unit, obtains the index value that described TCAM list item returns;
Second searches the unit, is used for searching the fib table item that sets in advance according to by the described first second predetermined field of searching the destination address of index value that the unit obtains and described packet according to pre-defined algorithm, obtains the forwarding address of described packet.
11. the device of forwarding packet according to claim 10 is characterized in that, described device also comprises:
The 3rd searches the unit, is used for searching the fib table item that sets in advance according to the entire fields of described destination address according to pre-defined algorithm when not hitting described TCAM list item, obtains the forwarding address of described packet.
12. the device of forwarding packet according to claim 10 is characterized in that, described second searches the unit comprises:
Generation unit is used for constituting second key assignments with being combined by the described first second predetermined field of searching the destination address of index value that the unit obtains and described packet; First searches subelement, is used for searching described fib table item according to second key assignments that is generated by described generation unit according to described pre-defined algorithm, obtains the forwarding address of described packet; Perhaps,
Acquiring unit is used for according to searching the seek scope that index value that the unit obtains obtains described fib table item by described first; Second searches subelement, be used for the second predetermined field with the destination address of described packet as the 3rd key assignments, in by the seek scope of the fib table item that described acquiring unit obtained, search described fib table item, obtain the forwarding address of described packet according to described pre-defined algorithm.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010183334.9A CN101834802B (en) | 2010-05-26 | 2010-05-26 | Method and device for forwarding data packet |
US13/110,694 US8879555B2 (en) | 2010-05-26 | 2011-05-18 | Method and apparatus for forwarding packets by obtaining addresses of the packets using a preset forwarding information base entry |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010183334.9A CN101834802B (en) | 2010-05-26 | 2010-05-26 | Method and device for forwarding data packet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101834802A true CN101834802A (en) | 2010-09-15 |
CN101834802B CN101834802B (en) | 2012-08-08 |
Family
ID=42718735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010183334.9A Active CN101834802B (en) | 2010-05-26 | 2010-05-26 | Method and device for forwarding data packet |
Country Status (2)
Country | Link |
---|---|
US (1) | US8879555B2 (en) |
CN (1) | CN101834802B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457855A (en) * | 2012-06-04 | 2013-12-18 | 中兴通讯股份有限公司 | Method and device for establishing classless inter-domain routing table and forwarding messages |
CN103825824A (en) * | 2014-03-04 | 2014-05-28 | 华为技术有限公司 | Message processing method and message processing device |
WO2014201902A1 (en) * | 2013-06-19 | 2014-12-24 | 中兴通讯股份有限公司 | Tcam-based table query processing method and apparatus |
WO2015032216A1 (en) * | 2013-09-09 | 2015-03-12 | 中兴通讯股份有限公司 | Routing lookup method and device, and construction method for b-tree structure |
CN104753788A (en) * | 2013-12-25 | 2015-07-01 | 深圳市中兴微电子技术有限公司 | Data forwarding method and device based on index allocation |
WO2016029684A1 (en) * | 2014-08-25 | 2016-03-03 | 深圳市中兴微电子技术有限公司 | Packet processing and forwarding device and method, and computer storage medium |
CN105516001A (en) * | 2014-09-22 | 2016-04-20 | 中兴通讯股份有限公司 | Method and device for controlling data recovery after soft reset, and packet transport network equipment |
CN107547407A (en) * | 2017-09-15 | 2018-01-05 | 新华三技术有限公司 | Message transmitting method, device and realization device |
WO2018192587A1 (en) * | 2017-04-21 | 2018-10-25 | 中兴通讯股份有限公司 | Table lookup method and device, and computer storage medium |
CN110932972A (en) * | 2020-01-23 | 2020-03-27 | 飞诺门阵(北京)科技有限公司 | Data transmission method and device and electronic equipment |
CN111190545A (en) * | 2019-12-27 | 2020-05-22 | 芯启源(南京)半导体科技有限公司 | Method for carrying out LPM rule compression storage on trie structure based on software implementation |
CN111324382A (en) * | 2018-12-13 | 2020-06-23 | 华为技术有限公司 | Instruction processing method and chip |
US11706097B2 (en) | 2020-01-23 | 2023-07-18 | Novnet Computing System Tech Co., Ltd. | Task processing method applied to network topology, electronic device and storage medium |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130077530A1 (en) * | 2011-09-28 | 2013-03-28 | Cisco Technology, Inc. | Scaling IPv6 on Multiple Devices Virtual Switching System with Port or Device Level Aggregation |
US8798066B2 (en) * | 2012-09-27 | 2014-08-05 | Avaya Inc. | Method for IPv6 longest prefix match |
US10659362B1 (en) * | 2016-06-03 | 2020-05-19 | Arista Networks, Inc. | Traffic forwarding in large-scale networks |
CN109921995B (en) * | 2017-12-13 | 2021-08-13 | 华为技术有限公司 | Method for configuring address table, FPGA and network equipment applying FPGA |
US10397115B1 (en) | 2018-04-09 | 2019-08-27 | Cisco Technology, Inc. | Longest prefix matching providing packet processing and/or memory efficiencies in processing of packets |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1441579A (en) * | 2003-03-28 | 2003-09-10 | 清华大学 | TCAM high-speed search method and system supporting multiple nexthop |
CN101021858A (en) * | 2007-01-29 | 2007-08-22 | 华为技术有限公司 | Data storing method and device, and data seeking, adding and deleting method |
US20090150603A1 (en) * | 2007-12-07 | 2009-06-11 | University Of Florida Research Foundation, Inc. | Low power ternary content-addressable memory (tcams) for very large forwarding tables |
CN101494603A (en) * | 2009-01-13 | 2009-07-29 | 南京邮电大学 | Paralleling high-speed route addressing method for 128 bits Internet address |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5940597A (en) * | 1995-01-11 | 1999-08-17 | Sony Corporation | Method and apparatus for periodically updating entries in a content addressable memory |
FR2761843B1 (en) * | 1997-03-12 | 2002-05-03 | Mannesmann Ag | METHOD FOR OPERATING PRIVATE VIRTUAL NETWORKS IN A COMMON NETWORK FOR SWITCHING DATA PACKETS AND DEVICE FOR CARRYING OUT SAID METHOD |
US6553002B1 (en) * | 1997-08-29 | 2003-04-22 | Ascend Communications, Inc. | Apparatus and method for routing data packets through a communications network |
US7356033B2 (en) * | 2002-11-21 | 2008-04-08 | Lucent Technologies Inc. | Method and apparatus for performing network routing with use of power efficient TCAM-based forwarding engine architectures |
US7702882B2 (en) * | 2003-09-10 | 2010-04-20 | Samsung Electronics Co., Ltd. | Apparatus and method for performing high-speed lookups in a routing table |
US7440460B2 (en) * | 2004-03-05 | 2008-10-21 | Samsung Electronics Co., Ltd. | Apparatus and method for forwarding mixed data packet types in a high-speed router |
US7564841B2 (en) * | 2004-03-05 | 2009-07-21 | Samsung Electronics Co., Ltd. | Apparatus and method for performing forwarding table searches using consecutive symbols tables |
JP4336625B2 (en) * | 2004-06-17 | 2009-09-30 | 株式会社日立製作所 | Packet transfer device |
US7707217B2 (en) * | 2005-01-24 | 2010-04-27 | 3Com Corporation | Trie search engines and ternary CAM used as pre-classifier |
JP4556761B2 (en) * | 2005-05-06 | 2010-10-06 | 株式会社日立製作所 | Packet transfer device |
US7792812B1 (en) * | 2006-03-31 | 2010-09-07 | Netlogic Microsystems, Inc. | Search engine devices that support high speed parallel decoding of digital search tries |
US7706375B2 (en) * | 2007-02-06 | 2010-04-27 | Alcatel Lucent | System and method of fast adaptive TCAM sorting for IP longest prefix matching |
US8483096B2 (en) * | 2008-07-22 | 2013-07-09 | The Regents Of The University Of California | Scalable commodity data center network architecture |
US7936754B2 (en) * | 2008-12-12 | 2011-05-03 | At&T Intellectual Property I, L.P. | Methods and apparatus to dynamically store network routes for a communication network |
US7986696B1 (en) * | 2009-02-12 | 2011-07-26 | Compass Electro-Optical Systems | Method and apparatus for longest prefix matching |
-
2010
- 2010-05-26 CN CN201010183334.9A patent/CN101834802B/en active Active
-
2011
- 2011-05-18 US US13/110,694 patent/US8879555B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1441579A (en) * | 2003-03-28 | 2003-09-10 | 清华大学 | TCAM high-speed search method and system supporting multiple nexthop |
CN101021858A (en) * | 2007-01-29 | 2007-08-22 | 华为技术有限公司 | Data storing method and device, and data seeking, adding and deleting method |
US20090150603A1 (en) * | 2007-12-07 | 2009-06-11 | University Of Florida Research Foundation, Inc. | Low power ternary content-addressable memory (tcams) for very large forwarding tables |
CN101494603A (en) * | 2009-01-13 | 2009-07-29 | 南京邮电大学 | Paralleling high-speed route addressing method for 128 bits Internet address |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457855B (en) * | 2012-06-04 | 2018-08-10 | 中兴通讯股份有限公司 | Classless inter-domain routing table is established and the method and apparatus of message forwarding |
CN103457855A (en) * | 2012-06-04 | 2013-12-18 | 中兴通讯股份有限公司 | Method and device for establishing classless inter-domain routing table and forwarding messages |
WO2014201902A1 (en) * | 2013-06-19 | 2014-12-24 | 中兴通讯股份有限公司 | Tcam-based table query processing method and apparatus |
US9871727B2 (en) | 2013-09-09 | 2018-01-16 | Sanechips Technology Co., Ltd. | Routing lookup method and device and method for constructing B-tree structure |
WO2015032216A1 (en) * | 2013-09-09 | 2015-03-12 | 中兴通讯股份有限公司 | Routing lookup method and device, and construction method for b-tree structure |
CN104426770A (en) * | 2013-09-09 | 2015-03-18 | 中兴通讯股份有限公司 | Routing lookup method, routing lookup device and method for constructing B-Tree tree structure |
CN104753788A (en) * | 2013-12-25 | 2015-07-01 | 深圳市中兴微电子技术有限公司 | Data forwarding method and device based on index allocation |
WO2015131720A1 (en) * | 2014-03-04 | 2015-09-11 | 华为技术有限公司 | Packet processing method and device |
CN103825824A (en) * | 2014-03-04 | 2014-05-28 | 华为技术有限公司 | Message processing method and message processing device |
WO2016029684A1 (en) * | 2014-08-25 | 2016-03-03 | 深圳市中兴微电子技术有限公司 | Packet processing and forwarding device and method, and computer storage medium |
CN105516001A (en) * | 2014-09-22 | 2016-04-20 | 中兴通讯股份有限公司 | Method and device for controlling data recovery after soft reset, and packet transport network equipment |
WO2018192587A1 (en) * | 2017-04-21 | 2018-10-25 | 中兴通讯股份有限公司 | Table lookup method and device, and computer storage medium |
CN107547407A (en) * | 2017-09-15 | 2018-01-05 | 新华三技术有限公司 | Message transmitting method, device and realization device |
CN107547407B (en) * | 2017-09-15 | 2021-03-09 | 新华三技术有限公司 | Message transmission method, device and implementation device |
CN111324382A (en) * | 2018-12-13 | 2020-06-23 | 华为技术有限公司 | Instruction processing method and chip |
US11442735B2 (en) | 2018-12-13 | 2022-09-13 | Huawei Technologies Co., Ltd. | Search instruction to access a TCAM and memory to return a program counter value from the TCAM |
CN111324382B (en) * | 2018-12-13 | 2023-03-03 | 华为技术有限公司 | Instruction processing method and chip |
CN111190545A (en) * | 2019-12-27 | 2020-05-22 | 芯启源(南京)半导体科技有限公司 | Method for carrying out LPM rule compression storage on trie structure based on software implementation |
CN111190545B (en) * | 2019-12-27 | 2022-09-27 | 芯启源(南京)半导体科技有限公司 | Method for carrying out LPM rule compression storage on trie structure based on software implementation |
CN110932972B (en) * | 2020-01-23 | 2020-06-05 | 飞诺门阵(北京)科技有限公司 | Data transmission method and device and electronic equipment |
CN110932972A (en) * | 2020-01-23 | 2020-03-27 | 飞诺门阵(北京)科技有限公司 | Data transmission method and device and electronic equipment |
US11706097B2 (en) | 2020-01-23 | 2023-07-18 | Novnet Computing System Tech Co., Ltd. | Task processing method applied to network topology, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
US8879555B2 (en) | 2014-11-04 |
CN101834802B (en) | 2012-08-08 |
US20110292943A1 (en) | 2011-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101834802B (en) | Method and device for forwarding data packet | |
US20190116220A1 (en) | Neighbor Discovery for IPV6 Switching Systems | |
CN101621414B (en) | Method and apparatus for discovering network resource and topology | |
US9537771B2 (en) | Exact match hash lookup databases in network switch devices | |
US20130034096A1 (en) | Routing table establishment method and device and routing table lookup method and device | |
US7630367B2 (en) | Approach for fast IP address lookups | |
CN101505279B (en) | Route searching method and apparatus | |
CN108989209B (en) | BIER MPLS network equipment, message forwarding method and medium thereof | |
CN107547407B (en) | Message transmission method, device and implementation device | |
US8848707B2 (en) | Method for IP longest prefix match using prefix length sorting | |
US9729447B2 (en) | Apparatus and method for processing alternately configured longest prefix match tables | |
US9183322B2 (en) | Increasing internet protocol version 6 host table scalability in top of rack switches for data center deployments | |
EP3280104B1 (en) | Ip routing lookup | |
CN102291472A (en) | Network address lookup method and device | |
US9654397B2 (en) | Method for looking up data in hash tables and associated network device | |
US20190199633A1 (en) | Method and apparatus for forwarding in information centric networking | |
US20230041395A1 (en) | Method and Device for Processing Routing Table Entries | |
CN102164080B (en) | Routing address inquiry method and device | |
EP4047889A1 (en) | Method and apparatus for processing forwarding entry | |
US20130077530A1 (en) | Scaling IPv6 on Multiple Devices Virtual Switching System with Port or Device Level Aggregation | |
US20060149853A1 (en) | Maskable content addressable memory | |
EP3269101B1 (en) | Generating a hash table in accordance with a prefix length | |
CN104394081B (en) | A kind of data processing method and device | |
CN107204926B (en) | Rapid route searching method for preprocessing cache | |
EP3319279B1 (en) | Ip routing lookup |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |