[go: up one dir, main page]

CN103747502A - Method and system for processing GTP tunnel - Google Patents

Method and system for processing GTP tunnel Download PDF

Info

Publication number
CN103747502A
CN103747502A CN201410054806.9A CN201410054806A CN103747502A CN 103747502 A CN103747502 A CN 103747502A CN 201410054806 A CN201410054806 A CN 201410054806A CN 103747502 A CN103747502 A CN 103747502A
Authority
CN
China
Prior art keywords
gtp
gtp tunnel
flow table
openflow
table entry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410054806.9A
Other languages
Chinese (zh)
Other versions
CN103747502B (en
Inventor
薛淼
符刚
朱斌
马瑞涛
姜先贵
刘牧寅
吴琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
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 China United Network Communications Group Co Ltd, China Information Technology Designing and Consulting Institute Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410054806.9A priority Critical patent/CN103747502B/en
Publication of CN103747502A publication Critical patent/CN103747502A/en
Application granted granted Critical
Publication of CN103747502B publication Critical patent/CN103747502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开一种GTP隧道的处理方法及系统,涉及通信网络技术领域,用于解决GTP隧道端点的扩展性较差的问题。本发明实施例通过Openflow控制器获取建立GTP隧道请求,Openflow控制器为具备GTP隧道端点中的控制面功能的设备;Openflow控制器通过建立GTP隧道请求建立GTP隧道,其中建立GTP隧道请求包括生成GTP隧道的相关参数,目标扩展的Openflow交换机为作为GTP隧道中具备GTP隧道端点中的数据面功能的设备;Openflow控制器将GTP隧道的相关参数发送给目标扩展的Openflow交换机。本发明实施例提供的方案适于进行对数据传输时采用。

Figure 201410054806

The invention discloses a GTP tunnel processing method and system, relates to the technical field of communication networks, and is used to solve the problem of poor scalability of GTP tunnel endpoints. In the embodiment of the present invention, an Openflow controller is used to obtain a request to establish a GTP tunnel. The Openflow controller is a device with a control plane function in a GTP tunnel endpoint; the Openflow controller requests to establish a GTP tunnel by establishing a GTP tunnel, wherein the establishment of a GTP tunnel request includes generating a GTP tunnel. For the relevant parameters of the tunnel, the target-extended Openflow switch is a device with a data plane function in the GTP tunnel endpoint; the Openflow controller sends the relevant parameters of the GTP tunnel to the target-extended Openflow switch. The solutions provided by the embodiments of the present invention are suitable for use in data transmission.

Figure 201410054806

Description

一种GTP隧道的处理方法及系统A processing method and system for a GTP tunnel

技术领域technical field

本发明涉及通信网络技术领域,尤其涉及一种GTP隧道的处理方法及系统。The invention relates to the technical field of communication networks, in particular to a GTP tunnel processing method and system.

背景技术Background technique

通用分组无线服务技术隧道协议(General Packet Radio Service TunnellingProtocol,GTP)是移动核心网(包括通用分组无线服务技术(General Packet RadioService,GPRS)/通用移动通信系统(Universal Mobile Telecommunications System,UMTS)/演进的数据核心网(Evolved Packet Core,EPC))的重要协议,其在移动核心网的多个接口都有使用。GTP主要被应用于隧道管理、移动性管理及数据传输。GTP处于协议栈的应用层,其包括三个变种,分别是通用分组无线服务技术隧道协议控制面(GTP Control,GTP-C),通用分组无线服务技术隧道协议数据面(GTP User,GTP-U)和GTP’(GTP Prime)。其中,GTP-C是GTP的控制部分,负责GTP-U隧道的建立、删除与更新,验证移动核心网网关的可达性。GTP-U负责数据的承载,通过封装和解封装业务数据,完成业务数据在一对隧道端点间的overlay传输。GTP’用于在移动核心网和计费网关间传输计费数据。General Packet Radio Service Tunneling Protocol (General Packet Radio Service Tunneling Protocol, GTP) is a mobile core network (including General Packet Radio Service (General Packet Radio Service, GPRS) / Universal Mobile Telecommunications System (Universal Mobile Telecommunications System, UMTS) / evolution An important protocol of the data core network (Evolved Packet Core, EPC)), which is used in multiple interfaces of the mobile core network. GTP is mainly used in tunnel management, mobility management and data transmission. GTP is at the application layer of the protocol stack, which includes three variants, namely the General Packet Radio Service Technology Tunneling Protocol Control Plane (GTP Control, GTP-C), and the General Packet Radio Service Technology Tunneling Protocol Data Plane (GTP User, GTP-U ) and GTP' (GTP Prime). Among them, GTP-C is the control part of GTP, responsible for the establishment, deletion and update of GTP-U tunnels, and verifying the reachability of the mobile core network gateway. GTP-U is responsible for data bearer, and completes overlay transmission of service data between a pair of tunnel endpoints by encapsulating and decapsulating service data. GTP' is used to transmit charging data between the mobile core network and the charging gateway.

GTP隧道需要在隧道起点和终点完成对业务数据的封装和解封装。隧道端点可以认为是应用层网关。现有GTP协议往往使GTP-C和GTP-U经历相同节点,即现有技术中的GTP隧道端点包括GTP隧道控制面和GTP隧道数据面的功能。以2G/3G网络中的GTP隧道建立为例,GTP隧道的建立有两段,一段为无线网络控制器(Radio Network Controller,RNC)与GPRS服务支持节点(ServingGPRS Support Node,SGSN)之间的GTP隧道;一段为SGSN与GPRS支持节点(Gateway GPRS Support Node,GGSN)之间的GTP隧道。其中用户设备(UserEquipment,UE)向RNC发送分组数据协议上下文(Packet Data Protocol context,PDP context)激活请求,RNC根据该PDP context激活请求生成携带SGSN的IP地址的建立GTP隧道请求,并将建立该GTP隧道请求发送给SGSN,SGSN收到该GTP隧道请求之后,一方面生成并向GGSN发送携带GGSN的IP地址的建立GTP隧道的请求,另一方面向RNC反馈第一建立GTP隧道响应,该第一建立GTP隧道响应中携带了RNC与SGSN之间的GTP隧道的参数(如GTP隧道版本号、GTP隧道标识等);而GGSN在接收到SGSN发送的建立GTP隧道的请求之后,通过建立GTP隧道的请求向SGSN反馈第二建立GTP隧道响应,该第二建立GTP隧道响应中携带了GGSN与SGSN之间的GTP隧道的参数(如GTP隧道版本号、GTP隧道标识等)。当RNC与SGSN之间协商好RNC与SGSN之间的GTP隧道的参数,以及SGSN与GGSN之间协商好SGSN与GGSN之间的GTP隧道的参数之后,表明RNC与SGSN共同建立好RNC与SGSN之间的GTP隧道,SGSN与GGSN共同建立好SGSN与GGSN之间的GTP隧道。The GTP tunnel needs to complete the encapsulation and decapsulation of service data at the start and end of the tunnel. Tunnel endpoints can be thought of as application layer gateways. The existing GTP protocol often makes GTP-C and GTP-U go through the same node, that is, the GTP tunnel endpoint in the prior art includes the functions of the GTP tunnel control plane and the GTP tunnel data plane. Taking the establishment of a GTP tunnel in a 2G/3G network as an example, there are two sections for the establishment of a GTP tunnel. Tunnel; one segment is a GTP tunnel between SGSN and GPRS Support Node (Gateway GPRS Support Node, GGSN). The user equipment (UserEquipment, UE) sends a packet data protocol context (Packet Data Protocol context, PDP context) activation request to the RNC, and the RNC generates a GTP tunnel establishment request carrying the IP address of the SGSN according to the PDP context activation request, and will establish the GTP tunnel The GTP tunnel request is sent to the SGSN. After receiving the GTP tunnel request, the SGSN generates and sends to the GGSN a request for establishing a GTP tunnel carrying the IP address of the GGSN on the one hand, and feeds back the first GTP tunnel establishment response to the RNC on the other hand. The parameters of the GTP tunnel between RNC and SGSN (such as GTP tunnel version number, GTP tunnel identifier, etc.) are carried in the response of establishing a GTP tunnel; The request to feed back the second GTP tunnel establishment response to the SGSN, where the second GTP tunnel establishment response carries the parameters of the GTP tunnel between the GGSN and the SGSN (such as the GTP tunnel version number, the GTP tunnel identifier, etc.). When the parameters of the GTP tunnel between the RNC and the SGSN have been negotiated between the RNC and the SGSN, and the parameters of the GTP tunnel between the SGSN and the GGSN have been negotiated between the SGSN and the GGSN, it indicates that the RNC and the SGSN have jointly established the relationship between the RNC and the SGSN. The GTP tunnel between the SGSN and the GGSN jointly establishes the GTP tunnel between the SGSN and the GGSN.

然而,由于现有技术中建立的GTP隧道为该GTP隧道的两端端点共同协商建立的。当采用现有技术建立GTP隧道时,需要该GTP隧道的两端端点交互相关信令共同协商完成建立;当采用现有技术修改或者删除GTP隧道时,则需要该GTP隧道的两端端点交互相关信令共同协商完成对GTP隧道的修改或者删除,从而加大了处理GTP隧道的复杂度。However, the GTP tunnel established in the prior art is established through negotiation between the two endpoints of the GTP tunnel. When the existing technology is used to establish a GTP tunnel, the two endpoints of the GTP tunnel need to interact with related signaling to complete the establishment; when the existing technology is used to modify or delete the GTP tunnel, the two endpoints of the GTP tunnel need to interact and communicate The modification or deletion of the GTP tunnel is completed through joint negotiation of signaling, thus increasing the complexity of processing the GTP tunnel.

发明内容Contents of the invention

本发明的实施例提供一种GTP隧道的处理方法及系统,用于解决降低处理GTP隧道的复杂度的问题。Embodiments of the present invention provide a GTP tunnel processing method and system for solving the problem of reducing the complexity of GTP tunnel processing.

一方面,本发明的实施例提供一种GTP隧道的处理的方法,包括:On the one hand, an embodiment of the present invention provides a method for processing a GTP tunnel, including:

Openflow控制器获取建立通用分组无线服务技术隧道协议GTP隧道请求,所述Openflow控制器为具备GTP隧道端点中的控制面功能的设备;The Openflow controller acquires a request for establishing a General Packet Radio Service Technology Tunneling Protocol GTP tunnel, and the Openflow controller is a device with a control plane function in the GTP tunnel endpoint;

所述Openflow控制器通过所述建立GTP隧道请求建立GTP隧道,其中建立GTP隧道请求包括生成所述GTP隧道的相关参数,所述GTP隧道的相关参数包括第一GTP路由流表条目以及下一跳封装参数记录条目,所述第一GTP路由流表条目为目标扩展的Openflow交换机传输数据时使用的流表条目,所述第一GTP路由流表条目至少包括通用分组无线服务技术隧道协议数据面版本号GTP-U Version、通用分组无线服务技术隧道协议数据面隧道端点标识GTP-UTEID,所述下一跳封装参数记录条目为所述目标扩展的Openflow交换机封装数据时使用的流表条目,所述目标扩展的Openflow交换机为作为所述GTP隧道中具备所述GTP隧道端点中的数据面功能的设备;The Openflow controller establishes a GTP tunnel through the establishment of the GTP tunnel request, wherein the establishment of the GTP tunnel request includes generating relevant parameters of the GTP tunnel, and the relevant parameters of the GTP tunnel include a first GTP routing flow table entry and a next hop Encapsulating parameter record entries, the first GTP routing flow table entry is a flow table entry used when the target extended Openflow switch transmits data, and the first GTP routing flow table entry includes at least the general packet radio service technology tunneling protocol data plane version No. GTP-U Version, General Packet Radio Services Technology Tunneling Protocol data plane tunnel endpoint identifier GTP-UTEID, the next hop encapsulation parameter record entry is the flow table entry used when the target extended Openflow switch encapsulates data, and the The Openflow switch of the target extension is a device having the data plane function in the GTP tunnel endpoint as the GTP tunnel;

所述Openflow控制器将所述GTP隧道的相关参数发送给所述目标扩展的Openflow交换机,以便所述目标扩展的Openflow交换机按照所述第一GTP路由流表条目以及所述下一跳封装参数记录条目传输数据。The Openflow controller sends the relevant parameters of the GTP tunnel to the target extended Openflow switch, so that the target extended Openflow switch records according to the first GTP routing flow table entry and the next hop encapsulation parameter Entry transfer data.

在本发明的另一实施例中,所述Openflow控制器通过所述建立GTP隧道请求建立GTP隧道,包括:In another embodiment of the present invention, the Openflow controller requests to establish a GTP tunnel through the establishment of a GTP tunnel, including:

所述Openflow控制器选择用于所述GTP隧道的所述目标扩展的Openflow交换机;The Openflow controller selects an Openflow switch for the target extension of the GTP tunnel;

所述Openflow控制器获取可用网络链路参数,所述可用网络链路参数至少包括所述目标扩展的Openflow交换机对应的IP地址、端口号;The Openflow controller acquires available network link parameters, and the available network link parameters include at least the IP address and port number corresponding to the Openflow switch of the target extension;

所述Openflow控制器通过所述可用网络链路参数确定建立所述GTP隧道的参数,所述建立所述GTP隧道的参数包括所述GTP隧道对应的两端IP地址、两端端口号、GTP-U Version、GTP-U TEID;The Openflow controller determines parameters for establishing the GTP tunnel through the available network link parameters, and the parameters for establishing the GTP tunnel include IP addresses at both ends, port numbers at both ends, GTP- U Version, GTP-U TEID;

所述Openflow控制器通过所述可用网络链路参数以及所述建立所述GTP隧道的参数生成第一GTP路由流表条目以及下一跳封装参数记录条目。The Openflow controller generates a first GTP routing flow table entry and a next-hop encapsulation parameter record entry based on the available network link parameters and the parameters for establishing the GTP tunnel.

在本发明的另一实施例中,所述GTP隧道的相关参数还包括第二GTP路由流表条目,所述第二GTP路由流表条目为标准Openflow交换机传输数据时使用的流表条目,所述标准Openflow交换机为所述Openflow控制器管理的所有标准Openflow交换机;In another embodiment of the present invention, the relevant parameters of the GTP tunnel also include a second GTP routing flow table entry, and the second GTP routing flow table entry is a flow table entry used by a standard Openflow switch to transmit data, so The standard Openflow switches are all standard Openflow switches managed by the Openflow controller;

在所述Openflow控制器获取所述目标扩展的Openflow交换机的可用网络链路参数之后,还包括:After the Openflow controller obtains the available network link parameters of the Openflow switch of the target extension, it also includes:

所述Openflow控制器通过所述建立所述GTP隧道的参数生成所述第二GTP路由流表条目;The Openflow controller generates the second GTP routing flow table entry through the parameter of establishing the GTP tunnel;

所述Openflow控制器将所述第二GTP路由流表条目发送给标准Openflow交换机,以便所述标准Openflow交换机按照所述第二GTP路由流表条目传输数据。The Openflow controller sends the second GTP routing flow table entry to a standard Openflow switch, so that the standard Openflow switch transmits data according to the second GTP routing flow table entry.

在本发明的另一实施例中,在所述Openflow控制器通过所述建立GTP隧道请求建立GTP隧道之后,所述方法还包括:In another embodiment of the present invention, after the Openflow controller requests to establish a GTP tunnel through the establishment of a GTP tunnel, the method further includes:

所述Openflow控制器获取决策结果信息,所述决策结果信息用于指示对特定业务对应的数据进行特定处理,所述特定处理为以下任意一种形式:为所述特定业务对应的数据进行转码、为所述特定业务对应的数据进行流量隔离、向用户设备UE发送警戒提醒消息或者为所述特定业务对应的数据进行广告视频插播;The Openflow controller acquires decision result information, and the decision result information is used to indicate specific processing for data corresponding to a specific service, and the specific processing is in any of the following forms: transcoding the data corresponding to the specific service . Performing traffic isolation for the data corresponding to the specific service, sending a warning reminder message to the user equipment UE, or performing advertisement video insertion for the data corresponding to the specific service;

所述Openflow控制器根据所述决策结果信息为所述特定业务对应的数据生成特定GTP路由流表条目;The Openflow controller generates a specific GTP routing flow table entry for the data corresponding to the specific service according to the decision result information;

所述Openflow控制器选择用于所述GTP隧道的目标标准Openflow交换机;The Openflow controller selects a target standard Openflow switch for the GTP tunnel;

所述Openflow控制器将所述特定GTP路由流表条目发送给所述目标标准Openflow交换机。The Openflow controller sends the specific GTP routing flow table entry to the target standard Openflow switch.

在本发明的另一实施例中,所述方法还包括:In another embodiment of the present invention, the method also includes:

所述Openflow控制器接收策略与计费规则功能单元PCRF发送给策略信息;The Openflow controller receives the policy information sent by the policy and charging rule functional unit PCRF;

所述Openflow控制器通过所述可用网络链路参数以及所述策略信息,生成第一策略GTP路由流表条目、下一跳封装参数策略记录条目以及第二策略GTP路由流表条目。The Openflow controller generates a first policy GTP routing flow table entry, a next hop encapsulation parameter policy record entry, and a second policy GTP routing flow table entry based on the available network link parameters and the policy information.

在本发明的另一实施例中,所述方法还包括:In another embodiment of the present invention, the method also includes:

所述Openflow控制器获取修改GTP隧道请求;通过所述修改GTP隧道请求修改GTP隧道,其中修改GTP隧道请求包括生成更新GTP隧道的相关参数,所述更新GTP隧道的相关参数包括第一更新GTP路由流表条目、下一跳封装参数更新记录条目以及第二更新GTP路由流表条目,所述第一更新GTP路由流表条目为所述目标扩展的Openflow交换机传输数据时使用的流表条目,所述下一跳封装参数更新记录条目为所述目标扩展的Openflow交换机封装数据时使用的流表条目,所述第二更新GTP路由流表条目为所述标准Openflow交换机传输数据时使用的流表条目;将所述更新GTP隧道的相关参数对应的发送给所述目标扩展的Openflow交换机以及所述标准Openflow交换机;或者,The Openflow controller acquires a request to modify the GTP tunnel; request to modify the GTP tunnel through the modified GTP tunnel request, wherein the request to modify the GTP tunnel includes generating relevant parameters for updating the GTP tunnel, and the relevant parameters for updating the GTP tunnel include a first updated GTP route A flow table entry, a next hop encapsulation parameter update record entry, and a second updated GTP routing flow table entry, the first updated GTP routing flow table entry is a flow table entry used when the target extended Openflow switch transmits data, so The next hop encapsulation parameter update record entry is a flow table entry used when the target extended Openflow switch encapsulates data, and the second updated GTP routing flow table entry is a flow table entry used when the standard Openflow switch transmits data ; Correspondingly sending the related parameters of the updated GTP tunnel to the target extended Openflow switch and the standard Openflow switch; or,

所述Openflow控制器获取删除GTP隧道请求,其中,所述删除GTP隧道请求中包括指示删除GTP隧道的标识;通过所述删除GTP隧道的标识删除对应的GTP隧道;通知所述目标扩展的Openflow交换机和/或所述目标标准Openflow交换机,以便所述目标扩展的Openflow交换机以及所述目标标准Openflow交换机相应的删除关于所述删除GTP隧道请求对应的GTP隧道对应的参数。The Openflow controller acquires a delete GTP tunnel request, wherein the delete GTP tunnel request includes an identifier indicating to delete the GTP tunnel; deletes the corresponding GTP tunnel through the delete GTP tunnel identifier; notifies the target extended Openflow switch And/or the target standard Openflow switch, so that the target extended Openflow switch and the target standard Openflow switch correspondingly delete parameters corresponding to the GTP tunnel corresponding to the delete GTP tunnel request.

另一方面,本发明的实施例提供一种GTP隧道的处理的系统,所述系统包括Openflow控制器、目标扩展的Openflow交换机,其中所述Openflow控制器为具备GTP隧道端点中的控制面功能的设备,所述目标扩展的Openflow交换机为作为所述GTP隧道中具备所述GTP隧道端点中的数据面功能的设备,包括:On the other hand, an embodiment of the present invention provides a system for processing a GTP tunnel, the system includes an Openflow controller and an Openflow switch for target extension, wherein the Openflow controller is a control plane function equipped with a GTP tunnel endpoint The device, the Openflow switch of the target extension is as the device having the data plane function in the GTP tunnel endpoint in the GTP tunnel, including:

所述Openflow控制器,用于获取建立通用分组无线服务技术隧道协议GTP隧道请求;通过所述建立GTP隧道请求建立GTP隧道,其中建立GTP隧道请求包括生成所述GTP隧道的相关参数,所述GTP隧道的相关参数包括第一GTP路由流表条目以及下一跳封装参数记录条目,所述第一GTP路由流表条目为目标扩展的Openflow交换机传输数据时使用的流表条目,所述第一GTP路由流表条目至少包括通用分组无线服务技术隧道协议数据面版本号GTP-U Version、通用分组无线服务技术隧道协议数据面隧道端点标识GTP-U TEID,所述下一跳封装参数记录条目为所述目标扩展的Openflow交换机封装数据时使用的流表条目;将所述GTP隧道的相关参数发送给目标扩展的Openflow交换机;The Openflow controller is configured to obtain a request for establishing a General Packet Radio Service Technology Tunneling Protocol (GTP) tunnel; request to establish a GTP tunnel through the establishment of a GTP tunnel request, wherein the establishment of a GTP tunnel request includes generating relevant parameters of the GTP tunnel, and the GTP The relevant parameters of the tunnel include the first GTP routing flow table entry and the next hop encapsulation parameter record entry, the first GTP routing flow table entry is the flow table entry used when the Openflow switch of the target extension transmits data, and the first GTP The routing flow table entry includes at least the GPRS Tunneling Protocol data plane version number GTP-U Version, the GPRS Tunneling Protocol data plane tunnel endpoint identifier GTP-U TEID, and the next hop encapsulation parameter record entry is all The flow table entry used when the Openflow switch of the target extension is encapsulated; the relevant parameters of the GTP tunnel are sent to the Openflow switch of the target extension;

所述目标扩展的Openflow交换机,用于接收所述Openflow控制器发送给所述第一GTP路由流表条目和/或所述下一跳封装参数记录条目;以及按照所述第一GTP路由流表条目以及所述下一跳封装参数记录条目传输数据。The Openflow switch of the target extension is used to receive the first GTP routing flow table entry and/or the next-hop encapsulation parameter record entry sent by the Openflow controller; and according to the first GTP routing flow table The entry and the encapsulation parameter of the next hop record entry transfer data.

在本发明的另一实施例中,所述Openflow控制器,还用于选择用于所述GTP隧道的所述目标扩展的Openflow交换机;获取可用网络链路参数,所述可用网络链路参数至少包括所述目标扩展的Openflow交换机对应的IP地址、端口号;通过所述可用网络链路参数确定建立所述GTP隧道的参数,所述建立所述GTP隧道的参数包括所述GTP隧道对应的源IP地址、目的IP地址、源端口号、目的端口号、GTP-U Version、GTP-U TEID;通过所述可用网络链路参数以及所述建立所述GTP隧道的参数生成第一GTP路由流表条目以及下一跳封装参数记录条目。In another embodiment of the present invention, the Openflow controller is further configured to select an Openflow switch for the target extension of the GTP tunnel; obtain available network link parameters, and the available network link parameters are at least Include the IP address and port number corresponding to the Openflow switch of the target extension; determine the parameters for establishing the GTP tunnel through the available network link parameters, and the parameters for establishing the GTP tunnel include the source corresponding to the GTP tunnel IP address, destination IP address, source port number, destination port number, GTP-U Version, GTP-U TEID; Generate the first GTP routing flow table by the parameters of the available network link and the parameters of establishing the GTP tunnel entry and next hop encapsulation parameter record entry.

在本发明的另一实施例中,所述GTP隧道的相关参数还包括第二GTP路由流表条目,所述第二GTP路由流表条目为标准Openflow交换机传输数据时使用的流表条目,所述标准Openflow交换机为所述Openflow控制器管理的所有标准Openflow交换机;In another embodiment of the present invention, the relevant parameters of the GTP tunnel also include a second GTP routing flow table entry, and the second GTP routing flow table entry is a flow table entry used by a standard Openflow switch to transmit data, so The standard Openflow switches are all standard Openflow switches managed by the Openflow controller;

所述Openflow控制器,还用于通过所述建立所述GTP隧道的参数生成所述第二GTP路由流表条目;将所述第二GTP路由流表条目发送给所述标准Openflow交换机;The Openflow controller is also configured to generate the second GTP routing flow table entry through the parameter of establishing the GTP tunnel; send the second GTP routing flow table entry to the standard Openflow switch;

所述系统还包括:目标标准Openflow交换机,其中所述目标标准Openflow交换机为参与传输所述GTP隧道中的数据的所述标准Openflow交换机;The system also includes: a target standard Openflow switch, wherein the target standard Openflow switch is the standard Openflow switch participating in the transmission of data in the GTP tunnel;

所述Openflow控制器,还用于获取决策结果信息,所述决策结果信息用于指示对特定业务对应的数据进行特定处理,所述特定处理为以下任意一种形式:为所述特定业务对应的数据进行转码、为所述特定业务对应的数据进行流量隔离、向用户设备UE发送警戒提醒消息或者为所述特定业务对应的数据进行广告视频插播;根据所述决策结果信息为所述特定业务对应的数据生成特定GTP路由流表条目;以及选择用于所述GTP隧道的目标标准Openflow交换机;将所述特定GTP路由流表条目发送给所述目标标准Openflow交换机;The Openflow controller is also used to obtain decision result information, the decision result information is used to indicate specific processing of data corresponding to a specific business, and the specific processing is in any of the following forms: Perform data transcoding, perform traffic isolation for the data corresponding to the specific service, send a warning reminder message to the user equipment UE, or perform advertisement video insertion for the data corresponding to the specific service; The corresponding data generates a specific GTP routing flow table entry; and selects a target standard Openflow switch for the GTP tunnel; sends the specific GTP routing flow table entry to the target standard Openflow switch;

所述目标标准Openflow交换机,用于接收所述OPenflow控制器发送的所述特定GTP路由流表条目。The target standard Openflow switch is configured to receive the specific GTP routing flow table entry sent by the OPenflow controller.

在本发明的另一实施例中,所述Openflow控制器,还用于接收策略与计费规则功能单元PCRF发送的策略信息;通过所述可用网络链路参数以及所述策略信息,生成第一策略GTP路由流表条目、下一跳封装参数策略记录条目以及第二策略GTP路由流表条目,并将所述第一策略GTP路由流表条目、所述下一跳封装参数策略记录条目发送给所述目标扩展的Openflow交换机,将所述第二策略GTP路由流表条目发送给所述标准Openflow交换机;In another embodiment of the present invention, the Openflow controller is further configured to receive the policy information sent by the policy and charging rule functional unit PCRF; generate the first A policy GTP routing flow table entry, a next hop encapsulation parameter policy record entry, and a second policy GTP routing flow table entry, and sending the first policy GTP routing flow table entry and the next hop encapsulation parameter policy record entry to The Openflow switch of the target extension sends the second policy GTP routing flow table entry to the standard Openflow switch;

所述目标扩展的Openflow交换机,还用于接收所述Openflow控制器发送的所述第一策略GTP路由流表条目、所述下一跳封装参数策略记录条目;The Openflow switch of the target extension is also used to receive the first policy GTP routing flow table entry and the next-hop encapsulation parameter policy record entry sent by the Openflow controller;

所述目标标准Openflow交换机,还用于接收所述Openflow控制器发送的所述第二策略GTP路由流表条目;The target standard Openflow switch is also used to receive the second strategy GTP routing flow table entry sent by the Openflow controller;

所述Openflow控制器,还用于获取修改GTP隧道请求;通过所述修改GTP隧道请求修改GTP隧道,其中修改GTP隧道请求包括生成更新GTP隧道的相关参数,所述更新GTP隧道的相关参数包括第一更新GTP路由流表条目、下一跳封装参数更新记录条目以及第二更新GTP路由流表条目,所述第一更新GTP路由流表条目为所述目标扩展的Openflow交换机传输数据时使用的流表条目,所述下一跳封装参数更新记录条目为所述目标扩展的Openflow交换机封装数据时使用的流表条目,所述第二更新GTP路由流表条目为所述标准Openflow交换机传输数据时使用的流表条目;将所述更新GTP隧道的相关参数发送给所述目标扩展的Openflow交换机以及所述标准Openflow交换机;获取删除GTP隧道请求;通过所述删除GTP隧道请求删除对应的GTP隧道;通知所述目标扩展的Openflow交换机和/或所述目标标准Openflow交换机,以便所述目标扩展的Openflow交换机以及所述目标标准Openflow交换机相应的删除关于所述删除GTP隧道请求对应的GTP隧道对应的参数;The Openflow controller is also used to obtain a request to modify the GTP tunnel; modify the GTP tunnel through the request to modify the GTP tunnel, wherein the request to modify the GTP tunnel includes generating relevant parameters for updating the GTP tunnel, and the relevant parameters for updating the GTP tunnel include the first An updated GTP routing flow table entry, a next hop encapsulation parameter update record entry and a second updated GTP routing flow table entry, the first updated GTP routing flow table entry is the flow used when the target extended Openflow switch transmits data Table entry, the next hop encapsulation parameter update record entry is a flow table entry used when the target extended Openflow switch encapsulates data, and the second updated GTP routing flow table entry is used when the standard Openflow switch transmits data The flow table entry; Send the relevant parameters of the updated GTP tunnel to the Openflow switch of the target extension and the standard Openflow switch; Obtain the delete GTP tunnel request; Delete the corresponding GTP tunnel through the delete GTP tunnel request; Notify The target extended Openflow switch and/or the target standard Openflow switch, so that the target extended Openflow switch and the target standard Openflow switch correspondingly delete parameters corresponding to the GTP tunnel corresponding to the delete GTP tunnel request;

所述目标扩展的Openflow交换机,还用于接收所述Openflow控制器发送的所述更新GTP隧道的相关参数;以及按照所述更新GTP隧道的相关参数传输数据;接收所述Openflow控制器发送的第一删除所述GTP隧道的通知,其中,所述第一删除所述GTP隧道的通知中包括删除GTP隧道的标识,所述第一删除所述GTP隧道的通知为指示所述目标扩展的Openflow交换机删除所述GTP隧道的信令;以及通过所述第一删除所述GTP隧道的通知删除所述删除GTP隧道的标识对应的GTP隧道;The Openflow switch of the target extension is also used to receive the relevant parameters of the updated GTP tunnel sent by the Openflow controller; and transmit data according to the relevant parameters of the updated GTP tunnel; receive the first parameter sent by the Openflow controller A notification to delete the GTP tunnel, wherein the first notification to delete the GTP tunnel includes an identifier to delete the GTP tunnel, and the first notification to delete the GTP tunnel is an Openflow switch indicating the target extension delete the signaling of the GTP tunnel; and delete the GTP tunnel corresponding to the identifier of the deleted GTP tunnel through the first notification of deleting the GTP tunnel;

所述目标标准Openflow交换机,还用于接收所述Openflow控制器发送的所述更新GTP隧道的相关参数;以及按照所述更新GTP隧道的相关参数传输数据;接收所述Openflow控制器发送的第二删除所述GTP隧道的通知,其中,所述第二删除所述GTP隧道的通知中包括删除GTP隧道的标识,所述第二删除所述GTP隧道的通知为指示所述目标标准Openflow交换机删除所述GTP隧道的信令;以及通过所述第二删除所述GTP隧道的通知删除所述删除GTP隧道的标识对应的GTP隧道。The target standard Openflow switch is also used to receive the relevant parameters of the updated GTP tunnel sent by the Openflow controller; and transmit data according to the relevant parameters of the updated GTP tunnel; receive the second parameter sent by the Openflow controller Delete the notification of the GTP tunnel, wherein, the second notification of deleting the GTP tunnel includes the identifier of the GTP tunnel deletion, and the second notification of deleting the GTP tunnel is to instruct the target standard Openflow switch to delete the GTP tunnel. signaling of the GTP tunnel; and deleting the GTP tunnel corresponding to the identifier of the deleted GTP tunnel through the second notification of deleting the GTP tunnel.

本发明实施例提供的一种GTP隧道的处理方法及系统,通过Openflow控制器获取建立通用分组无线服务技术隧道协议GTP隧道请求,Openflow控制器为具备GTP隧道端点中的控制面功能的设备;Openflow控制器通过建立GTP隧道请求建立GTP隧道,其中建立GTP隧道请求包括生成GTP隧道的相关参数,GTP隧道的相关参数包括第一GTP路由流表条目以及下一跳封装参数记录条目,第一GTP路由流表条目为目标扩展的Openflow交换机传输数据时使用的流表条目,第一GTP路由流表条目至少包括通用分组无线服务技术隧道协议数据面版本号GTP-U Version、通用分组无线服务技术隧道协议数据面隧道端点标识GTP-U TEID,下一跳封装参数记录条目为目标扩展的Openflow交换机封装数据时使用的流表条目,目标扩展的Openflow交换机为作为GTP隧道中具备GTP隧道端点中的数据面功能的设备;Openflow控制器将GTP隧道的相关参数发送给目标扩展的Openflow交换机,以便目标扩展的Openflow交换机按照第一GTP路由流表条目以及下一跳封装参数记录条目传输数据。与现有技术中GTP隧道端点往往要承担着GTP隧道的建立、修改、删除以及路由转发功能,从而建立、修改、删除GTP隧道时,需要该待处理的GTP隧道对应的两端端点设备共同协商完成对该待处理的GTP隧道的处理,从而加大了处理GTP隧道的复杂度的问题相比,本发明将GTP隧道端点的控制面和转发面分离,得到Openflow控制器和扩展的Openflow交换机,采用本发明中的Openflow控制器可以建立各个GTP隧道端点之间的GTP隧道,通过采用Openflow控制器建立的GTP隧道,也便于之后Openflow控制器完成对之前建立的GTP隧道的修改或者删除,从而实现了降低处理GTP隧道的复杂度。The processing method and system of a kind of GTP tunnel provided by the embodiment of the present invention obtains and establishes the general packet radio service technology tunneling protocol GTP tunnel request through the Openflow controller, and the Openflow controller is a device with the control plane function in the GTP tunnel endpoint; Openflow The controller requests to establish a GTP tunnel by establishing a GTP tunnel, wherein the establishment of a GTP tunnel request includes generating relevant parameters of the GTP tunnel, and the relevant parameters of the GTP tunnel include the first GTP route flow table entry and the next hop encapsulation parameter record entry, the first GTP route The flow table entry is the flow table entry used when the target extended Openflow switch transmits data. The first GTP routing flow table entry includes at least the version number of the general packet radio service technology tunneling protocol data plane GTP-U Version, the general packet radio service technology tunneling protocol The data plane tunnel endpoint identifier is GTP-U TEID, and the next hop encapsulation parameter record entry is the flow table entry used when the target extended Openflow switch encapsulates data. The target extended Openflow switch is the data plane that has the GTP tunnel endpoint in the GTP tunnel Functional equipment; the Openflow controller sends the relevant parameters of the GTP tunnel to the target extended Openflow switch, so that the target extended Openflow switch transmits data according to the first GTP routing flow table entry and the next hop encapsulation parameter record entry. Compared with the GTP tunnel endpoints in the prior art, they are often responsible for the establishment, modification, deletion and routing forwarding functions of the GTP tunnel. Therefore, when establishing, modifying, and deleting the GTP tunnel, it is necessary to negotiate with the endpoint devices corresponding to the GTP tunnel to be processed. Completing the processing of the GTP tunnel to be processed, thereby increasing the complexity of processing the GTP tunnel. Compared with the present invention, the control plane and the forwarding plane of the GTP tunnel endpoint are separated to obtain an Openflow controller and an expanded Openflow switch. Adopting the Openflow controller among the present invention can set up the GTP tunnel between each GTP tunnel end point, by adopting the GTP tunnel that the Openflow controller builds, it is also convenient for the Openflow controller to finish modifying or deleting the GTP tunnel established before, thereby realizing To reduce the complexity of handling GTP tunnels.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明实施例提供的一种基于Openflow的GTP协议控制面与数据面分离架构图;Fig. 1 is a kind of Openflow-based GTP protocol control plane and data plane separation architecture diagram provided by the embodiment of the present invention;

图2为本发明实施例提供的GTP隧道的处理方法中对Openflow协议进行扩展的流表条目字段示意图;Fig. 2 is the schematic diagram of the flow table entry field that Openflow protocol is extended in the processing method of GTP tunnel that the embodiment of the present invention provides;

图3为本发明实施例提供的一种GTP隧道的处理方法的流程图;FIG. 3 is a flowchart of a GTP tunnel processing method provided by an embodiment of the present invention;

图4为本发明实施例提供的GTP隧道的处理方法中Openflow控制器建立GTP隧道的又一种方法的流程图;Fig. 4 is the flow chart of another method that Openflow controller establishes GTP tunnel in the processing method of GTP tunnel provided by the embodiment of the present invention;

图5为本发明实施例提供的GTP隧道的处理方法中第一GTP路由流表条目的字段示意图;5 is a schematic diagram of the fields of the first GTP routing flow table entry in the GTP tunnel processing method provided by the embodiment of the present invention;

图6为本发明实施例提供的GTP隧道的处理方法中下一跳封装参数记录条目的字段示意图;6 is a schematic diagram of the field of the next hop encapsulation parameter record entry in the GTP tunnel processing method provided by the embodiment of the present invention;

图7为本发明实施例提供的GTP隧道的处理方法中第二GTP路由流表条目的字段示意图;7 is a schematic diagram of the fields of the second GTP routing flow table entry in the GTP tunnel processing method provided by the embodiment of the present invention;

图8为本发明实施例提供的另一种GTP隧道的处理方法的流程图;FIG. 8 is a flowchart of another GTP tunnel processing method provided by an embodiment of the present invention;

图9为本发明实施例提供的又一种GTP隧道的处理方法的流程图;FIG. 9 is a flowchart of another GTP tunnel processing method provided by an embodiment of the present invention;

图10(a)为本发明实施例提供的GTP隧道的处理方法的EPC网络中GTP隧道端点控制面与数据面分离的架构图;Fig. 10(a) is an architecture diagram of the separation of the control plane and the data plane of the GTP tunnel endpoint in the EPC network of the GTP tunnel processing method provided by the embodiment of the present invention;

图10(b)为本发明实施例提供的基于EPC网络的一种GTP隧道的处理方法的流程图;Fig. 10(b) is a flowchart of a processing method of a GTP tunnel based on an EPC network provided by an embodiment of the present invention;

图10(c)为本发明实施例提供的基于EPC网络的另一种GTP隧道的处理方法的流程图;Fig. 10(c) is a flow chart of another processing method of a GTP tunnel based on an EPC network provided by an embodiment of the present invention;

图11为本发明实施例提供的基于EPC网络的又一种GTP隧道的处理方法的流程图;11 is a flowchart of another GTP tunnel processing method based on an EPC network provided by an embodiment of the present invention;

图12(a)为本发明实施例提供的GTP隧道的处理方法的2G/3G网络中GTP隧道端点控制面与数据面分离的架构图;Fig. 12(a) is a structure diagram of the separation of the control plane and the data plane of the GTP tunnel endpoint in the 2G/3G network of the GTP tunnel processing method provided by the embodiment of the present invention;

图12(b)为本发明实施例提供的基于2G/3G网络的一种GTP隧道的处理方法的流程图;Fig. 12(b) is a flowchart of a processing method of a GTP tunnel based on a 2G/3G network provided by an embodiment of the present invention;

图13为本发明实施例提供的基于2G/3G网络的另一种GTP隧道的处理方法的流程图;FIG. 13 is a flowchart of another GTP tunnel processing method based on a 2G/3G network provided by an embodiment of the present invention;

图14为本发明实施例提供的一种GTP隧道的处理系统的结构示意图;FIG. 14 is a schematic structural diagram of a GTP tunnel processing system provided by an embodiment of the present invention;

图15为发明实施例提供的另一种GTP隧道的处理系统的结构示意图。Fig. 15 is a schematic structural diagram of another GTP tunnel processing system provided by an embodiment of the invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1为基于Openflow的GTP协议控制面与数据面分离架构图,在图1中,Figure 1 is an architecture diagram of the separation of the control plane and the data plane of the GTP protocol based on Openflow. In Figure 1,

110为传统的控制面与数据面集成的GTP功能节点,其中102为控制面功能模块,101为数据面功能模块。101按照标准的GTP-U协议,完成业务数据的封装、解封装操作以及数据包转发。102负责GTP隧道的建立。102建立隧道过程中,当与其他控制面与数据面集成的GTP功能节点协商时,需要使用标准GTP-C协议,当与GTP控制面功能节点(纯GTP-C功能节点)103协商时,可以使用标准的GTP-C协议进行协商,也可以采用其他协议进行协商,如NAS信令。110 is a traditional GTP function node integrating control plane and data plane, wherein 102 is a control plane function module, and 101 is a data plane function module. 101 completes encapsulation and decapsulation of service data and data packet forwarding according to the standard GTP-U protocol. 102 is responsible for the establishment of the GTP tunnel. 102 During the establishment of the tunnel, when negotiating with other GTP function nodes integrated with the control plane and data plane, the standard GTP-C protocol needs to be used. When negotiating with the GTP control plane function node (pure GTP-C function node) 103, you can The standard GTP-C protocol is used for negotiation, and other protocols, such as NAS signaling, can also be used for negotiation.

103为独立设置的GTP控制功能节点。103对应一个或多个特定的GTP-U数据转发功能节点,如106。103为经过106的GTP-U隧道协商建立过程。103可以与其他网络功能集成。103 is an independently set GTP control function node. 103 corresponds to one or more specific GTP-U data forwarding function nodes, such as 106 . 103 is the GTP-U tunnel negotiation establishment process through 106 . 103 can be integrated with other network functions.

105和106为独立设置的GTP转发功能节点,用于对业务数据的封装、解封装。105和106是扩展的OpenFlow交换机,其遵守标准OpenFlow协议,同时其能够匹配GTP-U的TEID和版本并相应的路由数据包。扩展的OpenFlow控制器可以向105和106下发包括GTP协议参数的流表条目(第一GTP路由流表条目以及下一跳封装参数记录条目)。105和106与104通过安全通道连接。105和106也可以作为标准Openflow交换机转发数据。105 and 106 are independently set GTP forwarding function nodes for encapsulating and decapsulating service data. 105 and 106 are extended OpenFlow switches, which comply with the standard OpenFlow protocol, and can match the TEID and version of GTP-U and route data packets accordingly. The extended OpenFlow controller can deliver flow table entries including GTP protocol parameters (first GTP routing flow table entry and next hop encapsulation parameter record entry) to 105 and 106 . 105 and 106 are connected with 104 through a safe channel. 105 and 106 can also forward data as standard Openflow switches.

104为GTP-C功能与OpenFlow控制器融合节点,为Openflow控制器。104接收103发送的建立、修改、删除GTP隧道请求或者接收108发送的建立、修改、删除GTP隧道请求之后,完成GTP隧道的建立、修改与删除。同时104将GTP隧道的相关参数以OpenFlow流表条目的方式下发到扩展的OpenFlow交换机105和106,完成GTP隧道数据面路由建立。104可以只向105和106下发GTP隧道路由(第一GTP路由流表条目以及下一跳封装参数记录条目),也可以同时向一个或多个标准Openflow交换机107下发OpenFlow流表条目(第二GTP路由流表条目)。104也可以仅向107下发OpenFlow流表条目。104 is the integration node of the GTP-C function and the OpenFlow controller, which is the OpenFlow controller. 104 completes the establishment, modification, and deletion of the GTP tunnel after receiving the establishment, modification, and deletion request sent by 103 or the establishment, modification, and deletion request sent by 108 . At the same time, 104 sends the relevant parameters of the GTP tunnel to the extended OpenFlow switches 105 and 106 in the form of OpenFlow flow table entries, and completes the establishment of the GTP tunnel data plane route. 104 can only issue GTP tunnel routes to 105 and 106 (the first GTP routing flow table entry and the next hop encapsulation parameter record entry), and can also issue OpenFlow flow table entries to one or more standard Openflow switches 107 at the same time (the first GTP routing flow table entry) Two GTP routing flow table entries). 104 may also only deliver OpenFlow flow table entries to 107 .

