WO2018103108A1 - 数据报文路由方法及装置 - Google Patents

数据报文路由方法及装置 Download PDF

Info

Publication number
WO2018103108A1
WO2018103108A1 PCT/CN2016/109346 CN2016109346W WO2018103108A1 WO 2018103108 A1 WO2018103108 A1 WO 2018103108A1 CN 2016109346 W CN2016109346 W CN 2016109346W WO 2018103108 A1 WO2018103108 A1 WO 2018103108A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding
network element
forwarding rule
plane network
data packet
Prior art date
Application number
PCT/CN2016/109346
Other languages
English (en)
French (fr)
Inventor
杨娇
李岩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/109346 priority Critical patent/WO2018103108A1/zh
Publication of WO2018103108A1 publication Critical patent/WO2018103108A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a data packet routing method and apparatus.
  • the network system can include multiple application servers, which can provide a variety of services for user equipment.
  • the application server provides the service, the data packet of the user equipment needs to be processed. This requires the forwarding network element to forward the data packet of the user equipment to the application server.
  • the related art provides a plurality of different routing operations, such as a tunnel encapsulation operation, a network address translation (NAT) operation, and the like.
  • the forwarding plane network element may preset a routing operation performed when receiving data sent by the user equipment. The routing operation is performed when the message is received.
  • the routing operation will be performed fixedly, and the operation mode is relatively simple and not flexible enough.
  • the routing operation still needs to be performed, which may result in failure of data packet forwarding.
  • an embodiment of the present invention provides a data packet routing method and apparatus.
  • the technical solution is as follows:
  • the first aspect provides a data packet routing method, which is applied to a control plane network element, where the method includes:
  • the forwarding rule including address information of the at least one application server and a routing operation performed
  • the determining a forwarding rule includes:
  • the management device And receiving, by the management device, the forwarding rule, where the forwarding rule is determined by the management device configuration, or generated according to the transmission capability indication information sent by the at least one application server.
  • the sending a forwarding rule message to the forwarding plane network element include:
  • the method before the determining the forwarding rule, the method further includes:
  • the control plane network element successfully establishes a network connection with the user equipment
  • the forwarding rule message is a forwarding rule activation instruction, where the forwarding rule activation instruction is used to indicate that the forwarding plane network element activates the management device The forwarding rule sent to the forwarding plane network element.
  • the routing operations include: a tunnel encapsulation operation, a network address translation NAT operation, and a direct forwarding operation.
  • a second aspect provides a data packet routing method, which is applied to a management device, where the method includes:
  • the forwarding rule including address information of the at least one application server and a routing operation performed
  • the forwarding plane network element is configured to determine, according to the forwarding rule, destination address information in the data packet when receiving the data packet sent by the user equipment Corresponding routing operations, performing the routing operation on the data packet to send the data packet to the destination application server indicated by the destination address information.
  • the method further includes:
  • the forwarding rule is sent to the forwarding plane network element
  • the forwarding rule is sent to the control plane network element, where the control plane network element is configured to: when determining that the user equipment has the right to connect to the destination application server, Sending a forwarding rule activation command to the forwarding plane network element, where the forwarding rule activation command is used to instruct the forwarding plane network element to activate the forwarding rule.
  • a third aspect provides a data packet routing apparatus, which is applied to a control plane network element, where the apparatus includes:
  • a determining module configured to determine a forwarding rule, where the forwarding rule includes address information of the at least one application server and a routing operation performed;
  • a sending module configured to send a forwarding rule message to the forwarding plane network element, where the forwarding rule message is used to indicate that the forwarding plane network element determines, according to the forwarding rule, when receiving the data packet sent by the user equipment
  • the routing operation corresponding to the destination address information in the data packet performs the routing operation on the data packet to send the data packet to the destination application server indicated by the destination address information.
  • the determining module is configured to receive the forwarding rule that is sent by a management device, where the forwarding rule is determined by the management device configuration, or is used according to The transmission capability indication information sent by the at least one application server generates the forwarding rule.
  • the sending module includes:
  • a determining sub-module configured to determine, in a process of establishing a network connection between the control plane network element and the user equipment, whether the user equipment has the right to connect to the destination server;
  • a sending submodule configured to send a forwarding rule message to the forwarding plane network element when determining that the user equipment has the right to connect to the destination application server.
  • the sending module includes:
  • a judging sub-module configured to determine, when the control plane network element establishes a network connection with the user equipment, whether the user equipment has a connection to the destination server, when determining the forwarding rule permission;
  • a sending submodule configured to send the forwarding rule message to the forwarding plane network element when determining that the user equipment has the right to connect to the destination application server.
  • the forwarding rule message is a forwarding rule activation instruction, where the forwarding rule activation instruction is used to indicate that the forwarding plane network element activates the management device The forwarding rule sent to the forwarding plane network element.
  • the routing operations include: a tunnel encapsulation operation, a NAT operation, and a direct forwarding operation.
  • a fourth aspect provides a data packet routing apparatus, which is applied to a management device, where the apparatus includes:
  • a determining module configured to determine a forwarding rule, where the forwarding rule includes address information of the at least one application server and a routing operation performed;
  • a sending module configured to send the forwarding rule to the forwarding plane network element, where the forwarding plane network element is configured to determine, according to the forwarding rule, the data packet in the data packet when receiving the data packet sent by the user equipment And the routing operation corresponding to the destination address information, performing the routing operation on the data packet, to send the data packet to the destination application server indicated by the destination address information.
  • the sending module is configured to: when the forwarding rule is sent to the forwarding plane network element, send the forwarding rule to a control plane network element, where The control plane network element is configured to: when determining that the user equipment has the right to connect to the destination application server, send a forwarding rule activation instruction to the forwarding plane network element, where the forwarding rule activation instruction is used to indicate the forwarding plane The network element activates the forwarding rule.
  • the control plane network element generates a forwarding rule, and sends a forwarding rule message to the forwarding plane network element.
  • the forwarding plane network element determines, according to the forwarding rule, the destination address information in the data packet.
  • the routing operation performs the routing operation on the data packet to send the data packet to the destination application server indicated by the destination address information, which improves flexibility and avoids forwarding in a fixed manner according to a preset routing operation.
  • the data packet may fail to be forwarded.
  • FIG. 1 is a flowchart of a data packet routing method according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a data packet routing method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a data packet routing method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a data packet routing method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a data packet routing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a data packet routing apparatus according to an embodiment of the present invention.
  • FIG. 7A is a schematic structural diagram of a data packet routing system according to an embodiment of the present invention.
  • FIG. 7B is a schematic structural diagram of a data packet routing system according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a data packet routing device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a data packet routing device according to an embodiment of the present invention.
  • the interaction entity of the embodiment of the present invention includes an application server, a control plane network element, a forwarding plane network element, and a user equipment, as shown in FIG.
  • the method includes:
  • the at least one application server sends the transmission capability indication information to the control plane network element.
  • the application server refers to a network element that provides service services for users.
  • the control plane network element refers to a control plane function network element responsible for user and session management, such as an MME (Mobility Management Entity), a mobile network controller, and the like. .
  • MME Mobility Management Entity
  • the application server may determine the supported routing operation according to the service that can be provided, and send the transmission capability indication information to the control plane network element, where the transmission capability indication information includes the routing operation supported by the application server and the address information of the application server.
  • the routing operations supported by the application server may include: tunnel encapsulation operations, NAT (Network Address Translation) operations, and direct forwarding operations.
  • the application server can also support other routing operations.
  • the address information of the application server can be IP (Internet)
  • IP Internet
  • the tunnel encapsulation operation refers to an operation of transferring data between networks by using an infrastructure of the internetwork.
  • the data packets or payloads transmitted by the tunnel encapsulation operation may be data frames or packets of different protocols.
  • the tunneling protocol re-encapsulates the data frames or packets of other protocols and then sends them through the tunnel.
  • the new frame header provides routing information for transmission over the Internet. Encapsulated load data.
  • the NAT operation is used to convert the local private IP address and the global public network IP address, so as to implement the operation of the private network host to the public network or the public network to the private network host.
  • the direct forwarding operation refers to the default data packet forwarding rule.
  • the forwarding plane NE can set the default next hop address.
  • the data packet can be forwarded through the default next hop address.
  • the application server may forward the transmission capability indication information by the capability opening platform in the process of sending the transmission capability indication information to the control plane network element, that is, the application server may send the transmission capability indication information to the capability opening platform.
  • the capability open platform sends the transmission capability indication information to the control plane network element.
  • the control plane network element receives the transmission capability indication information, and generates a forwarding rule according to the transmission capability indication information.
  • the forwarding rule includes address information of the at least one application server and a routing operation performed.
  • the address information of the application server “AS1” is “IP1”
  • the supported routing operation is “tunnel encapsulation operation”
  • the address information of the application server “AS2” is “IP2”
  • the supported routing operations are "NAT operation”
  • application is "IP3”
  • the supported routing operation is "direct forwarding operation”.
  • the forwarding rules generated by the control plane network element can be as shown in Table 1.
  • control plane network element determines whether the user equipment has the right to connect to the destination application server.
  • the network connection may be a PDN (Packet Data Network) connection, a PDU (Packet Data Unit) connection, and of course, may be another network connection, which is not limited in this embodiment of the present invention.
  • PDN Packet Data Network
  • PDU Packet Data Unit
  • the user equipment In an actual application, the user equipment must send a data packet to the destination application server under the premise of having the right to connect to the destination application server, and then the destination application server provides the service for the user equipment. Therefore, before the control plane network element sends the forwarding rule message to the forwarding plane network element, it may first determine whether the user equipment has the right to connect to the destination application server, and only when the user equipment has the right to connect to the destination application server. A forwarding rule message is sent to the forwarding plane network element. If the user equipment does not have the right to connect to the destination application server, the forwarding rule message is not sent to the forwarding plane network element.
  • control plane network element determines that the user equipment has the right to connect to the destination application server, send a forwarding rule message to the forwarding plane network element.
  • the forwarding rule message may be generated according to the forwarding rule, and the forwarding rule message is sent to the forwarding plane network element, where the forwarding rule message carries the forwarding rule .
  • the control plane network element In order to establish a network connection between the control plane network element and the user equipment, the control plane network element sends a network connection policy to the forwarding plane network element when receiving the connection request from the user equipment, in the embodiment of the present invention,
  • the control plane network element may carry the forwarding rule message in the network connection policy.
  • the network connection policy may carry other policies such as a bypass charging policy and a QoS (Quality of Service) policy, which are not limited in this embodiment of the present invention.
  • the forwarding plane network element is a forwarding plane function network element that performs the function of forwarding, statistics, and the like of the user packet, and the forwarding plane network element may be a PDN-GW (Packet Data Network Gateway), S - GW (Serving Gateway, etc.).
  • PDN-GW Packet Data Network Gateway
  • S - GW Serving Gateway
  • the forwarding plane network element receives the forwarding rule message, and stores the forwarding rule.
  • the forwarding plane network element After receiving the forwarding rule message, the forwarding plane network element obtains the forwarding rule carried in the forwarding rule message, and stores the forwarding rule, so that when the data packet is received subsequently, the data packet can be forwarded according to the pre-stored forwarding rule. .
  • the user equipment After the network connection between the control plane network element and the user equipment is successful, the user equipment sends a data packet to the forwarding plane network element.
  • the user equipment can send data packets through the network connection at any time after the control plane network element establishes a network connection with the user equipment.
  • the forwarding plane network element can receive the data packet sent by the user equipment.
  • the forwarding plane network element receives the data packet, and determines, according to the forwarding rule, the data packet.
  • the destination address information corresponds to the routing operation.
  • the forwarding rule includes at least one address information and a corresponding routing operation.
  • the forwarding plane network element After receiving the data packet, the forwarding plane network element obtains the destination address information in the data packet, and queries the forwarding rule from the forwarding rule.
  • the destination address information is found in at least one address information, thereby determining a routing operation corresponding to the destination address information.
  • the routing operation corresponding to the destination address information is a routing operation supported by the destination application server indicated by the destination address information, and the routing operation can ensure that the data packet can be successfully forwarded to the destination application server.
  • the forwarding plane network element performs the routing operation on the data packet, to send the data packet to the destination application server indicated by the destination address information.
  • the forwarding plane network element when the forwarding plane network element receives the data packet and determines that the destination address information in the data packet is "IP1", the routing operation is determined to be a tunnel encapsulation operation, and the forwarding plane network element The data packet is tunnel encapsulated to send the data packet to the application server "AS1".
  • the forwarding plane network element only forwards data packets in a fixed manner according to a preset routing operation. For example, once the routing operation is set as the tunnel encapsulation operation, even if the destination application server and the user equipment are on one network segment, the forwarding plane network element will still forward the data packet according to the tunnel encapsulation operation, resulting in additional transmission.
  • the forwarding plane network element will still forward the data packet according to the NAT operation, causing the application layer protocol to be invalid, and the address translation process. Will increase the delay.
  • the forwarding plane NE will forward the data packet according to the direct forwarding operation, which will result in the data packet. Forwarding failed.
  • the forwarding plane network element may perform a routing operation corresponding to the address information on the data packet according to the forwarding rule, thereby avoiding operation according to a single route.
  • the data packet cannot be forwarded in some scenarios.
  • the control plane network element generates a forwarding rule, and sends a forwarding rule message to the forwarding plane network element.
  • the forwarding plane network element determines the data according to the forwarding rule. a routing operation corresponding to the destination address information in the packet, performing the routing operation on the data packet, to send the data packet to the destination application server indicated by the destination address information, Increased flexibility and avoids the possibility of data packet forwarding failures when forwarding in a fixed manner according to a preset routing operation.
  • the interaction entity of the embodiment of the present invention includes a management device, a control plane network element, a forwarding plane network element, and a destination application server, as shown in FIG. , the method includes:
  • the management device configuration determines a forwarding rule, and sends the forwarding rule to the forwarding plane network element and the control plane network element.
  • the forwarding rule is not generated by the control plane network element according to the transmission capability indication information sent by the application server, but is determined by the management device configuration.
  • the forwarding rule may be configured by the management personnel manually on the management device, or may be determined by the management device according to the address information of each application server and the routing operation, which is not limited by the embodiment of the present invention.
  • the management device sends the forwarding rule to the forwarding plane network element and the control plane network element, and may first determine each routing operation supported by the forwarding plane network element, and the management device sends the forwarding rule of the application server corresponding to the supported routing operation to the routing rule.
  • Forwarding plane NEs and control plane NEs are examples of forwarding plane network elements.
  • the management device can also directly send all forwarding rules to the forwarding plane network element and the control plane network element, which is not limited in this embodiment of the present invention.
  • the control plane network element receives the forwarding rule and stores the forwarding rule.
  • the forwarding plane network element receives the forwarding rule, and stores the forwarding rule.
  • control plane network element determines that the user equipment has the right to connect to the destination application server, send a forwarding rule activation instruction to the forwarding plane network element.
  • the forwarding plane network element receives the forwarding rule message sent by the control plane network element, and the obtained forwarding rule is in an active state, and in the embodiment of the present invention, the forwarding plane network element receiving management device The forwarding rule that is sent is inactive.
  • the forwarding plane NE cannot directly use the forwarding rule.
  • the forwarding rule activation command is sent to the forwarding plane network element, where the forwarding rule activation command is used to instruct the forwarding plane network element to activate the forwarding rule.
  • the forwarding plane network element receives the forwarding rule activation command, and activates the forwarding rule.
  • the forwarding rule When the forwarding plane network element receives the forwarding rule activation command, the forwarding rule can be activated to enable the forwarding rule to be activated, so that in the subsequent process, the data packet can be forwarded according to the forwarding rule.
  • the user equipment After the network connection between the control plane network element and the user equipment is successful, the user equipment sends a data packet to the forwarding plane network element.
  • the forwarding plane network element receives the data packet, and determines, according to the forwarding rule, a routing operation corresponding to the destination address information in the data packet.
  • the forwarding plane network element performs the routing operation on the data packet, to send the data packet to the destination application server indicated by the destination address information.
  • the management device may also send the forwarding rule only to the control plane network element.
  • the control plane network element determines that the user equipment has the right to connect to the destination server, it sends a forwarding rule message to the forwarding plane network element, so that The forwarding plane network element performs a routing operation corresponding to the destination address information of the data packet according to the forwarding rule.
  • the management device configuration determines the forwarding rule, and sends a forwarding rule message to the forwarding plane network element.
  • the forwarding plane network element determines the datagram according to the forwarding rule.
  • the routing operation corresponding to the destination address information in the text performs the routing operation on the data packet to send the data packet to the destination application server indicated by the destination address information, thereby improving flexibility and avoiding fixedly following
  • the data packet may fail to be forwarded.
  • FIG. 3 is a flowchart of a data packet routing method according to an embodiment of the present invention.
  • the interaction entity in the embodiment of the present invention includes an application server, a control plane network element, and a forwarding plane network element, which is different from the embodiment shown in FIG.
  • the application server sends the transmission capability indication information to the control plane network element, the control plane network element and the user equipment have established a network connection success.
  • the method includes:
  • the application server After the control plane network element establishes a network connection with the user equipment, the application server sends the transmission capability indication information to the control plane network element.
  • the control plane network element receives the transmission capability indication information, and generates a forwarding rule according to the transmission capability indication information.
  • the control plane network element determines whether the user equipment has the right to connect to the destination server.
  • control plane network element determines that the user equipment has the right to connect to the destination application server, send a forwarding rule message to the forwarding plane network element.
  • the control plane network element and the user equipment have successfully established a network connection, and the network connection policy is not sent again, so when the control plane network element determines the When the user equipment has the right to connect to the destination application server, the forwarding rule message may be sent to the forwarding plane network element separately, instead of carrying the forwarding rule message in the network connection policy.
  • the forwarding plane network element receives the forwarding rule message, and stores the forwarding rule.
  • the user equipment sends a data packet to the forwarding plane network element.
  • the forwarding plane network element receives the data packet, and determines, according to the forwarding rule, a routing operation corresponding to the destination address information in the data packet.
  • the forwarding plane network element performs the routing operation on the data packet, to send the data packet to the destination application server indicated by the destination address information.
  • steps 301 to 308 are similar to the steps 101-108 in the foregoing embodiment of FIG. 1, and are not described herein.
  • the control plane network element generates a forwarding rule, and sends a forwarding rule message to the forwarding plane network element.
  • the forwarding plane network element determines the data according to the forwarding rule.
  • the routing operation corresponding to the destination address information in the packet performs the routing operation on the data packet to send the data packet to the destination application server indicated by the destination address information, thereby improving flexibility and avoiding fixed location
  • data packet forwarding may fail.
  • FIG. 4 is a flowchart of a data packet routing method according to an embodiment of the present invention.
  • the interaction entity of the embodiment of the present invention includes a management device, a control plane network element, a forwarding plane network element, and a destination application server, and is shown in FIG.
  • the embodiment is different in that, when the management device is configured to determine the forwarding rule, the control plane network element and the user equipment have established a network connection successfully.
  • the method includes:
  • the management equipment configuration determines a forwarding rule, and sends the forwarding rule to the forwarding plane network element and the control plane network element.
  • the control plane network element receives the forwarding rule and stores the forwarding rule.
  • the forwarding plane network element receives the forwarding rule, and stores the forwarding rule.
  • the forwarding rule includes address information of the at least one application server and a routing operation performed.
  • Routing operations include: tunnel encapsulation operations, network address translation NAT operations, and direct forwarding operations.
  • control plane network element determines that the user equipment has the right to connect to the destination application server, Sending a forwarding rule activation command to the forwarding plane network element.
  • the forwarding plane network element receives the forwarding rule activation command, and activates the forwarding rule.
  • the user equipment sends a data packet to the forwarding plane network element.
  • the forwarding plane network element receives the data packet, and determines, according to the forwarding rule, a routing operation corresponding to the destination address information in the data packet.
  • the forwarding plane network element performs the routing operation on the data packet, to send the data packet to the destination application server indicated by the destination address information.
  • steps 401 to 408 are similar to the steps 201-208 in the foregoing embodiment of FIG. 2, and are not described herein.
  • the management device configuration determines the forwarding rule, and sends a forwarding rule message to the forwarding plane network element.
  • the forwarding plane network element determines the datagram according to the forwarding rule.
  • the routing operation corresponding to the destination address information in the text performs the routing operation on the data packet to send the data packet to the destination application server indicated by the destination address information, thereby improving flexibility and avoiding fixedly following
  • the data packet may fail to be forwarded.
  • FIG. 5 is a schematic structural diagram of a data packet routing apparatus according to an embodiment of the present invention, which is applied to a control plane network element, where the apparatus includes: a determining module 501 and a sending module 502.
  • a determining module 501 configured to determine a forwarding rule, where the forwarding rule includes address information of the at least one application server and a routing operation performed;
  • the sending module 502 is configured to send a forwarding rule message to the forwarding plane network element, where the forwarding rule message is used to indicate that the forwarding plane network element determines the data packet according to the forwarding rule when receiving the data packet sent by the user equipment.
  • the routing operation corresponding to the destination address information is performed on the data packet to send the data packet to the destination application server indicated by the destination address information.
  • the determining module 501 is configured to receive the forwarding rule that is sent by the management device, where the forwarding rule is determined by the management device configuration, or is configured to generate, according to the transmission capability indication information sent by the at least one application server. Forwarding rules.
  • the sending module 502 includes:
  • a determining sub-module configured to determine, in a process of establishing a network connection between the control plane network element and the user equipment, whether the user equipment has the right to connect to the destination server;
  • a sending submodule configured to determine that the user equipment has permission to connect to the destination application server
  • the forwarding rule message is sent to the forwarding plane network element.
  • the sending module 502 includes:
  • a determining sub-module configured to determine, after the control plane network element establishes a network connection with the user equipment, whether the user equipment has the right to connect to the destination server;
  • a sending submodule configured to send the forwarding rule message to the forwarding plane network element when determining that the user equipment has the right to connect to the destination application server.
  • the forwarding rule message is a forwarding rule activation instruction, where the forwarding rule activation instruction is used to instruct the forwarding plane network element to activate the forwarding rule that the management device has sent to the forwarding plane network element.
  • the routing operation includes: a tunnel encapsulation operation, a NAT operation, and a direct forwarding operation.
  • FIG. 6 is a schematic structural diagram of a data packet routing apparatus according to an embodiment of the present disclosure, which is applied to a management device, where the apparatus includes: a determining module 601 and a sending module 602.
  • a determining module 601 configured to determine a forwarding rule, where the forwarding rule includes address information of the at least one application server and a routing operation performed;
  • the sending module 602 is configured to send the forwarding rule to the forwarding plane network element, where the forwarding plane network element is configured to: when receiving the data packet sent by the user equipment, determine the destination address information in the data packet according to the forwarding rule.
  • the corresponding routing operation performs the routing operation on the data packet to send the data packet to the destination application server indicated by the destination address information.
  • the sending module 602 is configured to send the forwarding rule to the control plane network element when the forwarding rule is sent to the forwarding plane network element, where the control plane network element is used to determine the user equipment
  • the forwarding rule activation command is sent to the forwarding plane network element, where the forwarding rule activation command is used to instruct the forwarding plane network element to activate the forwarding rule.
  • the data packet routing device provided by the foregoing embodiment only exemplifies the division of the foregoing functional modules when routing data packets. In actual applications, the data packet can be used as needed.
  • the function assignment is performed by different functional modules, that is, the internal structure of the control plane network element and the management device is divided into different functional modules to complete all or part of the functions described above.
  • the data packet routing device and the data packet routing method are provided in the same embodiment. For details, refer to the method embodiment, and details are not described herein.
  • FIG. 7A is a schematic structural diagram of a data packet routing system according to an embodiment of the present invention.
  • the data packet routing system includes an application server, a control plane network element, a forwarding plane network element, and a user equipment.
  • the application server, the control plane network element, and the user equipment are all connected to the forwarding plane network element.
  • the data packet routing system may further include a management device, and the forwarding plane network element and the control plane network element are both connected to the management device.
  • the application server, the control plane network element, the forwarding plane network element, the user equipment, and the management device may be used to perform corresponding steps in the foregoing embodiments, and details are not described herein.
  • FIG. 8 is a schematic structural diagram of a forwarding plane network element according to an embodiment of the present invention.
  • the forwarding plane network element device includes: a receiver 801, a transmitter 802, a memory 803, and a processor 804.
  • the receiver 801 The transmitter 802 and the memory 803 are respectively connected to the processor 804.
  • the memory 803 stores program code
  • the processor 804 is configured to invoke the program code to perform operations performed by the forwarding plane network element.
  • FIG. 9 is a schematic structural diagram of a management device according to an embodiment of the present invention.
  • the management device includes: a receiver 901, a transmitter 902, a memory 903, and a processor 904.
  • the receiver 901 and the transmitter 902 and the memory 903 are respectively connected to the processor 904.
  • the memory 903 stores program code
  • the processor 904 is configured to call the program code to execute an operation performed by the management device.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

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

