WO2017076148A1 - 上行数据包转发方法及装置、下行数据包转发方法及装置 - Google Patents

上行数据包转发方法及装置、下行数据包转发方法及装置 Download PDF

Info

Publication number
WO2017076148A1
WO2017076148A1 PCT/CN2016/101383 CN2016101383W WO2017076148A1 WO 2017076148 A1 WO2017076148 A1 WO 2017076148A1 CN 2016101383 W CN2016101383 W CN 2016101383W WO 2017076148 A1 WO2017076148 A1 WO 2017076148A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
data packet
forwarded
network interface
kernel network
Prior art date
Application number
PCT/CN2016/101383
Other languages
English (en)
French (fr)
Inventor
管建智
Original Assignee
上海斐讯数据通信技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Priority to US15/537,413 priority Critical patent/US20180262364A1/en
Priority to EP16861416.2A priority patent/EP3229426A4/en
Publication of WO2017076148A1 publication Critical patent/WO2017076148A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • H04L12/4666Operational details on the addition or the stripping of a tag in a frame, e.g. at a provider edge node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4675Dynamic sharing of VLAN information amongst network nodes
    • H04L12/4683Dynamic sharing of VLAN information amongst network nodes characterized by the protocol used
    • H04L12/4687MVRP [multiple VLAN registration protocol]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an uplink data packet forwarding method and apparatus, and a downlink data packet forwarding method and apparatus.
  • a broadband access router is a network address translation (NAT) device that connects to an Internet broadband network.
  • NAT network address translation
  • LAN Local Area Network
  • WAN Wide Area Network
  • WAN port In connection with the Internet broadband network, the LAN port is used for LAN user access.
  • SSID Service Set Identistfier
  • Each SSID passes through the Linux bridge. (Bridge) is bound to a different VLAN (Virtual Local Area Network).
  • the SSID interface is bound to the VLAN interface through the bridge.
  • the interface can be obtained through the interface list of the bridge that includes the binding relationship between the SSID interface and the VLAN interface. For example, all SSIDs connected to the office network are bound in one VLAN; all SSIDs connected to the Internet are bound in another VLAN.
  • the uplink data packet processing includes the following steps: the VLAN interface receives the data packet; searches for which bridge the network interface of the received data packet belongs to; searches for the interface list of the bridge; performs VLAN TAG processing through the 802.1q module; and sends the data packet to the WAN interface.
  • the downlink data packet processing includes the following steps: the WAN interface receives the data packet; performs VLAN TAG processing by using the 802.1q module; searches for which bridge the network interface of the received data packet belongs to; searches for the interface list of the bridge; and sends the data packet to the WLAN interface.
  • the configuration is cumbersome. Each time you change the VLAN binding configuration of the SSID, you need to find the binding relationship before the configuration, do the related undo operation, and then create the bridge, WAN side, and VLAN interface according to the new configuration. Configure the affiliation between a VLAN interface and a bridge.
  • the forwarding efficiency is low. Each time it is forwarded, it is necessary to find the bridge of the corresponding VLAN interface that receives the data packet, and then look up the interface list under the bridge.
  • an object of the present invention is to provide an uplink data packet forwarding method and apparatus, and a downlink data packet forwarding method and apparatus, which are used to solve the problem of cumbersome data forwarding and low forwarding efficiency in the prior art. The problem.
  • the present invention provides an uplink packet forwarding method, where a kernel network interface is provided with an interface attribute, the interface attribute includes an interface name and an interface type, and the interface type includes a local area network interface and a wide area network interface;
  • the interface type is a LAN interface
  • the kernel network interface is further provided with an interface tag, where the interface tag includes an interface name and an interface number; and the uplink packet forwarding method includes the following steps:
  • the kernel network interface whose interface type is a local area network interface receives a data packet to be forwarded;
  • the interface identifier of the kernel network interface is added to the to-be-forwarded data packet, and the to-be-forwarded data packet after the interface label is added is forwarded to the kernel network interface whose interface type is the WAN interface.
  • the data packet to be forwarded is directly forwarded to a kernel network interface whose interface type is a wide area network interface. .
  • an interface tag of a kernel network interface is added to the to-be-forwarded data packet by using an 802.1q protocol.
  • the present invention also provides an uplink data packet forwarding device, and a kernel network interface is used for a local area network and a wide area network.
  • the kernel network interface is provided with an interface attribute, the interface attribute includes an interface name and an interface type, the interface type includes a local area network interface and a wide area network interface; and the interface type is the kernel network interface of the local area network interface
  • An interface tag is further provided, where the interface tag includes an interface name and an interface number; and the uplink packet forwarding device includes:
  • the first judging unit is connected to the kernel network interface of the interface type of the local area network, and is configured to determine, according to the interface number of the kernel network interface that receives the data packet to be forwarded, whether the interface status of the kernel network interface that receives the data packet to be forwarded is Bind state
  • a tag adding unit configured to be connected to the first determining unit, configured to add an interface of the kernel network interface to the to-be-forwarded data packet when the interface state of the kernel network interface that receives the to-be-forwarded data packet is a binding state mark;
  • the packet forwarding unit is connected to the tag adding unit, and is configured to forward the to-be-forwarded data packet after the interface tag is added to a kernel network interface whose interface type is a WAN interface.
  • the data packet forwarding unit is further connected to the first determining unit, and configured to: when the interface state of the kernel network interface that receives the data packet to be forwarded is a binding state, The forwarded data packet is forwarded directly to the kernel network interface whose interface type is the WAN interface.
  • the tag adding unit adds an interface tag of the kernel network interface to the to-be-forwarded data packet by using the 802.1q protocol.
  • the present invention further provides a downlink data packet forwarding method, where a kernel network interface is provided with an interface attribute, the interface attribute includes an interface name and an interface type, and the interface type includes a local area network interface and a wide area network interface; when the interface type is a local area network interface,
  • the kernel network interface is further provided with an interface tag, where the interface tag includes an interface name and an interface number; and the downlink packet forwarding method includes the following steps:
  • the kernel network interface whose interface type is a WAN interface receives a data packet to be forwarded, and the data packet to be forwarded includes an interface label;
  • the interface tag in the to-be-forwarded data packet is removed, and the to-be-forwarded data packet after the interface tag is removed is forwarded to a kernel network interface corresponding to the target interface number.
  • the downlink data packet forwarding method further includes: discarding the to-be-forwarded data packet when the original interface number of the to-be-forwarded data packet is different from the target interface number.
  • the present invention also provides a downlink data packet forwarding device, a kernel network interface, for a local area network and a wide area.
  • Data packet forwarding between networks the kernel network interface is provided with interface attributes, the interface attributes include an interface name and an interface type, the interface type includes a local area network interface and a wide area network interface; and the interface type is the kernel network of the local area network interface
  • the interface is further provided with an interface tag, where the interface tag includes an interface name and an interface number; the downlink packet forwarding device includes:
  • a number obtaining unit configured to connect to the kernel network interface whose interface type is a WAN interface, and configured to receive a data packet to be forwarded, and determine an original interface name of the to-be-forwarded data packet according to the interface label of the to-be-forwarded data packet Original interface number;
  • the second determining unit is connected to the number obtaining unit, and configured to determine whether the original interface number of the to-be-forwarded data packet is the same as the target interface number;
  • a label removing unit configured to be connected to the second determining unit, configured to remove an interface label in the to-be-forwarded data packet when the original interface number of the to-be-forwarded data packet is the same as the target interface number;
  • a packet forwarding unit configured to be configured to forward the to-be-forwarded data packet after removing the interface label to a kernel network interface corresponding to the target interface number.
  • the data packet forwarding unit is further connected to the second determining unit, and is configured to discard the to-be-edged data packet when the original interface number of the to-be-forwarded packet is different from the target interface number. Forward the packet.
  • the uplink packet forwarding method and apparatus, and the downlink packet forwarding method and apparatus of the present invention have the following beneficial effects:
  • an interface attribute including an interface name and an interface type, where the interface type includes a local area network interface and a wide area network interface; and when the interface type is a local area network interface, setting the interface name and the interface number on the kernel network interface
  • the interface is marked, so that in the process of the uplink packet forwarding method, whether the interface state of the kernel network interface is the binding state is determined according to the interface number of the kernel network interface, thereby determining that the interface type is between the WAN interface of the WAN interface and the LAN interface.
  • the interface tag of the kernel network interface is added to the to-be-forwarded data packet, and the to-be-forwarded data packet after the interface tag is added is forwarded to the interface type as the WAN interface.
  • Kernel network interface After the WAN receives the data packet to be forwarded, it determines the local area network to which the data packet is forwarded according to the interface tag, thereby facilitating the uplink device to perform corresponding forwarding and security processing according to the interface tag. And when the interface status is unbound, the data to be forwarded is directly forwarded to the kernel network interface whose interface type is a WAN interface, which improves forwarding efficiency.
  • the original interface name and the original interface number of the to-be-forwarded data packet, and the original interface number of the to-be-forwarded data packet and the target interface are determined according to the interface label of the to-be-forwarded data packet.
  • the interface tag in the to-be-forwarded data packet is removed, and the to-be-forwarded data packet after the interface tag is removed is forwarded to the kernel network interface corresponding to the target interface number, thereby improving the accuracy of forwarding.
  • the foregoing uplink data packet forwarding method and the downlink data packet forwarding method are accurately forwarded through the interface tag in the data packet to be forwarded, and there is no need to re-establish the binding relationship when the relationship between the SSID and the local area network is changed, and no need to be in the data packet.
  • the bridge interface list is queried during the forwarding process, which simplifies the packet forwarding process and improves forwarding efficiency.
  • FIG. 1 is a schematic flowchart showing an uplink packet forwarding method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an uplink data packet forwarding apparatus according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart showing an embodiment of a downlink data packet forwarding method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a downlink data packet forwarding apparatus according to an embodiment of the present invention.
  • the kernel network interface in the kernel network is provided with an interface attribute, the interface attribute includes an interface name and an interface type, and the interface type includes a LAN interface and a wide area network interface; the interface type is In the LAN interface, the kernel network interface is further provided with an interface tag, and the interface tag includes an interface name and an interface number. Accurate forwarding is achieved by the interface tag in the data packet to be forwarded, which simplifies the packet forwarding process and improves forwarding efficiency.
  • the uplink packet forwarding method in FIG. 1 includes:
  • Step S11 the kernel network interface whose interface type is a local area network interface receives a data packet to be forwarded;
  • Step S12 determining, according to the interface number of the kernel network interface that receives the data packet to be forwarded, whether the interface state of the kernel network interface that receives the data packet to be forwarded is a binding state;
  • step S12 if the interface status of the core network interface of the data packet to be forwarded is the binding state, step S13 is performed, and the interface label of the kernel network interface is added to the to-be-forwarded data packet; then, step S14 is performed. Forward the packet to be forwarded to the kernel network interface whose interface type is WAN interface. If the interface status of the core network interface that receives the data packet to be forwarded is unbound, step S14 is directly performed, and the data packet to be forwarded is forwarded to a kernel network interface whose interface type is a wide area network interface.
  • the interface number of the kernel network interface whose interface status is unbound state can be set to 0. At this time, it may be determined whether the interface number of the kernel network interface that receives the data packet to be forwarded is 0; if the interface number of the kernel network interface that receives the data packet to be forwarded is 0, the interface state of the kernel network interface is In the unbound state, there is no binding relationship on the kernel network interface; otherwise, the kernel network interface has a binding relationship.
  • step S14 is directly performed, and the data packet to be forwarded is forwarded to a kernel network interface whose interface type is a wide area network interface.
  • step S13 is performed to add an interface label of the kernel network interface to the data packet to be forwarded; and then, step S14 is performed to forward the data to be forwarded.
  • the packet is forwarded to the kernel network interface whose interface type is WAN interface.
  • the interface tag of the kernel network interface is added to the to-be-forwarded data packet by using the 802.1q protocol.
  • the specific marking method will not be described here.
  • an interface attribute including an interface name and an interface type is set on a kernel network interface, where the interface type includes a local area network interface and a wide area network interface; and when the interface type is a local area network interface, the kernel network interface is configured.
  • An interface tag including an interface name and an interface number is set, so that, in the process of the uplink packet forwarding method, whether the interface state of the kernel network interface is the binding state is determined according to the interface number of the kernel network interface, thereby determining that the interface type is a WAN interface and Whether there is a binding relationship between the kernel network interfaces of the local area network interface, and when the interface state is the binding state, the interface tag of the kernel network interface is added to the to-be-forwarded data packet, and the data to be forwarded after the interface tag is added The packet is forwarded to the kernel network interface whose interface type is WAN interface.
  • the WAN After the WAN receives the data packet to be forwarded, it determines the local area network to which the data packet is forwarded according to the interface tag, thereby facilitating the uplink device to perform corresponding forwarding and security processing according to the interface tag. And when the interface status is unbound, the data to be forwarded is directly forwarded to the kernel network interface whose interface type is a WAN interface, which improves forwarding efficiency. In addition, there is no need to re-establish the binding relationship when changing the configuration relationship between the SSID and the local area network, and it is not necessary to query the bridge interface list during the packet forwarding process, which simplifies the packet forwarding process and improves the forwarding efficiency.
  • a kernel network interface (not shown) is used for packet forwarding between a local area network and a wide area network.
  • the kernel network interface is provided with interface attributes, and the interface attributes include an interface name and an interface type, and the interface type includes a local area network interface and a wide area network.
  • the interface; the kernel network interface whose interface type is a local area network interface is further provided with an interface tag, and the interface tag includes an interface name and an interface number.
  • the uplink packet forwarding device 1 in FIG. 2 includes:
  • the first determining unit 11 is connected to a kernel network interface whose interface type is a local area network interface, and is configured to determine, according to an interface number of the kernel network interface that receives the data packet to be forwarded, an interface state of the kernel network interface that receives the to-be-forwarded data packet. Whether it is a binding state;
  • the tag adding unit 12 is connected to the first determining unit 11 and configured to add a kernel network interface to the to-be-forwarded data packet when the interface state of the kernel network interface that receives the data packet to be forwarded is in a binding state.
  • Interface tag
  • the packet forwarding unit 13 is connected to the tag adding unit 12, and is configured to forward the to-be-forwarded data packet after the interface tag is added to a kernel network interface whose interface type is a wide area network interface.
  • the tag adding unit 12 adds an interface tag of the kernel network interface to the to-be-forwarded data packet by using the 802.1q protocol.
  • the specific addition method will not be described here.
  • the data packet forwarding unit 13 is further connected to the first determining unit 11 for when the interface state of the kernel network interface that receives the data packet to be forwarded is in an unbound state.
  • the to-be-forwarded data packet is directly forwarded to a kernel network interface whose interface type is a wide area network interface.
  • the uplink packet forwarding device has the advantages of accurate forwarding and high efficiency. Moreover, there is no need to re-establish the binding relationship when changing the configuration relationship between the SSID and the local area network, and it is not necessary to query the bridge interface list during the packet forwarding process, which simplifies the packet forwarding process and improves the forwarding efficiency.
  • the kernel network interface in the kernel network is provided with an interface attribute, the interface attribute includes an interface name and an interface type, and the interface type includes a LAN interface and a wide area network interface; the interface type is In the LAN interface, the kernel network interface is further provided with an interface tag, and the interface tag includes an interface name and an interface number.
  • the downlink packet forwarding method in FIG. 3 includes:
  • Step S21 The kernel network interface whose interface type is a WAN interface receives a data packet to be forwarded, and the to-be-forwarded data packet includes an interface identifier.
  • Step S22 determining an original interface name and an original interface number of the to-be-forwarded data packet according to the interface label of the to-be-forwarded data packet;
  • Step S23 determining whether the original interface number of the to-be-forwarded data packet is the same as the target interface number
  • step S24 is performed to remove the interface tag in the to-be-forwarded data packet, and then step S25 is performed to forward the to-be-forwarded data packet after the interface tag is removed to the kernel network corresponding to the target interface number. interface.
  • step S23 if the original interface number of the to-be-forwarded data packet is different from the target interface number, step S26 is performed to discard the to-be-forwarded data packet.
  • an interface attribute including an interface name and an interface type is set on a kernel network interface, where the interface type includes a local area network interface and a wide area network interface; and when the interface type is a local area network interface, the interface includes the interface on the kernel network interface.
  • An interface tag of the name and the interface number so that the original interface name and the original interface number of the to-be-forwarded data packet are determined according to the interface tag of the to-be-forwarded data packet, and the to-be-forwarded.
  • the interface label in the to-be-forwarded data packet is removed, and the to-be-forwarded data packet after the interface label is removed is forwarded to a kernel network corresponding to the target interface number.
  • Interfaces improve the accuracy of forwarding.
  • the downlink packet forwarding method implements accurate forwarding by using the interface tag in the to-be-forwarded data packet, and does not need to re-establish the binding relationship when changing the relationship between the SSID and the local area network, and does not need to query the bridge interface list during the packet forwarding process. It simplifies the packet forwarding process and improves forwarding efficiency.
  • a kernel network interface (not shown) is used for packet forwarding between a local area network and a wide area network.
  • the kernel network interface is provided with interface attributes, and the interface attributes include an interface name and an interface type, and the interface type includes a local area network interface and a wide area network.
  • the interface; the kernel network interface whose interface type is a local area network interface is further provided with an interface tag, and the interface tag includes an interface name and an interface number.
  • the downlink packet forwarding device 2 in FIG. 4 includes:
  • the number obtaining unit 21 is connected to the kernel network interface whose interface type is a wide area network interface, and is used to receive the to-be-forwarded And determining an original interface name and an original interface number of the to-be-forwarded data packet according to the interface identifier of the to-be-forwarded data packet;
  • the second determining unit 22 is connected to the number obtaining unit 21, and is configured to determine whether the original interface number of the to-be-forwarded data packet is the same as the target interface number.
  • the tag removing unit 23 is connected to the second determining unit 22, and is configured to remove the interface tag in the to-be-forwarded data packet when the original interface number of the to-be-forwarded data packet is the same as the target interface number;
  • the packet forwarding unit 24 is connected to the label removing unit 23, and is configured to forward the to-be-forwarded data packet after removing the interface label to a kernel network interface corresponding to the target interface number.
  • the data packet forwarding unit 24 is further connected to the second determining unit 22, and is configured to discard the data to be forwarded when the original interface number of the to-be-forwarded data packet is different from the target interface number. package.
  • the downlink data packet forwarding device has the advantages of accurate forwarding and high efficiency. Moreover, there is no need to re-establish the binding relationship when changing the configuration relationship between the SSID and the local area network, and it is not necessary to query the bridge interface list during the packet forwarding process, which simplifies the packet forwarding process and improves the forwarding efficiency.
  • the uplink or downlink data packet forwarding technology of the present invention has the advantages of accurate forwarding and high efficiency. Moreover, there is no need to re-establish the binding relationship when changing the configuration relationship between the SSID and the local area network, and it is not necessary to query the bridge interface list during the packet forwarding process, which simplifies the packet forwarding process and improves the forwarding efficiency. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明提供一种本发明的上行数据包转发方法及装置、下行数据包转发方法及装置,内核网络接口设置有接口属性,接口属性包括接口名称和接口类型,接口类型包括局域网接口和广域网接口;接口类型为局域网接口时,内核网络接口还设置有接口标记,接口标记包括接口名称和接口编号;上行数据包转发方法包括:接口类型为局域网接口的内核网络接口接收待转发数据包;根据接收所述待转发数据包的内核网络接口的接口编号判断接收所述待转发数据包的内核网络接口的接口状态是否为绑定状态;若是,则于待转发数据包中添加内核网络接口的接口标记,并将添加接口标记后的待转发数据包转发至接口类型为广域网接口的内核网络接口。该上行或下行数据包转发方法的转发流程简单,转发准确、效率高。