108为策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)或者精细业务数据流策略控制功能节点。108可以根据用户业务属性,如音频、视频业务、内网业务、外网业务、高清业务、需转码业务等,触发104建立、修改或删除GTP隧道及不同的底层路由路径。108也可以根据用户属性,如漫游用户、网内用户互通、金牌银牌用户、操作系统版本等,要求104建立特定传输路由。108 is a policy and charging rules function unit (Policy and Charging Rules Function, PCRF) or a fine-grained service data flow policy control function node. 108 can trigger 104 to establish, modify or delete GTP tunnels and different underlying routing paths according to user service attributes, such as audio, video services, internal network services, external network services, high-definition services, and transcoding services. 108 may also request 104 to establish a specific transmission route according to user attributes, such as roaming users, intra-network users, gold and silver users, and operating system versions.

108和104可以独立设置,也可以根据需要将功能融合设置。108 and 104 can be set independently, or the functions can be combined and set according to needs.

109为融合Openflow控制器与PCRF功能的一个节点,具备Openflow控制器与PCRF具有的功能。109 is a node that integrates the functions of the Openflow controller and the PCRF, and has the functions of the Openflow controller and the PCRF.

在GTP协议控制面与数据面分离架构中,103、104、108和109等网元可以在与GTP转发功能节点相同网络中部署,也可以部署在不同于GTP转发功能节点的网络中。103、104、108和109可以直接安装在硬件平台上,也可以以虚拟机的形式安装在通用平台。103、104、108和109可以各自分散部署,也可以根据需要集中部署到数据中心。本实施例均不做限制。In the separation architecture of the GTP protocol control plane and data plane, network elements 103, 104, 108, and 109 can be deployed in the same network as the GTP forwarding function node, or can be deployed in a network different from the GTP forwarding function node. 103, 104, 108, and 109 can be installed directly on the hardware platform, or can be installed on a common platform in the form of a virtual machine. 103, 104, 108, and 109 can be deployed separately, or can be deployed in a centralized manner in the data center as required. This embodiment is not limited.

