WO2012155867A1 - Packet sending method and access controller - Google Patents

Packet sending method and access controller Download PDF

Info

Publication number
WO2012155867A1
WO2012155867A1 PCT/CN2012/076837 CN2012076837W WO2012155867A1 WO 2012155867 A1 WO2012155867 A1 WO 2012155867A1 CN 2012076837 W CN2012076837 W CN 2012076837W WO 2012155867 A1 WO2012155867 A1 WO 2012155867A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
access point
interface
address
point
Prior art date
Application number
PCT/CN2012/076837
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2012155867A1 publication Critical patent/WO2012155867A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5691Access to open networks; Ingress point selection, e.g. ISP selection

Definitions

  • the present invention relates to the field of communications, and in particular, to a method for sending a message and an access controller. Background technique
  • the star network topology is widely used. This networking mode is to access multiple access points simultaneously by one access controller, as shown in Figure 1. Access the different interfaces on the controller. As shown in Figure 1, interface 1, interface 2 to interface n must be configured with IP addresses of different network segments. Each access point needs to occupy one network segment. IP1 to IPn belong to different interfaces. network segment. Since a minimum network segment must also have 4 IP addresses, n access points need to occupy 4*n IP addresses. As the number of access points increases, the consumption of IP addresses is severe, and the number of routes to the access controller increases, which increases the complexity of network planning and management.
  • the current method of multi-fetching is to use the unnumbered IP technology, ie IP UNNUMBERED.
  • Interface 2 to interface n does not configure an IP address. Instead, configure the IP UNNUMBERED attribute.
  • Unnumbered IP technology has a very limited condition. This technology is only applied to point-to-point interfaces and cannot be used during Ethernet access.
  • a large number of static routes that directly specify outgoing interfaces are configured on the access controller. The management and maintenance costs are high.
  • VLAN Network, Virtual Local Area Network
  • the SUPERVLAN On the access controller, the physical interface is divided into logical interfaces that belong to different VLANs. These logical interfaces are called VLAN sub-interfaces. One or more VLAN sub-interfaces can be aggregated to form a new logical interface, that is, the SUPERVLAN interface.
  • Each access point and the SUPERVLAN interface are planned with an IP address and are all divided into the same network segment. This technology is suitable for accessing multiple access points on the same interface. It needs to plan the VLAN of the network, including access controllers, access points, and Layer 2 networks between the two. This greatly increases the network. Planning and management complexity. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a method for sending a message and an access controller to save IP address resources in the access network.
  • the present invention provides a packet sending method, including: establishing a correspondence between address information of an access point and an interface of the access point accessing the access controller; When accessing the access point, if the access controller finds that the outbound interface that accesses the access point is a preset virtual interface, the access point is searched according to the next hop IP address and the corresponding relationship. An interface of the access controller, where the IP address of the virtual interface belongs to the same network segment as the IP address of the access point;
  • Encapsulating the data packet sending the data packet to the access point by using an interface of the access point to access the access controller.
  • the correspondence between the address information of the access point and the interface of the access point to access the access controller includes:
  • the access controller enables an address resolution protocol proxy to learn media access control (MAC) address information of the access point;
  • MAC media access control
  • the foregoing method has the following features: sending, by the access point, the interface of the access controller to the access point, to send the data packet to the access point, including:
  • the correspondence between the address information of the access point and the interface of the access point to access the access controller includes:
  • the access controller negotiates an IP address of the access point through an IP control protocol of a point-to-point protocol; Establishing a correspondence between an IP address of the access point and an interface of the access point to access the access controller.
  • the foregoing method has the following features: sending, by the access point, the interface of the access controller to the access point, to send the data packet to the access point, including:
  • the correspondence between the address information of the access point and the interface of the access point to access the access controller includes:
  • the access controller enables an asynchronous transfer mode address resolution protocol proxy to learn an asynchronous transfer mode address of the access point;
  • the foregoing method has the following features: sending, by the access point, the interface of the access controller to the access point, to send the data packet to the access point, including:
  • an access controller including:
  • Establishing a module which is configured to: establish a correspondence between address information of the access point and an interface of the access point to access the access controller;
  • a locating module configured to: when the access controller accesses the access point, if the outbound interface that accesses the access point is a preset virtual interface, according to the next hop IP address and The corresponding relationship is used to search for an interface of the access point to access the access controller, where the IP address of the virtual interface belongs to the same network segment as the IP address of the access point;
  • a sending module configured to: encapsulate a data packet, and access the access control by using the access point
  • the interface of the device sends the data packet to the access point.
  • the access controller further has the following features:
  • the establishing module includes: a learning unit, configured to: enable an address resolution protocol proxy to learn a MAC address of the access point;
  • An establishing unit configured to: establish an IP address of the access point, a MAC address of the access point, and a correspondence between an access point of the access point and an access controller;
  • the sending module includes:
  • the encapsulating unit is configured to: encapsulate the destination MAC address and the source MAC address of the Ethernet frame header of the packet according to the corresponding relationship;
  • a sending unit configured to: send, by the access point, an interface of the access controller to the access point.
  • the access controller further has the following features:
  • the establishing module includes: a learning unit, configured to: learn an IP address of the access point by using an IP control protocol of a point-to-point protocol;
  • the establishing unit is configured to: establish a correspondence between an IP address of the access point and an interface of the access point to access the access controller.
  • the sending module includes:
  • the encapsulation unit is configured to: encapsulate the point-to-point protocol frame header information of the message;
  • a sending unit configured to: send, by the access point, an interface of the access controller to the access point.
  • the access controller further has the following features:
  • the establishing module includes: a learning unit, configured to: enable an asynchronous transfer mode address resolution protocol proxy to learn an asynchronous transfer address of the access point;
  • An establishing unit configured to: establish an IP address of the access point, an asynchronous transmission address of the access point, and a correspondence between an access point of the access point and an interface of the access controller;
  • the sending module includes:
  • the encapsulation unit is configured to: obtain a virtual channel identifier of the virtual connection according to the corresponding relationship, and virtual link
  • the path identifier and the interface information of the virtual link are used to convert the IP packet sent to the access point into an asynchronous transmission mode cell;
  • a sending unit configured to: send the asynchronous transmission mode cell to the access point by using an interface of the access point to access the access controller.
  • the embodiment of the invention provides a method for sending a message and an access controller, which can save an IP address resource in the access network.
  • Figure 1 is a schematic diagram of a conventional access method
  • FIG. 2 is a schematic diagram of an access controller according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for sending a message according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an access mode according to an embodiment of the present invention. Preferred embodiment of the invention
  • FIG. 2 is a schematic diagram of an access controller according to an embodiment of the present invention. As shown in FIG. 2, the access controller of this embodiment includes:
  • Establishing a module configured to establish a correspondence between address information of the access point and an interface of the access point to access the access controller;
  • a locating module configured to: when the access controller accesses the access point, if the outbound interface that accesses the access point is a preset virtual interface, according to the next hop IP address and the Corresponding to find an interface of the access point to access the access controller, where the IP address of the virtual interface belongs to the same network segment as the IP address of the access point; And a sending module, configured to encapsulate the data packet, and send the data packet to the access point by using an interface of the access point to access the access controller.
  • the establishing module includes:
  • a learning unit configured to enable an address resolution protocol proxy to learn a MAC address of the access point
  • an establishing unit configured to establish an IP address of the access point, a MAC address of the access point, and access by the access point Corresponding relationship of the interface of the access controller
  • the sending module includes:
  • An encapsulating unit configured to encapsulate a destination MAC address and a source MAC address of an Ethernet frame header of the packet according to the corresponding relationship
  • a sending unit configured to send the packet to the access point by using an interface of the access point to access the access controller.
  • the establishing module includes:
  • a learning unit configured to negotiate an IP address of the access point by using an IP control protocol of a point-to-point protocol
  • a establishing unit configured to establish a correspondence between an IP address of the access point and an interface of the access point to access the access controller.
  • the sending module includes:
  • a packing unit configured to encapsulate a point-to-point protocol frame header information of the message
  • a sending unit configured to send the packet to the access point by using an interface of the access point to access the access controller.
  • the establishing module includes:
  • a learning unit configured to enable an asynchronous transfer mode address resolution protocol agent to learn an asynchronous transfer address of the access point
  • An establishing unit configured to establish an IP address of the access point, an asynchronous transmission address of the access point, and a correspondence between an access point of the access point and an interface of the access controller;
  • the sending module includes:
  • a coding unit configured to obtain a virtual channel identifier and a virtual path identifier of the virtual connection according to the corresponding relationship Identifying the interface information of the virtual connection and converting the IP packet sent to the access point into an asynchronous transmission mode cell;
  • a sending unit configured to send, by using an interface of the access point to the access controller, the asynchronous transmission mode cell to the access point.
  • FIG. 3 is a flowchart of a method for sending a text according to an embodiment of the present invention. As shown in FIG. 3, the method in this embodiment includes:
  • S30 Encapsulate a data packet, and send the data packet to the access point by using an interface of the access point to access the access controller.
  • the packet sending method in this embodiment is applicable to various access modes, for example, an Ethernet access mode, a PPP (Point-to-Point Protocol) access mode, and an IPoA (IP over ATM, It is applicable to bear the IP in the asynchronous transmission mode network.
  • the access mode can greatly reduce the number of routes on the access controller and reduce the complexity of network planning and management.
  • the embodiments of the present invention are applicable to various access networks, and can be widely applied in a 3G access network.
  • the WCDMA (Wideband Code Division Multiple Access) access network is taken as an example. If the access point in Figure 4 is a base station (Node B), the access controller is an RNC (Radio Network Controller).
  • RNC Radio Network Controller
  • each Node B is configured with an IP (Internet Protocol) address, which can be planned on the same network segment.
  • the RNC virtualizes an interface.
  • the IP address configured for the virtual interface belongs to the same network segment as the IP address of the Node B.
  • the actual interface of each Node B connected to the RNC does not need to be configured with an IP address.
  • Embodiment 1 Ethernet access mode The access interface on the RNC side needs to enable the ARP (Address Resolution Protocol) proxy, which is used to proxy the MAC (Media Access Control) address of the RNC virtual interface IP address.
  • ARP Address Resolution Protocol
  • MAC Media Access Control
  • Node B When Node B actively learns the RNC's MAC address, Node B sends an ARP request to the RNC. After receiving the ARP request, the access interface on the RNC side finds that the ARP proxy is enabled, and the proxy service IP responds, and sends the MAC response of the interface to the Node B. The MAC address of the Node B and the corresponding access RNC are also recorded. Correspondence of the interface. After receiving the ARP reply, Node B also learned the RNC's MAC.
  • the RNC When the RNC actively learns the MAC address of Node B, the RNC sends an ARP request to Node B.
  • the source MAC address When an ARP request is sent from an ARP proxy-enabled interface, the source MAC address should be filled in as the MAC address of the interface.
  • Node B After receiving the ARP request, Node B will reply its own MAC address to the RNC and record the MAC address of the RNC. After receiving the ARP reply, the RNC learns the MAC address of the Node B and the corresponding interface to the RNC.
  • the mapping between the IP address of the Node B and the MAC address of the Node B and the access interface on the RNC side can be established, or the IP address of the Node B and the Node can be manually configured.
  • the packet After the correspondence between the MAC address of B and the access interface on the RNC side, the packet can be sent and received.
  • the RNC searches for the routing table to obtain the outbound interface. If the outbound interface is the default virtual interface, the RNC searches the ARP table according to the next hop IP address to obtain the MAC address of the Node B and the corresponding interface. After the inbound interface is encapsulated with the Ethernet frame header information such as the destination MAC address and source MAC address, it can be successfully sent out from the corresponding access interface. After Node B receives the message, there is no special situation and it can be processed normally.
  • the Node B when sending the packet, the Node B first searches the routing table to obtain the actual outgoing interface, and then searches the ARP table to obtain the MAC address of the RNC. After the packet encapsulates the Ethernet frame header information such as the destination MAC address and the source MAC address, It can be successfully sent out from the outbound interface. This sending process is the same as when the invention is not used. After the RNC receives the message, there is no special point, and it can be processed normally.
  • Embodiment 2 PPP access mode:
  • the RNC When the RNC negotiates with the Node B in the Point-to-Point Protocol (PPP) IPCP (IP Control Protocol), regardless of whether the IP address of the NodeB is manually configured or automatically on the RNC side.
  • PPP Point-to-Point Protocol
  • IPCP IP Control Protocol
  • the RNC can record the IP of the Node B through IPCP negotiation. This establishes the correspondence between the IP address of the Node B and the corresponding access RNC interface. Whether it is automatically learning the correspondence or manually configuring the correspondence, as long as the correspondence is available, the message can be sent and received.
  • the RNC For the downlink packet, when the RNC sends the packet, it first searches the routing table to obtain the outgoing interface, and the outgoing interface is the default virtual interface. Then, the corresponding relationship between the IP address of the Node B and the corresponding RNC interface is obtained, and the corresponding access interface is obtained. After the PPP frame header information of the packet is encapsulated, the corresponding access interface can be successfully sent out. After Node B receives the message, there is no special point and it can be processed normally.
  • the Node B when sending the packet, the Node B first searches the routing table to obtain the actual outgoing interface. After the packet encapsulates the PPP header information, the packet can be successfully sent out from the outgoing interface. This sending process does not use the present invention. The process is the same. After the RNC receives the message, there is no special point, and it can be processed normally.
  • Embodiment 3 IPoA access mode:
  • the access interface on the RNC side needs to enable the ATM ARP proxy to proxy the RNC virtual interface.
  • the ATM address of the IP address is the ATM address of the IP address.
  • the learning process of the entire ATM address is the same as that of the Ethernet access. This can automatically learn the correspondence between the IP address of the Node B and the ATM address of the interface that the Node B accesses the RNC. With this correspondence, the text can be sent and received.
  • the RNC For the downlink packet, when the RNC sends the packet, it first searches the routing table to obtain the outgoing interface, and the outgoing interface is the default virtual interface. Then, the mapping between the IP address of the Node B and the ATM address of the interface that the Node B accesses the RNC is obtained, and the VPI (virtual channel identifier), the VCI (virtual path identifier), and the access of the virtual link of the corresponding virtual connection are obtained. Interfaces, IP packets can be converted to ATM cells and successfully sent out from the corresponding access interface. After Node B receives the cell, there is no special, normal processing can be.
  • the Node B when sending the packet, the Node B first searches the routing table to obtain the actual outgoing interface. After the IP packet is translated into the ATM cell, the packet can be successfully sent out from the outbound interface. The flow is the same when the invention is not used. After the RNC receives the cell, there is no special point. Normally, the ATM cell is converted into an IP file for processing.
  • this embodiment saves the IP address resource in the access network, and does not increase the complexity in configuration.
  • this embodiment is applicable to multiple access modes such as Ethernet, PPP, and IPoA, and is greatly reduced.
  • the number of routes on the access controller facilitates the maintenance and management of the access controller.
  • the technical solution provided by the embodiment of the present invention is only for the access controller, and is completely transparent to the access point, and the access user does not need to make any adjustment.
  • the embodiment of the present invention provides a packet sending method and an access controller, which can save an IP address resource in an access network.

Landscapes

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

Abstract

A packet sending method comprises: establishing the correspondence between address information of an access point and an interface for the access point to access an access controller; when the access controller accesses the access point, if the access controller finds that an outbound interface accessing the access point is a preset virtual interface, searching for an interface for the access point to access the access controller according to a next hop IP address and the correspondence, an IP address of the virtual interface and an IP address of the access point belonging to the same network segment; and packaging a data packet, and sending the data packet to the access point though the interface for the access point to access the access controller. An access controller comprises an establishing module, a searching module, and a sending module.

Description

一种报文发送方法及接入控制器  Message sending method and access controller
技术领域 Technical field
本发明涉及通信领域, 尤其涉及一种报文发送的方法及接入控制器。 背景技术  The present invention relates to the field of communications, and in particular, to a method for sending a message and an access controller. Background technique
在接入网中, 星形的网络拓朴结构被大量的应用, 这种组网方式是由一 个接入控制器同时接入多个接入点, 请参阅图 1。 接入控制器上不同的接口, 如图 1中的接口 1、 接口 2至接口 n必须配置不同网段的 IP地址, 这样每个 接入点都需要占用一个网段, IP1至 IPn分属于不同网段。 由于一个最小的网 段也必须有 4个 IP地址,这样 n个接入点需要占用 4*n个 IP地址。 随着接入 点的增多, IP地址的消耗严重, 接入控制器的路由数目也会随之增大, 这样 增加了网络规划和管理的复杂度。  In the access network, the star network topology is widely used. This networking mode is to access multiple access points simultaneously by one access controller, as shown in Figure 1. Access the different interfaces on the controller. As shown in Figure 1, interface 1, interface 2 to interface n must be configured with IP addresses of different network segments. Each access point needs to occupy one network segment. IP1 to IPn belong to different interfaces. network segment. Since a minimum network segment must also have 4 IP addresses, n access points need to occupy 4*n IP addresses. As the number of access points increases, the consumption of IP addresses is severe, and the number of routes to the access controller increases, which increases the complexity of network planning and management.
当遇到 IP地址数量不足时, 目前多釆取的办法是使用无编号 IP技术, 即 IP UNNUMBERED。接入控制器侧接口 1、接口 2至接口 n不配置 IP地址 , 而是配置 IP UNNUMBERED属性, 同时为每个接入点配置一条的静态路由, 直接指定相应的接口作为静态路由的出接口。 无编号 IP技术有很大的限制条 件, 此技术仅应用于点到点接口, 以太网接入时无法使用。 另外在接入控制 器上要配置大量直接指定出接口的静态路由, 管理和维护代价较高。  When the number of IP addresses is insufficient, the current method of multi-fetching is to use the unnumbered IP technology, ie IP UNNUMBERED. Accessing the controller-side interface 1. Interface 2 to interface n does not configure an IP address. Instead, configure the IP UNNUMBERED attribute. Configure a static route for each access point and directly specify the corresponding interface as the outbound interface of the static route. Unnumbered IP technology has a very limited condition. This technology is only applied to point-to-point interfaces and cannot be used during Ethernet access. In addition, a large number of static routes that directly specify outgoing interfaces are configured on the access controller. The management and maintenance costs are high.
在以太网上也有一种节省 IP地址的技术, VLAN ( Virtual Local Area There is also a technology for saving IP addresses on Ethernet, VLAN (Virtual Local Area)
Network, 虚拟局域网 )聚合即 SUPERVLAN。 接入控制器上将物理接口划分 为归属不同 VLAN的逻辑接口, 这些逻辑接口叫 VLAN子接口, 一个或者多 个 VLAN子接口可以聚合到一起形成一个新的逻辑接口,即 SUPERVLAN口。 每个接入点以及 SUPERVLAN口都规划一个 IP地址, 且都划分在同一个网 段。 这种技术比较适合同一个接口下接入多个接入点, 需要对网络的 VLAN 进行规划, 包括接入控制器、 接入点以及两者之间的二层网络, 这样也大大 增加了网络规划和管理的复杂度。 发明内容 Network, Virtual Local Area Network) is the SUPERVLAN. On the access controller, the physical interface is divided into logical interfaces that belong to different VLANs. These logical interfaces are called VLAN sub-interfaces. One or more VLAN sub-interfaces can be aggregated to form a new logical interface, that is, the SUPERVLAN interface. Each access point and the SUPERVLAN interface are planned with an IP address and are all divided into the same network segment. This technology is suitable for accessing multiple access points on the same interface. It needs to plan the VLAN of the network, including access controllers, access points, and Layer 2 networks between the two. This greatly increases the network. Planning and management complexity. Summary of the invention
本发明要解决的技术问题是提供一种报文发送的方法及接入控制器, 以 节省接入网中 IP地址资源。  The technical problem to be solved by the present invention is to provide a method for sending a message and an access controller to save IP address resources in the access network.
为了解决上述技术问题, 本发明提供了一种报文发送方法, 包括: 建立接入点的地址信息与该接入点接入接入控制器的接口的对应关系; 在所述接入控制器访问所述接入点时, 若所述接入控制器查找到访问该 接入点的出接口为预设的虚拟接口, 则根据下一跳 IP地址和所述对应关系查 找该接入点接入接入控制器的接口, 其中, 所述虚拟接口的 IP地址与所述接 入点的 IP地址属于同一网段;  In order to solve the above technical problem, the present invention provides a packet sending method, including: establishing a correspondence between address information of an access point and an interface of the access point accessing the access controller; When accessing the access point, if the access controller finds that the outbound interface that accesses the access point is a preset virtual interface, the access point is searched according to the next hop IP address and the corresponding relationship. An interface of the access controller, where the IP address of the virtual interface belongs to the same network segment as the IP address of the access point;
封装数据包, 通过所述接入点接入所述接入控制器的接口将所述数据包 发送给所述接入点。  Encapsulating the data packet, sending the data packet to the access point by using an interface of the access point to access the access controller.
优选地, 上述方法还具有下面特点: 所述建立接入点的地址信息与该接 入点接入接入控制器的接口的对应关系, 包括:  Preferably, the foregoing method further has the following features: the correspondence between the address information of the access point and the interface of the access point to access the access controller includes:
所述接入控制器启用地址解析协议代理学习所述接入点的媒体接入控制 ( MAC )地址信息;  The access controller enables an address resolution protocol proxy to learn media access control (MAC) address information of the access point;
建立所述接入点的 IP地址、 所述接入点的 MAC地址和该接入点接入所 述接入控制器的接口的对应关系。  Establishing an IP address of the access point, a MAC address of the access point, and a correspondence between the access point and an interface of the access point accessing the access controller.
优选地, 上述方法还具有下面特点: 通过所述接入点接入所述接入控制 器的接口将所述数据包发送给所述接入点, 包括:  Preferably, the foregoing method has the following features:: sending, by the access point, the interface of the access controller to the access point, to send the data packet to the access point, including:
根据所述对应关系封装 ^艮文的以太网帧头的目的 MAC地址和源 MAC地 址;  Decapsulating a destination MAC address and a source MAC address of the Ethernet frame header according to the correspondence relationship;
通过所述接入点接入所述接入控制器的接口将所述报文发送给所述接入 点。  And transmitting, by the access point, an interface of the access controller to the access point.
优选地, 上述方法还具有下面特点: 所述建立接入点的地址信息与该接 入点接入接入控制器的接口的对应关系, 包括:  Preferably, the foregoing method further has the following features: the correspondence between the address information of the access point and the interface of the access point to access the access controller includes:
所述接入控制器通过点到点协议的 IP控制协议协商学习所述接入点的 IP 地址; 建立所述接入点的 IP地址与该接入点接入所述接入控制器的接口的对应 关系。 The access controller negotiates an IP address of the access point through an IP control protocol of a point-to-point protocol; Establishing a correspondence between an IP address of the access point and an interface of the access point to access the access controller.
优选地, 上述方法还具有下面特点: 通过所述接入点接入所述接入控制 器的接口将所述数据包发送给所述接入点, 包括:  Preferably, the foregoing method has the following features:: sending, by the access point, the interface of the access controller to the access point, to send the data packet to the access point, including:
封装报文的点到点协议帧头信息;  Point-to-point protocol frame header information of the encapsulated message;
通过所述接入点接入所述接入控制器的接口将所述报文发送给所述接入 点。  And transmitting, by the access point, an interface of the access controller to the access point.
优选地, 上述方法还具有下面特点: 所述建立接入点的地址信息与该接 入点接入接入控制器的接口的对应关系, 包括:  Preferably, the foregoing method further has the following features: the correspondence between the address information of the access point and the interface of the access point to access the access controller includes:
所述接入控制器启用异步传输模式地址解析协议代理, 学习所述接入点 的异步传输模式地址;  The access controller enables an asynchronous transfer mode address resolution protocol proxy to learn an asynchronous transfer mode address of the access point;
建立所述接入点的 IP地址、所述接入点的异步传输地址和该接入点接入 所述接入控制器的接口的对应关系。  Establishing an IP address of the access point, an asynchronous transmission address of the access point, and a correspondence between an access point of the access point and an interface of the access controller.
优选地, 上述方法还具有下面特点: 通过所述接入点接入所述接入控制 器的接口将所述数据包发送给所述接入点, 包括:  Preferably, the foregoing method has the following features:: sending, by the access point, the interface of the access controller to the access point, to send the data packet to the access point, including:
根据所述对应关系获得虚连接的虚通道标识、 虚通路标识和虚连接所在 的接口信息, 将发送给所述接入点的 IP报文转换为异步传输模式信元;  Obtaining, according to the corresponding relationship, the virtual channel identifier of the virtual connection, the virtual path identifier, and the interface information of the virtual link, and converting the IP packet sent to the access point into an asynchronous transmission mode cell;
通过所述接入点接入所述接入控制器的接口将所述异步传输模式信元发 送给所述接入点。  And transmitting, by the access point to an interface of the access controller, the asynchronous transmission mode cell to the access point.
为解决上述问题, 本发明还提供了一种接入控制器, 包括:  To solve the above problem, the present invention further provides an access controller, including:
建立模块, 其设置为: 建立接入点的地址信息与该接入点接入所述接入 控制器的接口的对应关系;  Establishing a module, which is configured to: establish a correspondence between address information of the access point and an interface of the access point to access the access controller;
查找模块, 其设置为: 在所述接入控制器访问所述接入点时, 在查找到 访问该接入点的出接口为预设的虚拟接口的情况下,根据下一跳 IP地址和所 述对应关系查找该接入点接入接入控制器的接口, 其中, 所述虚拟接口的 IP 地址与所述接入点的 IP地址属于同一网段;  a locating module, configured to: when the access controller accesses the access point, if the outbound interface that accesses the access point is a preset virtual interface, according to the next hop IP address and The corresponding relationship is used to search for an interface of the access point to access the access controller, where the IP address of the virtual interface belongs to the same network segment as the IP address of the access point;
发送模块, 其设置为: 封装数据包, 通过所述接入点接入所述接入控制 器的接口将所述数据包发送给所述接入点。 a sending module, configured to: encapsulate a data packet, and access the access control by using the access point The interface of the device sends the data packet to the access point.
优选地, 上述接入控制器还具有下面特点: 所述建立模块包括: 学习单元, 设置为: 启用地址解析协议代理学习所述接入点的 MAC地 址;  Preferably, the access controller further has the following features: The establishing module includes: a learning unit, configured to: enable an address resolution protocol proxy to learn a MAC address of the access point;
建立单元, 设置为: 建立所述接入点的 IP地址、 所述接入点的 MAC地 址和该接入点接入所述接入控制器的接口的对应关系;  An establishing unit, configured to: establish an IP address of the access point, a MAC address of the access point, and a correspondence between an access point of the access point and an access controller;
所述发送模块, 包括:  The sending module includes:
封装单元, 设置为: 根据所述对应关系封装报文的以太网帧头的目的 MAC地址和源 MAC地址;  The encapsulating unit is configured to: encapsulate the destination MAC address and the source MAC address of the Ethernet frame header of the packet according to the corresponding relationship;
发送单元, 设置为: 通过所述接入点接入所述接入控制器的接口将所述 报文发送给所述接入点。  And a sending unit, configured to: send, by the access point, an interface of the access controller to the access point.
优选地, 上述接入控制器还具有下面特点: 所述建立模块包括: 学习单元, 设置为: 通过点到点协议的 IP控制协议协商学习所述接入点 的 IP地址;  Preferably, the access controller further has the following features: The establishing module includes: a learning unit, configured to: learn an IP address of the access point by using an IP control protocol of a point-to-point protocol;
建立单元, 设置为: 建立所述接入点的 IP地址与该接入点接入所述接入 控制器的接口的对应关系。  The establishing unit is configured to: establish a correspondence between an IP address of the access point and an interface of the access point to access the access controller.
所述发送模块, 包括:  The sending module includes:
封装单元, 设置为: 封装报文的点到点协议帧头信息;  The encapsulation unit is configured to: encapsulate the point-to-point protocol frame header information of the message;
发送单元, 设置为: 通过所述接入点接入所述接入控制器的接口将所述 报文发送给所述接入点。  And a sending unit, configured to: send, by the access point, an interface of the access controller to the access point.
优选地, 上述接入控制器还具有下面特点: 所述建立模块包括: 学习单元, 设置为: 启用异步传输模式地址解析协议代理学习所述接入 点的异步传输地址;  Preferably, the access controller further has the following features: The establishing module includes: a learning unit, configured to: enable an asynchronous transfer mode address resolution protocol proxy to learn an asynchronous transfer address of the access point;
建立单元, 设置为: 建立所述接入点的 IP地址、 所述接入点的异步传输 地址和该接入点接入所述接入控制器的接口的对应关系;  An establishing unit, configured to: establish an IP address of the access point, an asynchronous transmission address of the access point, and a correspondence between an access point of the access point and an interface of the access controller;
所述发送模块, 包括:  The sending module includes:
封装单元, 设置为: 根据所述对应关系获得虚连接的虚通道标识、 虚通 路标识和虚连接所在的接口信息, 将发送给所述接入点的 IP报文转换为异步 传输模式信元; The encapsulation unit is configured to: obtain a virtual channel identifier of the virtual connection according to the corresponding relationship, and virtual link The path identifier and the interface information of the virtual link are used to convert the IP packet sent to the access point into an asynchronous transmission mode cell;
发送单元, 设置为: 通过所述接入点接入所述接入控制器的接口将所述 异步传输模式信元发送给所述接入点。  And a sending unit, configured to: send the asynchronous transmission mode cell to the access point by using an interface of the access point to access the access controller.
综上, 本发明实施例提供一种报文发送的方法及接入控制器, 可以节省 接入网中 IP地址资源。 附图概述  In summary, the embodiment of the invention provides a method for sending a message and an access controller, which can save an IP address resource in the access network. BRIEF abstract
图 1为传统接入方式的示意图;  Figure 1 is a schematic diagram of a conventional access method;
图 2为本发明实施例的接入控制器的示意图;  2 is a schematic diagram of an access controller according to an embodiment of the present invention;
图 3为本发明实施例的报文发送方法的流程图;  FIG. 3 is a flowchart of a method for sending a message according to an embodiment of the present invention;
图 4为本发明实施例的接入方式的示意图。 本发明的较佳实施方式  FIG. 4 is a schematic diagram of an access mode according to an embodiment of the present invention. Preferred embodiment of the invention
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。  In order to make the objects, the technical solutions and the advantages of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be arbitrarily combined with each other.
为了更好地理解本发明, 下面结合附图和具体实施例对本发明作进一步 地描述。  For a better understanding of the invention, the invention will be further described in conjunction with the drawings and specific embodiments.
图 2为本发明实施例的接入控制器的示意图, 如图 2所示, 本实施例的 接入控制器包括:  FIG. 2 is a schematic diagram of an access controller according to an embodiment of the present invention. As shown in FIG. 2, the access controller of this embodiment includes:
建立模块, 用于建立接入点的地址信息与该接入点接入所述接入控制器 的接口的对应关系;  Establishing a module, configured to establish a correspondence between address information of the access point and an interface of the access point to access the access controller;
查找模块, 用于在所述接入控制器访问所述接入点时, 在查找到访问该 接入点的出接口为预设的虚拟接口的情况下,根据下一跳 IP地址和所述对应 关系查找该接入点接入接入控制器的接口, 其中, 所述虚拟接口的 IP地址与 所述接入点的 IP地址属于同一网段; 发送模块, 用于封装数据包, 通过所述接入点接入所述接入控制器的接 口将所述数据包发送给所述接入点。 a locating module, configured to: when the access controller accesses the access point, if the outbound interface that accesses the access point is a preset virtual interface, according to the next hop IP address and the Corresponding to find an interface of the access point to access the access controller, where the IP address of the virtual interface belongs to the same network segment as the IP address of the access point; And a sending module, configured to encapsulate the data packet, and send the data packet to the access point by using an interface of the access point to access the access controller.
在一优选实施例中, 所述建立模块包括:  In a preferred embodiment, the establishing module includes:
学习单元, 用于启用地址解析协议代理学习所述接入点的 MAC地址; 建立单元, 用于建立所述接入点的 IP地址、 所述接入点的 MAC地址和 该接入点接入所述接入控制器的接口的对应关系;  a learning unit, configured to enable an address resolution protocol proxy to learn a MAC address of the access point, and an establishing unit, configured to establish an IP address of the access point, a MAC address of the access point, and access by the access point Corresponding relationship of the interface of the access controller;
所述发送模块, 包括:  The sending module includes:
封装单元, 用于根据所述对应关系封装报文的以太网帧头的目的 MAC 地址和源 MAC地址;  An encapsulating unit, configured to encapsulate a destination MAC address and a source MAC address of an Ethernet frame header of the packet according to the corresponding relationship;
发送单元, 用于通过所述接入点接入所述接入控制器的接口将所述报文 发送给所述接入点。  And a sending unit, configured to send the packet to the access point by using an interface of the access point to access the access controller.
在一优选实施例中, 所述建立模块包括:  In a preferred embodiment, the establishing module includes:
学习单元,用于通过点到点协议的 IP控制协议协商学习所述接入点的 IP 地址;  a learning unit, configured to negotiate an IP address of the access point by using an IP control protocol of a point-to-point protocol;
建立单元, 用于建立所述接入点的 IP地址与该接入点接入所述接入控制 器的接口的对应关系。  And a establishing unit, configured to establish a correspondence between an IP address of the access point and an interface of the access point to access the access controller.
所述发送模块, 包括:  The sending module includes:
封装单元, 用于封装报文的点到点协议帧头信息;  a packing unit, configured to encapsulate a point-to-point protocol frame header information of the message;
发送单元, 用于通过所述接入点接入所述接入控制器的接口将所述报文 发送给所述接入点。  And a sending unit, configured to send the packet to the access point by using an interface of the access point to access the access controller.
在一优选实施例中, 所述建立模块包括:  In a preferred embodiment, the establishing module includes:
学习单元, 用于启用异步传输模式地址解析协议代理学习所述接入点的 异步传输地址;  a learning unit, configured to enable an asynchronous transfer mode address resolution protocol agent to learn an asynchronous transfer address of the access point;
建立单元, 用于建立所述接入点的 IP地址、 所述接入点的异步传输地址 和该接入点接入所述接入控制器的接口的对应关系;  An establishing unit, configured to establish an IP address of the access point, an asynchronous transmission address of the access point, and a correspondence between an access point of the access point and an interface of the access controller;
所述发送模块, 包括:  The sending module includes:
封装单元, 用于根据所述对应关系获得虚连接的虚通道标识、 虚通路标 识和虚连接所在的接口信息, 将发送给所述接入点的 IP报文转换为异步传输 模式信元; a coding unit, configured to obtain a virtual channel identifier and a virtual path identifier of the virtual connection according to the corresponding relationship Identifying the interface information of the virtual connection and converting the IP packet sent to the access point into an asynchronous transmission mode cell;
发送单元, 用于通过所述接入点接入所述接入控制器的接口将所述异步 传输模式信元发送给所述接入点。  And a sending unit, configured to send, by using an interface of the access point to the access controller, the asynchronous transmission mode cell to the access point.
图 3为本发明实施例的 "^文发送方法的流程图, 如图 3所示, 本实施例 的方法包括:  FIG. 3 is a flowchart of a method for sending a text according to an embodiment of the present invention. As shown in FIG. 3, the method in this embodiment includes:
S10、建立接入点的地址信息与该接入点接入接入控制器的接口的对应关 系;  S10. Establish a correspondence between address information of the access point and an interface of the access point to access the access controller.
S20、在所述接入控制器访问所述接入点时, 若所述接入控制器查找到访 问该接入点的出接口为预设的虚拟接口, 则根据下一跳 IP地址和所述对应关 系查找该接入点接入接入控制器的接口, 其中, 所述虚拟接口的 IP地址与所 述接入点的 IP地址属于同一网段;  S20, when the access controller accesses the access point, if the access controller finds that the outbound interface that accesses the access point is a preset virtual interface, according to the next hop IP address and location The corresponding relationship is used to find an interface of the access point to access the access controller, where the IP address of the virtual interface belongs to the same network segment as the IP address of the access point;
S30、封装数据包,通过所述接入点接入所述接入控制器的接口将所述数 据包发送给所述接入点。  S30. Encapsulate a data packet, and send the data packet to the access point by using an interface of the access point to access the access controller.
本实施例的报文发送的方法, 适用于各种接入方式, 例如, 以太网接入 方式、 PPP ( Point-to-Point Protocol, 点到点协议)接入方式和 IPoA ( IP over ATM, 在异步传输模式网络上承载 IP )接入方式等都适用, 可以大幅度减少 接入控制器上的路由数目, 降低网络规划和管理的复杂度。  The packet sending method in this embodiment is applicable to various access modes, for example, an Ethernet access mode, a PPP (Point-to-Point Protocol) access mode, and an IPoA (IP over ATM, It is applicable to bear the IP in the asynchronous transmission mode network. The access mode can greatly reduce the number of routes on the access controller and reduce the complexity of network planning and management.
本发明实施例适用于各种接入网, 在 3G接入网中可以得到广泛应用。 下面以 WCDMA ( Wideband Code Division Multiple Access , 宽带码分多址) 的接入网为例, 如果图 4中接入点为基站(Node B ) , 接入控制器即为 RNC (无线网络控制器) , 具体实施方式如下:  The embodiments of the present invention are applicable to various access networks, and can be widely applied in a 3G access network. The WCDMA (Wideband Code Division Multiple Access) access network is taken as an example. If the access point in Figure 4 is a base station (Node B), the access controller is an RNC (Radio Network Controller). The specific implementation is as follows:
首先, 每个 Node B配置 IP (因特网互联协议 )地址, 这些 IP地址可以 规划在同一个网段内。 RNC虚拟出一个接口,为该虚拟接口配置的 IP地址与 Node B的 IP地址属于同一个网段内, 而每个 Node B接入 RNC的实际接口 不用配置 IP地址。  First, each Node B is configured with an IP (Internet Protocol) address, which can be planned on the same network segment. The RNC virtualizes an interface. The IP address configured for the virtual interface belongs to the same network segment as the IP address of the Node B. The actual interface of each Node B connected to the RNC does not need to be configured with an IP address.
下面以三种接入方式对本发明的报文传输进行详细的说明。  The message transmission of the present invention will be described in detail below in three access modes.
实施例一, 以太网接入方式: RNC侧的接入接口需要启用 ARP (地址解析协议)代理,用于代理 RNC 虚拟接口 IP地址的 MAC ( Media Access Control, 媒体接入控制)地址。 Embodiment 1 Ethernet access mode: The access interface on the RNC side needs to enable the ARP (Address Resolution Protocol) proxy, which is used to proxy the MAC (Media Access Control) address of the RNC virtual interface IP address.
当 Node B主动学习 RNC的 MAC地址时, Node B向 RNC发送 ARP请 求。 RNC侧的接入接口接收到 ARP请求后, 发现启用了 ARP代理, 则代理 业务 IP应答, 将本接口的 MAC应答给 Node B, 同时也记录下该 Node B的 MAC地址和相应的接入 RNC的接口的对应关系。 Node B接收到 ARP应答 后, 也学习到了 RNC的 MAC。  When Node B actively learns the RNC's MAC address, Node B sends an ARP request to the RNC. After receiving the ARP request, the access interface on the RNC side finds that the ARP proxy is enabled, and the proxy service IP responds, and sends the MAC response of the interface to the Node B. The MAC address of the Node B and the corresponding access RNC are also recorded. Correspondence of the interface. After receiving the ARP reply, Node B also learned the RNC's MAC.
当 RNC主动学习 Node B的 MAC地址时, RNC向 Node B发送 ARP请 求。从启用 ARP代理的接口发送 ARP请求时, 源 MAC地址应该填写为本接 口的 MAC地址。 Node B接收到 ARP请求后,将自己的 MAC地址应答给 RNC , 同时记录下 RNC的 MAC地址。 RNC接收到 ARP应答后, 也学习到了 Node B的 MAC地址和相应的接入 RNC的接口。  When the RNC actively learns the MAC address of Node B, the RNC sends an ARP request to Node B. When an ARP request is sent from an ARP proxy-enabled interface, the source MAC address should be filled in as the MAC address of the interface. After receiving the ARP request, Node B will reply its own MAC address to the RNC and record the MAC address of the RNC. After receiving the ARP reply, the RNC learns the MAC address of the Node B and the corresponding interface to the RNC.
MAC地址和相应的接入 RNC的接口学习到以后, 即可建立 Node B的 IP地址与 Node B的 MAC地址和 RNC侧的接入接口的对应关系, 或者手动 配置好 Node B的 IP地址与 Node B的 MAC地址和 RNC侧的接入接口的对 应关系以后, 报文的收发就可以进行了。  After the MAC address and the corresponding access RNC interface are learned, the mapping between the IP address of the Node B and the MAC address of the Node B and the access interface on the RNC side can be established, or the IP address of the Node B and the Node can be manually configured. After the correspondence between the MAC address of B and the access interface on the RNC side, the packet can be sent and received.
对于下行报文, RNC在发送报文时, 先查找路由表得到出接口, 若出接 口是预设的虚拟接口, 然后根据下一跳 IP地址查找 ARP表, 得到 Node B的 MAC和相应的接入接口, 封装好目的 MAC、 源 MAC等以太网帧头信息后, 即可从相应的接入接口成功发送出去了。 Node B接收到报文后, 没有特殊之 处, 正常处理即可。  For the downlink packet, the RNC searches for the routing table to obtain the outbound interface. If the outbound interface is the default virtual interface, the RNC searches the ARP table according to the next hop IP address to obtain the MAC address of the Node B and the corresponding interface. After the inbound interface is encapsulated with the Ethernet frame header information such as the destination MAC address and source MAC address, it can be successfully sent out from the corresponding access interface. After Node B receives the message, there is no special situation and it can be processed normally.
对于上行报文, Node B在发送报文时,先查找路由表得到实际的出接口, 然后查找 ARP表, 得到 RNC的 MAC, 报文封装好目的 MAC、 源 MAC等 以太网帧头信息后即可从出接口成功发送出去了, 这个发送过程与不使用本 发明时流程是相同的。 RNC接收到报文后,也没有特殊之处,正常处理即可。  For the uplink packet, when sending the packet, the Node B first searches the routing table to obtain the actual outgoing interface, and then searches the ARP table to obtain the MAC address of the RNC. After the packet encapsulates the Ethernet frame header information such as the destination MAC address and the source MAC address, It can be successfully sent out from the outbound interface. This sending process is the same as when the invention is not used. After the RNC receives the message, there is no special point, and it can be processed normally.
实施例二, PPP接入方式:  Embodiment 2: PPP access mode:
RNC与 Node B在 PPP ( Point-to-Point Protocol,点到点协议 )的 IPCP ( IP 控制协议)协商时, 不管 NodeB的 IP地址是手动配置的, 还是 RNC侧自动 分配的, RNC侧都可以记录下通过 IPCP协商学习到 Node B的 IP, 这样就建 立了 Node B的 IP与相应接入 RNC的接口之间的对应关系。不管是这样自动 学习到对应关系, 还是手动配置对应关系, 只要有了这个对应关系以后, 报 文的收发就可以进行了。 When the RNC negotiates with the Node B in the Point-to-Point Protocol (PPP) IPCP (IP Control Protocol), regardless of whether the IP address of the NodeB is manually configured or automatically on the RNC side. On the RNC side, the RNC can record the IP of the Node B through IPCP negotiation. This establishes the correspondence between the IP address of the Node B and the corresponding access RNC interface. Whether it is automatically learning the correspondence or manually configuring the correspondence, as long as the correspondence is available, the message can be sent and received.
对于下行报文, RNC在发送报文时, 先查找路由表得到出接口, 而出接 口是预设的虚拟接口。然后查找 Node B的 IP与相应接入 RNC的接口之间的 对应关系, 得到相应的接入接口, 封装好报文的 PPP帧头信息后, 即可从相 应的接入接口成功发送出去了。 Node B接收到报文后, 没有特殊之处, 正常 处理即可。  For the downlink packet, when the RNC sends the packet, it first searches the routing table to obtain the outgoing interface, and the outgoing interface is the default virtual interface. Then, the corresponding relationship between the IP address of the Node B and the corresponding RNC interface is obtained, and the corresponding access interface is obtained. After the PPP frame header information of the packet is encapsulated, the corresponding access interface can be successfully sent out. After Node B receives the message, there is no special point and it can be processed normally.
对于上行报文, Node B在发送报文时,先查找路由表得到实际的出接口, 报文封装好 PPP帧头信息后即可从出接口成功发送出去了, 这个发送过程与 不使用本发明时流程是相同的。 RNC接收到报文后, 也没有特殊之处, 正常 处理即可。  For the uplink packet, when sending the packet, the Node B first searches the routing table to obtain the actual outgoing interface. After the packet encapsulates the PPP header information, the packet can be successfully sent out from the outgoing interface. This sending process does not use the present invention. The process is the same. After the RNC receives the message, there is no special point, and it can be processed normally.
实施例三, IPoA接入方式:  Embodiment 3: IPoA access mode:
RNC侧的接入接口需要启用 ATM ARP代理, 用于代理 RNC虚拟接口 The access interface on the RNC side needs to enable the ATM ARP proxy to proxy the RNC virtual interface.
IP地址的 ATM地址。 The ATM address of the IP address.
整个 ATM地址的学习过程与以太网接入时相同, 这样可以自动学习到 Node B的 IP地址与 Node B接入 RNC的接口的 ATM地址之间的对应关系, 当然也可以手动配置这个对应关系。 有了这个对应关系以后, 文的收发就 可以进行了。  The learning process of the entire ATM address is the same as that of the Ethernet access. This can automatically learn the correspondence between the IP address of the Node B and the ATM address of the interface that the Node B accesses the RNC. With this correspondence, the text can be sent and received.
对于下行报文, RNC在发送报文时, 先查找路由表得到出接口, 而出接 口是预设的虚拟接口。 然后查找 Node B的 IP地址与 Node B接入 RNC的接 口的 ATM地址之间的对应关系 , 得到相应的虚连接的 VPI (虚通道标识 ) 、 VCI (虚通路标识)和虚连接所在的接入接口, IP报文即可转换为 ATM信元 并从相应的接入接口成功发送出去了。 Node B接收到信元后,没有特殊之处, 正常处理即可。  For the downlink packet, when the RNC sends the packet, it first searches the routing table to obtain the outgoing interface, and the outgoing interface is the default virtual interface. Then, the mapping between the IP address of the Node B and the ATM address of the interface that the Node B accesses the RNC is obtained, and the VPI (virtual channel identifier), the VCI (virtual path identifier), and the access of the virtual link of the corresponding virtual connection are obtained. Interfaces, IP packets can be converted to ATM cells and successfully sent out from the corresponding access interface. After Node B receives the cell, there is no special, normal processing can be.
对于上行报文, Node B在发送报文时,先查找路由表得到实际的出接口, IP报文转换为 ATM信元后即可从出接口成功发送出去了, 这个发送过程与 不使用本发明时流程是相同的。 RNC接收到信元后, 也没有特殊之处, 正常 将 ATM信元转换为 IP 文进行处理即可。 For the uplink packet, when sending the packet, the Node B first searches the routing table to obtain the actual outgoing interface. After the IP packet is translated into the ATM cell, the packet can be successfully sent out from the outbound interface. The flow is the same when the invention is not used. After the RNC receives the cell, there is no special point. Normally, the ATM cell is converted into an IP file for processing.
与现有技术比较, 本实施例节省了接入网中 IP地址资源, 配置方面并没 有增加复杂度, 但本实施例适用于以太网、 PPP和 IPoA等多种接入方式, 而 且大幅度减少了接入控制器上的路由数目,有利于接入控制器的维护和管理。 同时本发明实施例所提供的技术方案仅针对接入控制器,对接入点完全透明, 接入用户不用做任何调整。  Compared with the prior art, this embodiment saves the IP address resource in the access network, and does not increase the complexity in configuration. However, this embodiment is applicable to multiple access modes such as Ethernet, PPP, and IPoA, and is greatly reduced. The number of routes on the access controller facilitates the maintenance and management of the access controller. At the same time, the technical solution provided by the embodiment of the present invention is only for the access controller, and is completely transparent to the access point, and the access user does not need to make any adjustment.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上仅为本发明的优选实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域的技术人员当可根据本 发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明 所附的权利要求的保护范围。 The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性 本发明实施例提供一种报文发送的方法及接入控制器, 可以节省接入网 中 IP地址资源。 Industrial Applicability The embodiment of the present invention provides a packet sending method and an access controller, which can save an IP address resource in an access network.

Claims

权 利 要 求 书 Claim
1、 一种 文发送方法, 包括:  1. A method for sending texts, comprising:
建立接入点的地址信息与该接入点接入接入控制器的接口的对应关系; 在所述接入控制器访问所述接入点时, 若所述接入控制器查找到访问该 接入点的出接口为预设的虚拟接口, 则根据下一跳 IP地址和所述对应关系查 找该接入点接入接入控制器的接口, 其中, 所述虚拟接口的 IP地址与所述接 入点的 IP地址属于同一网段;  Establishing a correspondence between the address information of the access point and the interface of the access point accessing the access controller; when the access controller accesses the access point, if the access controller finds the access The outbound interface of the access point is a preset virtual interface, and the interface of the access point accessing the access controller is searched according to the next hop IP address and the corresponding relationship, where the IP address of the virtual interface is The IP addresses of the access points belong to the same network segment.
封装数据包, 通过所述接入点接入所述接入控制器的接口将所述数据包 发送给所述接入点。  Encapsulating the data packet, sending the data packet to the access point by using an interface of the access point to access the access controller.
2、 如权利要求 1所述的方法, 其中, 所述建立接入点的地址信息与该接 入点接入接入控制器的接口的对应关系, 包括:  The method of claim 1, wherein the establishing the correspondence between the address information of the access point and the interface of the access point accessing the access controller comprises:
所述接入控制器启用地址解析协议代理学习所述接入点的媒体接入控制 ( MAC )地址信息;  The access controller enables an address resolution protocol proxy to learn media access control (MAC) address information of the access point;
建立所述接入点的 IP地址、 所述接入点的 MAC地址和该接入点接入所 述接入控制器的接口的对应关系。  Establishing an IP address of the access point, a MAC address of the access point, and a correspondence between the access point and an interface of the access point accessing the access controller.
3、 如权利要求 2所述的方法, 其中, 所述封装数据包, 通过所述接入点 接入所述接入控制器的接口将所述数据包发送给所述接入点, 包括:  The method of claim 2, wherein the encapsulating data packet, by using the access point to access the interface of the access controller, to send the data packet to the access point, includes:
根据所述对应关系封装 4艮文的以太网帧头的目的 MAC地址和源 MAC地 址;  Decapsulating a destination MAC address and a source MAC address of the Ethernet frame header of the message according to the correspondence relationship;
通过所述接入点接入所述接入控制器的接口将所述报文发送给所述接入 点。  And transmitting, by the access point, an interface of the access controller to the access point.
4、 如权利要求 1所述的方法, 其中, 所述建立接入点的地址信息与该接 入点接入接入控制器的接口的对应关系, 包括:  The method of claim 1, wherein the establishing the correspondence between the address information of the access point and the interface of the access point accessing the access controller comprises:
所述接入控制器通过点到点协议的 IP控制协议协商学习所述接入点的 IP 地址;  The access controller negotiates an IP address of the access point through an IP control protocol of a point-to-point protocol;
建立所述接入点的 IP地址与该接入点接入所述接入控制器的接口的对应 关系。 Establishing a correspondence between an IP address of the access point and an interface of the access point to access the access controller.
5、 如权利要求 4所述的方法, 其中, 所述封装数据包, 通过所述接入点 接入所述接入控制器的接口将所述数据包发送给所述接入点, 包括: The method of claim 4, wherein the encapsulating data packet, by using the access point to access the interface of the access controller, to send the data packet to the access point, includes:
封装报文的点到点协议帧头信息;  Point-to-point protocol frame header information of the encapsulated message;
通过所述接入点接入所述接入控制器的接口将所述报文发送给所述接入 点。  And transmitting, by the access point, an interface of the access controller to the access point.
6、 如权利要求 1所述的方法, 其中, 所述建立接入点的地址信息与该接 入点接入接入控制器的接口的对应关系, 包括:  The method of claim 1, wherein the establishing the correspondence between the address information of the access point and the interface of the access point accessing the access controller comprises:
所述接入控制器启用异步传输模式地址解析协议代理, 学习所述接入点 的异步传输模式地址;  The access controller enables an asynchronous transfer mode address resolution protocol proxy to learn an asynchronous transfer mode address of the access point;
建立所述接入点的 IP地址、所述接入点的异步传输地址和该接入点接入 所述接入控制器的接口的对应关系。  Establishing an IP address of the access point, an asynchronous transmission address of the access point, and a correspondence between an access point of the access point and an interface of the access controller.
7、 如权利要求 6所述的方法, 其中, 所述封装数据包, 通过所述接入点 接入所述接入控制器的接口将所述数据包发送给所述接入点, 包括:  The method of claim 6, wherein the encapsulating data packet, by using the access point to access the interface of the access controller, to send the data packet to the access point, includes:
根据所述对应关系获得虚连接的虚通道标识、 虚通路标识和虚连接所在 的接口信息, 将发送给所述接入点的 IP报文转换为异步传输模式信元;  Obtaining, according to the corresponding relationship, the virtual channel identifier of the virtual connection, the virtual path identifier, and the interface information of the virtual link, and converting the IP packet sent to the access point into an asynchronous transmission mode cell;
通过所述接入点接入所述接入控制器的接口将所述异步传输模式信元发 送给所述接入点。  And transmitting, by the access point to an interface of the access controller, the asynchronous transmission mode cell to the access point.
8、 一种接入控制器, 包括:  8. An access controller, comprising:
建立模块, 其设置为: 建立接入点的地址信息与该接入点接入所述接入 控制器的接口的对应关系;  Establishing a module, which is configured to: establish a correspondence between address information of the access point and an interface of the access point to access the access controller;
查找模块, 其设置为: 在所述接入控制器访问所述接入点时, 在查找到 访问该接入点的出接口为预设的虚拟接口的情况下,根据下一跳 IP地址和所 述对应关系查找该接入点接入接入控制器的接口, 其中, 所述虚拟接口的 IP 地址与所述接入点的 IP地址属于同一网段;  a locating module, configured to: when the access controller accesses the access point, if the outbound interface that accesses the access point is a preset virtual interface, according to the next hop IP address and The corresponding relationship is used to search for an interface of the access point to access the access controller, where the IP address of the virtual interface belongs to the same network segment as the IP address of the access point;
发送模块, 其设置为: 封装数据包, 通过所述接入点接入所述接入控制 器的接口将所述数据包发送给所述接入点。  And a sending module, configured to: encapsulate the data packet, and send the data packet to the access point by using an interface of the access point to access the access controller.
9、 如权利要求 8所述的接入控制器, 其中, 所述建立模块包括: 9. The access controller of claim 8, wherein The establishing module includes:
学习单元, 设置为: 启用地址解析协议代理学习所述接入点的 MAC地 址;  a learning unit, configured to: enable an address resolution protocol proxy to learn a MAC address of the access point;
建立单元, 设置为: 建立所述接入点的 IP地址、 所述接入点的 MAC地 址和该接入点接入所述接入控制器的接口的对应关系;  An establishing unit, configured to: establish an IP address of the access point, a MAC address of the access point, and a correspondence between an access point of the access point and an access controller;
所述发送模块, 包括:  The sending module includes:
封装单元, 设置为: 根据所述对应关系封装报文的以太网帧头的目的 MAC地址和源 MAC地址;  The encapsulating unit is configured to: encapsulate the destination MAC address and the source MAC address of the Ethernet frame header of the packet according to the corresponding relationship;
发送单元, 设置为: 通过所述接入点接入所述接入控制器的接口将所述 报文发送给所述接入点。  And a sending unit, configured to: send, by the access point, an interface of the access controller to the access point.
10、 如权利要求 8所述的接入控制器, 其中,  10. The access controller of claim 8, wherein
所述建立模块包括:  The establishing module includes:
学习单元, 设置为: 通过点到点协议的 IP控制协议协商学习所述接入点 的 IP地址;  The learning unit is configured to: learn the IP address of the access point by using an IP control protocol of the point-to-point protocol;
建立单元, 设置为: 建立所述接入点的 IP地址与该接入点接入所述接入 控制器的接口的对应关系;  Establishing a unit, configured to: establish a correspondence between an IP address of the access point and an interface of the access point to access the access controller;
所述发送模块, 包括:  The sending module includes:
封装单元, 设置为: 封装报文的点到点协议帧头信息;  The encapsulation unit is configured to: encapsulate the point-to-point protocol frame header information of the message;
发送单元, 设置为: 通过所述接入点接入所述接入控制器的接口将所述 报文发送给所述接入点。  And a sending unit, configured to: send, by the access point, an interface of the access controller to the access point.
11、 如权利要求 8所述的接入控制器, 其中,  11. The access controller of claim 8, wherein
所述建立模块包括:  The establishing module includes:
学习单元, 设置为: 启用异步传输模式地址解析协议代理学习所述接入 点的异步传输地址;  The learning unit is configured to: enable the asynchronous transfer mode address resolution protocol agent to learn the asynchronous transfer address of the access point;
建立单元, 设置为: 建立所述接入点的 IP地址、 所述接入点的异步传输 地址和该接入点接入所述接入控制器的接口的对应关系;  An establishing unit, configured to: establish an IP address of the access point, an asynchronous transmission address of the access point, and a correspondence between an access point of the access point and an interface of the access controller;
所述发送模块, 包括: 封装单元, 设置为: 根据所述对应关系获得虚连接的虚通道标识、 虚通 路标识和虚连接所在的接口信息, 将发送给所述接入点的 IP报文转换为异步 传输模式信元; The sending module includes: The encapsulating unit is configured to: obtain the virtual channel identifier of the virtual connection, the virtual path identifier, and the interface information of the virtual link according to the corresponding relationship, and convert the IP packet sent to the access point into an asynchronous transmission mode cell;
发送单元, 设置为: 通过所述接入点接入所述接入控制器的接口将所述 异步传输模式信元发送给所述接入点。  And a sending unit, configured to: send the asynchronous transmission mode cell to the access point by using an interface of the access point to access the access controller.
PCT/CN2012/076837 2011-07-22 2012-06-13 Packet sending method and access controller WO2012155867A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110207348.4 2011-07-22
CN201110207348.4A CN102238091B (en) 2011-07-22 2011-07-22 A kind of file transmitting method and access controller

Publications (1)

Publication Number Publication Date
WO2012155867A1 true WO2012155867A1 (en) 2012-11-22

Family

ID=44888326

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/076837 WO2012155867A1 (en) 2011-07-22 2012-06-13 Packet sending method and access controller

Country Status (2)

Country Link
CN (1) CN102238091B (en)
WO (1) WO2012155867A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116827627A (en) * 2023-06-27 2023-09-29 江苏元信网安科技有限公司 IPsecVPN-based source MAC transparent transmission system and method

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238091B (en) * 2011-07-22 2017-03-15 中兴通讯股份有限公司 A kind of file transmitting method and access controller
CN103024852B (en) * 2012-11-27 2015-08-05 华为技术有限公司 The method and apparatus that business forwards
CN102984070B (en) * 2012-12-13 2016-03-09 重庆金美通信有限责任公司 A kind of Ethernet is without the method for numbering Interface realization data retransmission
CN103079229B (en) * 2012-12-28 2015-07-15 上海寰创通信科技股份有限公司 Directional broadcast transmission method for access controller
CN103152255B (en) * 2013-02-20 2016-06-29 神州数码网络(北京)有限公司 The method and apparatus that a kind of data forward
CN103701775A (en) * 2013-12-04 2014-04-02 中国科学院深圳先进技术研究院 Method and device for resisting traffic analysis and sending/receiving data
CN110022590B (en) * 2019-04-15 2021-03-16 上海未瞳信息技术有限公司 Wireless access point registration system based on local area network centralized management
US11223569B2 (en) 2020-04-02 2022-01-11 PrimeWan Limited Device, method, and system that virtualize a network
US11894948B2 (en) 2020-04-02 2024-02-06 PrimeWan Limited Method of forming a virtual network
US11245645B2 (en) 2020-04-02 2022-02-08 PrimeWan Limited Virtual network device
US11362865B2 (en) 2020-04-02 2022-06-14 PrimeWan Limited Virtual network
EP4147395A4 (en) * 2020-05-06 2024-05-01 Primewan Limited Virtual network device
CN114035539B (en) * 2021-10-25 2023-12-05 东风商用车有限公司 Method, device, equipment and storage medium for generating communication matrix of instantiated vehicle type

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050068967A1 (en) * 2003-09-30 2005-03-31 Interdigital Technology Corporation Centralized radio network controller
CN1722872A (en) * 2004-07-15 2006-01-18 大唐移动通信设备有限公司 Method for realizing automatic establishment of specific OM channel for 3G base station
CN1964323A (en) * 2006-11-15 2007-05-16 华为技术有限公司 A system, device and method for realizing base station to support IP transmission via Iub interface
CN102238091A (en) * 2011-07-22 2011-11-09 中兴通讯股份有限公司 Message sending method and access controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050068967A1 (en) * 2003-09-30 2005-03-31 Interdigital Technology Corporation Centralized radio network controller
CN1722872A (en) * 2004-07-15 2006-01-18 大唐移动通信设备有限公司 Method for realizing automatic establishment of specific OM channel for 3G base station
CN1964323A (en) * 2006-11-15 2007-05-16 华为技术有限公司 A system, device and method for realizing base station to support IP transmission via Iub interface
CN102238091A (en) * 2011-07-22 2011-11-09 中兴通讯股份有限公司 Message sending method and access controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116827627A (en) * 2023-06-27 2023-09-29 江苏元信网安科技有限公司 IPsecVPN-based source MAC transparent transmission system and method
CN116827627B (en) * 2023-06-27 2023-12-26 江苏元信网安科技有限公司 IPsecVPN-based source MAC transparent transmission system and method

Also Published As

Publication number Publication date
CN102238091A (en) 2011-11-09
CN102238091B (en) 2017-03-15

Similar Documents

Publication Publication Date Title
WO2012155867A1 (en) Packet sending method and access controller
US11184842B2 (en) Conveying non-access stratum messages over ethernet
US20220078114A1 (en) Method and Apparatus for Providing Service for Traffic Flow
RU2544766C2 (en) Method, device and system for routing data between network segments
EP3197107B1 (en) Message transmission method and apparatus
WO2019129236A1 (en) Tunnel-based data transmission method and device
JP2013504959A (en) Method and system for realizing virtual private network
TW201223206A (en) Multipath Transmission Control Protocol proxy
WO2011160367A1 (en) Forwarding method and device for network address translation
JPH1141272A (en) Lan internet connection
CN113872845B (en) Method for establishing VXLAN tunnel and related equipment
CN114124618B (en) Message transmission method and electronic equipment
WO2012106935A1 (en) Data communication network configuration method, gateway element and data communication system
EP3836492A1 (en) Pseudo wire load sharing method and device
WO2007112691A1 (en) System, method and network device for vpn customer to access public network
WO2011054263A1 (en) Access method and access system for layer 3 virtual private networks(vpn)
WO2011160517A1 (en) Tunnel switching method and system for multi-protocol label switching services
WO2012159461A1 (en) Layer-2 path maximum transmission unit discovery method and node
KR101140453B1 (en) Circuit emulation over an ip interworking virtual leased line
WO2014180213A1 (en) Method and device for establishing a tcp session and host node and satellite node
WO2009117923A1 (en) A method, an apparatus and a communication device for transmitting data
JP2024504466A (en) Packet forwarding methods, packet processing methods, and devices
JP7298606B2 (en) Communication system and communication method
CN114697999A (en) Redundant path creating method, device and system
WO2017036384A1 (en) Provider edge device and data forwarding method

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: 12786489

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: 12786489

Country of ref document: EP

Kind code of ref document: A1