Entry adding method and switch

US9942113B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9942113-B2
Application numberUS-201514981412-A
CountryUS
Kind codeB2
Filing dateDec 28, 2015
Priority dateJun 28, 2013
Publication dateApr 10, 2018
Grant dateApr 10, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An entry adding method includes: a switch receives a first group entry sent by a controller, where the first group entry includes importance indication information of the first group entry, and a first action bucket; the switch determines that the first group entry cannot be added to a group table, and that a second group entry exits in the group table, the switch deletes the second group entry and adds the first group entry to the group table. Where importance of the second group entry is lower than importance of the first group entry; the second group entry includes a second action bucket; a quantity of first action buckets is not greater than the sum of a first value and a quantity of second action buckets; and the first value is a quantity of available action buckets in the group table.

First claim

Opening claim text (preview).

What is claimed is: 1. An entry adding method comprising: receiving, by a switch, a first group entry sent by a controller, where the first group entry carries importance indication information indicating importance of the first group entry, and the first group entry comprises at least one first action bucket; determining, by the switch, that the first group entry cannot be added to a group table; determining, by the switch, that a second group entry exists in the group table, where the second group entry carries importance indication information indicating importance of the second group entry, and the second group entry comprises at least one second action bucket; and deleting, by the switch, the second group entry and adding the first group entry to the group table, when the importance of the second group entry is lower than the importance of the first group entry and a quantity of the at least one first action buckets is less than the sum of a first value and a quantity of the at least one second action buckets, wherein the first value is a quantity of available action buckets in the group table. 2. The method according to claim 1 , where determining that the first group entry cannot be added to a group table comprises determining one of: no idle group entry exists in the group table, and that the quantity of first action buckets is greater than the first value. 3. The method according to claim 1 , where the importance indication information of the first group entry is carried in one of: a counters field, a group identifier field, and a newly-added field of the first group entry. 4. The method according to claim 1 , where before determining that the first group entry cannot be added to a group table, the method further comprises at least one of: when the switch determines that a quantity of idle group entries in the group table is greater than a preset group table margin upper limit, sending, by the switch, a first message to the controller, where the first message is used to indicate that the quantity of the idle group entries in the group table is greater than the group table margin upper limit; when the switch determines that the quantity of the idle group entries in the group table is less than a preset group table margin lower limit, sending, by the switch, a second message to the controller, where the second message is used to indicate that the quantity of the idle group entries in the group table is less than the group table margin lower limit; when the switch determines that remaining space of an action bucket in the group table is greater than a preset action bucket margin upper limit, sending, by the switch, a third message to the controller, where the third message is used to indicate that the remaining space of the action bucket in the group table is greater than the action bucket margin upper limit; and when the switch determines that the remaining space of the action bucket in the group table is less than a preset action bucket margin lower limit, sending, by the switch, a fourth message to the controller, where the fourth message is used to indicate that the remaining space of the action bucket in the group table is less than the action bucket margin lower limit. 5. An entry adding method comprising: receiving, by a switch, a first meter entry sent by a controller, where the first meter entry carries importance indication information indicating importance of the first meter entry, and the first meter entry comprises at least one first meter band; determining, by the switch, that the first meter entry cannot be added to a meter table; determining, by the switch, that a second meter entry exists in the meter table, and the second meter entry carries importance indication information indicating importance of the second meter entry, and the second meter entry comprises at least one second meter band; and deleting, by the switch, the second meter entry and adding the first meter entry to the meter table when the importance of the second meter entry is lower than the importance of the first meter entry and a quantity of the at least one first meter bands is less than the sum of a first value and a quantity of the at least one second meter bands, wherein the first value is a quantity of available meter bands in the meter table. 6. The method according to claim 5 , where determining that the first meter entry cannot be added to a meter table comprises determining one of: that no idle meter entry exists in the meter table, and, that the quantity of first meter bands is greater than the first value. 7. The method according to claim 5 , where the importance indication information of the first meter entry is carried in one of: a counters field, a meter identifier field, and a newly-added field of the first meter entry. 8. The method according to claim 5 , where before determining that the first meter entry cannot be added to a meter table, the method further comprises at least one of: when the switch determines that a quantity of idle meter entries in the meter table is greater than a preset meter table margin upper limit, sending, by the switch, a first message to the controller, where the first message is used to indicate that the quantity of the idle meter entries in the meter table is greater than the meter table margin upper limit; when the switch determines that the quantity of the idle meter entries in the meter table is less than a preset meter table margin lower limit, sending, by the switch, a second message to the controller, where the second message is used to indicate that the quantity of the idle meter entries in the meter table is less than the meter table margin lower limit; when the switch determines that remaining space of a meter band in the meter table is greater than a preset meter band margin upper limit, sending, by the switch, a third message to the controller, where the third message is used to indicate that the remaining space of the meter band in the meter table is greater than the meter band margin upper limit; and when the switch determines that the remaining space of the meter band in the meter table is less than a preset meter band margin lower limit, sending, by the switch, a fourth message to the controller, the fourth message is used to indicate that the remaining space of the meter band in the meter table is less than the meter band margin lower limit. 9. A switch comprising a transmitter, a receiver, a memory, and a processor, where the processor communicates to each of the transmitter, the receiver, and the memory, and where: the receiver is configured to receive a first group entry sent by a controller, where the first group entry carries importance indication information indicating importance of the first group entry, and the first group entry comprises a first action bucket; and the memory is configured to store program code, when the program code is executed, the processor is configured to provide the following operations: a) determining that the first group entry cannot be added to a group table, b) determining that a second group entry exists in the group table, where the second group entry carries importance indication information indicating importance of the second group entry, and the second group entry comprises a second action bucket; c) deleting the second group entry and adding the first group entry to the group table when the importance of the second group entry is lower than the importance of the first group entry and a quantity of first action buckets is less than the sum of a first value and a quantity of second action buckets, wherein the first value is a quantity of available action buckets in the group table. 10. The switch accor

Assignees

Inventors

Classifications

  • H04L43/04Primary

    Processing captured monitoring data, e.g. for logfile generation · CPC title

  • using leaky-bucket · CPC title

  • related to network traffic · CPC title

  • Hybrid transport · CPC title

  • Organization of routing tables · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9942113B2 cover?
An entry adding method includes: a switch receives a first group entry sent by a controller, where the first group entry includes importance indication information of the first group entry, and a first action bucket; the switch determines that the first group entry cannot be added to a group table, and that a second group entry exits in the group table, the switch deletes the second group entry…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L43/04. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Apr 10 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).