在GTP协议控制面与数据面分离架构中,控制面接口具有完全的后向兼容性,可以保证与传统网络互通,也能够保证在漫游场景下的互通。In the separation architecture of the control plane and the data plane of the GTP protocol, the control plane interface has complete backward compatibility, which can ensure intercommunication with traditional networks and intercommunication in roaming scenarios.

参照图1可以看出,采用Openflow协议将GTP隧道端点的控制面和转发面进行分离;相应的,得到Openflow控制器和扩展的Openflow交换机,Openflow控制器用于建立GTP隧道、修改GTP隧道以及删除GTP隧道,扩展的Openflow交换机用于通过Openflow控制器建立的GTP隧道传输数据。Referring to Figure 1, it can be seen that the control plane and the forwarding plane of the GTP tunnel endpoint are separated by using the Openflow protocol; correspondingly, an Openflow controller and an extended Openflow switch are obtained, and the Openflow controller is used to establish a GTP tunnel, modify a GTP tunnel, and delete a GTP Tunnel, the extended Openflow switch is used to transmit data through the GTP tunnel established by the Openflow controller.

具体的,采用Openflow协议将GTP隧道端点的GTP-C与GTP-U功能逻辑分离,将GTP隧道端点的GTP-C与GTP-U功能网元设置分离。采用Openflow协议将GTP隧道端点的控制面和转发面分离之后,GTP控制功能网元(即Openflow控制器)负责GTP隧道建立、修改与删除,GTP转发功能网元(即扩展的Openflow交换机)负责GTP数据包转发。其中扩展的Openflow交换机还包括对GTP数据包的封装以及解封装操作。Specifically, the Openflow protocol is used to logically separate the GTP-C and GTP-U functions of the GTP tunnel endpoints, and the GTP-C and GTP-U functional network element configurations of the GTP tunnel endpoints are separated. After using the Openflow protocol to separate the control plane and the forwarding plane of the GTP tunnel endpoint, the GTP control function network element (that is, the Openflow controller) is responsible for the establishment, modification and deletion of the GTP tunnel, and the GTP forwarding function network element (that is, the extended Openflow switch) is responsible for the GTP Packet forwarding. The extended Openflow switch also includes encapsulation and decapsulation of GTP data packets.

GTP隧道端点可以为应用层网关,比如GTP隧道端点可以为EPC网络中的服务网关(Serving Gateway,S-GW)、分组数据网络网关(Packet Data NetworkGateway,P-GW);或者GTP隧道端点可以为全球移动通讯系统(Global Systemof Mobile communication,GSM)/UMTS网络中的SGSN、GGSN。The GTP tunnel endpoint can be an application layer gateway. For example, the GTP tunnel endpoint can be a Serving Gateway (S-GW) or a Packet Data Network Gateway (P-GW) in the EPC network; or the GTP tunnel endpoint can be SGSN and GGSN in the Global System of Mobile communication (GSM)/UMTS network.

本发明通过采用Openflow协议将通用分组无线服务技术隧道协议GTP隧道端点的控制面和转发面进行分离,得到Openflow控制器和扩展的Openflow交换机;其中,所述Openflow控制器用于建立GTP隧道、修改GTP隧道以及删除GTP隧道,所述扩展的Openflow交换机用于通过所述Openflow控制器建立的GTP隧道传输数据。通过采用Openflow控制器建立、修改或者删除GTP隧道,能够降低处理GTP隧道的复杂度。。The present invention separates the control plane and the forwarding plane of the general packet radio service technology tunneling protocol GTP tunnel endpoint by adopting the Openflow protocol to obtain an Openflow controller and an extended Openflow switch; wherein, the Openflow controller is used to establish a GTP tunnel and modify a GTP tunnel and delete the GTP tunnel, the extended Openflow switch is used to transmit data through the GTP tunnel established by the Openflow controller. By using the Openflow controller to establish, modify or delete the GTP tunnel, the complexity of processing the GTP tunnel can be reduced. .

需要说明的是,本发明为了支持对GTP-U数据包(业务数据的类型)的转发,图2显示了对Openflow协议进行的扩展,使其在流表条目匹配域中支持GTP-U版本号Version和GTP-U隧道端点标识(Tunnel Endpoint Identifier,TEID)。支持GTP-U TEID转发的Openflow交换机需要能够匹配3比特的GTP-UVersion和32比特的GTP-U TEID。It should be noted that, in order to support the forwarding of GTP-U data packets (types of business data) in the present invention, Fig. 2 shows an extension to the Openflow protocol, so that it supports the GTP-U version number in the flow table entry matching field Version and GTP-U tunnel endpoint identifier (Tunnel Endpoint Identifier, TEID). Openflow switches that support GTP-U TEID forwarding need to be able to match 3-bit GTP-UVersion and 32-bit GTP-U TEID.

其中,在图2中,201入口端口、202源MAC地址、203目的MAC地址、204虚拟局域网标识、205多协议标签交换标签、206多协议标签交换流量分类(Traffic Class,TC)、207源IP地址、208目的IP地址、209传输控制协议/业务数据包协议/流控制传输协议源端口号、210传输控制协议/业务数据包协议/流控制传输协议目的端口号,均为现有技术中Openflow协议存在的匹配域,而211GTP-U版本号以及212GTP-U隧道端点标识为扩展的匹配域。Among them, in Figure 2, 201 entry port, 202 source MAC address, 203 destination MAC address, 204 virtual local area network identification, 205 MPLS label, 206 MPLS traffic classification (Traffic Class, TC), 207 source IP Address, 208 destination IP address, 209 transmission control protocol/service data packet protocol/flow control transmission protocol source port number, 210 transmission control protocol/service data packet protocol/flow control transmission protocol destination port number, all are Openflow in the prior art The matching field in which the protocol exists, and the 211GTP-U version number and 212GTP-U tunnel endpoint identifier are extended matching fields.

可选的,本发明除扩展这两个匹配域之外,还可以匹配数据包头中201至210的任意其他域,从而确定执行的转发操作。Optionally, in addition to extending these two matching fields, the present invention can also match any other field from 201 to 210 in the data packet header, so as to determine the forwarding operation to be performed.

图3描述一种GTP隧道的处理方法,该方法如下:Fig. 3 describes a processing method of a GTP tunnel, the method is as follows:

301,Openflow控制器获取建立GTP隧道请求,Openflow控制器为具备GTP隧道端点中的控制面功能的设备。301. The Openflow controller obtains a GTP tunnel establishment request, and the Openflow controller is a device capable of controlling a plane function at an endpoint of the GTP tunnel.

在本步骤中,建立GTP隧道请求中包括QoS参数以及其他用户参数,其中,其他用户参数可以包括用户所在的网络类型、小区编号等。In this step, the GTP tunnel establishment request includes QoS parameters and other user parameters, wherein the other user parameters may include the network type and cell number where the user is located.

其中,以2G/3G为例进行说明,Openflow控制器获取建立GTP隧道请求的方式可以有两种。Wherein, taking 2G/3G as an example for illustration, the Openflow controller may obtain the GTP tunnel establishment request in two ways.

第一种方式为:Openflow控制器获取由用户设备(User Equipment,UE)发起的GTP隧道建立的过程,其中,UE向基站发送附着请求,基站将该附着请求发送给MME,MME通过附着请求生成建立GTP隧道请求,并将该建立GTP隧道请求发送给S-GW,再由S-GW发送给Openflow控制器。The first method is: the Openflow controller obtains the process of establishing a GTP tunnel initiated by the user equipment (User Equipment, UE), wherein, the UE sends an attach request to the base station, and the base station sends the attach request to the MME, and the MME generates an attach request through the attach request A GTP tunnel establishment request is sent to the S-GW, and then the S-GW sends the GTP tunnel establishment request to the Openflow controller.

第二种方式为:Openflow控制器接收PCRF发送的触发指令,该触发指令用于触发Openflow控制器生成建立GTP隧道请求。The second way is: the Openflow controller receives a trigger instruction sent by the PCRF, and the trigger instruction is used to trigger the Openflow controller to generate a GTP tunnel establishment request.

302,Openflow控制器通过建立GTP隧道请求建立GTP隧道,其中建立GTP隧道请求包括生成GTP隧道的相关参数,GTP隧道的相关参数包括第一GTP路由流表条目以及下一跳封装参数记录条目,第一GTP路由流表条目为目标扩展的Openflow交换机传输数据时使用的流表条目,第一GTP路由流表条目至少包括通用分组无线服务技术隧道协议数据面版本号GTP-U Version、通用分组无线服务技术隧道协议数据面隧道端点标识GTP-U TEID,下一跳封装参数记录条目为目标扩展的Openflow交换机封装数据时使用的流表条目,源GTP隧道端点以及目的GTP隧道端点均为具备GTP隧道端点中的数据面功能的目标扩展的Openflow交换机。302. The Openflow controller requests to establish a GTP tunnel by establishing a GTP tunnel, wherein the request for establishing a GTP tunnel includes generating relevant parameters of the GTP tunnel, and the relevant parameters of the GTP tunnel include a first GTP routing flow table entry and a next-hop encapsulation parameter record entry. A GTP routing flow table entry is a flow table entry used when the target extended Openflow switch transmits data. The first GTP routing flow table entry includes at least the general packet radio service technology tunneling protocol data plane version number GTP-U Version, general packet radio service Technology Tunneling Protocol data plane tunnel endpoint identifier GTP-U TEID, the next hop encapsulation parameter record entry is the flow table entry used by the target extended Openflow switch to encapsulate data, the source GTP tunnel endpoint and the destination GTP tunnel endpoint both have GTP tunnel endpoints The target extension of the data plane function in the Openflow switch.

首先Openflow控制器需要选择用于GTP隧道的目标扩展的Openflow交换机;然后Openflow控制器获取可用网络链路参数,可用网络链路参数至少包括目标扩展的Openflow交换机对应的IP地址、端口号。Openflow控制器通过可用网络链路参数确定建立GTP隧道的参数,建立GTP隧道的参数包括GTP隧道对应的两端IP地址、两端端口号、GTP-U Version、GTP-U TEID;通过可用网络链路参数以及建立GTP隧道的参数生成第一GTP路由流表条目以及下一跳封装参数记录条目。First, the Openflow controller needs to select the Openflow switch used for the target extension of the GTP tunnel; then the Openflow controller obtains available network link parameters, and the available network link parameters include at least the IP address and port number corresponding to the Openflow switch of the target extension. The Openflow controller determines the parameters for establishing a GTP tunnel through the available network link parameters. The parameters for establishing a GTP tunnel include IP addresses at both ends of the GTP tunnel, port numbers at both ends, GTP-U Version, and GTP-U TEID; Generate the first GTP routing flow table entry and the next-hop encapsulation parameter record entry based on the route parameters and the parameters for establishing the GTP tunnel.