Abstract

本发明公开了一种数据报文路由方法,属于网络技术领域。方法包括:确定转发规则;向转发面网元发送转发规则消息,转发规则消息用于指示转发面网元当接收到用户设备发送的数据报文时,根据转发规则,确定数据报文中的目的地址信息对应的路由操作,对数据报文进行路由操作,以将数据报文发送至目的地址信息指示的目的应用服务器。本发明通过根据转发规则,确定该数据报文中的目的地址信息对应的路由操作,对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器,提高了灵活性,并且避免了固定地按照预设的路由操作进行转发时,可能导致数据报文转发失败的情况。

Description

数据报文路由方法及装置 技术领域
本发明涉及网络技术领域,特别涉及一种数据报文路由方法及装置。
背景技术
随着网络系统的规模逐渐增大以及服务类型的逐渐增多,网络系统内可以包括多种应用服务器,该多种应用服务器可以为用户设备提供多种多样的服务。而任一应用服务器在提供服务时,需要对用户设备的数据报文进行处理,这就需要转发面网元将用户设备的数据报文转发至应用服务器。
相关技术提供了多种不同的路由操作,如隧道封装操作、NAT(Network Address Translation,网络地址转换)操作等,该转发面网元可以预先设置执行的路由操作,当接收到用户设备发送的数据报文时,执行该路由操作。
在实现本发明的过程中,发明人发现相关技术至少存在以下问题:
一旦设置好路由操作后,将会固定地执行该路由操作,操作方式较为单一,不够灵活。而且,在该数据报文的目的应用服务器不支持该路由操作的场景下,仍然需要执行该路由操作,很可能会导致数据报文转发失败。
发明内容
为了解决相关技术的问题,本发明实施例提供了一种数据报文路由方法及装置。所述技术方案如下:
第一方面,提供了一种数据报文路由方法,应用于控制面网元中,所述方法包括:
确定转发规则,所述转发规则包括所述至少一个应用服务器的地址信息和执行的路由操作;
向转发面网元发送转发规则消息,所述转发规则消息用于指示所述转发面网元当接收到用户设备发送的数据报文时,根据所述转发规则,确定所述数据报文中的目的地址信息对应的路由操作,对所述数据报文进行所述路由操作, 以将所述数据报文发送至所述目的地址信息指示的目的应用服务器。
结合第一方面,在第一方面的第一种可能实现方式中,所述确定转发规则,包括:
接收管理设备发送的所述转发规则,所述转发规则由所述管理设备配置确定,或者根据至少一个应用服务器发送的传输能力指示信息生成。
结合第一方面和第一方面的第一种可能实现方式,在第一方面的第二种可能实现方式中,所述确定所述转发规则之后,所述向转发面网元发送转发规则消息,包括:
在所述控制面网元与所述用户设备建立网络连接的过程中,判断所述用户设备是否具有连接所述目的服务器的权限;
当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送转发规则消息。
结合第一方面和第一方面的第一种可能实现方式,在第一方面的第三种可能实现方式中,所述确定转发规则之前,所述方法还包括:
所述控制面网元与所述用户设备建立网络连接成功;
当确定所述转发规则时,判断所述用户设备是否具有连接所述目的服务器的权限;
当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送所述转发规则消息。
结合第一方面,在第一方面的第四种可能实现方式中,所述转发规则消息为转发规则激活指令,所述转发规则激活指令用于指示所述转发面网元激活所述管理设备已发送给所述转发面网元的所述转发规则。
结合第一方面,在第一方面的第五种可能实现方式中,所述路由操作包括:隧道封装操作、网络地址转换NAT操作和直接转发的操作。
第二方面,提供了一种数据报文路由方法,应用于管理设备中,所述方法包括:
确定转发规则,所述转发规则包括所述至少一个应用服务器的地址信息和执行的路由操作;
向转发面网元发送所述转发规则,所述转发面网元用于当接收到用户设备发送的数据报文时,根据所述转发规则,确定所述数据报文中的目的地址信息 对应的路由操作,对所述数据报文进行所述路由操作,以将所述数据报文发送至所述目的地址信息指示的目的应用服务器。
结合第二方面,在第二方面的第一种可能实现方式中,所述方法还包括:
向所述转发面网元发送所述转发规则时,向控制面网元发送所述转发规则,所述控制面网元用于当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送转发规则激活指令,所述转发规则激活指令用于指示所述转发面网元激活所述转发规则。
第三方面,提供了一种数据报文路由装置,应用于控制面网元中,所述装置包括:
确定模块,用于确定转发规则,所述转发规则包括所述至少一个应用服务器的地址信息和执行的路由操作;
发送模块,用于向转发面网元发送转发规则消息,所述转发规则消息用于指示所述转发面网元当接收到用户设备发送的数据报文时,根据所述转发规则,确定所述数据报文中的目的地址信息对应的路由操作,对所述数据报文进行所述路由操作,以将所述数据报文发送至所述目的地址信息指示的目的应用服务器。
结合第一方面,在第一方面的第一种可能实现方式中,所述确定模块用于接收管理设备发送的所述转发规则,所述转发规则由所述管理设备配置确定,或者用于根据至少一个应用服务器发送的传输能力指示信息生成所述转发规则。
结合第一方面和第一方面的第一种可能实现方式,在第一方面的第二种可能实现方式中,所述发送模块,包括:
判断子模块,用于在所述控制面网元与所述用户设备建立网络连接的过程中,判断所述用户设备是否具有连接所述目的服务器的权限;
发送子模块,用于当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送转发规则消息。
结合第一方面和第一方面的第一种可能实现方式,在第一方面的第三种可能实现方式中,所述发送模块,包括:
判断子模块,用于在所述控制面网元与所述用户设备建立网络连接成功之后,当确定所述转发规则时,判断所述用户设备是否具有连接所述目的服务器 的权限;
发送子模块,用于当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送所述转发规则消息。
结合第一方面,在第一方面的第四种可能实现方式中,所述转发规则消息为转发规则激活指令,所述转发规则激活指令用于指示所述转发面网元激活所述管理设备已发送给所述转发面网元的所述转发规则。
结合第一方面,在第一方面的第五种可能实现方式中,所述路由操作包括:隧道封装操作、NAT操作和直接转发的操作。
第四方面,提供了一种数据报文路由装置,应用于管理设备中,所述装置包括:
确定模块,用于确定转发规则,所述转发规则包括所述至少一个应用服务器的地址信息和执行的路由操作;
发送模块,用于向转发面网元发送所述转发规则,所述转发面网元用于当接收到用户设备发送的数据报文时,根据所述转发规则,确定所述数据报文中的目的地址信息对应的路由操作,对所述数据报文进行所述路由操作,以将所述数据报文发送至所述目的地址信息指示的目的应用服务器。
结合第四方面,在第四方面的第一种可能实现方式中,所述发送模块用于向所述转发面网元发送所述转发规则时,向控制面网元发送所述转发规则,所述控制面网元用于当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送转发规则激活指令,所述转发规则激活指令用于指示所述转发面网元激活所述转发规则。
本发明实施例提供的技术方案带来的有益效果是:
控制面网元生成转发规则,向转发面网元发送转发规则消息,转发面网元当接收到用户设备发送的数据报文时,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作,对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器,提高了灵活性,并且避免了固定地按照预设的路由操作进行转发时,可能导致数据报文转发失败的情况。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的数据报文路由方法的流程图;
图2是本发明实施例提供的数据报文路由方法的流程图;
图3是本发明实施例提供的数据报文路由方法的流程图;
图4是本发明实施例提供的数据报文路由方法的流程图;
图5是本发明实施例提供的数据报文路由装置的结构示意图;
图6是本发明实施例提供的数据报文路由装置的结构示意图;
图7A是本发明实施例提供的数据报文路由系统的结构示意图;
图7B是本发明实施例提供的数据报文路由系统的结构示意图;
图8是本发明实施例提供的数据报文路由设备的结构示意图;
图9是本发明实施例提供的数据报文路由设备的结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
图1是本发明实施例提供的一种数据报文路由方法的流程图,本发明实施例的交互主体包括应用服务器、控制面网元、转发面网元和用户设备,如图1所示,该方法包括:
101、至少一个应用服务器向控制面网元发送传输能力指示信息。
该应用服务器是指为用户提供业务服务的网元,该控制面网元是指负责用户及会话管理的控制平面功能网元,例如MME(Mobility Management Entity,移动管理节点)、移动网络控制器等。
该应用服务器可以根据能够提供的服务,确定支持的路由操作,并向控制面网元发送传输能力指示信息,该传输能力指示信息包括该应用服务器支持的路由操作和该应用服务器的地址信息。
该应用服务器支持的路由操作可以包括:隧道封装操作、NAT(Network Address Translation,网络地址转换)操作和直接转发的操作。当然,该应用服务器还可以支持其他的路由操作。该应用服务器的地址信息可以为IP(Internet  Protocol,网络互连协议)地址信息,或者其他类型的地址信息,本发明实施例对此不做限定。
其中,该隧道封装操作是指通过使用互联网络的基础设施在网络之间传递数据的操作。使用隧道封装操作传递的数据报文或者负载可以是不同协议的数据帧或包,隧道协议将其它协议的数据帧或包重新封装然后通过隧道发送,新的帧头提供路由信息,以便通过互联网传递被封装的负载数据。
该NAT操作是指用于本地私有IP地址和全局公网IP地址之间的转换,从而实现私网主机对公网或者公网对私网主机的访问的操作。
该直接转发的操作是指默认设置的数据报文转发规则,转发面网元可以设置默认的下一跳地址,数据报文可以通过默认的下一跳地址进行转发。
另外,应用服务器在向控制面网元发送该传输能力指示信息的过程中,可以由能力开放平台转发该传输能力指示信息,也即是,应用服务器可以向能力开放平台发送该传输能力指示信息,能力开放平台向控制面网元发送该传输能力指示信息。
102、控制面网元接收该传输能力指示信息,根据该传输能力指示信息,生成转发规则。
该转发规则包括该至少一个应用服务器的地址信息和执行的路由操作。例如,应用服务器“AS1”的地址信息为“IP1”,支持的路由操作为“隧道封装操作”、应用服务器“AS2”的地址信息为“IP2”,支持的路由操作为“NAT操作”、应用服务器“AS3”的地址信息为“IP3”,支持的路由操作为“直接转发的操作”,则该控制面网元生成的转发规则可以如表1所示。
表1
应用服务器 地址信息 路由操作
AS1 IP1 隧道封装操作
AS2 IP2 NAT操作
AS3 IP3 直接转发的操作
103、在该控制面网元与该用户设备建立网络连接的过程中,控制面网元判断该用户设备是否具有连接该目的应用服务器的权限。
该网络连接可以为PDN(Packet Data Network,分组数据网络)连接,PDU(Packet Data Unit,分组数据单元)连接,当然也可以为其他网络连接,本发明实施例对此不做限定。
在实际应用中,用户设备必须在具有连接该目的应用服务器的权限的前提下,才能向该目的应用服务器发送数据报文,进而由目的应用服务器为该用户设备提供服务。因此,在控制面网元向转发面网元发送转发规则消息之前,可以首先判断该用户设备是否具有连接该目的应用服务器的权限,仅当该用户设备具有连接该目的应用服务器的权限时,才会向该转发面网元发送转发规则消息,如果该用户设备不具有连接该目的应用服务器的权限,不会向该转发面网元发送转发规则消息。
104、当控制面网元确定该用户设备具有连接该目的应用服务器的权限时,向该转发面网元发送转发规则消息。
当控制面网元确定该用户设备具有连接该目的应用服务器的权限时,可以根据该转发规则,生成转发规则消息,向该转发面网元发送该转发规则消息,该转发规则消息携带该转发规则。
为了在该控制面网元与该用户设备之间建立网络连接,控制面网元接收到用户设备的连接请求时,会向转发面网元下发网络连接策略,则在本发明实施例中,该控制面网元可以在该网络连接策略中携带该转发规则消息。该网络连接策略除了携带该转发规则消息以外,还可以携带旁路计费策略和QoS(Quality of Service,服务质量)策略等其他策略,本发明实施例对此不做限定。
其中,该转发面网元是指完成用户报文的转发,统计等处理功能的转发面功能网元,该转发面网元可以为PDN-GW(Packet Data Network Gateway,分组数据网络网关)、S-GW(Serving Gateway,服务网关)等。
105、转发面网元接收该转发规则消息,存储该转发规则。
当转发面网元接收该转发规则消息后,会获取转发规则消息中携带的转发规则,存储该转发规则,以便在后续接收到数据报文时,可以按照预先存储的转发规则,转发数据报文。
106、控制面网元与用户设备建立网络连接成功之后,用户设备向转发面网元发送数据报文。
在控制面网元与用户设备建立网络连接成功之后的任意时刻,用户设备均可通过该网络连接发送数据报文,则该转发面网元可以接收到用户设备所发送的数据报文。
107、转发面网元接收该数据报文,根据该转发规则,确定该数据报文中 的目的地址信息对应的路由操作。
由于该转发规则包括至少一个地址信息和相应的路由操作,当转发面网元接收该数据报文后,将获取该数据报文中的目的地址信息,查询该转发规则,从该转发规则中的至少一个地址信息中找出目的地址信息,从而确定目的地址信息对应的路由操作。由于该目的地址信息对应的路由操作即为目的地址信息所指示的目的应用服务器所支持的路由操作,执行该路由操作可以确保能够成功地向该目的应用服务器转发数据报文。
108、转发面网元对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器。
基于上述表1的举例,当转发面网元接收数据报文,确定该数据报文中的目的地址信息为“IP1”时,则确定路由操作为隧道封装操作,此时转发面网元对该数据报文进行隧道封装操作,以将该数据报文发送至应用服务器“AS1”。
在相关技术中,转发面网元仅会固定地按照预先设置的路由操作转发数据报文。例如,一旦设置路由操作为隧道封装操作后,即使目的应用服务器和用户设备在一个网段,转发面网元仍然会按照隧道封装操作转发数据报文,导致增加了额外的传输。
又如,一旦设置路由操作为NAT操作后,即使应用层协议包含了与地址信息有关的内容,转发面网元仍然会按照NAT操作转发数据报文,导致应用层协议失效,并且地址转换的过程将增加延迟。
再如,一旦设置路由操作为直接转发的操作后,即使目的应用服务器和转发面网元不在一个子网内,转发面网元仍然会按照直接转发的操作转发数据报文,将导致数据报文转发失败。
而在本发明实施例提供的方法中,针对地址信息不同的数据报文,转发面网元可以根据转发规则,对数据报文进行与地址信息对应的路由操作,从而避免了按照单一的路由操作转发数据报文时,某些场景下无法转发数据报文的情况。
本发明实施例提供的方法,控制面网元生成转发规则,向转发面网元发送转发规则消息,转发面网元当接收到用户设备发送的数据报文时,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作,对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器, 提高了灵活性,并且避免了固定地按照预设的路由操作进行转发时,可能导致数据报文转发失败的情况。
图2是本发明实施例提供的一种数据报文路由方法的流程图,本发明实施例的交互主体包括管理设备、控制面网元、转发面网元和目的应用服务器,如图2所示,该方法包括:
201、管理设备配置确定转发规则,向转发面网元和控制面网元发送该转发规则。
与图1所示的发明实施例不同的是,在本发明实施例中,转发规则不是由控制面网元根据应用服务器发送的传输能力指示信息生成,而是由管理设备配置确定。
其中,可以由管理人员人工地在该管理设备上配置确定该转发规则,也可以由该管理设备根据各个应用服务器的地址信息和路由操作自动配置确定,本发明实施例对此不做限定。
该管理设备向转发面网元和控制面网元发送该转发规则的过程中,可以首先确定转发面网元支持的各个路由操作,管理设备将支持的路由操作对应的应用服务器的转发规则发送给转发面网元和控制面网元。当然,该管理设备也可以直接向转发面网元和控制面网元发送全部转发规则,本发明实施例对此不做限定。
202、控制面网元接收该转发规则,并存储该转发规则。
203、转发面网元接收该转发规则,并存储该转发规则。
204、当控制面网元确定该用户设备具有连接该目的应用服务器的权限时,向该转发面网元发送转发规则激活指令。
在图1所示的发明实施例中,转发面网元接收控制面网元发送的转发规则消息,获取到的转发规则处于激活状态,而在本发明实施例中,转发面网元接收管理设备发送的转发规则,获取到的转发规则处于未激活状态,转发面网元不能直接使用该转发规则。
因此当控制面网元确定该用户设备具有连接该目的应用服务器的权限时,会向该转发面网元发送转发规则激活指令,该转发规则激活指令用于指示该转发面网元激活该转发规则。
205、转发面网元接收该转发规则激活指令,激活该转发规则。
当转发面网元接收该转发规则激活指令时,可以激活已经存储的转发规则,令转发规则处于激活状态,以便在后续过程中,能够根据该转发规则转发数据报文。
206、控制面网元与用户设备建立网络连接成功之后,用户设备向转发面网元发送数据报文。
207、转发面网元接收该数据报文,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作。
208、转发面网元对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器。
需要说明的是,管理设备也可以只向控制面网元发送该转发规则,当控制面网元确定该用户设备具有连接该目的服务器的权限时,向转发面网元发送转发规则消息,以使转发面网元根据该转发规则,对数据报文进行目的地址信息对应的路由操作。
本发明实施例提供的方法,管理设备配置确定转发规则,向转发面网元发送转发规则消息,转发面网元当接收到用户设备发送的数据报文时,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作,对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器,提高了灵活性,并且避免了固定地按照预设的路由操作进行转发时,可能导致数据报文转发失败的情况。
图3是本发明实施例提供的一种数据报文路由方法的流程图,本发明实施例的交互主体包括应用服务器、控制面网元、转发面网元,与图1所示的实施例不同的是,应用服务器向控制面网元发送传输能力指示信息时,控制面网元与该用户设备已经建立网络连接成功。如图3所示,该方法包括:
301、控制面网元与用户设备建立网络连接成功之后,应用服务器向控制面网元发送传输能力指示信息。
302、控制面网元接收该传输能力指示信息,根据该传输能力指示信息,生成转发规则。
303、控制面网元判断该用户设备是否具有连接该目的服务器的权限。
304、当控制面网元确定该用户设备具有连接该目的应用服务器的权限时,向该转发面网元发送转发规则消息。
与图1所示的实施例不同的是,由于在本发明实施例中,控制面网元和用户设备已经成功建立网络连接,不会再下发网络连接策略,因此当控制面网元确定该用户设备具有连接该目的应用服务器的权限时,可以单独向该转发面网元发送转发规则消息,而不是在网络连接策略中携带该转发规则消息。
305、转发面网元接收该转发规则消息,并存储该转发规则。
306、用户设备向转发面网元发送数据报文。
307、转发面网元接收该数据报文,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作。
308、转发面网元对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器。
上述步骤301至308与上述图1实施例中步骤101-108类似,在此不做赘述。
本发明实施例提供的方法,控制面网元生成转发规则,向转发面网元发送转发规则消息,转发面网元当接收到用户设备发送的数据报文时,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作,对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器,提高了灵活性,并且避免了固定地按照预设的路由操作进行转发时,可能导致数据报文转发失败的情况。
图4是本发明实施例提供的一种数据报文路由方法的流程图,本发明实施例的交互主体包括管理设备、控制面网元、转发面网元和目的应用服务器,与图2所示的实施例不同的是,管理设备配置确定转发规则时,控制面网元与该用户设备已经建立网络连接成功。如图4所示,该方法包括:
401、控制面网元与用户设备建立网络连接成功之后,管理设备配置确定转发规则,向转发面网元和控制面网元发送该转发规则。
402、控制面网元接收该转发规则,并存储该转发规则。
403、转发面网元接收该转发规则,并存储该转发规则。
该转发规则包括该至少一个应用服务器的地址信息和执行的路由操作。
路由操作包括:隧道封装操作、网络地址转换NAT操作和直接转发的操作。
404、当控制面网元确定该用户设备具有连接该目的应用服务器的权限时, 向该转发面网元发送转发规则激活指令。
405、转发面网元接收该转发规则激活指令,激活该转发规则。
406、用户设备向转发面网元发送数据报文。
407、转发面网元接收该数据报文,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作。
408、转发面网元对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器。
上述步骤401至408与上述图2实施例中步骤201-208类似,在此不做赘述。
本发明实施例提供的方法,管理设备配置确定转发规则,向转发面网元发送转发规则消息,转发面网元当接收到用户设备发送的数据报文时,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作,对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器,提高了灵活性,并且避免了固定地按照预设的路由操作进行转发时,可能导致数据报文转发失败的情况。
图5是本发明实施例提供的一种数据报文路由装置的结构示意图,应用于控制面网元中,该装置包括:确定模块501和发送模块502。
确定模块501,用于确定转发规则,该转发规则包括该至少一个应用服务器的地址信息和执行的路由操作;
发送模块502,用于向转发面网元发送转发规则消息,该转发规则消息用于指示该转发面网元当接收到用户设备发送的数据报文时,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作,对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器。
在一种可能的实现方式中,该确定模块501用于接收管理设备发送的该转发规则,该转发规则由该管理设备配置确定,或者用于根据至少一个应用服务器发送的传输能力指示信息生成该转发规则。
在另一种可能的实现方式中,该发送模块502,包括:
判断子模块,用于在该控制面网元与该用户设备建立网络连接的过程中,判断该用户设备是否具有连接该目的服务器的权限;
发送子模块,用于当确定该用户设备具有连接该目的应用服务器的权限 时,向该转发面网元发送转发规则消息。
在另一种可能的实现方式中,该发送模块502,包括:
判断子模块,用于在该控制面网元与该用户设备建立网络连接成功之后,当确定该转发规则时,判断该用户设备是否具有连接该目的服务器的权限;
发送子模块,用于当确定该用户设备具有连接该目的应用服务器的权限时,向该转发面网元发送该转发规则消息。
在另一种可能的实现方式中,该转发规则消息为转发规则激活指令,该转发规则激活指令用于指示该转发面网元激活该管理设备已发送给该转发面网元的该转发规则。
在另一种可能的实现方式中,该路由操作包括:隧道封装操作、NAT操作和直接转发的操作。
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。
图6是本发明实施例提供的一种数据报文路由装置的结构示意图,应用于管理设备中,该装置包括:确定模块601和发送模块602。
确定模块601,用于确定转发规则,该转发规则包括该至少一个应用服务器的地址信息和执行的路由操作;
发送模块602,用于向转发面网元发送该转发规则,该转发面网元用于当接收到用户设备发送的数据报文时,根据该转发规则,确定该数据报文中的目的地址信息对应的路由操作,对该数据报文进行该路由操作,以将该数据报文发送至该目的地址信息指示的目的应用服务器。
在一种可能的实现方式中,该发送模块602,用于向该转发面网元发送该转发规则时,向控制面网元发送该转发规则,该控制面网元用于当确定该用户设备具有连接该目的应用服务器的权限时,向该转发面网元发送转发规则激活指令,该转发规则激活指令用于指示该转发面网元激活该转发规则。
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。
需要说明的是:上述实施例提供的数据报文路由装置在路由数据报文时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上 述功能分配由不同的功能模块完成,即将控制面网元和管理设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的数据报文路由装置与数据报文路由方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
图7A是本发明实施例提供的一种数据报文路由系统的结构示意图,该数据报文路由系统包括应用服务器、控制面网元、转发面网元和用户设备。该应用服务器、该控制面网元和该用户设备均和该转发面网元连接。
进一步地,参见图7B,该数据报文路由系统还可以包括管理设备,该转发面网元和该控制面网元均和该管理设备连接。
该应用服务器、该控制面网元、该转发面网元、该用户设备和该管理设备可以分别用于执行上述各个实施例中相应的步骤,在此不做赘述。
图8是本发明实施例提供的一种转发面网元的结构示意图,参见图8,该转发面网元设备包括:接收器801、发射器802、存储器803和处理器804,该接收器801、该发射器802和该存储器803分别与该处理器804连接,该存储器803存储有程序代码,该处理器804用于调用该程序代码,执行上述转发面网元所执行的操作。
图9是本发明实施例提供的一种管理设备的结构示意图,参见图9,该管理设备设备包括:接收器901、发射器902、存储器903和处理器904,该接收器901、该发射器902和该存储器903分别与该处理器904连接,该存储器903存储有程序代码,该处理器904用于调用该程序代码,执行上述管理设备所执行的操作。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (16)

  1. 一种数据报文路由方法,其特征在于,应用于控制面网元中,所述方法包括:
    确定转发规则,所述转发规则包括所述至少一个应用服务器的地址信息和执行的路由操作;
    向转发面网元发送转发规则消息,所述转发规则消息用于指示所述转发面网元当接收到用户设备发送的数据报文时,根据所述转发规则,确定所述数据报文中的目的地址信息对应的路由操作,对所述数据报文进行所述路由操作,以将所述数据报文发送至所述目的地址信息指示的目的应用服务器。
  2. 根据权利要求1所述的方法,其特征在于,所述确定转发规则,包括:
    接收管理设备发送的所述转发规则,所述转发规则由所述管理设备配置确定,或者根据至少一个应用服务器发送的传输能力指示信息生成。
  3. 根据权利要求1或2所述的方法,其特征在于,所述确定所述转发规则之后,所述向转发面网元发送转发规则消息,包括:
    在所述控制面网元与所述用户设备建立网络连接的过程中,判断所述用户设备是否具有连接所述目的服务器的权限;
    当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送转发规则消息。
  4. 根据权利要求1或2所述的方法,其特征在于,所述确定转发规则之前,所述方法还包括:
    所述控制面网元与所述用户设备建立网络连接成功;
    当确定所述转发规则时,判断所述用户设备是否具有连接所述目的服务器的权限;
    当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送所述转发规则消息。
  5. 根据权利要求1所述的方法,其特征在于,所述转发规则消息为转发规 则激活指令,所述转发规则激活指令用于指示所述转发面网元激活所述管理设备已发送给所述转发面网元的所述转发规则。
  6. 根据权利要求1所述的方法,其特征在于,所述路由操作包括:隧道封装操作、网络地址转换NAT操作和直接转发的操作。
  7. 一种数据报文路由方法,其特征在于,应用于管理设备中,所述方法包括:
    确定转发规则,所述转发规则包括所述至少一个应用服务器的地址信息和执行的路由操作;
    向转发面网元发送所述转发规则,所述转发面网元用于当接收到用户设备发送的数据报文时,根据所述转发规则,确定所述数据报文中的目的地址信息对应的路由操作,对所述数据报文进行所述路由操作,以将所述数据报文发送至所述目的地址信息指示的目的应用服务器。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    向所述转发面网元发送所述转发规则时,向控制面网元发送所述转发规则,所述控制面网元用于当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送转发规则激活指令,所述转发规则激活指令用于指示所述转发面网元激活所述转发规则。
  9. 一种数据报文路由装置,其特征在于,应用于控制面网元中,所述装置包括:
    确定模块,用于确定转发规则,所述转发规则包括所述至少一个应用服务器的地址信息和执行的路由操作;
    发送模块,用于向转发面网元发送转发规则消息,所述转发规则消息用于指示所述转发面网元当接收到用户设备发送的数据报文时,根据所述转发规则,确定所述数据报文中的目的地址信息对应的路由操作,对所述数据报文进行所述路由操作,以将所述数据报文发送至所述目的地址信息指示的目的应用服务器。
  10. 根据权利要求9所述的装置,其特征在于,所述确定模块用于接收管理设备发送的所述转发规则,所述转发规则由所述管理设备配置确定,或者用于根据至少一个应用服务器发送的传输能力指示信息生成所述转发规则。
  11. 根据权利要求9或10所述的装置,其特征在于,所述发送模块,包括:
    判断子模块,用于在所述控制面网元与所述用户设备建立网络连接的过程中,判断所述用户设备是否具有连接所述目的服务器的权限;
    发送子模块,用于当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送转发规则消息。
  12. 根据权利要求9或10所述的装置,其特征在于,所述发送模块,包括:
    判断子模块,用于在所述控制面网元与所述用户设备建立网络连接成功之后,当确定所述转发规则时,判断所述用户设备是否具有连接所述目的服务器的权限;
    发送子模块,用于当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送所述转发规则消息。
  13. 根据权利要求9所述的装置,其特征在于,所述转发规则消息为转发规则激活指令,所述转发规则激活指令用于指示所述转发面网元激活所述管理设备已发送给所述转发面网元的所述转发规则。
  14. 根据权利要求9所述的装置,其特征在于,所述路由操作包括:隧道封装操作、网络地址转换NAT操作和直接转发的操作。
  15. 一种数据报文路由装置,其特征在于,应用于管理设备中,所述装置包括:
    确定模块,用于确定转发规则,所述转发规则包括所述至少一个应用服务器的地址信息和执行的路由操作;
    发送模块,用于向转发面网元发送所述转发规则,所述转发面网元用于当接收到用户设备发送的数据报文时,根据所述转发规则,确定所述数据报文中的目的地址信息对应的路由操作,对所述数据报文进行所述路由操作,以将所 述数据报文发送至所述目的地址信息指示的目的应用服务器。
  16. 根据权利要求15所述的装置,其特征在于,所述发送模块用于向所述转发面网元发送所述转发规则时,向控制面网元发送所述转发规则,所述控制面网元用于当确定所述用户设备具有连接所述目的应用服务器的权限时,向所述转发面网元发送转发规则激活指令,所述转发规则激活指令用于指示所述转发面网元激活所述转发规则。