Description

上行数据包转发方法及装置、下行数据包转发方法及装置
本申请要求2015年11月06日提交的申请号为:201510750130.1、发明名称为“上行数据包转发方法及装置、下行数据包转发方法及装置”的中国专利申请的优先权,其全部内容合并在此。
技术领域
本发明涉及一种通信技术领域,特别是涉及一种上行数据包转发方法及装置、下行数据包转发方法及装置。
背景技术
Internet网络流量、规模和应用的快速发展对互联网核心路由器设计提出了重大挑战。随着光纤传输带宽和入网主机数目的日益增长,路由器交换容量及端口密度难以适应网络流量的增长需求。随着网络规模的急剧扩张,路由器转发能力难以适应FIB(Forward Information Base,转发信息库)容量的指数级增长。随着IPv6、QoS(Quality of Service,服务质量)、组播、安全等应用的发展,路由器报文处理能力难以解决网络流量增长和报文处理复杂度增长之间的矛盾。
为了满足上述需求,业界已经采用上行多线路接入技术,即,引入采用并行处理技术的多接入宽带路由器,使用并联体系结构为提高路由器转发和交换能力提供了有效途径。宽带接入路由器是连接Internet宽带网络的NAT(Network Address Translation,网络地址转换)设备,一般拥有多个LAN(Local Area Network,局域网)接口,一个WAN(Wide Area Network,广域网)接口,WAN口用于连接Internet宽带网,LAN口用于局域网用户接入。
而在企业级AP(Access Point,访问接入点)的应用场景中,因应用场景和安全的需要,有时会部署一个以上的SSID(Service Set Identistfier,服务集标识),每个SSID通过Linux bridge(网桥)绑定不同的VLAN(Virtual Local Area Network,虚拟局域网),即SSID接口通过bridge与VLAN接口绑定,具体可通过包括SSID接口和VLAN接口的绑定关系的bridge的接口列表获取。比如:所有的接入办公网络的SSID绑定在一个VLAN中;所有的接入Internet的SSID绑定在另一个VLAN中。
在数据转发时上行数据包处理过程中,不同的SSID接收的数据包分别打上对应的VLAN  tag,然后转发到上行网络WAN接口。具体的,上行数据包处理包括如下步骤:VLAN接口接收数据包;查找该接收数据包的网络接口属于哪个bridge;查找该bridge的接口列表;通过802.1q模块进行VLAN TAG处理;发送数据包至WAN接口。
在数据转发时下行数据包处理过程中,从不同VLAN接口接收的数据包去掉VLAN tag后分别转发至对应的下行网络的VLAN接口。具体的,下行数据包处理包括如下步骤:WAN接口接收数据包;通过802.1q模块进行VLAN TAG处理;查找该接收数据包的网络接口属于哪个bridge;查找该bridge的接口列表;发送数据包至WLAN接口。
上述数据转发方法存在以下缺点:
第一、配置繁琐,每次在更改SSID的VLAN绑定配置时,需要查找配置前的绑定关系,做相关的撤销操作,然后再根据新的配置,创建bridge、WAN侧以及VLAN接口,再配置VLAN接口与bridge的从属关系
第二、转发的效率低,每次转发都要查找接收数据包的对应VLAN接口所在bridge,然后再查找该bridge下的接口列表。
发明内容
鉴于以上所述现有技术的缺点,本发明的目的在于提供一种上行数据包转发方法及装置、下行数据包转发方法及装置,用于解决现有技术中数据转发时配置繁琐、转发效率低的问题。
为实现上述目的及其他相关目的,本发明提供一种上行数据包转发方法,内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口时,所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号;所述上行数据包转发方法包括以下步骤:
所述接口类型为局域网接口的内核网络接口接收待转发数据包;
根据接收所述待转发数据包的内核网络接口的接口编号判断接收所述待转发数据包的内核网络接口的接口状态是否为绑定状态;
若是,则于所述待转发数据包中添加内核网络接口的接口标记,并将添加接口标记后的待转发数据包转发至接口类型为广域网接口的内核网络接口。
于本发明的一实施例中,若接收所述待转发数据包的内核网络接口的接口状态为非绑定状态,则将所述待转发数据包直接转发至接口类型为广域网接口的内核网络接口。
于本发明的一实施例中,通过802.1q协议于所述待转发数据包中添加内核网络接口的接口标记。
相应的,本发明还提供了一种上行数据包转发装置,内核网络接口用于局域网与广域网 之间的数据包转发,所述内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口的所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号;所述上行数据包转发装置包括:
第一判断单元,与接口类型为局域网接口的内核网络接口连接,用于根据接收所述待转发数据包的内核网络接口的接口编号判断接收所述待转发数据包的内核网络接口的接口状态是否为绑定状态;
标记添加单元,与所述第一判断单元连接,用于在接收所述待转发数据包的内核网络接口的接口状态为绑定状态时,于所述待转发数据包中添加内核网络接口的接口标记;
数据包转发单元,与所述标记添加单元连接,用于将添加接口标记后的待转发数据包转发至接口类型为广域网接口的内核网络接口。
于本发明的一实施例中,所述数据包转发单元还与所述第一判断单元连接,用于在接收所述待转发数据包的内核网络接口的接口状态为绑定状态时,将所述待转发数据包直接转发至接口类型为广域网接口的内核网络接口。
于本发明的一实施例中,所述标记添加单元通过802.1q协议于所述待转发数据包中添加内核网络接口的接口标记。
本发明还提供了一种下行数据包转发方法,内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口时,所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号;所述下行数据包转发方法包括以下步骤:
所述接口类型为广域网接口的内核网络接口接收待转发数据包,所述待转发数据包包括接口标记;
根据所述待转发数据包的接口标记,确定所述待转发数据包的原始接口名称和原始接口编号;
判断所述待转发数据包的原始接口编号与目标接口编号是否相同;
若相同,去除所述待转发数据包中的接口标记,并将去除接口标记后的所述待转发数据包转发至与所述目标接口编号对应的内核网络接口。
于本发明的一实施例中,所述下行数据包转发方法还包括:在所述待转发数据包的原始接口编号与目标接口编号不相同时,丢弃所述待转发数据包。
相应的,本发明还提供了一种下行数据包转发装置,内核网络接口,用于局域网与广域 网之间的数据包转发,所述内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口的所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号;所述下行数据包转发装置包括:
编号获取单元,与接口类型为广域网接口的所述内核网络接口连接,用于接收待转发数据包,并根据所述待转发数据包的接口标记,确定所述待转发数据包的原始接口名称和原始接口编号;
第二判断单元,与所述编号获取单元连接,用于判断所述待转发数据包的原始接口编号与目标接口编号是否相同;
标记去除单元,与所述第二判断单元连接,用于在所述待转发数据包的原始接口编号与目标接口编号相同时,去除所述待转发数据包中的接口标记;
数据包转发单元,与所述标记去除单元连接,用于将去除接口标记后的所述待转发数据包转发至与所述目标接口编号对应的内核网络接口。
于本发明的一实施例中,所述数据包转发单元还与所述第二判断单元连接,用于在所述待转发数据包的原始接口编号与目标接口编号不相同时,丢弃所述待转发数据包。
如上所述,本发明的上行数据包转发方法及装置、下行数据包转发方法及装置,具有以下有益效果:
通过于内核网络接口设置包括接口名称和接口类型的接口属性,所述接口类型包括局域网接口和广域网接口;并在接口类型为局域网接口时,于所述内核网络接口设置包括接口名称和接口编号的接口标记,从而在上行数据包转发方法过程中,根据内核网络接口的接口编号判断该内核网络接口的接口状态是否为绑定状态,从而确定接口类型为广域网接口和局域网接口的内核网络接口之间是否存在绑定关系,并在接口状态为绑定状态时,于所述待转发数据包中添加内核网络接口的接口标记,并将添加接口标记后的待转发数据包转发至接口类型为广域网接口的内核网络接口。以利于广域网在接收到待转发数据包之后,根据接口标记确定向其转发数据包的局域网,进而方便上行设备根据接口标记做出相应的转发和安全处理。以及在接口状态为非绑定状态时,将待转发数据直接转发至接口类型为广域网接口的内核网络接口,提高转发效率。在下行数据包转发方法过程中,根据所述待转发数据包的接口标记确定所述待转发数据包的原始接口名称和原始接口编号,并在所述待转发数据包的原始接口编号与目标接口编号相同时,去除所述待转发数据包中的接口标记,并将去除接口标记后的所述待转发数据包转发至与所述目标接口编号对应的内核网络接口,提高了转发的准确度。
同时,上述上行数据包转发方法和下行数据包转发方法均通过待转发数据包中的接口标记实现准确转发,无需在更改SSID与局域网之间配置关系时重新建立绑定关系,以及无需在数据包转发过程中查询bridge接口列表,简化了数据包转发流程,提高了转发效率。
附图说明
图1显示为本发明上行数据包转发方法的于一实施例中的流程示意图。
图2显示为本发明上行数据包转发装置的于一实施例中的结构示意图。
图3显示为本发明下行数据包转发方法的于一实施例中的流程示意图。
图4显示为本发明下行数据包转发装置的于一实施例中的结构示意图。
元件标号说明
1        上行数据包转发装置
11       第一判断单元
12       标记添加单元
13       数据包转发单元
2        下行数据包转发装置
21       编号获取单元
22       第二判断单元
23       标记去除单元
24       数据包转发单元
S11~S14 步骤
S21~S26 步骤
具体实施方式
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。
需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图式中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实 际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。
在局域网与广域网之间数据包的转发过程中,将内核网络中内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口时,所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号。通过待转发数据包中的接口标记实现准确转发,简化了数据包转发流程,提高了转发效率。
请参阅图1,本发明提供一种上行数据包转发方法的于一实施例中的流程示意图。图1中上行数据包转发方法包括:
步骤S11,所述接口类型为局域网接口的内核网络接口接收待转发数据包;
步骤S12,根据接收所述待转发数据包的内核网络接口的接口编号判断接收所述待转发数据包的内核网络接口的接口状态是否为绑定状态;
步骤S12中,若接收所述待转发数据包的内核网络接口的接口状态为绑定状态,则执行步骤S13,于所述待转发数据包中添加内核网络接口的接口标记;然后,执行步骤S14,将待转发数据包转发至接口类型为广域网接口的内核网络接口。若接收所述待转发数据包的内核网络接口的接口状态为非绑定状态,则直接执行步骤S14,将待转发数据包转发至接口类型为广域网接口的内核网络接口。
具体的,可将接口状态为非绑定状态的内核网络接口的接口编号设置为0。此时,可判断接收所述待转发数据包的内核网络接口的接口编号是否为0;若接收所述待转发数据包的内核网络接口的接口编号为0,则该内核网络接口的接口状态为非绑定状态,内核网络接口不存在绑定关系;否则,该内核网络接口存在绑定关系。
此时,在接收所述待转发数据包的内核网络接口的接口编号为0时,直接执行步骤S14,将待转发数据包转发至接口类型为广域网接口的内核网络接口。在接收所述待转发数据包的内核网络接口的接口编号不为0时,执行步骤S13,于所述待转发数据包中添加内核网络接口的接口标记;然后,执行步骤S14,将待转发数据包转发至接口类型为广域网接口的内核网络接口。
本实施例中,通过802.1q协议于所述待转发数据包中添加内核网络接口的接口标记。其具体标记方法在此不作赘述。
本实施例中,通过于内核网络接口设置包括接口名称和接口类型的接口属性,所述接口类型包括局域网接口和广域网接口;并在接口类型为局域网接口时,于所述内核网络接口设 置包括接口名称和接口编号的接口标记,从而在上行数据包转发方法过程中,根据内核网络接口的接口编号判断该内核网络接口的接口状态是否为绑定状态,从而确定接口类型为广域网接口和局域网接口的内核网络接口之间是否存在绑定关系,并在接口状态为绑定状态时,于所述待转发数据包中添加内核网络接口的接口标记,并将添加接口标记后的待转发数据包转发至接口类型为广域网接口的内核网络接口。以利于广域网在接收到待转发数据包之后,根据接口标记确定向其转发数据包的局域网,进而方便上行设备根据接口标记做出相应的转发和安全处理。以及在接口状态为非绑定状态时,将待转发数据直接转发至接口类型为广域网接口的内核网络接口,提高转发效率。另外,在更改SSID与局域网之间配置关系时无需重新建立绑定关系,以及在数据包转发过程中无需查询bridge接口列表,简化了数据包转发流程,提高了转发效率。
请参阅图2,本发明上行数据包转发装置的于一实施例中的结构示意图。内核网络接口(图未示)用于局域网与广域网之间的数据包转发,所述内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口的所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号。图2中上行数据包转发装置1包括:
第一判断单元11,与接口类型为局域网接口的内核网络接口连接,用于根据接收所述待转发数据包的内核网络接口的接口编号判断接收所述待转发数据包的内核网络接口的接口状态是否为绑定状态;
标记添加单元12,与所述第一判断单元11连接,用于在接收所述待转发数据包的内核网络接口的接口状态为绑定状态时,于所述待转发数据包中添加内核网络接口的接口标记;
数据包转发单元13,与所述标记添加单元12连接,用于将添加接口标记后的待转发数据包转发至接口类型为广域网接口的内核网络接口。
本实施例中,所述标记添加单元12通过802.1q协议于所述待转发数据包中添加内核网络接口的接口标记。其具体添加方法在此不作赘述。
在另一个实施例中,所述数据包转发单元13还与所述第一判断单元11连接,用于在接收所述待转发数据包的内核网络接口的接口状态为非绑定状态时,将所述待转发数据包直接转发至接口类型为广域网接口的内核网络接口。
本实施例中上行数据包转发装置具有转发准确、效率高的优点。而且,在更改SSID与局域网之间配置关系时无需重新建立绑定关系,以及在数据包转发过程中无需查询bridge接口列表,简化了数据包转发流程,提高了转发效率。
请参阅图3,本发明下行数据包转发方法的于一实施例中的流程示意图。在局域网与广域网之间数据包的转发过程中,将内核网络中内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口时,所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号。图3中下行数据包转发方法包括:
步骤S21,所述接口类型为广域网接口的内核网络接口接收待转发数据包,所述待转发数据包包括接口标记;
步骤S22,根据所述待转发数据包的接口标记,确定所述待转发数据包的原始接口名称和原始接口编号;
步骤S23,判断所述待转发数据包的原始接口编号与目标接口编号是否相同;
若相同,则执行步骤S24,去除所述待转发数据包中的接口标记,然后,执行步骤S25,将去除接口标记后的所述待转发数据包转发至与所述目标接口编号对应的内核网络接口。
在另一个实施例中,步骤S23中,若所述待转发数据包的原始接口编号与目标接口编号不相同,则执行步骤S26,丢弃所述待转发数据包。
本实施例中,通过于内核网络接口设置包括接口名称和接口类型的接口属性,所述接口类型包括局域网接口和广域网接口;并在接口类型为局域网接口时,于所述内核网络接口设置包括接口名称和接口编号的接口标记,从而在下行数据包转发方法过程中,根据所述待转发数据包的接口标记确定所述待转发数据包的原始接口名称和原始接口编号,并在所述待转发数据包的原始接口编号与目标接口编号相同时,去除所述待转发数据包中的接口标记,并将去除接口标记后的所述待转发数据包转发至与所述目标接口编号对应的内核网络接口,提高了转发的准确度。
同时,该下行数据包转发方法通过待转发数据包中的接口标记实现准确转发,无需在更改SSID与局域网之间配置关系时重新建立绑定关系,以及无需在数据包转发过程中查询bridge接口列表,简化了数据包转发流程,提高了转发效率。
请参阅图4,本发明下行数据包转发装置的于一实施例中的结构示意图。内核网络接口(图未示)用于局域网与广域网之间的数据包转发,所述内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口的所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号。图4中下行数据包转发装置2包括:
编号获取单元21,与接口类型为广域网接口的所述内核网络接口连接,用于接收待转发 数据包,并根据所述待转发数据包的接口标记,确定所述待转发数据包的原始接口名称和原始接口编号;
第二判断单元22,与所述编号获取单元21连接,用于判断所述待转发数据包的原始接口编号与目标接口编号是否相同;
标记去除单元23,与所述第二判断单元22连接,用于在所述待转发数据包的原始接口编号与目标接口编号相同时,去除所述待转发数据包中的接口标记;
数据包转发单元24,与所述标记去除单元23连接,用于将去除接口标记后的所述待转发数据包转发至与所述目标接口编号对应的内核网络接口。
本实施例中,所述数据包转发单元24还与所述第二判断单元22连接,用于在所述待转发数据包的原始接口编号与目标接口编号不相同时,丢弃所述待转发数据包。
本实施例中下行数据包转发装置具有转发准确、效率高的优点。而且,在更改SSID与局域网之间配置关系时无需重新建立绑定关系,以及在数据包转发过程中无需查询bridge接口列表,简化了数据包转发流程,提高了转发效率。
综上所述,本发明上行或下行数据包转发技术具有转发准确、效率高的优点。而且,在更改SSID与局域网之间配置关系时无需重新建立绑定关系,以及在数据包转发过程中无需查询bridge接口列表,简化了数据包转发流程,提高了转发效率。所以,本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。