具体的,Openflow控制器首先选择用于各个GTP隧道的两端端点。以2G/3G为例,Openflow控制器需要建立两段GTP隧道,一段为RNC与SGSN之间的GTP隧道,一段为SGSN与GGSN之间的GTP隧道。其中,Openflow控制器融合了SGSN和GGSN上的控制面,从而,Openflow控制器选择其中一个SGSN-data(仅具备数据面的SGSN)和GGSN-data(仅具备数据面的GGSN)作为目标扩展的Openflow交换机。然后Openflow控制器获取可用网络链路参数,可用网络链路参数至少包括该SGSN-data和GGSN-data对应的IP地址、端口号、GTP-U Version、GTP-U TEID;通过可用网络链路参数以及建立GTP隧道的参数生成第一GTP路由流表条目以及下一跳封装参数记录条目。Specifically, the Openflow controller first selects two endpoints for each GTP tunnel. Taking 2G/3G as an example, the Openflow controller needs to establish two GTP tunnels, one is the GTP tunnel between the RNC and the SGSN, and the other is the GTP tunnel between the SGSN and the GGSN. Among them, the Openflow controller integrates the control planes on SGSN and GGSN, so that the Openflow controller selects one of SGSN-data (SGSN with only data plane) and GGSN-data (GGSN with only data plane) as the target extension Openflow switch. Then the Openflow controller obtains the available network link parameters, which at least include the IP address, port number, GTP-U Version, and GTP-U TEID corresponding to the SGSN-data and GGSN-data; through the available network link parameters And the parameters for establishing the GTP tunnel generate the first GTP routing flow table entry and the next hop encapsulation parameter record entry.

需要说明的是,由于RNC的控制面没有融合到Openflow控制器中,当Openflow控制器建立RNC与SGSN之间的GTP隧道时,需要Openflow控制器与RNC共同协商进行建立;SGSN与GGSN的控制面均融合到Openflow控制器中,当Openflow控制器建立SGSN与GGSN之间的GTP隧道时,仅需Openflow控制器自行获取建立GTP隧道的相关信息(可用网络链路参数、建立GTP隧道的参数等)独立完成对SGSN与GGSN之间的GTP隧道的建立。It should be noted that since the control plane of the RNC is not integrated into the Openflow controller, when the Openflow controller establishes a GTP tunnel between the RNC and the SGSN, the Openflow controller and the RNC need to negotiate to establish it; the control plane of the SGSN and the GGSN Both are integrated into the Openflow controller. When the Openflow controller establishes the GTP tunnel between the SGSN and the GGSN, the Openflow controller only needs to obtain the relevant information of establishing the GTP tunnel (available network link parameters, parameters for establishing the GTP tunnel, etc.) Independently complete the establishment of the GTP tunnel between the SGSN and the GGSN.

第一GTP路由流表条目的字段可参考图5。根据图5所述,可以看出第一GTP路由流表条目中应至少包括501源IP地址、502目的IP地址、503源端口号、504目的端口号、505GTP-U版本号以及506GTP-U隧道端点标识。For the fields of the first GTP routing flow entry, refer to FIG. 5 . According to Figure 5, it can be seen that the first GTP routing flow table entry should at least include 501 source IP address, 502 destination IP address, 503 source port number, 504 destination port number, 505GTP-U version number and 506GTP-U tunnel Endpoint ID.

下一跳封装参数记录条目的字段可参考图6。根据图6所述,可以看出下一跳封装参数记录条目包括601哈希HashID标识、602源IP地址、603目的IP地址、604源端口号、605目的端口号以及606下一跳隧道使用的GTP-U TEID。Hash ID用于目标扩展的Openflow交换机根据收到的GTP-U数据包头信息检索下一跳隧道使用的TEID。For the fields of the next hop encapsulation parameter record entry, refer to FIG. 6 . According to Figure 6, it can be seen that the next hop encapsulation parameter record entry includes 601 hash HashID identifier, 602 source IP address, 603 destination IP address, 604 source port number, 605 destination port number and 606 the next hop tunnel used GTP-U TEID. The Hash ID is used by the Openflow switch for target extension to retrieve the TEID used by the next-hop tunnel based on the received GTP-U packet header information.

303,Openflow控制器将GTP隧道的相关参数发送给目标扩展的Openflow交换机,以便目标扩展的Openflow交换机按照第一GTP路由流表条目以及下一跳封装参数记录条目传输数据。303. The Openflow controller sends the relevant parameters of the GTP tunnel to the target-extended Openflow switch, so that the target-extended Openflow switch transmits data according to the first GTP routing flow table entry and the next-hop encapsulation parameter record entry.

具体来说,当数据信息是由RNC到SGSN再到GGSN时,Openflow控制器将相关的第一GTP路由流表条目发送给GTP隧道中目的GTP端点,如SGSN和GGSN。其中,发送给SGSN的第一GTP路由流表条目可包括:源IP地址(RNC的IP地址)、目的IP地址(SGSN的IP地址)、源端口号(RNC的端口号)、目的端口号(SGSN的端口号)、GTP-U版本号以及GTP-U隧道端点标识。发送给GGSN的第一GTP路由流表条目可包括:源IP地址(SGSN的IP地址)、目的IP地址(GGSN的IP地址)、源端口号(SGSN的端口号)、目的端口号(GGSN的端口号)、GTP-U版本号以及GTP-U隧道端点标识。Openflow控制器将相关的下一跳封装参数记录条目发送给下一GTP隧道中源GTP端点,如SGSN。其中,发送给SGSN的下一跳封装参数记录条目可包括Hash ID、源IP地址(SGSN的IP地址)、目的IP地址(GGSN的IP地址)、源端口号(SGSN的端口号)、目的端口号(GGSN的端口号)以及下一跳隧道使用的GTP-U TEID(SGSN与GGSN之间的GTP隧道标识)。反之亦然,这里不做过多赘述。Specifically, when the data information is from the RNC to the SGSN and then to the GGSN, the Openflow controller sends the relevant first GTP routing flow table entry to the destination GTP endpoint in the GTP tunnel, such as the SGSN and the GGSN. Wherein, the first GTP routing flow table entry sent to SGSN may include: source IP address (IP address of RNC), destination IP address (IP address of SGSN), source port number (port number of RNC), destination port number ( SGSN port number), GTP-U version number, and GTP-U tunnel endpoint identifier. The first GTP routing flow table entry sent to the GGSN may include: source IP address (the IP address of the SGSN), the destination IP address (the IP address of the GGSN), the source port number (the port number of the SGSN), and the destination port number (the port number), GTP-U version number, and GTP-U tunnel endpoint identifier. The Openflow controller sends the relevant next-hop encapsulation parameter record entry to the source GTP endpoint in the next GTP tunnel, such as the SGSN. Among them, the next hop encapsulation parameter record entry sent to SGSN may include Hash ID, source IP address (IP address of SGSN), destination IP address (IP address of GGSN), source port number (port number of SGSN), destination port number (the port number of the GGSN) and the GTP-U TEID (the GTP tunnel identifier between the SGSN and the GGSN) used by the next-hop tunnel. And vice versa, so I won't go into details here.

可以理解的是,目标扩展的Openflow交换机采用第一GTP路由流表条目传输数据包,采用下一跳封装参数记录条目完成对数据包的封装。具体而言,当任意一个目标扩展的Openflow交换机接收到数据包时,采用GTP协议对该数据包进行解封装得到数据包的包头信息,通过该包头信息与本地存储的第一GTP路由流表条目进行匹配,获得与该包头信息匹配的第一GTP路由流表条目,通过该匹配的第一GTP路由流表条目中操作信息(Action)获取对该数据包的下一步操作。当下一步操作为发送至下一端口,并采用GTP协议进行封装(可以看作继续通过GTP隧道传输数据的信息,说明该目标扩展的Openflow交换机需要采用下一GTP隧道继续传输数据)时,将该目标扩展的Openflow交换机采用包头信息与下一跳封装参数记录条目中的Hash ID进行匹配,获得与该包头信息匹配的下一跳封装参数记录条目,然后根据该匹配的下一跳封装参数记录条目中的信息对解封装之后的数据包进行再次封装。再次封装之后按照第一GTP路由流表条目中操作信息继续下发数据。It can be understood that the target extended Openflow switch uses the first GTP routing flow table entry to transmit the data packet, and uses the next hop encapsulation parameter record entry to complete the encapsulation of the data packet. Specifically, when any target-extended Openflow switch receives a data packet, it uses the GTP protocol to decapsulate the data packet to obtain the header information of the data packet, and through the header information and the locally stored first GTP routing flow table entry Matching is performed to obtain the first GTP routing flow table entry matching the packet header information, and the next step operation for the data packet is obtained through the operation information (Action) in the matching first GTP routing flow table entry. When the next step is to send to the next port, and use the GTP protocol for encapsulation (it can be regarded as the information to continue to transmit data through the GTP tunnel, indicating that the Openflow switch of the target extension needs to use the next GTP tunnel to continue to transmit data), set the The Openflow switch of the target extension uses the header information to match the Hash ID in the next hop encapsulation parameter record entry, obtains the next hop encapsulation parameter record entry that matches the header information, and then records the entry according to the matched next hop encapsulation parameter record entry The information in is to re-encapsulate the decapsulated data packet. After re-encapsulation, continue to send data according to the operation information in the first GTP routing flow table entry.

本发明将GTP隧道端点的控制面和转发面分离,得到Openflow控制器和扩展的Openflow交换机,采用本发明中的Openflow控制器可以建立各个GTP隧道端点之间的GTP隧道,通过采用Openflow控制器建立的GTP隧道,也便于之后Openflow控制器完成对之前建立的GTP隧道的修改或者删除,从而实现了降低处理GTP隧道的复杂度。The present invention separates the control plane and the forwarding plane of the GTP tunnel endpoints to obtain an Openflow controller and an expanded Openflow switch. The Openflow controller in the present invention can be used to establish GTP tunnels between each GTP tunnel endpoint, and the Openflow controller is used to establish The GTP tunnel is also convenient for the Openflow controller to modify or delete the previously established GTP tunnel, thereby reducing the complexity of processing the GTP tunnel.

对应步骤302中的描述,可选的,Openflow控制器可接收PCRF发送给策略信息;Openflow控制器通过可用网络链路参数以及策略信息,生成第一策略GTP路由流表条目、下一跳封装参数策略记录条目以及第二策略GTP路由流表条目。对应的Openflow控制器将第一策略GTP路由流表条目、下一跳封装参数策略记录条目发送给目标扩展的Openflow交换机,将第二策略GTP路由刘表条目发送给标准Openflow交换机。Corresponding to the description in step 302, optionally, the Openflow controller can receive the policy information sent by the PCRF; the Openflow controller generates the first policy GTP routing flow table entry and the next hop encapsulation parameter through the available network link parameters and policy information A policy record entry and a second policy GTP routing flow table entry. The corresponding Openflow controller sends the first policy GTP routing flow table entry and the next hop encapsulation parameter policy record entry to the target extended Openflow switch, and sends the second policy GTP routing table entry to the standard Openflow switch.

可选的,Openflow控制器还用于通过该建立GTP隧道的参数生成第二GTP路由流表条目,并将第二GTP路由流表条目发送给标准Openflow交换机(标准Openflow交换机通过Openflow控制器下发的第二GTP路由流表条目传输GTP数据包即可,无需对GTP数据包采用GTP协议进行封装或者解封装等操作),第二GTP路由流表条目为标准Openflow交换机传输数据时使用的流表条目。标准Openflow交换机为Openflow控制器管理的所有Openflow交换机。可以看出,Openflow控制器将生成的第二GTP路由流表条目发送给管理的所有标准Openflow交换机。则每当目标标准Openflow交换机识别接收的数据包对应的第二GTP路由流表条目时,根据数据包包头信息中的信息(如目的IP地址等)与本地存储的所有第二GTP路由流表条目进行匹配,从而获取对应的第二GTP路由流表条目。Optionally, the Openflow controller is also configured to generate a second GTP routing flow table entry through the parameters for establishing the GTP tunnel, and send the second GTP routing flow table entry to the standard Openflow switch (the standard Openflow switch sends the GTP routing flow table entry through the Openflow controller The second GTP routing flow table entry of the GTP routing table entry is enough to transmit the GTP data packet, and there is no need to use the GTP protocol to encapsulate or decapsulate the GTP data packet), the second GTP routing flow table entry is the flow table used by the standard Openflow switch to transmit data entry. Standard Openflow switches are all Openflow switches managed by the Openflow controller. It can be seen that the Openflow controller sends the generated second GTP routing flow table entries to all managed standard Openflow switches. Then whenever the target standard Openflow switch recognizes the second GTP routing flow table entry corresponding to the received data packet, according to the information in the header information of the data packet (such as the destination IP address, etc.) and all the second GTP routing flow table entries stored locally Matching is performed, so as to obtain the corresponding second GTP routing flow table entry.

具体的,第二GTP路由流表条目的字段格式可参考图7。根据图7所述,可以看出第二GTP路由流表条目包括其中一种或多种:701源IP地址、702目的IP地址、703源端口号以及704目的端口号。Specifically, reference may be made to FIG. 7 for the field format of the second GTP routing flow table entry. According to FIG. 7 , it can be seen that the second GTP routing flow table entry includes one or more of: 701 source IP address, 702 destination IP address, 703 source port number and 704 destination port number.

如图4所示,在本发明的另一实施例中,在图3中的步骤301之后,即Openflow控制器获取建立GTP隧道请求之后,还包括:As shown in FIG. 4, in another embodiment of the present invention, after step 301 in FIG. 3, that is, after the Openflow controller acquires the request to establish a GTP tunnel, it also includes:

304,Openflow控制器获取决策结果信息。304. The Openflow controller acquires decision result information.

决策结果信息用于说明特定业务对应的数据进行特定处理,特定处理包括但不限于以下任意一种形式:为特定业务对应的数据进行转码、为特定业务对应的数据进行流量隔离、向用户设备(User Equipment,UE)发送警戒提醒消息或者为特定业务对应的数据进行广告视频插播等。The decision result information is used to explain the specific processing of the data corresponding to a specific business. The specific processing includes but is not limited to any of the following forms: transcoding data corresponding to a specific business, traffic isolation for data corresponding to a specific business, sending data to user equipment (User Equipment, UE) to send warning reminder messages or perform advertising video insertion for data corresponding to specific services.

其中,Openflow控制器获取决策结果信息的方式可以有两种:Among them, the Openflow controller can obtain decision result information in two ways:

第一种方式,Openflow控制器接收PCRF发送的决策结果信息。In the first way, the Openflow controller receives the decision result information sent by the PCRF.

第二种方式,Openflow控制器接收外部网元(如DPI)的检测结果生成策略。In the second way, the Openflow controller receives the detection result generation strategy of an external network element (such as DPI).

305,Openflow控制器根据决策结果信息为特定业务生成特定GTP路由流表条目。305. The Openflow controller generates a specific GTP routing flow table entry for a specific service according to the decision result information.

需要说明的是,特定GTP路由流表条目用于指示目标标准Openflow交换机将传输的业务数据发送给网络中间件,该网络中间件其位置处于GSM、UMTS或者EPC内部,部署方式可以是独立主机部署或云中心部署,其功能完成对核心网中GTP-U隧道中业务数据进行处理与操作,如对用户语音、视频数据进入终端前进行转码、在业务数据前插入特定消息呈现形式包括但不限于运营商或第三方提供的视频、音频、文本等广告内容或提醒、警戒内容等。It should be noted that the specific GTP routing flow table entry is used to instruct the target standard Openflow switch to send the transmitted service data to the network middleware. The network middleware is located inside GSM, UMTS or EPC, and the deployment method can be independent host deployment Or cloud center deployment, its function is to complete the processing and operation of business data in the GTP-U tunnel in the core network, such as transcoding user voice and video data before entering the terminal, inserting specific message presentation forms before business data including but not Limited to video, audio, text and other advertising content or reminders and warnings provided by operators or third parties.

网络中间件可以为转码服务器、媒体插入、防火墙、DPI等。Network middleware can be transcoding server, media insertion, firewall, DPI, etc.

306,Openflow控制器选择用于GTP隧道的目标标准Openflow交换机。306. The Openflow controller selects a target standard Openflow switch for the GTP tunnel.

307,Openflow控制器将特定GTP路由流表条目发送给目标标准Openflow交换机。307. The Openflow controller sends the specific GTP routing flow table entry to the target standard Openflow switch.

可以理解的是,Openflow控制器将特定GTP路由流表条目发送给选择的所有目标标准Openflow交换机。It can be understood that the Openflow controller sends specific GTP routing flow table entries to all selected target standard Openflow switches.

特定GTP路由流表条目与第二GTP路由流表条目的作用相同,包括的字段也相同,不同的是,特定GTP路由流表条目比第二GTP路由流表条目的流表项优先级高,比如,当某一目标标准Openflow交换机本地存储了匹配力度相同的特定GTP路由流表条目和第二GTP路由流表条目时,这时该目标标准Openflow交换机采用流表项优先级较高的特定GTP路由流表条目来传输数据。The specific GTP routing flow table entry has the same function as the second GTP routing flow table entry, and includes the same fields. The difference is that the specific GTP routing flow table entry has a higher priority than the second GTP routing flow table entry. For example, when a target standard Openflow switch locally stores a specific GTP routing flow table entry and a second GTP routing flow table entry with the same matching strength, then the target standard Openflow switch adopts the specific GTP routing flow table entry with higher flow entry priority. Routing flow table entries to transmit data.

如图8所示,在本发明的另一实施例中,本发明还提供一种GTP隧道的处理方法,该方法如下:As shown in Figure 8, in another embodiment of the present invention, the present invention also provides a processing method of a GTP tunnel, the method is as follows:

801,Openflow控制器获取修改GTP隧道请求。801. The Openflow controller acquires a GTP tunnel modification request.

其中,Openflow控制器获取修改GTP隧道请求的方式与获取建立GTP隧道请求的方式相同,在此不再赘述。Wherein, the manner in which the Openflow controller acquires the request to modify the GTP tunnel is the same as the manner in which the request to establish the GTP tunnel is acquired, and will not be repeated here.

802,Openflow控制器通过修改GTP隧道请求重新建立GTP隧道。802. The Openflow controller requests to re-establish the GTP tunnel by modifying the GTP tunnel.

其中重新建立GTP隧道包括生成更新GTP隧道的相关参数,更新GTP隧道的相关参数包括第一更新GTP路由流表条目、下一跳封装参数更新记录条目以及第二更新GTP路由流表条目。第一更新GTP路由流表条目为目标扩展的Openflow交换机传输数据时使用的流表条目,下一跳封装参数更新记录条目为目标扩展的Openflow交换机传输数据时使用的流表条目,第二更新GTP路由流表条目为目标标准Openflow交换机传输数据时使用的流表条目。Wherein, re-establishing the GTP tunnel includes generating and updating relevant parameters of the GTP tunnel, and the relevant parameters of updating the GTP tunnel include a first updated GTP routing flow table entry, a next-hop encapsulation parameter updating record entry, and a second updated GTP routing flow table entry. The first update GTP routing flow table entry is the flow table entry used when the target extended Openflow switch transmits data, the next hop encapsulation parameter update record entry is the flow table entry used when the target extended Openflow switch transmits data, and the second update GTP The routing flow table entry is the flow table entry used when the target standard Openflow switch transmits data.