PCT/CN2016/109346 2016-12-10 2016-12-10 数据报文路由方法及装置 WO2018103108A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/109346 WO2018103108A1 (zh) 2016-12-10 2016-12-10 数据报文路由方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/109346 WO2018103108A1 (zh) 2016-12-10 2016-12-10 数据报文路由方法及装置

Publications (1)

Publication Number Publication Date
WO2018103108A1 true WO2018103108A1 (zh) 2018-06-14

Family

ID=62492191

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/109346 WO2018103108A1 (zh) 2016-12-10 2016-12-10 数据报文路由方法及装置

Country Status (1)

Country Link
WO (1) WO2018103108A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200638A (zh) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 一种用户面数据的本地转出方法、系统及本地网关
WO2014022993A1 (zh) * 2012-08-08 2014-02-13 华为技术有限公司 隧道转发方法、装置、设备及系统
EP2861038A1 (en) * 2012-06-29 2015-04-15 Huawei Technologies Co., Ltd. Information processing method, forwarding plane apparatus and control plane apparatus
CN106161289A (zh) * 2015-03-23 2016-11-23 中兴通讯股份有限公司 一种基于sdn的网关中控制报文的处理方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200638A (zh) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 一种用户面数据的本地转出方法、系统及本地网关
EP2861038A1 (en) * 2012-06-29 2015-04-15 Huawei Technologies Co., Ltd. Information processing method, forwarding plane apparatus and control plane apparatus
WO2014022993A1 (zh) * 2012-08-08 2014-02-13 华为技术有限公司 隧道转发方法、装置、设备及系统
CN106161289A (zh) * 2015-03-23 2016-11-23 中兴通讯股份有限公司 一种基于sdn的网关中控制报文的处理方法及系统