Claims (10)

  1. 一种上行数据包转发方法,其特征在于,内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口时,所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号;所述上行数据包转发方法包括以下步骤:
    所述接口类型为局域网接口的内核网络接口接收待转发数据包;
    根据接收所述待转发数据包的内核网络接口的接口编号判断接收所述待转发数据包的内核网络接口的接口状态是否为绑定状态;
    若是,则于所述待转发数据包中添加内核网络接口的接口标记,并将添加接口标记后的待转发数据包转发至接口类型为广域网接口的内核网络接口。
  2. 根据权利要求1所述的上行数据包转发方法,其特征在于:若接收所述待转发数据包的内核网络接口的接口状态为非绑定状态,则将所述待转发数据包直接转发至接口类型为广域网接口的内核网络接口。
  3. 根据权利要求1所述的上行数据包转发方法,其特征在于:通过802.1q协议于所述待转发数据包中添加内核网络接口的接口标记。
  4. 一种上行数据包转发装置,其特征在于,内核网络接口用于局域网与广域网之间的数据包转发,所述内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口的所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号;所述上行数据包转发装置包括:
    第一判断单元,与接口类型为局域网接口的内核网络接口连接,用于根据接收所述待转发数据包的内核网络接口的接口编号判断接收所述待转发数据包的内核网络接口的接口状态是否为绑定状态;
    标记添加单元,与所述第一判断单元连接,用于在接收所述待转发数据包的内核网络接口的接口状态为绑定状态时,于所述待转发数据包中添加内核网络接口的接口标记;
    数据包转发单元,与所述标记添加单元连接,用于将添加接口标记后的待转发数据包转发至接口类型为广域网接口的内核网络接口。
  5. 根据权利要求4所述的上行数据包转发装置,其特征在于:所述数据包转发单元还与所述第一判断单元连接,用于在接收所述待转发数据包的内核网络接口的接口状态为非绑定状 态时,将所述待转发数据包直接转发至接口类型为广域网接口的内核网络接口。
  6. 根据权利要求4所述的上行数据包转发装置,其特征在于:所述标记添加单元通过802.1q协议于所述待转发数据包中添加内核网络接口的接口标记。
  7. 一种下行数据包转发方法,其特征在于,内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口时,所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号;所述下行数据包转发方法包括以下步骤:
    所述接口类型为广域网接口的内核网络接口接收待转发数据包,所述待转发数据包包括接口标记;
    根据所述待转发数据包的接口标记,确定所述待转发数据包的原始接口名称和原始接口编号;
    判断所述待转发数据包的原始接口编号与目标接口编号是否相同;
    若相同,去除所述待转发数据包中的接口标记,并将去除接口标记后的所述待转发数据包转发至与所述目标接口编号对应的内核网络接口。
  8. 根据权利要求7所述的下行数据包转发方法,其特征在于,所述下行数据包转发方法还包括:在所述待转发数据包的原始接口编号与目标接口编号不相同时,丢弃所述待转发数据包。
  9. 一种下行数据包转发装置,其特征在于,内核网络接口用于局域网与广域网之间的数据包转发,所述内核网络接口设置有接口属性,所述接口属性包括接口名称和接口类型,所述接口类型包括局域网接口和广域网接口;接口类型为局域网接口的所述内核网络接口还设置有接口标记,所述接口标记包括接口名称和接口编号;所述下行数据包转发装置包括:
    编号获取单元,与接口类型为广域网接口的所述内核网络接口连接,用于接收待转发数据包,并根据所述待转发数据包的接口标记,确定所述待转发数据包的原始接口名称和原始接口编号;
    第二判断单元,与所述编号获取单元连接,用于判断所述待转发数据包的原始接口编号与目标接口编号是否相同;
    标记去除单元,与所述第二判断单元连接,用于在所述待转发数据包的原始接口编号 与目标接口编号相同时,去除所述待转发数据包中的接口标记;
    数据包转发单元,与所述标记去除单元连接,用于将去除接口标记后的所述待转发数据包转发至与所述目标接口编号对应的内核网络接口。
  10. 根据权利要求9所述的下行数据包转发装置,其特征在于:所述数据包转发单元还与所述第二判断单元连接,用于在所述待转发数据包的原始接口编号与目标接口编号不相同时,丢弃所述待转发数据包。