Openflow控制器通过修改GTP隧道请求重新建立GTP隧道具体包括:Openflow控制器获取更新后的可用网络链路参数,更新后的可用网络链路参数至少包括目标扩展的Openflow交换机对应的更新后的IP地址、端口号。Openflow控制器根据更新后的可用网络链路参数确定重新建立GTP隧道的参数,所述重新建立所述GTP隧道的参数包括所述GTP隧道对应的两端IP地址、两端端口号、GTP-U Version、GTP-U TEID,然后通过更新后的可用网络链路参数和重新建立GTP隧道的参数生成第一更新GTP路由流表条目以及下一跳封装参数更新记录条目,第一更新GTP路由流表条目为扩展的Openflow交换机传输数据时使用的流表条目,下一跳封装参数更新记录条目包括更新后的Hash ID、更新后的源IP地址、更新后的目的IP地址、更新后的源端口号、更新后的目的端口号以及下一跳隧道使用的更新后的GTP-U TEID。The Openflow controller requests to re-establish the GTP tunnel by modifying the GTP tunnel, which specifically includes: the Openflow controller obtains the updated available network link parameters, and the updated available network link parameters include at least the updated IP address corresponding to the target extended Openflow switch ,The port number. The Openflow controller determines parameters for re-establishing the GTP tunnel according to the updated available network link parameters, and the parameters for re-establishing the GTP tunnel include IP addresses at both ends, port numbers at both ends, and GTP-U corresponding to the GTP tunnel. Version, GTP-U TEID, then generate the first update GTP routing flow table entry and the next hop encapsulation parameter update record entry by the updated available network link parameters and the parameters of re-establishing the GTP tunnel, first update the GTP routing flow table The entry is the flow table entry used by the extended Openflow switch to transmit data. The next hop encapsulation parameter update record entry includes the updated Hash ID, the updated source IP address, the updated destination IP address, and the updated source port number. , the updated destination port number, and the updated GTP-U TEID used by the next-hop tunnel.

可选的,GTP隧道的相关参数还包括第二更新GTP路由流表条目,第二更新GTP路由流表条目为标准Openflow交换机传输数据时使用的流表条目。在Openflow控制器获取更新后的可用网络链路参数以及生成重新建立GTP隧道的参数之后,Openflow控制器通过可用网络链路参数以及生成重新建立GTP隧道的参数生成第二更新GTP路由流表条目。Optionally, the relevant parameters of the GTP tunnel further include a second updated GTP routing flow table entry, where the second updated GTP routing flow table entry is a flow table entry used when a standard Openflow switch transmits data. After the Openflow controller obtains the updated available network link parameters and generates parameters for re-establishing the GTP tunnel, the Openflow controller generates a second updated GTP routing flow table entry by using the available network link parameters and generating parameters for re-establishing the GTP tunnel.

需要说明的是,关于第一更新GTP路由流表条目、下一跳封装参数更新记录条目以及第二更新GTP路由流表条目的字段可参考图5、图6以及图7,在此不再一一赘述。It should be noted that for the fields of the first updated GTP routing flow table entry, the next hop encapsulation parameter update record entry, and the second updated GTP routing flow table entry, reference may be made to FIG. 5, FIG. 6 and FIG. A repeat.

可选的,Openflow控制器接收PCRF发送给更新后的策略信息。Openflow控制器根据可用网络链路参数以及策略信息生成第一更新策略GTP路由流表条目、下一跳封装参数策略记录条目以及第二更新策略GTP路由流表条目。Optionally, the Openflow controller receives the updated policy information sent by the PCRF. The Openflow controller generates a first update policy GTP routing flow table entry, a next hop encapsulation parameter policy record entry, and a second update policy GTP routing flow table entry according to available network link parameters and policy information.

803,Openflow控制器将更新GTP隧道的相关参数发送给目标扩展的Openflow交换机,以便目标扩展的Openflow交换机按照第一更新GTP路由流表条目以及下一跳封装参数更新记录条目传输数据。803. The Openflow controller sends the relevant parameters of the updated GTP tunnel to the target-extended Openflow switch, so that the target-extended Openflow switch transmits data according to the first updated GTP routing flow table entry and the next-hop encapsulation parameter update record entry.

804,Openflow控制器将第二更新GTP路由流表条目发送给标准Openflow交换机,以便标准Openflow交换机按照第二更新GTP路由流表条目传输数据。804. The Openflow controller sends the second updated GTP routing flow table entry to the standard Openflow switch, so that the standard Openflow switch transmits data according to the second updated GTP routing flow table entry.

本发明将GTP隧道端点的控制面和转发面分离,得到Openflow控制器和扩展的Openflow交换机,采用本发明中的Openflow控制器可以建立各个GTP隧道端点之间的GTP隧道,通过采用Openflow控制器建立的GTP隧道,也便于之后Openflow控制器完成对之前建立的GTP隧道的修改或者删除,从而实现了降低处理GTP隧道的复杂度。The present invention separates the control plane and the forwarding plane of the GTP tunnel endpoints to obtain an Openflow controller and an expanded Openflow switch. The Openflow controller in the present invention can be used to establish GTP tunnels between each GTP tunnel endpoint, and the Openflow controller is used to establish The GTP tunnel is also convenient for the Openflow controller to modify or delete the previously established GTP tunnel, thereby reducing the complexity of processing the GTP tunnel.

如图9所示,在本发明的另一实施例中,本发明还提供一种GTP隧道的处理方法,该方法如下:As shown in Figure 9, in another embodiment of the present invention, the present invention also provides a processing method of a GTP tunnel, the method is as follows:

901,Openflow控制器获取删除GTP隧道请求,其中,删除GTP隧道请求中包括指示删除GTP隧道的标识。901. The Openflow controller acquires a GTP tunnel deletion request, where the GTP tunnel deletion request includes an identifier indicating to delete the GTP tunnel.

在本步骤中不限制该指示删除GTP隧道的标识的具体格式。In this step, the specific format of the identifier indicating to delete the GTP tunnel is not limited.

其中,Openflow控制器获取删除GTP隧道请求的方式与获取建立GTP隧道请求的方式相同,在此不再赘述。Wherein, the manner in which the Openflow controller obtains the request to delete the GTP tunnel is the same as the manner in which the request to establish the GTP tunnel is obtained, and details are not repeated here.

902,Openflow控制器通过该删除GTP隧道请求删除对应的GTP隧道,并通知目标扩展的Openflow交换机以及目标标准Openflow交换机,以便目标扩展的Openflow交换机以及目标标准Openflow交换机相应的删除关于删除GTP隧道请求对应的GTP隧道对应的参数。902. The Openflow controller deletes the corresponding GTP tunnel through the delete GTP tunnel request, and notifies the target extended Openflow switch and the target standard Openflow switch, so that the target extended Openflow switch and the target standard Openflow switch correspondingly delete the request corresponding to the deletion of the GTP tunnel The parameters corresponding to the GTP tunnel.

其中,目标扩展的Openflow交换机删除第一GTP路由流表条目、下一跳封装参数策略记录条目,目标标准Openflow交换机删除第二GTP路由流表条目。Wherein, the target extended Openflow switch deletes the first GTP routing flow table entry and the next hop encapsulation parameter policy record entry, and the target standard Openflow switch deletes the second GTP routing flow table entry.

本发明将GTP隧道端点的控制面和转发面分离,得到Openflow控制器和扩展的Openflow交换机,采用本发明中的Openflow控制器可以建立各个GTP隧道端点之间的GTP隧道,通过采用Openflow控制器建立的GTP隧道,也便于之后Openflow控制器完成对之前建立的GTP隧道的修改或者删除,从而实现了降低处理GTP隧道的复杂度。The present invention separates the control plane and the forwarding plane of the GTP tunnel endpoints to obtain an Openflow controller and an expanded Openflow switch. The Openflow controller in the present invention can be used to establish GTP tunnels between each GTP tunnel endpoint, and the Openflow controller is used to establish The GTP tunnel is also convenient for the Openflow controller to modify or delete the previously established GTP tunnel, thereby reducing the complexity of processing the GTP tunnel.

在本发明的另一实施例中,本发明提供一种基于Openflow传输数据的方法,其中,需要说明的是,本方法基于EPC网络。图10(a)为EPC网络中GTP隧道端点控制面与数据面分离的架构图。图10(b)为EPC网络中GTP隧道的处理方法,该方法的一种形式由UE发起GTP隧道建立、修改、删除过程,这里仅以建立过程说明,具体流程如下:In another embodiment of the present invention, the present invention provides a method for transmitting data based on Openflow, wherein, it should be noted that the method is based on the EPC network. Figure 10(a) is an architecture diagram of the separation of the control plane and the data plane of the GTP tunnel endpoint in the EPC network. Figure 10(b) shows the processing method of the GTP tunnel in the EPC network. In one form of this method, the UE initiates the process of establishing, modifying, and deleting the GTP tunnel. Here, only the establishment process is described. The specific process is as follows:

1001,UE向基站发送附着请求。1001. The UE sends an attach request to the base station.

该附着请求中包括业务数据信息,鉴权信息等。The attach request includes service data information, authentication information, and the like.

1002,基站将该附着请求发送给移动管理实体(Mobility Management Entity,MME)。1002. The base station sends the attach request to a mobility management entity (Mobility Management Entity, MME).

1003,MME通过该附着请求中的内容,生成建立GTP隧道请求,并将该建立GTP隧道请求发送给S-GW。1003. The MME generates a GTP tunnel establishment request based on the content in the attach request, and sends the GTP tunnel establishment request to the S-GW.

1004,S-GW将该建立GTP隧道请求发送给Openflow控制器。1004. The S-GW sends the GTP tunnel establishment request to the Openflow controller.

其中,在本步骤中,参照图10(a)中的S-GW(GTP隧道端点)没有将控制面和数据面分离,这里S-GW与现有技术中的功能相同,即同时具有控制功能以及转发功能。Among them, in this step, referring to the S-GW (GTP tunnel endpoint) in Figure 10(a), the control plane and the data plane are not separated. Here, the S-GW has the same function as in the prior art, that is, it also has a control function and forwarding function.

1005,Openflow控制器选择用于GTP隧道的目标扩展的Openflow交换机。1005. The Openflow controller selects an Openflow switch for target extension of the GTP tunnel.

Openflow控制器选择使用的目标扩展Openflow交换机作为GTP隧道的出口终结点,根据将协商的GTP参数包括源IP地址和目的IP地址,源和目的端口号,TEID发送给S-GW。The Openflow controller selects the target extended Openflow switch as the egress endpoint of the GTP tunnel, and sends the TEID to the S-GW according to the negotiated GTP parameters including source IP address and destination IP address, source and destination port numbers.

1006,S-GW与基站使用的GTP参数通过MME进行传输,以便S-GW和基站协商建立S-GW与基站间的GTP隧道。1006, the GTP parameters used by the S-GW and the base station are transmitted through the MME, so that the S-GW and the base station negotiate to establish a GTP tunnel between the S-GW and the base station.

其中,在本步骤中,参照图10(a)中的S-GW(GTP隧道端点)没有将控制面和数据面分离,这里S-GW与现有技术中的功能相同。作为本发明的另一实施例时,可以将S-GW的控制面和数据面分离,这里S-GW-data(仅具备S-GW的数据面)作为目标扩展的Openflow交换机。Wherein, in this step, refer to the S-GW (GTP tunnel endpoint) in Fig. 10(a) without separating the control plane and the data plane, where the S-GW has the same function as that in the prior art. As another embodiment of the present invention, the control plane and the data plane of the S-GW can be separated, and the S-GW-data (only equipped with the data plane of the S-GW) is used as an Openflow switch for target expansion.

由于这里S-GW的控制面与转发面尚未分离,故S-GW与基站之间的GTP隧道由他们自己协商进行建立。若将S-GW的控制面与转发明分离,并将S-GW的控制面融合到Openflow控制器上,故由Openflow控制器与基站协商S-GW与基站之间的GTP隧道。Since the control plane and the forwarding plane of the S-GW have not been separated here, the GTP tunnel between the S-GW and the base station is negotiated and established by themselves. If the control plane of the S-GW is separated from the forwarding invention, and the control plane of the S-GW is integrated into the Openflow controller, the Openflow controller and the base station negotiate the GTP tunnel between the S-GW and the base station.

需要说明的是,在本实施中可以先执行步骤1005,再执行步骤1006;或者也可以同时执行步骤1005,以及步骤1006。为了描述方便,在图10(b)中以先执行步骤1005,再执行步骤1006为例进行说明。It should be noted that, in this implementation, step 1005 may be performed first, and then step 1006 may be performed; or step 1005 and step 1006 may be performed simultaneously. For the convenience of description, in FIG. 10( b ), step 1005 is executed first, and then step 1006 is executed as an example for illustration.

1007,Openflow控制器建立S-GW与目标扩展的Openflow交换机之间的GTP隧道,并下发第一GTP路由流表条目、下一跳封装参数记录条目给GTP隧道的出口终结点的目标扩展的Openflow交换机。1007, the Openflow controller establishes the GTP tunnel between the S-GW and the Openflow switch of the target extension, and delivers the first GTP routing flow table entry and the next hop encapsulation parameter record entry to the target extension of the egress termination point of the GTP tunnel Openflow switch.

可以理解的是,由于本步骤中S-GW的控制面与转发面尚未分离,故需要Openflow控制器与S-GW协商S-GW与目标扩展的Openflow交换机之间的GTP隧道。It can be understood that, since the control plane and the forwarding plane of the S-GW have not been separated in this step, the Openflow controller and the S-GW need to negotiate the GTP tunnel between the S-GW and the target extended Openflow switch.

1008,Openflow控制器生成第二GTP路由流表条目,并下发给标准Openflow交换机。1008. The Openflow controller generates a second GTP routing flow table entry, and issues it to the standard Openflow switch.

1009,Openflow控制器获取决策结果信息,生成特定GTP路由流表条目。1009. The Openflow controller obtains decision result information, and generates a specific GTP routing flow table entry.

1010,Openflow控制器选择用于GTP隧道的目标标准Openflow交换机,并将该特定GTP路由流表条目发送给目标标准Openflow交换机。1010. The Openflow controller selects a target standard Openflow switch for the GTP tunnel, and sends the specific GTP routing flow table entry to the target standard Openflow switch.

图10(c)所示的一种GTP隧道的处理方法,该方法是由PCRF发起GTP隧道建立、修改、删除过程,这里仅以建立过程说明,具体流程如下:The processing method of a kind of GTP tunnel shown in Fig. 10 (c), this method is initiated by PCRF GTP tunnel establishes, revises, deletes the process, here only explains with the establishment process, and specific flow is as follows:

1001’,PCRF触发Openflow控制器生成建立GTP隧道请求。1001', the PCRF triggers the Openflow controller to generate a GTP tunnel establishment request.

1002’,Openflow控制器选择用于GTP隧道的目标扩展的Openflow交换机。1002', the Openflow controller selects an Openflow switch for the target extension of the GTP tunnel.

具体的,Openflow控制器选择GTP隧道的目标扩展的Openflow交换机,同时,将GTP隧道使用的源和目的IP地址,源和目的端口号,隧道标识TEID发送给S-GW。Specifically, the Openflow controller selects the Openflow switch to which the target of the GTP tunnel is extended, and at the same time, sends the source and destination IP addresses, source and destination port numbers, and tunnel identifier TEID used by the GTP tunnel to the S-GW.

1003’,S-GW与基站使用的GTP参数通过MME进行传输,以便S-GW和基站协商建立S-GW与基站间的GTP隧道。1003', the GTP parameters used by the S-GW and the base station are transmitted through the MME, so that the S-GW and the base station negotiate to establish a GTP tunnel between the S-GW and the base station.

1004’,Openflow控制器建立S-GW与目标扩展的Openflow交换机之间的GTP隧道,并下发第一GTP路由流表条目、下一跳封装参数记录条目给目标扩展的Openflow交换机。1004', the Openflow controller establishes a GTP tunnel between the S-GW and the target-extended Openflow switch, and delivers the first GTP routing flow table entry and the next-hop encapsulation parameter record entry to the target-extended Openflow switch.

1005’,Openflow控制器生成第二GTP路由流表条目,并下发给标准Openflow交换机。1005', the Openflow controller generates a second GTP routing flow table entry, and issues it to the standard Openflow switch.

1006’,Openflow控制器获取决策结果信息,生成特定GTP路由流表条目。1006', the Openflow controller obtains decision result information, and generates a specific GTP routing flow table entry.

1007’,Openflow控制器选择用于GTP隧道的目标标准Openflow交换机,并将该特定GTP路由流表条目发送给目标标准Openflow交换机。1007', the Openflow controller selects a target standard Openflow switch for the GTP tunnel, and sends the specific GTP routing flow table entry to the target standard Openflow switch.

基于上述图10(b)与图10(c)描述的方法,如图11所示,本发明还提供另一种GTP隧道的处理方法,该方法具体如下:Based on the methods described above in Figure 10(b) and Figure 10(c), as shown in Figure 11, the present invention also provides another GTP tunnel processing method, which is specifically as follows:

1101,在建立好S-GW与基站之间的GTP隧道之后,基站将用户数据请求信息发送给S-GW。1101. After the GTP tunnel between the S-GW and the base station is established, the base station sends user data request information to the S-GW.

1102,S-GW将用户数据请求信息通过目标标准Openflow交换机,目标扩展的Openflow交换机路由到该业务对应的应用服务器中。1102. The S-GW routes the user data request information to the application server corresponding to the service through the target standard Openflow switch and the target extended Openflow switch.

1103,应用服务器根据用户数据请求信息向目标扩展的Openflow交换机发送业务数据A。1103. The application server sends service data A to the target extended Openflow switch according to the user data request information.

1104,目标扩展的Openflow交换机通过第一GTP路由流表条目以及下一跳封装参数记录条目对该业务数据A进行处理,得到业务数据B,然后将业务数据B转发给第二目标标准Openflow交换机。1104. The target extended Openflow switch processes the service data A through the first GTP routing flow table entry and the next hop encapsulation parameter record entry to obtain service data B, and then forwards the service data B to the second target standard Openflow switch.

具体的,目标扩展的Openflow交换机对业务数据A采用GTP协议进行解封装,得到业务数据A’以及该业务数据A的包头信息,通过包头信息获取该业务数据A对应的第一GTP路由流表条目和下一跳封装参数记录条目,通过下一跳封装参数记录条目对业务数据A’采用GTP协议进行封装,得到业务数据B,然后通过第一GTP路由流表条目的操作信息传输该业务数据B。Specifically, the target extended Openflow switch decapsulates the service data A using the GTP protocol to obtain the service data A' and the header information of the service data A, and obtains the first GTP routing flow table entry corresponding to the service data A through the header information and the next hop encapsulation parameter record entry, the business data A' is encapsulated by the GTP protocol through the next hop encapsulation parameter record entry, and the service data B is obtained, and then the service data B is transmitted through the operation information of the first GTP routing flow table entry .

1105,第二目标标准Openflow交换机将业务数据B发送给网络中间件。1105. The second target standard Openflow switch sends the service data B to the network middleware.

本步骤为可选步骤,当业务数据A为视频数据或者需要在用户观看该业务数据A之前插入一段广告或者流量警告等时,第二目标标准Openflow交换机根据Openflow控制器下发的第二GTP路由流表条目,将业务数据A发送给网络中间件。This step is an optional step. When the service data A is video data or it is necessary to insert an advertisement or traffic warning before the user watches the service data A, the second target standard Openflow switch is based on the second GTP route issued by the Openflow controller The flow table entry sends business data A to the network middleware.

可以理解的是,第二目标标准Openflow交换机根据该业务数据B的包头信息匹配到匹配力度相同的一个第二GTP路由流表条目和特定GTP路由流表条目,则第二目标标准Openflow交换机采用流表项优先级较高的特定GTP路由流表条目来传输业务数据B。It can be understood that, according to the packet header information of the service data B, the second target standard Openflow switch matches a second GTP routing flow table entry and a specific GTP routing flow table entry with the same matching degree, then the second target standard Openflow switch adopts the flow A specific GTP routing flow table entry with a higher entry priority is used to transmit service data B.

1106,网络中间件对业务数据B进行特定处理,并将特定处理之后业务数据B发送给第一目标标准Openflow交换机。1106. The network middleware performs specific processing on the service data B, and sends the service data B after the specific processing to the first target standard Openflow switch.

1107,第一目标标准Openflow交换机接收到特定处理之后的业务数据B,对业务数据B进行解封装,得到业务数据A。1107. The first target standard Openflow switch receives the service data B after the specific processing, and decapsulates the service data B to obtain the service data A.

1108,第一目标标准Openflow交换机将该业务数据A发送给S-GW。1108. The first target standard Openflow switch sends the service data A to the S-GW.

1109,S-GW将业务数据A进行GTP协议封装,得到业务数据B’,并将该业务数据B’发送给基站。1109. The S-GW encapsulates the service data A with the GTP protocol to obtain the service data B', and sends the service data B' to the base station.

1110,基站对该业务数据B’进行解封装,得到业务数据A,然后将业务数据A发送给UE。1110. The base station decapsulates the service data B' to obtain service data A, and then sends service data A to the UE.

本发明将GTP隧道端点的控制面和转发面分离,得到Openflow控制器和扩展的Openflow交换机,采用本发明中的Openflow控制器可以建立各个GTP隧道端点之间的GTP隧道,通过采用Openflow控制器建立的GTP隧道,也便于之后Openflow控制器完成对之前建立的GTP隧道的修改或者删除,从而实现了降低了处理GTP隧道的复杂度;以及可以通过Openflow控制器对业务数据进行提前规划,使得GTP数据包在传输的过程中添加一些特定信息,从而可以增加业务数据的附加信息以及提高业务数据传输路径的调整能力。The present invention separates the control plane and the forwarding plane of the GTP tunnel endpoints to obtain an Openflow controller and an expanded Openflow switch. The Openflow controller in the present invention can be used to establish GTP tunnels between each GTP tunnel endpoint, and the Openflow controller is used to establish The GTP tunnel is also convenient for the Openflow controller to complete the modification or deletion of the previously established GTP tunnel, thereby reducing the complexity of processing the GTP tunnel; and the business data can be planned in advance through the Openflow controller, so that the GTP data Some specific information is added during the transmission of the packet, so that additional information of the business data can be added and the ability to adjust the transmission path of the business data can be improved.

需要说明的是,作为本发明的另一实施例,可以包括图10(b)/图10(c)与图11的一种GTP隧道的处理方法。该方法可参考图(b)/图10(c)以及图11中的描述,在此不再一一赘述。It should be noted that, as another embodiment of the present invention, a GTP tunnel processing method shown in FIG. 10(b)/FIG. 10(c) and FIG. 11 may be included. For this method, reference may be made to the description in Fig. (b)/Fig. 10(c) and Fig. 11 , and details will not be repeated here.

在本发明的另一实施例中,本发明提供一种基于Openflow传输数据的方法,其中,需要说明的是,本方法基于2G/3G网络。图12(a)为2G/3G网络中GTP隧道端点控制面与数据面分离的架构图。图12(b)为2G/3G网络中GTP隧道的处理方法,该方法的一种形式由UE发起GTP隧道建立、修改、删除过程,这里仅以建立过程说明,具体流程如下:In another embodiment of the present invention, the present invention provides a method for transmitting data based on Openflow, wherein, it should be noted that the method is based on a 2G/3G network. Fig. 12(a) is an architecture diagram of the separation of the control plane and the data plane of the GTP tunnel endpoint in the 2G/3G network. Figure 12(b) shows the processing method of the GTP tunnel in the 2G/3G network. In one form of this method, the UE initiates the process of establishing, modifying and deleting the GTP tunnel. Here, only the establishment process is used for illustration. The specific process is as follows:

1201,UE向无线网络控制器(Radio Network Controller,RNC)即发送分组数据协议上下文(Packet Data Protocol context,PDP context)激活请求,RNC将该PDP context激活请求发送给Openflow控制器。1201. The UE sends a packet data protocol context (Packet Data Protocol context, PDP context) activation request to a radio network controller (Radio Network Controller, RNC), and the RNC sends the PDP context activation request to the Openflow controller.

1202,Openflow控制器通过该PDP context激活请求为建立GTP隧道选择相应的目标扩展的Openflow交换机。1202. The Openflow controller selects a corresponding target extended Openflow switch for establishing a GTP tunnel through the PDP context activation request.

如图12(a)所示可知,本步骤中的目标扩展的Openflow交换机包括SGSN-data和GGSN-data。As shown in Figure 12(a), the target extended Openflow switch in this step includes SGSN-data and GGSN-data.

SGSN-data和GGSN-data可以都是支持GTP-U的目标扩展的Openflow交换机。Both the SGSN-data and the GGSN-data may be Openflow switches supporting the target extension of GTP-U.

1203,Openflow控制器获取可用网络链路参数,确定建立GTP隧道的参数,然后建立GTP隧道。1203. The Openflow controller acquires available network link parameters, determines parameters for establishing a GTP tunnel, and then establishes a GTP tunnel.

具体的,Openflow控制器根据SGSN和GGSN控制面维护的可用GTP隧道源IP地址和目的IP地址,源端口号和目的端口号及TEID协商建立SGSN-data和GGSN-data间的GTP隧道。Specifically, the Openflow controller negotiates to establish the GTP tunnel between SGSN-data and GGSN-data according to the available GTP tunnel source IP address and destination IP address, source port number, destination port number and TEID maintained by the control planes of SGSN and GGSN.

Openflow控制器根据SGSN控制面维护的可用源IP地址和目的IP地址,源端口号和目的端口号及TEID与RNC协商建立RNC和SGSN间的GTP隧道。The Openflow controller negotiates with the RNC to establish a GTP tunnel between the RNC and the SGSN according to the available source IP address and destination IP address, source port number, destination port number and TEID maintained by the SGSN control plane.

1204,Openflow控制器向目标扩展的Openflow交换机下发对应的第一GTP路由流表条目、下一跳封装参数记录条目。1204. The Openflow controller delivers the corresponding first GTP routing flow table entry and next-hop encapsulation parameter record entry to the target extended Openflow switch.

具体的,Openflow控制器分别向SGSN-data和GGSN-data下发各自对应的第一GTP路由流表条目、下一跳封装参数记录条目。Specifically, the Openflow controller sends the corresponding first GTP routing flow table entry and next-hop encapsulation parameter record entry to the SGSN-data and GGSN-data respectively.

1205,Openflow控制器生成第二GTP路由流表条目,并下发给标准Openflow交换机。1205. The Openflow controller generates a second GTP routing flow table entry, and sends it to the standard Openflow switch.

1206,Openflow控制器获取决策结果信息,生成特定GTP路由流表条目。1206. The Openflow controller obtains decision result information, and generates a specific GTP routing flow table entry.

1207,Openflow控制器选择用于GTP隧道的目标标准Openflow交换机,并将该特定GTP路由流表条目发送给目标标准Openflow交换机。1207. The Openflow controller selects a target standard Openflow switch for the GTP tunnel, and sends the specific GTP routing flow table entry to the target standard Openflow switch.

基于上述图12(b)描述的方法,如图13所示,本发明还提供另一种GTP隧道的处理方法,该方法具体如下:Based on the method described in Figure 12(b) above, as shown in Figure 13, the present invention also provides another GTP tunnel processing method, which is specifically as follows:

1301,在Openflow控制器建立好GTP隧道之后,RNC将用户数据请求信息发送给第一目标扩展的Openflow交换机。1301. After the Openflow controller establishes the GTP tunnel, the RNC sends user data request information to the first extended Openflow switch.

可以理解的是,本步骤中的第一目标扩展的Openflow交换机可以为SGSN-data。It can be understood that the first extended Openflow switch in this step may be SGSN-data.

1302,第一目标扩展的Openflow交换机将用户数据请求信息通过第一目标标准Openflow交换机,第二目标标准Openflow交换机以及第二目标扩展的Openflow交换机路由到该业务对应的应用服务器中。1302. The first target extended Openflow switch routes the user data request information to the application server corresponding to the service through the first target standard Openflow switch, the second target standard Openflow switch, and the second target extended Openflow switch.

1303,应用服务器根据用户数据请求信息向第二目标扩展的Openflow交换机发送业务数据A。1303. The application server sends the service data A to the second target extended Openflow switch according to the user data request information.

可以理解的是,本步骤中的第二目标扩展的Openflow交换机可以为GGSN-data。It can be understood that, in this step, the second target extended Openflow switch may be GGSN-data.

1304,第二目标扩展的Openflow交换机按照第一GTP路由流表条目以及下一跳封装参数记录条目将业务数据A进行GTP协议封装,得到业务数据B,然后将业务数据B转发给第二目标标准Openflow交换机。1304, the Openflow switch of the second target extension encapsulates the service data A with the GTP protocol according to the first GTP routing flow table entry and the next hop encapsulation parameter record entry, obtains the service data B, and then forwards the service data B to the second target standard Openflow switch.

其中业务数据B为采用GTP-U协议封装之后的业务数据A。The service data B is the service data A encapsulated by the GTP-U protocol.

1305,第二目标标准Openflow交换机将业务数据B发送给网络中间件。1305. The second target standard Openflow switch sends the service data B to the network middleware.

本步骤为可选步骤,当业务数据A为视频数据或者需要在用户观看该业务数据A之前插入一段广告或者流量警告等时,第二目标标准Openflow交换机根据Openflow控制器下发的第二GTP路由流表条目,将业务数据A发送给网络中间件。This step is an optional step. When the service data A is video data or it is necessary to insert an advertisement or traffic warning before the user watches the service data A, the second target standard Openflow switch is based on the second GTP route issued by the Openflow controller The flow table entry sends business data A to the network middleware.

1306,网络中间件对业务数据B进行特定处理,并将特定处理之后业务数据B发送给第一目标标准Openflow交换机。1306. The network middleware performs specific processing on the service data B, and sends the service data B after the specific processing to the first target standard Openflow switch.

1307,第一目标标准Openflow交换机接收到特定处理之后的业务数据B,对业务数据B进行解封装,得到业务数据A。1307. The first target standard Openflow switch receives the service data B after the specific processing, decapsulates the service data B, and obtains the service data A.

1308,第一目标标准Openflow交换机向业务数据A发送给第一目标扩展的Openflow交换机。1308. The first target standard Openflow switch sends the service data A to the first target extended Openflow switch.

1309,第一目标扩展的Openflow交换机将业务数据A进行GTP协议封装,得到业务数据B’,并将该业务数据B’发送给RNC。1309. The first extended Openflow switch encapsulates the service data A with the GTP protocol to obtain service data B', and sends the service data B' to the RNC.

1310,RNC对该业务数据B’进行解封装,得到业务数据A,然后将业务数据A发送给UE。1310. The RNC decapsulates the service data B' to obtain the service data A, and then sends the service data A to the UE.

本发明将GTP隧道端点的控制面和转发面分离,得到Openflow控制器和扩展的Openflow交换机,采用本发明中的Openflow控制器可以建立各个GTP隧道端点之间的GTP隧道,通过采用Openflow控制器建立的GTP隧道,也便于之后Openflow控制器完成对之前建立的GTP隧道的修改或者删除,从而实现了降低了处理GTP隧道的复杂度;以及可以通过Openflow控制器对业务数据进行提前规划,使得GTP数据包在传输的过程中添加一些特定信息,从而可以增加业务数据的附加信息以及提高业务数据传输路径的调整能力。The present invention separates the control plane and the forwarding plane of the GTP tunnel endpoints to obtain an Openflow controller and an expanded Openflow switch. The Openflow controller in the present invention can be used to establish GTP tunnels between each GTP tunnel endpoint, and the Openflow controller is used to establish The GTP tunnel is also convenient for the Openflow controller to complete the modification or deletion of the previously established GTP tunnel, thereby reducing the complexity of processing the GTP tunnel; and the business data can be planned in advance through the Openflow controller, so that the GTP data Some specific information is added during the transmission of the packet, so that additional information of the business data can be added and the ability to adjust the transmission path of the business data can be improved.

需要说明的是,作为本发明的另一实施例,可以包括图12(b)与图13的一种GTP隧道的处理方法。该方法可参考图12(b)与图13中的描述,在此不再一一赘述。It should be noted that, as another embodiment of the present invention, a GTP tunnel processing method shown in FIG. 12( b ) and FIG. 13 may be included. For this method, reference may be made to the descriptions in FIG. 12( b ) and FIG. 13 , and details will not be repeated here.

如图14所示,本发明实施例提供一种GTP隧道的处理系统14,该系统14包括:Openflow控制器1401,目标扩展的Openflow交换机1402其中Openflow控制器1401为具备GTP隧道端点中的控制面功能的设备,目标扩展的Openflow交换机1402为作为GTP隧道中具备GTP隧道端点中的数据面功能的设备。As shown in Fig. 14, the embodiment of the present invention provides a processing system 14 of a GTP tunnel, the system 14 includes: an Openflow controller 1401, an Openflow switch 1402 with target extension, wherein the Openflow controller 1401 is equipped with a control plane in a GTP tunnel endpoint function, the target extended Openflow switch 1402 is a device in the GTP tunnel that has the data plane function in the GTP tunnel endpoint.

Openflow控制器1401,用于获取建立GTP隧道请求;通过建立GTP隧道请求建立GTP隧道,其中建立GTP隧道请求包括生成GTP隧道的相关参数,GTP隧道的相关参数包括第一GTP路由流表条目以及下一跳封装参数记录条目,第一GTP路由流表条目为目标扩展的Openflow交换机1402传输数据时使用的流表条目,第一GTP路由流表条目至少包括通用分组无线服务技术隧道协议数据面版本号GTP-U Version、通用分组无线服务技术隧道协议数据面隧道端点标识GTP-U TEID,下一跳封装参数记录条目为目标扩展的Openflow交换机1402封装数据时使用的流表条目;将GTP隧道的相关参数发送给目标扩展的Openflow交换机1402;The Openflow controller 1401 is configured to obtain a request to establish a GTP tunnel; request to establish a GTP tunnel by establishing a GTP tunnel, wherein the request to establish a GTP tunnel includes generating relevant parameters of the GTP tunnel, and the relevant parameters of the GTP tunnel include the first GTP routing flow table entry and the following One-hop encapsulation parameter record entry, the first GTP routing flow table entry is the flow table entry used when the target extended Openflow switch 1402 transmits data, the first GTP routing flow table entry includes at least the version number of the general packet radio service technology tunneling protocol data plane GTP-U Version, General Packet Radio Services Technology Tunneling Protocol data plane tunnel endpoint identifier GTP-U TEID, and the next-hop encapsulation parameter record entry is the flow table entry used when the Openflow switch 1402 of the target extension is encapsulating data; Parameters are sent to the target extended Openflow switch 1402;

目标扩展的Openflow交换机1402,用于接收Openflow控制器1401发送给第一GTP路由流表条目和/或下一跳封装参数记录条目;以及按照第一GTP路由流表条目以及下一跳封装参数记录条目传输数据。The Openflow switch 1402 of the target extension is used to receive the first GTP routing flow table entry and/or the next hop encapsulation parameter record entry sent by the Openflow controller 1401; and according to the first GTP routing flow table entry and the next hop encapsulation parameter record Entry transfer data.

进一步的,Openflow控制器,具体用于选择用于GTP隧道的目标扩展的Openflow交换机1402;获取可用网络链路参数,可用网络链路参数至少包括目标扩展的Openflow交换机1402对应的IP地址、端口号;通过可用网络链路参数确定建立GTP隧道的参数,建立GTP隧道的参数包括GTP隧道对应的源IP地址、目的IP地址、源端口号、目的端口号、GTP-U Version、GTP-U TEID;通过可用网络链路参数以及建立GTP隧道的参数生成第一GTP路由流表条目以及下一跳封装参数记录条目。Further, the Openflow controller is specifically used to select the Openflow switch 1402 for the target extension of the GTP tunnel; obtain available network link parameters, the available network link parameters include at least the IP address and port number corresponding to the Openflow switch 1402 for target expansion ; Determine the parameters for establishing the GTP tunnel through the available network link parameters. The parameters for establishing the GTP tunnel include the source IP address, destination IP address, source port number, destination port number, GTP-U Version, and GTP-U TEID corresponding to the GTP tunnel; The first GTP routing flow table entry and the next-hop encapsulation parameter record entry are generated by using available network link parameters and parameters for establishing a GTP tunnel.

其中,GTP隧道的相关参数还包括第二GTP路由流表条目,第二GTP路由流表条目为标准Openflow交换机传输数据时使用的流表条目,标准Openflow交换机为Openflow控制器管理的所有标准Openflow交换机。Wherein, the relevant parameters of the GTP tunnel also include the second GTP routing flow table entry, the second GTP routing flow table entry is the flow table entry used when the standard Openflow switch transmits data, and the standard Openflow switch is all standard Openflow switches managed by the Openflow controller .

Openflow控制器1401,还用于通过建立GTP隧道的参数生成第二GTP路由流表条目;将第二GTP路由流表条目发送给标准Openflow交换机;The Openflow controller 1401 is also configured to generate a second GTP routing flow table entry by establishing parameters of the GTP tunnel; send the second GTP routing flow table entry to a standard Openflow switch;

进一步的,所述系统14还包括目标标准Openflow交换机1403。其中目标标准Openflow交换机为参与传输GTP隧道中的数据的标准Openflow交换机。Further, the system 14 also includes a target standard Openflow switch 1403 . The target standard Openflow switch is a standard Openflow switch that participates in transmitting data in the GTP tunnel.