Similar Documents

Publication Publication Date Title
US10085253B2 (en) Methods and apparatus for controlling wireless access points
WO2017137008A1 (zh) 一种虚拟网络设备及相关方法
US9231820B2 (en) Methods and apparatus for controlling wireless access points
US11356294B2 (en) Packet processing method and device
US10454880B2 (en) IP packet processing method and apparatus, and network system
WO2020011152A1 (zh) Pfcp连接处理方法、装置、网元、系统及存储介质
US9025439B2 (en) Method and system to enable re-routing for home networks upon connectivity failure
WO2016173403A1 (zh) 路由设备、负载均衡设备、消息分发方法及系统
WO2019157968A1 (zh) 一种通信方法、装置及系统
US9647982B2 (en) Peer tunneling for real-time communications
US11582113B2 (en) Packet transmission method, apparatus, and system utilizing keepalive packets between forwarding devices
WO2015123988A1 (zh) 拥塞控制方法、装置及设备
JP2019525578A (ja) データグラムベースのトランスポート層を介したカプセル化メディアトラフィックの効率的転送
WO2021135493A1 (zh) 一种家庭网关访问方法、装置、系统处理器及存储介质
US20230336377A1 (en) Packet forwarding method and apparatus, and network system
US8233400B2 (en) Methods, systems, and computer readable media for verifying the availability of an internet protocol (IP) media router during a call setup
JP2007274467A (ja) ネットワーク中継装置、ネットワークシステム、データ中継方法及びデータ中継プログラム
WO2018103108A1 (zh) 数据报文路由方法及装置
US20220345519A1 (en) PFCP Session Load Balancer
TW202249465A (zh) 使用網際網路協定網路於蜂巢式資料封包路由的裝置
TW202249464A (zh) 使用網際網路協定網路於蜂巢式資料封包路由的方法
US20210203604A1 (en) Load balancing method, device and system
CN113726648A (zh) 多路径通信方法、装置、电子设备及计算机可读介质
WO2015188706A1 (zh) 数据帧的处理方法、装置与系统
US20240171641A1 (en) Data service management of proxy devices

Legal Events

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

Ref document number: 16923172

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16923172

Country of ref document: EP

Kind code of ref document: A1