PCT/CN2016/101383 2015-11-06 2016-09-30 上行数据包转发方法及装置、下行数据包转发方法及装置 WO2017076148A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/537,413 US20180262364A1 (en) 2015-11-06 2016-09-30 Uplink data packet forwarding method and apparatus, and downlink data packet forwarding method and apparatus
EP16861416.2A EP3229426A4 (en) 2015-11-06 2016-09-30 Uplink data packet forwarding method and apparatus, and downlink data packet forwarding method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510750130.1A CN105429901B (zh) 2015-11-06 2015-11-06 上行数据包转发方法及装置、下行数据包转发方法及装置
CN201510750130.1 2015-11-06

Publications (1)

Publication Number Publication Date
WO2017076148A1 true WO2017076148A1 (zh) 2017-05-11

Family

ID=55507846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101383 WO2017076148A1 (zh) 2015-11-06 2016-09-30 上行数据包转发方法及装置、下行数据包转发方法及装置

Country Status (4)

Country Link
US (1) US20180262364A1 (zh)
EP (1) EP3229426A4 (zh)
CN (1) CN105429901B (zh)
WO (1) WO2017076148A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429901B (zh) * 2015-11-06 2018-09-28 上海斐讯数据通信技术有限公司 上行数据包转发方法及装置、下行数据包转发方法及装置
CN113497798B (zh) * 2020-04-08 2023-01-06 北京中科网威信息技术有限公司 一种用于防火墙的基于fpga的数据转发方法
US20220030665A1 (en) * 2020-07-27 2022-01-27 Arris Enterprises Llc Multiple virtual interfaces through a single physical interface
CN112566220B (zh) * 2020-11-25 2022-10-18 中移(杭州)信息技术有限公司 配网信息同步方法、装置及计算机设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215157A (zh) * 2010-04-07 2011-10-12 康联讯科技股份有限公司 数据封包的传送方法与应用该方法的网络装置
US20130028176A1 (en) * 2011-07-28 2013-01-31 Jocelyn Le Sage Wireless transmission of data packets based on client associations
CN104038402A (zh) * 2014-06-11 2014-09-10 普联技术有限公司 一种访客网络的实现方法及无线路由器
CN104580544A (zh) * 2013-10-17 2015-04-29 中国电信股份有限公司 基于无线网络双协议的网络接入方法和系统
CN105429901A (zh) * 2015-11-06 2016-03-23 上海斐讯数据通信技术有限公司 上行数据包转发方法及装置、下行数据包转发方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100399767C (zh) * 2003-09-26 2008-07-02 华为技术有限公司 一种虚拟交换机系统接入ip公网的方法
US8868790B2 (en) * 2004-02-13 2014-10-21 Oracle International Corporation Processor-memory module performance acceleration in fabric-backplane enterprise servers
GB0513316D0 (en) * 2005-06-29 2005-08-03 Symbian Software Ltd Scoping of IPV4 addresses
CN101150480B (zh) * 2007-10-19 2011-05-11 中兴通讯股份有限公司 一种改善广域网桥数据转发性能的方法及装置
CN101459601B (zh) * 2008-12-04 2011-12-28 福建星网锐捷网络有限公司 一种网桥转发报文的方法和网桥

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215157A (zh) * 2010-04-07 2011-10-12 康联讯科技股份有限公司 数据封包的传送方法与应用该方法的网络装置
US20130028176A1 (en) * 2011-07-28 2013-01-31 Jocelyn Le Sage Wireless transmission of data packets based on client associations
CN104580544A (zh) * 2013-10-17 2015-04-29 中国电信股份有限公司 基于无线网络双协议的网络接入方法和系统
CN104038402A (zh) * 2014-06-11 2014-09-10 普联技术有限公司 一种访客网络的实现方法及无线路由器
CN105429901A (zh) * 2015-11-06 2016-03-23 上海斐讯数据通信技术有限公司 上行数据包转发方法及装置、下行数据包转发方法及装置