Openflow控制器1401,还用于获取决策结果信息,决策结果信息用于指示对特定业务对应的数据进行特定处理,特定处理为以下任意一种形式:为特定业务对应的数据进行转码、为特定业务对应的数据进行流量隔离、向用户设备UE发送警戒提醒消息或者为特定业务对应的数据进行广告视频插播;根据决策结果信息为特定业务对应的数据生成特定GTP路由流表条目;以及选择用于GTP隧道的目标标准Openflow交换机1403;将特定GTP路由流表条目发送给目标标准Openflow交换机1403;The Openflow controller 1401 is also used to obtain decision result information. The decision result information is used to instruct specific processing of data corresponding to a specific business. The specific processing is in any of the following forms: transcoding data corresponding to a specific business, Traffic isolation for data corresponding to the business, sending a warning reminder message to the user equipment UE or performing advertisement video insertion for data corresponding to a specific business; generating a specific GTP routing flow table entry for data corresponding to a specific business according to the decision result information; and selecting for The target standard Openflow switch 1403 of the GTP tunnel; the specific GTP routing flow table entry is sent to the target standard Openflow switch 1403;

目标标准Openflow交换机1403,用于接收OPenflow控制器1401发送的特定GTP路由流表条目。The target standard Openflow switch 1403 is configured to receive the specific GTP routing flow table entry sent by the OPenflow controller 1401 .

进一步的,Openflow控制器,还用于接收策略与计费规则功能单元PCRF发送的策略信息;通过可用网络链路参数以及策略信息,生成第一策略GTP路由流表条目、下一跳封装参数策略记录条目以及第二策略GTP路由流表条目,并将第一策略GTP路由流表条目、下一跳封装参数策略记录条目发送给目标扩展的Openflow交换机1402,将第二策略GTP路由流表条目发送给标准Openflow交换机;Further, the Openflow controller is also used to receive the policy information sent by the policy and charging rule functional unit PCRF; through the available network link parameters and policy information, generate the first policy GTP routing flow table entry, the next hop encapsulation parameter policy Record the entry and the second policy GTP routing flow table entry, and send the first policy GTP routing flow table entry and the next hop encapsulation parameter policy record entry to the Openflow switch 1402 of the target extension, and send the second policy GTP routing flow table entry For standard Openflow switches;

目标扩展的Openflow交换机1402,还用于接收Openflow控制器1401发送的第一策略GTP路由流表条目、下一跳封装参数策略记录条目;The Openflow switch 1402 of the target extension is also used to receive the first policy GTP routing flow table entry and the next hop encapsulation parameter policy record entry sent by the Openflow controller 1401;

目标标准Openflow交换机1403,还用于接收Openflow控制器1401发送的第二策略GTP路由流表条目;The target standard Openflow switch 1403 is also used to receive the second policy GTP routing flow table entry sent by the Openflow controller 1401;

进一步的,Openflow控制器1401,还用于获取修改GTP隧道请求;通过修改GTP隧道请求修改GTP隧道,其中修改GTP隧道请求包括生成更新GTP隧道的相关参数,更新GTP隧道的相关参数包括第一更新GTP路由流表条目、下一跳封装参数更新记录条目以及第二更新GTP路由流表条目,第一更新GTP路由流表条目为目标扩展的Openflow交换机1402传输数据时使用的流表条目,下一跳封装参数更新记录条目为目标扩展的Openflow交换机1402封装数据时使用的流表条目,第二更新GTP路由流表条目为标准Openflow交换机传输数据时使用的流表条目;将更新GTP隧道的相关参数发送给目标扩展的Openflow交换机1402以及标准Openflow交换机;获取删除GTP隧道请求;通过删除GTP隧道请求删除对应的GTP隧道;通知目标扩展的Openflow交换机1402和/或目标标准Openflow交换机1403,以便目标扩展的Openflow交换机1402以及目标标准Openflow交换机1403相应的删除关于删除GTP隧道请求对应的GTP隧道对应的参数。Further, the Openflow controller 1401 is also used to obtain a request to modify the GTP tunnel; request to modify the GTP tunnel by modifying the GTP tunnel, wherein the request to modify the GTP tunnel includes generating and updating relevant parameters of the GTP tunnel, and updating the relevant parameters of the GTP tunnel includes the first update GTP routing flow table entry, next hop encapsulation parameter update record entry and the second update GTP routing flow table entry, the first update GTP routing flow table entry is the flow table entry used when the Openflow switch 1402 for target expansion transmits data, and the next The jump encapsulation parameter update record entry is the flow table entry used when the target extended Openflow switch 1402 encapsulates data, and the second update GTP routing flow table entry is the flow table entry used when the standard Openflow switch transmits data; the relevant parameters of the GTP tunnel will be updated Send to the Openflow switch 1402 and the standard Openflow switch of the target extension; Obtain the delete GTP tunnel request; Delete the corresponding GTP tunnel by deleting the GTP tunnel request; Notify the Openflow switch 1402 of the target extension and/or the target standard Openflow switch 1403, so that the target extension The Openflow switch 1402 and the target standard Openflow switch 1403 correspondingly delete the parameter corresponding to the GTP tunnel corresponding to the delete GTP tunnel request.

目标扩展的Openflow交换机1402,还用于接收Openflow控制器1401发送的更新GTP隧道的相关参数;以及按照更新GTP隧道的相关参数传输数据;接收Openflow控制器1401发送的第一删除GTP隧道的通知,其中,第一删除GTP隧道的通知中包括删除GTP隧道的标识,第一删除GTP隧道的通知为指示目标扩展的Openflow交换机1402删除GTP隧道的信令;以及通过第一删除GTP隧道的通知删除删除GTP隧道的标识对应的GTP隧道。The Openflow switch 1402 of the target extension is also used to receive the relevant parameters of the updated GTP tunnel sent by the Openflow controller 1401; and transmit data according to the relevant parameters of the updated GTP tunnel; receive the notification of the first deletion of the GTP tunnel sent by the Openflow controller 1401, Wherein, the first notification of deleting the GTP tunnel includes the identifier of the deletion GTP tunnel, and the first notification of deleting the GTP tunnel is signaling indicating that the Openflow switch 1402 of the target extension deletes the GTP tunnel; The GTP tunnel corresponding to the identifier of the GTP tunnel.

目标标准Openflow交换机1402,还用于接收Openflow控制器1401发送的更新GTP隧道的相关参数;以及按照更新GTP隧道的相关参数传输数据;接收Openflow控制器1401发送的第二删除GTP隧道的通知,其中,第二删除GTP隧道的通知中包括删除GTP隧道的标识,第二删除GTP隧道的通知为指示目标标准Openflow交换机1403删除GTP隧道的信令;以及通过第二删除GTP隧道的通知删除删除GTP隧道的标识对应的GTP隧道。The target standard Openflow switch 1402 is also used to receive the relevant parameters of the updated GTP tunnel sent by the Openflow controller 1401; and transmit data according to the relevant parameters of the updated GTP tunnel; receive the second notification of deleting the GTP tunnel sent by the Openflow controller 1401, wherein , the second notification of deleting the GTP tunnel includes the identifier of the deletion of the GTP tunnel, and the second notification of deleting the GTP tunnel is signaling indicating that the target standard Openflow switch 1403 deletes the GTP tunnel; and the GTP tunnel is deleted through the second notification of deleting the GTP tunnel The identifier corresponding to the GTP tunnel.

本发明将GTP隧道端点的控制面和转发面分离,得到Openflow控制器和扩展的Openflow交换机,采用本发明中的Openflow控制器可以建立各个GTP隧道端点之间的GTP隧道,通过采用Openflow控制器建立的GTP隧道,也便于之后Openflow控制器完成对之前建立的GTP隧道的修改或者删除,从而实现了降低处理GTP隧道的复杂度;以及对业务数据进行提前规划,使得GTP数据包在传输的过程中添加一些特定信息,从而可以增加业务数据的附加信息以及提高业务数据传输路径的调整能力。The present invention separates the control plane and the forwarding plane of the GTP tunnel endpoints to obtain an Openflow controller and an expanded Openflow switch. The Openflow controller in the present invention can be used to establish GTP tunnels between each GTP tunnel endpoint, and the Openflow controller is used to establish The GTP tunnel is also convenient for the Openflow controller to complete the modification or deletion of the previously established GTP tunnel, thereby reducing the complexity of processing the GTP tunnel; and planning the business data in advance so that the GTP data packet is transmitted during transmission. Add some specific information, so as to increase the additional information of the service data and improve the adjustment ability of the service data transmission path.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (10)

1.一种GTP隧道的处理方法,其特征在于,包括:1. A processing method of a GTP tunnel, characterized in that, comprising: Openflow控制器获取建立通用分组无线服务技术隧道协议GTP隧道请求,所述Openflow控制器为具备GTP隧道端点中的控制面功能的设备;The Openflow controller acquires a request for establishing a General Packet Radio Service Technology Tunneling Protocol GTP tunnel, and the Openflow controller is a device with a control plane function in the GTP tunnel endpoint; 所述Openflow控制器通过所述建立GTP隧道请求建立GTP隧道,其中建立GTP隧道请求包括生成所述GTP隧道的相关参数,所述GTP隧道的相关参数包括第一GTP路由流表条目以及下一跳封装参数记录条目,所述第一GTP路由流表条目为目标扩展的Openflow交换机传输数据时使用的流表条目,所述第一GTP路由流表条目至少包括通用分组无线服务技术隧道协议数据面版本号GTP-U Version、通用分组无线服务技术隧道协议数据面隧道端点标识GTP-UTEID,所述下一跳封装参数记录条目为所述目标扩展的Openflow交换机封装数据时使用的流表条目,所述目标扩展的Openflow交换机为作为所述GTP隧道中具备所述GTP隧道端点中的数据面功能的设备;The Openflow controller establishes a GTP tunnel through the establishment of the GTP tunnel request, wherein the establishment of the GTP tunnel request includes generating relevant parameters of the GTP tunnel, and the relevant parameters of the GTP tunnel include a first GTP routing flow table entry and a next hop Encapsulating parameter record entries, the first GTP routing flow table entry is a flow table entry used when the target extended Openflow switch transmits data, and the first GTP routing flow table entry includes at least the general packet radio service technology tunneling protocol data plane version No. GTP-U Version, General Packet Radio Services Technology Tunneling Protocol data plane tunnel endpoint identifier GTP-UTEID, the next hop encapsulation parameter record entry is the flow table entry used when the target extended Openflow switch encapsulates data, and the The Openflow switch of the target extension is a device having the data plane function in the GTP tunnel endpoint as the GTP tunnel; 所述Openflow控制器将所述GTP隧道的相关参数发送给所述目标扩展的Openflow交换机,以便所述目标扩展的Openflow交换机按照所述第一GTP路由流表条目以及所述下一跳封装参数记录条目传输数据。The Openflow controller sends the relevant parameters of the GTP tunnel to the target extended Openflow switch, so that the target extended Openflow switch records according to the first GTP routing flow table entry and the next hop encapsulation parameter Entry transfer data. 2.根据权利要求1所述的GTP隧道的处理方法,其特征在于,所述Openflow控制器通过所述建立GTP隧道请求建立GTP隧道,包括:2. the processing method of GTP tunnel according to claim 1, is characterized in that, described Openflow controller sets up GTP tunnel by described setting up GTP tunnel request, comprising: 所述Openflow控制器选择用于所述GTP隧道的所述目标扩展的Openflow交换机;The Openflow controller selects an Openflow switch for the target extension of the GTP tunnel; 所述Openflow控制器获取可用网络链路参数,所述可用网络链路参数至少包括所述目标扩展的Openflow交换机对应的IP地址、端口号;The Openflow controller acquires available network link parameters, and the available network link parameters include at least the IP address and port number corresponding to the Openflow switch of the target extension; 所述Openflow控制器通过所述可用网络链路参数确定建立所述GTP隧道的参数,所述建立所述GTP隧道的参数包括所述GTP隧道对应的两端IP地址、两端端口号、GTP-U Version、GTP-U TEID;The Openflow controller determines parameters for establishing the GTP tunnel through the available network link parameters, and the parameters for establishing the GTP tunnel include IP addresses at both ends, port numbers at both ends, GTP- U Version, GTP-U TEID; 所述Openflow控制器通过所述可用网络链路参数以及所述建立所述GTP隧道的参数生成第一GTP路由流表条目以及下一跳封装参数记录条目。The Openflow controller generates a first GTP routing flow table entry and a next-hop encapsulation parameter record entry based on the available network link parameters and the parameters for establishing the GTP tunnel. 3.根据权利要求2所述的GTP隧道的处理方法,其特征在于,所述GTP隧道的相关参数还包括第二GTP路由流表条目,所述第二GTP路由流表条目为标准Openflow交换机传输数据时使用的流表条目,所述标准Openflow交换机为所述Openflow控制器管理的所有标准Openflow交换机;3. the processing method of GTP tunnel according to claim 2, is characterized in that, the relevant parameter of described GTP tunnel also comprises the second GTP routing flow table entry, and described second GTP routing flow table entry is standard Openflow switch transmission The flow table entries used for data, the standard Openflow switches are all standard Openflow switches managed by the Openflow controller; 在所述Openflow控制器获取所述目标扩展的Openflow交换机的可用网络链路参数之后,还包括:After the Openflow controller obtains the available network link parameters of the Openflow switch of the target extension, it also includes: 所述Openflow控制器通过所述建立所述GTP隧道的参数生成所述第二GTP路由流表条目;The Openflow controller generates the second GTP routing flow table entry through the parameter of establishing the GTP tunnel; 所述Openflow控制器将所述第二GTP路由流表条目发送给标准Openflow交换机,以便所述标准Openflow交换机按照所述第二GTP路由流表条目传输数据。The Openflow controller sends the second GTP routing flow table entry to a standard Openflow switch, so that the standard Openflow switch transmits data according to the second GTP routing flow table entry. 4.根据权利要求2或3所述的GTP隧道的处理方法,其特征在于,在所述Openflow控制器通过所述建立GTP隧道请求建立GTP隧道之后,所述方法还包括:4. according to the processing method of the GTP tunnel described in claim 2 or 3, it is characterized in that, after described Openflow controller is set up GTP tunnel by described setting up GTP tunnel request, described method also comprises: 所述Openflow控制器获取决策结果信息,所述决策结果信息用于指示对特定业务对应的数据进行特定处理,所述特定处理为以下任意一种形式:为所述特定业务对应的数据进行转码、为所述特定业务对应的数据进行流量隔离、向用户设备UE发送警戒提醒消息或者为所述特定业务对应的数据进行广告视频插播;The Openflow controller acquires decision result information, and the decision result information is used to indicate specific processing for data corresponding to a specific service, and the specific processing is in any of the following forms: transcoding the data corresponding to the specific service . Performing traffic isolation for the data corresponding to the specific service, sending a warning reminder message to the user equipment UE, or performing advertisement video insertion for the data corresponding to the specific service; 所述Openflow控制器根据所述决策结果信息为所述特定业务对应的数据生成特定GTP路由流表条目;The Openflow controller generates a specific GTP routing flow table entry for the data corresponding to the specific service according to the decision result information; 所述Openflow控制器选择用于所述GTP隧道的目标标准Openflow交换机;The Openflow controller selects a target standard Openflow switch for the GTP tunnel; 所述Openflow控制器将所述特定GTP路由流表条目发送给所述目标标准Openflow交换机。The Openflow controller sends the specific GTP routing flow table entry to the target standard Openflow switch. 5.根据权利要求4所述的GTP隧道的处理方法,其特征在于,所述方法还包括:5. the processing method of GTP tunnel according to claim 4, is characterized in that, described method also comprises: 所述Openflow控制器接收策略与计费规则功能单元PCRF发送给策略信息;The Openflow controller receives the policy information sent by the policy and charging rule functional unit PCRF; 所述Openflow控制器通过所述可用网络链路参数以及所述策略信息,生成第一策略GTP路由流表条目、下一跳封装参数策略记录条目以及第二策略GTP路由流表条目。The Openflow controller generates a first policy GTP routing flow table entry, a next hop encapsulation parameter policy record entry, and a second policy GTP routing flow table entry based on the available network link parameters and the policy information. 6.根据权利要求1所述的GTP隧道的处理方法,其特征在于,所述方法还包括:6. the processing method of GTP tunnel according to claim 1, is characterized in that, described method also comprises: 所述Openflow控制器获取修改GTP隧道请求;通过所述修改GTP隧道请求修改GTP隧道,其中修改GTP隧道请求包括生成更新GTP隧道的相关参数,所述更新GTP隧道的相关参数包括第一更新GTP路由流表条目、下一跳封装参数更新记录条目以及第二更新GTP路由流表条目,所述第一更新GTP路由流表条目为所述目标扩展的Openflow交换机传输数据时使用的流表条目,所述下一跳封装参数更新记录条目为所述目标扩展的Openflow交换机封装数据时使用的流表条目,所述第二更新GTP路由流表条目为所述标准Openflow交换机传输数据时使用的流表条目;将所述更新GTP隧道的相关参数对应的发送给所述目标扩展的Openflow交换机以及所述标准Openflow交换机;或者,The Openflow controller acquires a request to modify the GTP tunnel; request to modify the GTP tunnel through the modified GTP tunnel request, wherein the request to modify the GTP tunnel includes generating relevant parameters for updating the GTP tunnel, and the relevant parameters for updating the GTP tunnel include a first updated GTP route A flow table entry, a next hop encapsulation parameter update record entry, and a second updated GTP routing flow table entry, the first updated GTP routing flow table entry is a flow table entry used when the target extended Openflow switch transmits data, so The next hop encapsulation parameter update record entry is a flow table entry used when the target extended Openflow switch encapsulates data, and the second updated GTP routing flow table entry is a flow table entry used when the standard Openflow switch transmits data ; Correspondingly sending the related parameters of the updated GTP tunnel to the target extended Openflow switch and the standard Openflow switch; or, 所述Openflow控制器获取删除GTP隧道请求,其中,所述删除GTP隧道请求中包括指示删除GTP隧道的标识;通过所述删除GTP隧道的标识删除对应的GTP隧道;通知所述目标扩展的Openflow交换机和/或所述目标标准Openflow交换机,以便所述目标扩展的Openflow交换机以及所述目标标准Openflow交换机相应的删除关于所述删除GTP隧道请求对应的GTP隧道对应的参数。The Openflow controller acquires a delete GTP tunnel request, wherein the delete GTP tunnel request includes an identifier indicating to delete the GTP tunnel; deletes the corresponding GTP tunnel through the delete GTP tunnel identifier; notifies the target extended Openflow switch And/or the target standard Openflow switch, so that the target extended Openflow switch and the target standard Openflow switch correspondingly delete parameters corresponding to the GTP tunnel corresponding to the delete GTP tunnel request. 7.一种GTP隧道的处理系统,其特征在于,所述系统包括Openflow控制器、目标扩展的Openflow交换机,其中所述Openflow控制器为具备GTP隧道端点中的控制面功能的设备,所述目标扩展的Openflow交换机为作为所述GTP隧道中具备所述GTP隧道端点中的数据面功能的设备,包括:7. A processing system of a GTP tunnel, characterized in that, the system includes an Openflow controller, an Openflow switch for target expansion, wherein the Openflow controller is a device possessing a control plane function in a GTP tunnel endpoint, and the target The extended Openflow switch is a device having the data plane function in the GTP tunnel endpoint in the GTP tunnel, including: 所述Openflow控制器,用于获取建立通用分组无线服务技术隧道协议GTP隧道请求;通过所述建立GTP隧道请求建立GTP隧道,其中建立GTP隧道请求包括生成所述GTP隧道的相关参数,所述GTP隧道的相关参数包括第一GTP路由流表条目以及下一跳封装参数记录条目,所述第一GTP路由流表条目为目标扩展的Openflow交换机传输数据时使用的流表条目,所述第一GTP路由流表条目至少包括通用分组无线服务技术隧道协议数据面版本号GTP-U Version、通用分组无线服务技术隧道协议数据面隧道端点标识GTP-U TEID,所述下一跳封装参数记录条目为所述目标扩展的Openflow交换机封装数据时使用的流表条目;将所述GTP隧道的相关参数发送给目标扩展的Openflow交换机;The Openflow controller is configured to obtain a request for establishing a General Packet Radio Service Technology Tunneling Protocol (GTP) tunnel; request to establish a GTP tunnel through the establishment of a GTP tunnel request, wherein the establishment of a GTP tunnel request includes generating relevant parameters of the GTP tunnel, and the GTP The relevant parameters of the tunnel include the first GTP routing flow table entry and the next hop encapsulation parameter record entry, the first GTP routing flow table entry is the flow table entry used when the Openflow switch of the target extension transmits data, and the first GTP The routing flow table entry includes at least the GPRS Tunneling Protocol data plane version number GTP-U Version, the GPRS Tunneling Protocol data plane tunnel endpoint identifier GTP-U TEID, and the next hop encapsulation parameter record entry is all The flow table entry used when the Openflow switch of the target extension is encapsulated; the relevant parameters of the GTP tunnel are sent to the Openflow switch of the target extension; 所述目标扩展的Openflow交换机,用于接收所述Openflow控制器发送给所述第一GTP路由流表条目和/或所述下一跳封装参数记录条目;以及按照所述第一GTP路由流表条目以及所述下一跳封装参数记录条目传输数据。The Openflow switch of the target extension is used to receive the first GTP routing flow table entry and/or the next-hop encapsulation parameter record entry sent by the Openflow controller; and according to the first GTP routing flow table The entry and the encapsulation parameter of the next hop record entry transfer data. 8.根据权利要求7所述的GTP隧道的处理系统,其特征在于,8. the processing system of GTP tunnel according to claim 7, is characterized in that, 所述Openflow控制器,还用于选择用于所述GTP隧道的所述目标扩展的Openflow交换机;获取可用网络链路参数,所述可用网络链路参数至少包括所述目标扩展的Openflow交换机对应的IP地址、端口号;通过所述可用网络链路参数确定建立所述GTP隧道的参数,所述建立所述GTP隧道的参数包括所述GTP隧道对应的源IP地址、目的IP地址、源端口号、目的端口号、GTP-U Version、GTP-U TEID;通过所述可用网络链路参数以及所述建立所述GTP隧道的参数生成第一GTP路由流表条目以及下一跳封装参数记录条目。The Openflow controller is also used to select the Openflow switch used for the target extension of the GTP tunnel; obtain available network link parameters, and the available network link parameters include at least the Openflow switch corresponding to the target extension IP address, port number; determine the parameters for establishing the GTP tunnel through the available network link parameters, and the parameters for establishing the GTP tunnel include source IP address, destination IP address, and source port number corresponding to the GTP tunnel , purpose port number, GTP-U Version, GTP-U TEID; generate the first GTP routing flow table entry and the next hop encapsulation parameter record entry by the available network link parameters and the parameters for establishing the GTP tunnel. 9.根据权利要求8所述的GTP隧道的处理系统,其特征在于,所述GTP隧道的相关参数还包括第二GTP路由流表条目,所述第二GTP路由流表条目为标准Openflow交换机传输数据时使用的流表条目,所述标准Openflow交换机为所述Openflow控制器管理的所有标准Openflow交换机;9. The processing system of the GTP tunnel according to claim 8, wherein the relevant parameters of the GTP tunnel also include a second GTP routing flow table entry, and the second GTP routing flow table entry is a standard Openflow switch transmission The flow table entries used for data, the standard Openflow switches are all standard Openflow switches managed by the Openflow controller; 所述Openflow控制器,还用于通过所述建立所述GTP隧道的参数生成所述第二GTP路由流表条目;将所述第二GTP路由流表条目发送给所述标准Openflow交换机;The Openflow controller is also configured to generate the second GTP routing flow table entry through the parameter of establishing the GTP tunnel; send the second GTP routing flow table entry to the standard Openflow switch; 所述系统还包括:目标标准Openflow交换机,其中所述目标标准Openflow交换机为参与传输所述GTP隧道中的数据的所述标准Openflow交换机;The system also includes: a target standard Openflow switch, wherein the target standard Openflow switch is the standard Openflow switch participating in the transmission of data in the GTP tunnel; 所述Openflow控制器,还用于获取决策结果信息,所述决策结果信息用于指示对特定业务对应的数据进行特定处理,所述特定处理为以下任意一种形式:为所述特定业务对应的数据进行转码、为所述特定业务对应的数据进行流量隔离、向用户设备UE发送警戒提醒消息或者为所述特定业务对应的数据进行广告视频插播;根据所述决策结果信息为所述特定业务对应的数据生成特定GTP路由流表条目;以及选择用于所述GTP隧道的目标标准Openflow交换机;将所述特定GTP路由流表条目发送给所述目标标准Openflow交换机;The Openflow controller is also used to obtain decision result information, the decision result information is used to indicate specific processing of data corresponding to a specific business, and the specific processing is in any of the following forms: Perform data transcoding, perform traffic isolation for the data corresponding to the specific service, send a warning reminder message to the user equipment UE, or perform advertisement video insertion for the data corresponding to the specific service; The corresponding data generates a specific GTP routing flow table entry; and selects a target standard Openflow switch for the GTP tunnel; sends the specific GTP routing flow table entry to the target standard Openflow switch; 所述目标标准Openflow交换机,用于接收所述OPenflow控制器发送的所述特定GTP路由流表条目。The target standard Openflow switch is configured to receive the specific GTP routing flow table entry sent by the OPenflow controller. 10.根据权利要求7或9所述的GTP隧道的处理系统,其特征在于,10. The processing system of the GTP tunnel according to claim 7 or 9, characterized in that, 所述Openflow控制器,还用于接收策略与计费规则功能单元PCRF发送的策略信息;通过所述可用网络链路参数以及所述策略信息,生成第一策略GTP路由流表条目、下一跳封装参数策略记录条目以及第二策略GTP路由流表条目,并将所述第一策略GTP路由流表条目、所述下一跳封装参数策略记录条目发送给所述目标扩展的Openflow交换机,将所述第二策略GTP路由流表条目发送给所述标准Openflow交换机;The Openflow controller is also used to receive policy information sent by the policy and charging rule functional unit PCRF; through the available network link parameters and the policy information, generate a first policy GTP routing flow table entry, next hop Encapsulating parameter policy record entries and second policy GTP routing flow table entries, and sending the first policy GTP routing flow table entries and the next hop encapsulation parameter policy record entries to the Openflow switch of the target extension, and sending the The second policy GTP routing flow table entry is sent to the standard Openflow switch; 所述目标扩展的Openflow交换机,还用于接收所述Openflow控制器发送的所述第一策略GTP路由流表条目、所述下一跳封装参数策略记录条目;The Openflow switch of the target extension is also used to receive the first policy GTP routing flow table entry and the next-hop encapsulation parameter policy record entry sent by the Openflow controller; 所述目标标准Openflow交换机,还用于接收所述Openflow控制器发送的所述第二策略GTP路由流表条目;The target standard Openflow switch is also used to receive the second strategy GTP routing flow table entry sent by the Openflow controller; 所述Openflow控制器,还用于获取修改GTP隧道请求;通过所述修改GTP隧道请求修改GTP隧道,其中修改GTP隧道请求包括生成更新GTP隧道的相关参数,所述更新GTP隧道的相关参数包括第一更新GTP路由流表条目、下一跳封装参数更新记录条目以及第二更新GTP路由流表条目,所述第一更新GTP路由流表条目为所述目标扩展的Openflow交换机传输数据时使用的流表条目,所述下一跳封装参数更新记录条目为所述目标扩展的Openflow交换机封装数据时使用的流表条目,所述第二更新GTP路由流表条目为所述标准Openflow交换机传输数据时使用的流表条目;将所述更新GTP隧道的相关参数发送给所述目标扩展的Openflow交换机以及所述标准Openflow交换机;获取删除GTP隧道请求;通过所述删除GTP隧道请求删除对应的GTP隧道;通知所述目标扩展的Openflow交换机和/或所述目标标准Openflow交换机,以便所述目标扩展的Openflow交换机以及所述目标标准Openflow交换机相应的删除关于所述删除GTP隧道请求对应的GTP隧道对应的参数;The Openflow controller is also used to obtain a request to modify the GTP tunnel; modify the GTP tunnel through the request to modify the GTP tunnel, wherein the request to modify the GTP tunnel includes generating relevant parameters for updating the GTP tunnel, and the relevant parameters for updating the GTP tunnel include the first An updated GTP routing flow table entry, a next hop encapsulation parameter update record entry and a second updated GTP routing flow table entry, the first updated GTP routing flow table entry is the flow used when the target extended Openflow switch transmits data Table entry, the next hop encapsulation parameter update record entry is a flow table entry used when the target extended Openflow switch encapsulates data, and the second updated GTP routing flow table entry is used when the standard Openflow switch transmits data The flow table entry; Send the relevant parameters of the updated GTP tunnel to the Openflow switch of the target extension and the standard Openflow switch; Obtain the delete GTP tunnel request; Delete the corresponding GTP tunnel through the delete GTP tunnel request; Notify The target extended Openflow switch and/or the target standard Openflow switch, so that the target extended Openflow switch and the target standard Openflow switch correspondingly delete parameters corresponding to the GTP tunnel corresponding to the delete GTP tunnel request; 所述目标扩展的Openflow交换机,还用于接收所述Openflow控制器发送的所述更新GTP隧道的相关参数;以及按照所述更新GTP隧道的相关参数传输数据;接收所述Openflow控制器发送的第一删除所述GTP隧道的通知,其中,所述第一删除所述GTP隧道的通知中包括删除GTP隧道的标识,所述第一删除所述GTP隧道的通知为指示所述目标扩展的Openflow交换机删除所述GTP隧道的信令;以及通过所述第一删除所述GTP隧道的通知删除所述删除GTP隧道的标识对应的GTP隧道;The Openflow switch of the target extension is also used to receive the relevant parameters of the updated GTP tunnel sent by the Openflow controller; and transmit data according to the relevant parameters of the updated GTP tunnel; receive the first parameter sent by the Openflow controller A notification to delete the GTP tunnel, wherein the first notification to delete the GTP tunnel includes an identifier to delete the GTP tunnel, and the first notification to delete the GTP tunnel is an Openflow switch indicating the target extension delete the signaling of the GTP tunnel; and delete the GTP tunnel corresponding to the identifier of the deleted GTP tunnel through the first notification of deleting the GTP tunnel; 所述目标标准Openflow交换机,还用于接收所述Openflow控制器发送的所述更新GTP隧道的相关参数;以及按照所述更新GTP隧道的相关参数传输数据;接收所述Openflow控制器发送的第二删除所述GTP隧道的通知,其中,所述第二删除所述GTP隧道的通知中包括删除GTP隧道的标识,所述第二删除所述GTP隧道的通知为指示所述目标标准Openflow交换机删除所述GTP隧道的信令;以及通过所述第二删除所述GTP隧道的通知删除所述删除GTP隧道的标识对应的GTP隧道。The target standard Openflow switch is also used to receive the relevant parameters of the updated GTP tunnel sent by the Openflow controller; and transmit data according to the relevant parameters of the updated GTP tunnel; receive the second parameter sent by the Openflow controller Delete the notification of the GTP tunnel, wherein, the second notification of deleting the GTP tunnel includes the identifier of the GTP tunnel deletion, and the second notification of deleting the GTP tunnel is to instruct the target standard Openflow switch to delete the GTP tunnel. signaling of the GTP tunnel; and deleting the GTP tunnel corresponding to the identifier of the deleted GTP tunnel through the second notification of deleting the GTP tunnel.
CN201410054806.9A 2014-02-18 2014-02-18 The processing method and system of a kind of GTP tunnel Active CN103747502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410054806.9A CN103747502B (en) 2014-02-18 2014-02-18 The processing method and system of a kind of GTP tunnel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410054806.9A CN103747502B (en) 2014-02-18 2014-02-18 The processing method and system of a kind of GTP tunnel

Publications (2)

Publication Number Publication Date
CN103747502A true CN103747502A (en) 2014-04-23
CN103747502B CN103747502B (en) 2017-06-23

Family

ID=50504477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410054806.9A Active CN103747502B (en) 2014-02-18 2014-02-18 The processing method and system of a kind of GTP tunnel

Country Status (1)

Country Link
CN (1) CN103747502B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219149A (en) * 2014-08-26 2014-12-17 杭州华三通信技术有限公司 Virtual connection based message transmission method and device
CN105282816A (en) * 2014-07-10 2016-01-27 中国电信股份有限公司 Method used for realizing control and forwarding function decoupling, apparatus and system thereof
CN106454814A (en) * 2016-11-10 2017-02-22 中国科学院计算技术研究所 GTP tunnel communication system and method
CN106937408A (en) * 2015-12-31 2017-07-07 上海贝尔股份有限公司 A kind of conversation managing method of LTE network, base station and OpenFlow controllers
WO2018059514A1 (en) * 2016-09-30 2018-04-05 Huawei Technologies Co., Ltd. Method and apparatus for data transmission involving tunneling in wireless communication networks
WO2019120154A1 (en) * 2017-12-18 2019-06-27 Huawei Technologies Co., Ltd. Controller based service policy mapping to establish different tunnels for different applications
CN111367844A (en) * 2019-03-13 2020-07-03 苏州库瀚信息科技有限公司 System, method and apparatus for a storage controller having multiple heterogeneous network interface ports

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101401469A (en) * 2006-03-08 2009-04-01 交互数字技术公司 Method and apparatus for supporting handoff and serving radio network subsystem relocation procedures in a single tunnel GPRS-based wireless communication system
US20130054761A1 (en) * 2011-08-29 2013-02-28 Telefonaktiebolaget L M Ericsson (Publ) Implementing a 3G Packet Core in a Cloud Computer with Openflow Data and Control Planes
WO2014005652A1 (en) * 2012-07-06 2014-01-09 Nokia Siemens Networks Oy Adding service set identifier or access point name to wlan to cellular signalling messages

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101401469A (en) * 2006-03-08 2009-04-01 交互数字技术公司 Method and apparatus for supporting handoff and serving radio network subsystem relocation procedures in a single tunnel GPRS-based wireless communication system
US20130054761A1 (en) * 2011-08-29 2013-02-28 Telefonaktiebolaget L M Ericsson (Publ) Implementing a 3G Packet Core in a Cloud Computer with Openflow Data and Control Planes
WO2014005652A1 (en) * 2012-07-06 2014-01-09 Nokia Siemens Networks Oy Adding service set identifier or access point name to wlan to cellular signalling messages

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282816A (en) * 2014-07-10 2016-01-27 中国电信股份有限公司 Method used for realizing control and forwarding function decoupling, apparatus and system thereof
CN104219149A (en) * 2014-08-26 2014-12-17 杭州华三通信技术有限公司 Virtual connection based message transmission method and device
CN106937408A (en) * 2015-12-31 2017-07-07 上海贝尔股份有限公司 A kind of conversation managing method of LTE network, base station and OpenFlow controllers
CN106937408B (en) * 2015-12-31 2020-04-10 上海诺基亚贝尔股份有限公司 Session management method of LTE network, base station and OpenFlow controller
WO2018059514A1 (en) * 2016-09-30 2018-04-05 Huawei Technologies Co., Ltd. Method and apparatus for data transmission involving tunneling in wireless communication networks
US10666458B2 (en) 2016-09-30 2020-05-26 Huawei Technologies Co., Ltd Method and apparatus for data transmission involving tunneling in wireless communication networks
CN106454814A (en) * 2016-11-10 2017-02-22 中国科学院计算技术研究所 GTP tunnel communication system and method
WO2019120154A1 (en) * 2017-12-18 2019-06-27 Huawei Technologies Co., Ltd. Controller based service policy mapping to establish different tunnels for different applications
US10826722B2 (en) 2017-12-18 2020-11-03 Futurewei Technologies, Inc. Controller based service policy mapping to establish different tunnels for different applications
CN111367844A (en) * 2019-03-13 2020-07-03 苏州库瀚信息科技有限公司 System, method and apparatus for a storage controller having multiple heterogeneous network interface ports
CN111367844B (en) * 2019-03-13 2020-12-15 苏州库瀚信息科技有限公司 System, method and apparatus for a storage controller having multiple heterogeneous network interface ports

Also Published As

Publication number Publication date
CN103747502B (en) 2017-06-23

Similar Documents

Publication Publication Date Title
US11510131B2 (en) Configuration method, data transmission method, and apparatus
CN103747502B (en) The processing method and system of a kind of GTP tunnel
US10237089B2 (en) Packet tunneling method, switching device, and control device
EP4138363B1 (en) Packet transmission method and system
WO2019242747A1 (en) Data packet sending and receiving method and device and data packet transmission system
CN103391296B (en) A kind of controller, transponder and Path Setup method and system
JP6468189B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, ITS CONTROL METHOD, AND CONTROL DEVICE
CN106465230A (en) Access control apparatus, system and method
US9693218B2 (en) Mobility management system, mobility management method, access GW apparatus, mobility management control apparatus, and computer-readable medium
WO2014101062A1 (en) User plane data transmission method, mobility management network element, evolved node b and system
JP2019521588A (en) Communication control method and related network element
WO2011018002A1 (en) Relay method, relay apparatus and communication system of transport bearer
US9668176B2 (en) Method for selecting shunt gateway and controller
US9942928B2 (en) Routing method between base stations, serving gateway, and base station
CN116133158A (en) Mobile network user plane with access network user plane function
Ha et al. Support of a multi-access session in 5g mobile network
CN105324961A (en) GRE tunnel implementation method, access point and gateway
CN102036304A (en) Method for providing maximum transmission unit length for terminal and packet switch gateway
CN114828133A (en) Communication method and communication device
WO2015113281A1 (en) User data processing method and device and network system
CN103947163B (en) Realize the methods, devices and systems that tunnel processes
WO2025081868A1 (en) Data transmission method, donor base station, system and storage medium
CN118283734A (en) Network system, computer networking method, and computer-readable storage medium
KR20170057844A (en) Methods and apparatus for providing mobility in ethernet network
US8842682B2 (en) Method and device for forwarding data transport frames

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant