WO2015074423A1 - Procédé de traitement de transfert de paquet de données dans une passerelle d'accès - Google Patents
Procédé de traitement de transfert de paquet de données dans une passerelle d'accès Download PDFInfo
- Publication number
- WO2015074423A1 WO2015074423A1 PCT/CN2014/081423 CN2014081423W WO2015074423A1 WO 2015074423 A1 WO2015074423 A1 WO 2015074423A1 CN 2014081423 W CN2014081423 W CN 2014081423W WO 2015074423 A1 WO2015074423 A1 WO 2015074423A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- access gateway
- terminal
- mac
- forwarding table
- mac forwarding
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 10
- 230000005540 biological transmission Effects 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims description 24
- 230000032683 aging Effects 0.000 claims description 11
- 238000005538 encapsulation Methods 0.000 abstract description 3
- 238000005457 optimization Methods 0.000 abstract description 3
- 230000003068 static effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/14—Multichannel or multilink protocols
-
- 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/66—Layer 2 routing, e.g. in Ethernet based MAN's
-
- 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
Definitions
- the present invention relates to the field of network communication technologies, and in particular, to a method for forwarding data packets in an access gateway. Background technique
- the first is to establish a dynamic MAC forwarding table by flooding, and the second is to manually configure a static MAC forwarding table.
- the dynamic MAC forwarding table established in the flooding mode is generally used in a local area network. If it is applied to a large-scale network, it may easily cause a broadcast storm on the network.
- the manually configured static MAC forwarding table is applied to the carrier-class network. Although it avoids the broadcast storm of the network, because it completely uses the manual establishment of the static MAC forwarding table and disables the MAC self-learning function, the number of MAC forwarding tables that need to be stored is required. It is relatively large, which greatly reduces the search efficiency of the network for the MAC forwarding table, thereby reducing the forwarding efficiency of the packet.
- the switch sends packets between the servers covered by the network.
- the switch receives a packet, learns the source MAC address, generates a MAC forwarding table, and then searches for the MAC address through the destination MAC address and the broadcast domain ID in the packet. Published.
- the corresponding entry is found in the MAC forwarding table, the corresponding port of the entry is the outgoing port of the packet. If the entry cannot be found, the entire packet is flooded in the broadcast domain.
- Most of the current networks adopt this method.
- the access gateway can identify the uplink and downlink data according to the registration information of the terminal, and then optimize the forwarding processing of the data packet. Take advantage of this.
- the patent application number "201110373358.5” discloses a MAC address table management method and device.
- the aging time is set differently, and the attacker's MAC address information is deleted in the shortest time. It does not affect the MAC address information of the normal user node.
- This method can minimize the harm caused by the attack, but cannot distinguish the uplink and downlink data of the registered terminal and the unregistered terminal, and cannot optimize the transmission according to the direction of the data.
- the present invention provides a method for forwarding data packets in an access gateway, including: Step 1): The access gateway receives the data packet; Step 2), the access gateway according to the source MAC address of the packet The address learning is performed to construct a MAC forwarding table, where the packet is a data packet received in step 1) or a registration request packet of the terminal; the MAC forwarding table includes a MAC forwarding table of the registered terminal, Registering the MAC forwarding table of the terminal; Step 3), the access gateway queries whether the destination MAC address of the data packet received in step 1) is in the MAC forwarding table of the registered terminal, and if yes, go to step 4) Otherwise, go to step 5); Step 4), the access gateway determines that the current data packet is the downlink data of the registered terminal, and performs transmission optimization according to the
- Step 5 the access gateway continues to query the destination MAC address of the data packet. No terminal is not registered in the MAC forwarding table, if yes, then go to step 6), otherwise, go to step 7);
- Step 6 the access gateway forwards the data packet to the corresponding port according to the corresponding MAC forwarding entry in the MAC forwarding table of the unregistered terminal, and then proceeds to step 8);
- Step 7) The access gateway broadcasts the data packet to all ports except the port that receives the data packet.
- the step 2) includes:
- Step 2-1-1 the access gateway receives a registration request message of the terminal;
- the destination MAC address of the registration request message is an access gateway;
- Step 2-1-2 the access gateway queries, according to the registration request message received in step 2-1-1), whether the MAC address of the terminal is already in the MAC forwarding table of the registered terminal, and if yes, then Step 2-1-4), otherwise perform steps 2-1-3);
- Step 2-1-3 the access gateway adds the MAC address of the terminal and the channel interface available to the terminal as an entry to the MAC forwarding table of the registered terminal, and then proceeds to step 2-1-5);
- Step 2-1-4 the access gateway updates the MAC forwarding entry corresponding to the registered terminal MAC in the MAC forwarding table of the registered terminal;
- Step 2-1-5 processing ends
- the access gateway periodically checks all the entries in the registered MAC forwarding table, and deletes the entries that have not been updated by the preset aging time.
- the method further includes: setting a time threshold for the MAC forwarding table of the registered terminal, and updating only when the threshold is exceeded.
- step 2) further includes:
- Step 2-2-1 the access gateway receives the data packet
- Step 2-2-2 the access gateway queries whether the source MAC address of the received data packet is in the MAC forwarding table of the unregistered terminal, and if yes, proceeds to step 2-2-4), otherwise Perform step 2-2-3);
- Step 2 - 2) the access gateway adds the source MAC address of the data packet and the interface that receives the packet as an entry to the MAC forwarding table of the unregistered terminal, and then proceeds to step 2-2-5) ;
- Step 2-2-4 the access gateway updates the corresponding entry in the MAC forwarding table of the unregistered terminal corresponding to the MAC address of the packet;
- Step 305 processing ends
- the access gateway periodically checks all the entries in the MAC forwarding table of the unregistered terminal, and deletes the entries that have not been updated by the preset aging time.
- the method further includes: setting a time threshold for the MAC forwarding table of the unregistered terminal, and updating only when the threshold is exceeded.
- the method further includes: using a plurality of channels to forward the downlink data packet of the registered terminal to the multiple destination ports according to the set transmission policy.
- the invention can set the two MAC forwarding tables to identify the uplink and downlink data of the terminal, which can speed up the data forwarding rate;
- the present invention sets different aging periods and update thresholds for different MAC forwarding tables, reduces the frequency of MAC entry updates, and reduces system load.
- the access gateway maintains the registration information of the terminal, and can forward the data packet to multiple destination ports according to the channel access situation of the terminal, thereby implementing multi-channel parallel transmission and broadening the downlink bandwidth.
- FIG. 1 is a flowchart of a data packet forwarding processing method in an access gateway according to the present invention
- FIG. 2 is a flowchart of establishing a MAC forwarding table of a registered terminal of the present invention
- FIG. 3 is a flow chart showing the establishment of a MAC forwarding table of an unregistered terminal of the present invention. detailed description
- the principle of the data packet forwarding processing method in the access gateway of the present invention is: when a terminal does not register with the access gateway, the access gateway does not identify the uplink and downlink data of the terminal, and performs uplink and downlink data of the terminal. After the terminal registers with the access gateway, the access gateway identifies the uplink and downlink data of the terminal, transparently transmits the uplink data, and optimizes the downlink data transmission, thereby speeding up the data forwarding rate and reducing the MAC table.
- the frequency of item updates the purpose of reducing system load.
- MAC forwarding tables are set in the access gateway: a MAC forwarding table of the registered terminal and a MAC forwarding table of the unregistered terminal, and different aging periods are set for the two types of MAC forwarding tables.
- the aging time of the MAC forwarding table of the registered terminal is related to the keepalive request interval of the terminal. If the keepalive request of the terminal is not received, the entry of the corresponding terminal in the registered MAC forwarding table may be deleted.
- the aging time of the unregistered terminal MAC forwarding table has no special agreement. It can be set according to the common mode of the common switch, for example, setting a fixed duration. If the duration is not updated, the corresponding MAC forwarding table will be registered. The entry is deleted.
- Step 101 The access gateway receives the data packet, where the data packet includes at least information such as a source MAC address and a destination MAC address.
- Step 102) The access gateway learns according to the source MAC address of the packet, and constructs a MAC forwarding table.
- the packet may be a data packet or a registration request packet of the terminal.
- Step 103) the access gateway queries whether the destination MAC address of the data packet received in step 101) is in the MAC forwarding table of the registered terminal, and if yes, the data packet is the downlink of the registered terminal. Data, go to step 104), otherwise go to step 105);
- Step 104) The access gateway determines that the data packet is downlink data of the registered terminal, and performs transmission optimization according to the channel condition of the terminal: if the IP channel is transparent transmission, if it is a QAM channel, performs MPE/TS encapsulation. If it is another channel, perform corresponding processing according to the channel status of the terminal; then go to step 108); Step 105), the access gateway continues to query whether the destination MAC of the data packet is in the MAC forwarding table of the unregistered terminal, If yes, go to step 106), otherwise go to step 107);
- Step 106 the access gateway forwards the data packet to the corresponding port according to the corresponding MAC forwarding entry in the MAC forwarding table of the unregistered terminal, and then proceeds to step 108);
- Step 107) The access gateway broadcasts the data packet to all ports except the port that receives the data packet. Step 108), the data packet forwarding process ends.
- the access gateway supports multi-channel parallel transmission of the registered terminal, that is, in step 104), multiple channels (such as using both the IP channel and the QAM channel) according to the set transmission strategy will be used.
- the downlink data packet of the registered terminal is forwarded to multiple destination ports.
- Figure 2 is a process of constructing a MAC forwarding table of a registered terminal, including the following process:
- Step 201) The access gateway receives the registration request message of the terminal; the destination MAC address of the registration request message is an access gateway;
- Step 202) The access gateway queries, according to the registration request message received in step 201), whether the MAC address of the terminal is already in the MAC forwarding table of the registered terminal. If yes, go to step 204), otherwise go to step 203. );
- Step 203 the access gateway adds the MAC address of the terminal and the channel interface available to the terminal as an entry to the MAC forwarding table of the registered terminal, and then proceeds to step 205);
- Step 204) The access gateway updates a MAC forwarding entry corresponding to the registered terminal MAC in the MAC forwarding table of the registered terminal.
- Step 205 the process ends.
- the access gateway periodically checks all the entries in the registered MAC forwarding table, and the preset aging time has not been updated. delete.
- Figure 3 is a process of constructing a MAC forwarding table of an unregistered terminal, including the following process:
- Step 301 the access gateway receives the data packet
- Step 302 the access gateway Query whether the source MAC address of the received data packet is in the MAC forwarding table of the unregistered terminal, if yes, go to step 304), otherwise go to step 303);
- Step 303 the access gateway adds the source MAC address of the data packet and the interface that receives the packet as an entry to the MAC forwarding table of the unregistered terminal, and then proceeds to step 305);
- Step 304) the access gateway updates the corresponding entry in the MAC forwarding table of the unregistered terminal corresponding to the source MAC address of the packet;
- Step 305 the process ends.
- the process of constructing the MAC forwarding table of the unregistered terminal further includes the following steps:
- the access gateway periodically checks all entries in the MAC forwarding table of the unregistered terminal, and deletes the entry that has not been updated by the preset aging time.
- the access gateway updates the MAC entry in step 204) and step 304
- Updates are only made when the threshold is exceeded.
- the update threshold is a fixed duration.
- the update threshold may also be other implementation manners, such as a dynamically changeable duration.
Abstract
La présente invention concerne un procédé de traitement de transfert de paquet de données dans une passerelle d'accès, comprenant les opérations suivantes : une passerelle d'accès reçoit un paquet de données ; la passerelle d'accès réalise un apprentissage sur la base d'une adresse de contrôle d'accès au support (MAC) source du paquet et construit une table de transfert d'adresse MAC ; la passerelle d'accès demande si une adresse MAC de destination du paquet de données est ou non dans une table de transfert d'adresse MAC d'un terminal qui est enregistré, et si tel est le cas, réalise une optimisation de transmission sur la base d'une situation de canal du terminal : pour un canal IP, réalise une transmission transparente, pour un canal QAM, réalise une encapsulation MPE/TS, et pour d'autres canaux, réalise un traitement correspondant sur la base de la situation de canal du terminal ; autrement, la passerelle d'accès continue à demander si l'adresse MAC de destination du paquet de données est ou non dans une table de transfert d'adresse MAC d'un terminal qui n'est pas enregistré, et si tel est le cas, la passerelle d'accès transfère le paquet de données à un port correspondant sur la base d'une entrée de table de transfert d'adresse MAC correspondante dans la table de transfert d'adresse MAC du terminal qui n'est pas enregistré ; autrement, la passerelle d'accès diffuse le paquet de données à tous les autres ports à l'exception d'un port qui reçoit le paquet de données.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310582477.0 | 2013-11-19 | ||
CN201310582477.0A CN104660509B (zh) | 2013-11-19 | 2013-11-19 | 一种接入网关中数据报文的转发处理方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015074423A1 true WO2015074423A1 (fr) | 2015-05-28 |
Family
ID=53178889
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/081423 WO2015074423A1 (fr) | 2013-11-19 | 2014-07-01 | Procédé de traitement de transfert de paquet de données dans une passerelle d'accès |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104660509B (fr) |
WO (1) | WO2015074423A1 (fr) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933134A (zh) * | 2015-10-26 | 2016-09-07 | 上海剑桥科技股份有限公司 | 无线ap出厂配置的恢复方法及系统 |
CN106789525B (zh) * | 2016-11-29 | 2019-06-25 | 迈普通信技术股份有限公司 | 一种vpls网络中报文转发方法和装置 |
CN108256095A (zh) * | 2018-01-30 | 2018-07-06 | 郑州工程技术学院 | 一种历史文化名城的数字媒体宣传方法 |
CN109767533B (zh) * | 2019-01-14 | 2021-02-19 | 深圳前海微众银行股份有限公司 | 购物车电子锁的自动注册方法、装置、网关设备及介质 |
CN111083654B (zh) * | 2019-12-18 | 2022-09-16 | 欧普照明股份有限公司 | 无线无源开关实现控制的方法、无线无源开关,以及代理节点 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119276A (zh) * | 2007-08-22 | 2008-02-06 | 杭州华三通信技术有限公司 | 一种实现vlan内下行用户隔离的方法及设备 |
CN102318290A (zh) * | 2011-07-29 | 2012-01-11 | 华为技术有限公司 | 报文转发方法和装置 |
CN103227757A (zh) * | 2012-08-31 | 2013-07-31 | 杭州华三通信技术有限公司 | 一种报文转发方法及设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7990966B2 (en) * | 2004-12-13 | 2011-08-02 | Electronics And Telecommunications Research Institute | Apparatus for changing MAC address to identify subscriber and method thereof |
CN101252530B (zh) * | 2008-03-28 | 2010-09-29 | 中兴通讯股份有限公司 | 报文转发方法、系统以及交换设备 |
CN102404148A (zh) * | 2011-11-22 | 2012-04-04 | 华为技术有限公司 | 一种mac地址表管理方法及装置 |
CN103200110B (zh) * | 2013-03-29 | 2016-03-30 | 北京东土科技股份有限公司 | 一种应用于智能变电站局域网的数据组播方法和装置 |
-
2013
- 2013-11-19 CN CN201310582477.0A patent/CN104660509B/zh active Active
-
2014
- 2014-07-01 WO PCT/CN2014/081423 patent/WO2015074423A1/fr active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119276A (zh) * | 2007-08-22 | 2008-02-06 | 杭州华三通信技术有限公司 | 一种实现vlan内下行用户隔离的方法及设备 |
CN102318290A (zh) * | 2011-07-29 | 2012-01-11 | 华为技术有限公司 | 报文转发方法和装置 |
CN103227757A (zh) * | 2012-08-31 | 2013-07-31 | 杭州华三通信技术有限公司 | 一种报文转发方法及设备 |
Also Published As
Publication number | Publication date |
---|---|
CN104660509A (zh) | 2015-05-27 |
CN104660509B (zh) | 2017-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3367619B1 (fr) | Synchronisation de l'état de multidiffusion entre des routeurs multi-hébergés dans un réseau privé virtuel ethernet | |
WO2019184752A1 (fr) | Procédé, appareil et système de gestion de dispositifs de réseau | |
US8730979B2 (en) | Method and system for increasing forwarding efficiency of virtual private LAN service network | |
US20100172351A1 (en) | Methods for managing multicast traffic between sources sending data and hosts requesting data and network equipment used to implement the methods | |
US20080205397A1 (en) | Method for forwarding multicast packets in a virtual private local area network service | |
WO2012167697A1 (fr) | Procédé et processeur pour supprimer une tempête de réseau | |
US9143437B1 (en) | Apparatus and method for multicast data packet forwarding | |
US20110075599A1 (en) | Method and apparatus for multicast group management | |
WO2011072532A1 (fr) | Procédé, équipement d'accès et système de communication pour le traitement de messages | |
WO2015074423A1 (fr) | Procédé de traitement de transfert de paquet de données dans une passerelle d'accès | |
WO2012159481A1 (fr) | Procédé de découverte d'unité de transmission maximale de chemin et nœud | |
WO2007059679A1 (fr) | Procede pour le traitement de service multidiffusion anormal et equipement de reseau associe | |
WO2013056628A1 (fr) | Procédé, serveur d'applications, base de données de réseau et système pour former un mécanisme de battement de cœur | |
WO2011026335A1 (fr) | Procédé et appareil de traitement de paquet de diffusion/message de commande de diffusion groupée | |
WO2022021818A1 (fr) | Procédé et dispositif de traitement de message de données, support de stockage et dispositif électronique | |
CN102045250B (zh) | Vpls中组播报文的转发方法和服务提供商边缘设备 | |
EP2775663B1 (fr) | Procédé et dispositif de rétablissement d'un service à la clientèle | |
WO2007054006A1 (fr) | Station de base de système d’accès sans fil large bande et système pour réaliser un service de diffusion de groupe | |
WO2011140921A1 (fr) | Procédé, dispositif et système d'acheminement de trames de données de service de réseau local privé virtuel (vpls) | |
US9270593B2 (en) | Prediction based methods for fast routing of IP flows using communication/network processors | |
WO2012041080A1 (fr) | Procédé et système d'ajustement de temps de vieillissement, et modem | |
WO2012146139A1 (fr) | Procédé de filtrage de message et dispositif d'accès | |
CN115118545B (zh) | 以太网虚拟专用网多播网络中的组管理协议主机移动性 | |
US9025606B2 (en) | Method and network node for use in link level communication in a data communications network | |
JP2022120845A5 (fr) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14864649 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14864649 Country of ref document: EP Kind code of ref document: A1 |