Also Published As

Publication number Publication date
CN105429901B (zh) 2018-09-28
EP3229426A4 (en) 2018-03-28
CN105429901A (zh) 2016-03-23
US20180262364A1 (en) 2018-09-13
EP3229426A1 (en) 2017-10-11

Similar Documents

Publication Publication Date Title
EP3222012B1 (en) Method and system for virtualizing flow tables in a software-defined networking (sdn) system
WO2020233192A1 (zh) 一种为业务流提供业务服务的方法和装置
WO2020063500A1 (zh) 获取SRv6隧道信息的方法、设备和系统
WO2017076148A1 (zh) 上行数据包转发方法及装置、下行数据包转发方法及装置
CN107395532B (zh) 一种基于sdn的多租户虚拟网络隔离方法
US10673737B2 (en) Multi-VRF universal device internet protocol address for fabric edge devices
WO2016082588A1 (zh) 链路连通性检测方法及装置
WO2015109821A1 (zh) 一种管理业务链的方法、系统及装置
WO2012167697A1 (zh) 抑制网络风暴的方法及处理器
US10397116B1 (en) Access control based on range-matching
WO2017107814A1 (zh) 一种传播QoS策略的方法、装置及系统
EP2712130B1 (en) Service control method and system for autonomous network
WO2016041379A1 (zh) Nni ping的实现方法及装置
US11895021B2 (en) Message sending and receiving method, apparatus, and system
WO2017194989A1 (en) Mechanism for inline packet response generation in software defined networks
US7788714B2 (en) Packet transfer apparatus
CN106330784A (zh) 一种端口扩展方法及装置
EP2908476B1 (en) Method and apparatus for sending multi-link transparent interconnected data frame
TW201947889A (zh) 功能擴展式有線網路裝置
WO2023088145A1 (zh) 一种报文处理方法、装置及设备
WO2023231438A1 (zh) 报文发送的方法、网络设备及系统
Nykänen EVPN in Private Cellular Networks
US20220394114A1 (en) Method for Robust Communication Between Nodes That Are Adjacent At Layer 3
CN108418741A (zh) 一种基于vlan id字段的扩展vlan策略划分方法
CN116800670A (zh) 一种路由通告的方法、报文处理的方法及相关设备

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 15537413

Country of ref document: US

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16861416

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2016861416

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE