WO2015113297A1 - 数据传输方法、传输控制方法及设备 - Google Patents

数据传输方法、传输控制方法及设备 Download PDF

Info

Publication number
WO2015113297A1
WO2015113297A1 PCT/CN2014/071829 CN2014071829W WO2015113297A1 WO 2015113297 A1 WO2015113297 A1 WO 2015113297A1 CN 2014071829 W CN2014071829 W CN 2014071829W WO 2015113297 A1 WO2015113297 A1 WO 2015113297A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
edge node
target
downlink data
base station
Prior art date
Application number
PCT/CN2014/071829
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/CN2014/071829 priority Critical patent/WO2015113297A1/zh
Priority to CN201480013155.7A priority patent/CN105027512B/zh
Priority to EP14881091.4A priority patent/EP3094051B1/en
Publication of WO2015113297A1 publication Critical patent/WO2015113297A1/zh
Priority to US15/223,360 priority patent/US10548074B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/34Signalling channels for network management communication
    • H04L41/342Signalling channels for network management communication between virtual entities, e.g. orchestrators, SDN or NFV entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/23Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/12Access point controller devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Definitions

  • Embodiments of the present invention relate to communication technologies, and in particular, to a data transmission method, a transmission control method, and a device. Background technique
  • SDN Software Defined Network
  • the essence is to control the network from the physical device. Separated and aggregated to form a control hub, the physical device only has policy enforcement and simple data forwarding.
  • the current SDN solution is to separate the control planes of the functional network elements in the network, mainly switches and routers, and implement them as user plane devices, and centrally deploy separate control plane devices, that is, network controllers.
  • Embodiments of the present invention provide a data transmission method, a transmission control method, and a device, which are used to improve
  • the first aspect provides a software defined network SDN, including: a network controller, a first edge node, and at least one second edge node;
  • the first edge node is configured to receive a data packet that needs to be transmitted, determine a target edge node, obtain a target routing rule from the network controller according to the target edge node, and use the data according to the target routing rule. Sending the packet to the target edge node, so that the target edge node completes the transmission of the data packet; wherein the target edge node refers to a second edge node that needs to pass during the transmission of the data packet;
  • the target routing rule refers to a routing rule of the first edge node to the target edge node;
  • the at least one second edge node is configured to: when receiving the target edge node, receive the data packet sent by the first edge node according to the target routing rule, and complete transmission of the data packet;
  • the network controller is configured to provide the target routing rule to the first edge node.
  • the first edge node is a gateway device
  • the data packet is a downlink data packet sent to the user equipment
  • the second edge node is Base station equipment.
  • the first edge node is used to determine a target edge node, including:
  • the gateway device is specifically configured to determine a session identifier to which the downlink data packet belongs, and query a correspondence between the session identifier and the base station device according to the session identifier to which the downlink data packet belongs, and determine the target base station device.
  • the gateway device is further configured to receive an uplink data packet corresponding to the downlink data packet, and identify When the session to which the uplink data packet belongs belongs to the new session and the default bearer is used, the target filtering rule for the downlink data packet is locally generated according to the uplink data packet, and the session identifier to which the uplink data packet belongs is generated. Correspondence relationship with a base station device currently serving the user equipment;
  • the determining, by the gateway device, the session identifier to which the downlink data packet belongs, the method includes: the gateway device is specifically configured to determine, according to a target filtering rule for the downlink data packet, a session identifier to which the downlink data packet belongs.
  • the gateway device is further configured to receive, by the network controller, the downlink data packet a target filtering rule, storing the target filtering rule locally, and receiving a correspondence between a session identifier that the downlink data packet sent by the network controller belongs to and a base station device that is currently serving the user equipment;
  • the determining, by the gateway device, the session identifier to which the downlink data packet belongs includes: determining, by the gateway device, a session identifier to which the downlink data packet belongs according to a target filtering rule used for the downlink data packet;
  • the network controller is further configured to learn that the session to which the downlink data packet belongs is a new session and Generating, by the dedicated bearer, a target filtering rule for the downlink data packet, sending the target filtering rule to the gateway device, and generating a session identifier to which the downlink data packet belongs and currently serving the user equipment
  • the corresponding relationship between the base station devices is sent to the gateway device by the correspondence between the session identifier to which the downlink data packet belongs and the base station device that is currently serving the user equipment.
  • the second aspect provides a network device, which is located in a software-defined network SDN, where the network device is a first edge node, and specifically includes:
  • a receiving module configured to receive a data packet that needs to be transmitted
  • a determining module configured to determine a target edge node, where the target edge node refers to a second edge node in the SDN that needs to pass during the transmission of the data packet;
  • a routing rule module configured to obtain, according to the target edge node, a target routing rule from a network controller in the SDN, where the target routing rule is a routing rule of the first edge node to the target edge node;
  • a sending module configured to send the data packet to the target edge node according to the target routing rule, so that the target edge node completes transmission of the data packet.
  • the first edge node is a gateway device
  • the data packet is a downlink data packet sent to the user equipment
  • the second edge node is Base station equipment.
  • the determining module is specifically configured to determine a session identifier to which the downlink data packet belongs, according to the downlink data The session identifier to which the packet belongs, the correspondence between the session identifier and the base station device, and the target base station device are determined.
  • the receiving module is further configured to: before receiving the downlink data packet, receive the downlink data packet corresponding to Upstream data packet;
  • the network device further includes:
  • a filtering rule generating module configured to: when identifying that the session to which the uplink data packet belongs is a new session and using a default bearer, locally generate a target filtering rule for the downlink data packet according to the uplink data packet, and Generating a correspondence between a session identifier to which the uplink data packet belongs and a base station device currently serving the user equipment;
  • the determining module is configured to determine the session identifier to which the downlink data packet belongs, and the determining module is specifically configured to determine, according to a target filtering rule for the downlink data packet, a session identifier to which the downlink data packet belongs.
  • the receiving module is further configured to receive, by the network controller, the downlink data packet a target filtering rule, storing the target filtering rule locally, and receiving a correspondence between a session identifier that the downlink data packet sent by the network controller belongs to and a base station device that is currently serving the user equipment;
  • the target filtering rule is that the network controller generates the downlink data packet after learning that the session to which the downlink data packet belongs is a new session and using a dedicated bearer;
  • the determining module is configured to determine the session identifier to which the downlink data packet belongs, and the determining module is specifically configured to determine, according to a target filtering rule for the downlink data packet, a session identifier to which the downlink data packet belongs.
  • the third aspect provides a network controller, which is located in a software defined network SDN, where the network controller includes:
  • routing rule module configured to configure routing information for the first edge node in the SDN, where the routing information includes a routing rule of the first edge node to each second edge node in the SDN;
  • a sending module configured to send the routing information to the first edge node, so that the first edge node determines a target route to the target edge node based on the routing information when receiving the data packet that needs to be transmitted
  • the target edge node is a second edge node that needs to pass during the transmission of the data packet.
  • the first edge node is a gateway device
  • the data packet is a downlink data packet sent to the user equipment
  • the second edge node is Base station equipment.
  • the network controller further includes: a dedicated bearer module, configured to learn, by the The session is a new session and generates a target filtering rule for the downlink data packet after using the dedicated bearer, and generates a correspondence between the session identifier to which the downlink data packet belongs and the base station device currently serving the user equipment.
  • a dedicated bearer module configured to learn, by the The session is a new session and generates a target filtering rule for the downlink data packet after using the dedicated bearer, and generates a correspondence between the session identifier to which the downlink data packet belongs and the base station device currently serving the user equipment.
  • the sending module is further configured to send the target filtering rule to the gateway device, so that the gateway device determines, according to the target filtering rule, a session identifier to which the downlink data packet belongs, and the downlink data packet Corresponding relationship between the associated session identifier and the base station device currently serving the user equipment is sent to the gateway device, so that the gateway device determines the target base station device.
  • the fourth aspect provides a data transmission method, including:
  • the first edge node in the software defined network SDN receives the data packet to be transmitted
  • the first edge node obtains a target routing rule from the network controller according to the target edge node, where the target routing rule refers to a routing rule of the first edge node to the target edge node;
  • the first edge node is a gateway device
  • the data packet is a downlink data packet sent to the user equipment
  • the second edge node is Base station equipment.
  • the determining, by the first edge node, the target edge node includes:
  • the gateway device determines, by the gateway device, the correspondence between the session identifier and the base station device according to the session identifier to which the downlink data packet belongs, and determining the target base station device.
  • the method further includes:
  • the gateway device Receiving, by the gateway device, an uplink data packet corresponding to the downlink data packet, and when identifying that the session to which the uplink data packet belongs is a new session and using a default bearer, locally generating the application according to the uplink data packet a target filtering rule of the downlink data packet, and generating a correspondence between the session identifier to which the uplink data packet belongs and the base station device currently serving the user equipment; the gateway device determining that the downlink data packet belongs to Session ID, including:
  • Determining, by the gateway device, the downlink according to a target filtering rule for the downlink data packet The session ID to which the packet belongs.
  • the method further includes:
  • a target filtering rule for the downlink data packet sent by the network controller storing the target filtering rule locally, and receiving, by the network controller, the downlink data packet that is sent by the network controller Corresponding relationship between the session identifier and the base station device currently serving the user equipment; wherein the target filtering rule is that the network controller learns that the session to which the downlink data packet belongs is a new session and uses a dedicated bearer And generating, by the gateway device, the session identifier to which the downlink data packet belongs, including:
  • the gateway device determines, according to a target filtering rule for the downlink data packet, a session identifier to which the downlink data packet belongs.
  • a fifth aspect provides a transmission control method, including:
  • the network controller in the software-defined network SDN configures routing information for the first edge node in the SDN, and the routing information includes routing rules of the first edge node to each second edge node in the SDN;
  • the network controller sends the routing information to the first edge node, so that the first edge node determines a target route to the target edge node based on the routing information when receiving the data packet to be transmitted.
  • the target edge node is a second edge node that needs to pass during the transmission of the data packet.
  • the first edge node is a gateway device
  • the data packet is a downlink data packet sent to the user equipment
  • the second edge node is Base station equipment.
  • the method further includes:
  • the network controller After the network controller learns that the session to which the downlink data packet belongs is a new session and uses a dedicated bearer, generates a target filtering rule for the downlink data packet, and generates a session identifier and a current session to which the downlink data packet belongs. Corresponding between the base station devices serving the user equipment, the network controller sends the target filtering rule to the gateway device, so that the gateway device determines the downlink data according to the target filtering rule The session ID to which the package belongs, and will be The correspondence between the session identifier to which the downlink data packet belongs and the base station device that is currently serving the user equipment is sent to the gateway device, so that the gateway device determines the target base station device.
  • the data transmission method, the transmission control method, and the device provided by the embodiment of the present invention after the first edge node in the SDN receives the data packet to be transmitted, determines, from the second edge node in the SDN, the target that needs to be transmitted to transmit the data packet. The edge node then obtains a target routing rule from the first edge node to the target edge node from the network controller, and sends the data packet to the target edge node by using the target routing rule, so that the target edge node completes the transmission of the data packet.
  • the first edge node determines, from the second edge node, the target edge node that needs to pass the transmission data packet, and can adapt to the situation that the target edge node changes due to the mobility of the user equipment, and the network controller is only responsible for
  • the routing rule from the first edge node to the target edge node does not need to adjust the routing rule of the first edge node to the target edge node in real time due to the change of the location of the user equipment, thereby effectively reducing the processing load of the network controller and optimizing the control plane.
  • the signaling interaction with the user plane improves the communication efficiency of the SDN.
  • FIG. 1 is a schematic diagram of an SDN application scenario according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of an SDN according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of another SDN according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of another SDN according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another SDN according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another SDN according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another SDN according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a network device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another network device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of still another network device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a network controller according to an embodiment of the present disclosure
  • Figure 12 is a diagram of another network controller provided by the embodiment
  • Figure 13 is a schematic diagram of another network controller provided by the embodiment.
  • Figure 14 is a flowchart of a data transmission method provided by the embodiment.
  • Figure 15 is a flowchart of a transmission control method provided by the embodiment.
  • Figure 16 is a flow chart of another data transmission method provided by the embodiment.
  • FIG 17 is a flow chart of still another data transmission method provided by the embodiment.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • the data transmission method and the transmission control method are respectively provided to optimize the signaling interaction between the control plane and the user plane, so as to improve the communication efficiency of the SDN.
  • a system architecture of the SND is shown in FIG. 1.
  • the SDN includes: a network controller 11 and a user plane device 12.
  • the network control device 11 is mainly responsible for user access management, mobility management, and scheduling of data transmission paths of the entire SDN.
  • User plane device 12 is primarily responsible for policy enforcement and data forwarding.
  • the user plane devices 12 are divided into two categories, one of which is located at the middle of the network (as shown by the dotted circle in FIG.
  • the user plane device 12 in this embodiment includes not only a switch and a router but also a core network and other devices in the access network, such as a gateway device and a base station device, in comparison with a common SND.
  • the gateway device may be one or more, and the base station device may also be one or more. Both the gateway device and the base station device are located at the edge of the SDN, and the base station device directly faces the user equipment in the SDN (as shown by the hollow solid coil in FIG.
  • the gateway device mainly faces other PDN networks or data centers such as the Internet (eg, Figure 1 shows the solid coil in the middle with a dot).
  • the downlink data packet is generally a gateway device that enters the SDN from other PDN networks or data centers such as the Internet.
  • the gateway device sends the downlink data packet to the base station device of the SDN under the control of the network controller 11, and then forwards the packet to the base station device.
  • User equipment may be a packet data network gateway.
  • PDN-GW Packet Data Network GateWay, abbreviated as PDN-GW
  • GPRS Gateway General Packet Radio Service
  • GGSN Gateway General Packet Radio Service Support Node
  • S Serving GateWay
  • the embodiments of the present invention do not limit the transmission technology used between the gateway device and the base station device, for example, an end-to-end general data transfer platform (GTP) or mobile IP (Mobi) Le IP, abbreviated as MIP) Tunneling technology, Virtual Private Network (VPN), Multi-Protocol Label Switching (MPLS) technology, etc. Or tunnel technology for transmission, and so on.
  • GTP general data transfer platform
  • Mobi mobile IP
  • MIP Mobile IP
  • MIP Mobile IP
  • VPN Virtual Private Network
  • MPLS Multi-Protocol Label Switching
  • the wireless SDN shown in FIG. 1 is an application environment of an embodiment of the present invention.
  • the corresponding data forwarding path also changes, as shown by the dotted line in FIG.
  • the solid line in FIG. 1 shows the data forwarding path when the user equipment moves to point B.
  • the network controller 11 is required to update the data forwarding path in real time according to the movement of the user equipment, which will cause a large amount of generation between the user plane device 12 and the network controller 11. Signaling, reducing the communication efficiency of the overall network.
  • the following embodiments of the present invention provide a new SDN architecture.
  • FIG. 2 is a schematic structural diagram of an SDN according to an embodiment of the present invention.
  • the SDN includes: a network controller 21, a first edge node 22, and at least one second edge node 23. Further, the SDN may further include: other nodes 24, and the other nodes 24 may be intermediate nodes.
  • the first edge node 22 is configured to receive a data packet to be transmitted, determine a target edge node, obtain a target routing rule from the network controller 21 according to the target edge node, and send the received data packet to the target according to the acquired target routing rule.
  • the edge node so that the target edge node completes the transmission of the packet.
  • the target edge node refers to the second edge node 23 that needs to pass during the transmission of the foregoing data packet.
  • the target routing rule refers to the routing rule of the first edge node 22 to the target edge node.
  • the at least one second edge node 23 is configured to, when the target edge node is used, receive the data packet sent by the first edge node 22 according to the target routing rule, and complete the transmission of the data packet.
  • the network controller 21 is a control plane device of the SDN, and is responsible for controlling the SDN, and is mainly used for An edge node 22 provides a target routing rule.
  • the first edge node 22 may be one or more.
  • the target edge node is one of at least one second edge node 23.
  • the first edge node after receiving the data packet to be transmitted, determines, from the second edge node, a target edge node that needs to pass the data packet, and then obtains the target edge from the network controller.
  • the target routing rule of the node by which the data packet is sent to the target edge node, so that the target edge node completes the transmission of the data packet. Therefore, in the SDN provided in this embodiment, the first edge node determines, from the second edge node, a target edge node that needs to pass the data packet, and may adapt to the change of the target edge node caused by the mobility of the user equipment.
  • the network controller is only responsible for the routing rule from the first edge node to the target edge node, and does not need to adjust the routing rule to the first edge node to the target edge node in real time due to the change of the location of the user equipment, effectively reducing
  • the processing burden of the network controller optimizes the signaling interaction between the control plane and the user plane, and improves the communication efficiency of the SDN.
  • the first edge node 22 may be a gateway device, and the second edge node 23 may be a base station device, and the data packet received by the first edge node 22 may be a downlink data packet addressed to the user equipment.
  • the first edge node 22 may be a base station device, and the second edge node 23 may be a gateway device, and the data packet received by the first edge node 22 may be an uplink data packet sent by the user equipment.
  • the foregoing gateway device may be a PDN-GW, a GGSN, or an S-GW.
  • the first edge node 22 is configured to obtain the target routing rule from the network controller according to the target edge node, where: the first edge node 22 is specifically used in the routing information pre-sent from the network controller 21, Obtaining a target routing rule, the routing information including routing rules of the first edge node 22 and each second edge node 23 in the SDN.
  • the network controller 21 is configured to provide the target routing rule to the first edge node 22.
  • the network controller 21 is specifically configured to send routing information to the first edge node 22 in advance.
  • the network controller 21 may provide routing information to the first edge node 22 in the form of a routing table, but is not limited to the form of a routing table.
  • the first edge node 22 is configured to acquire the target routing rule from the network controller 21 according to the target edge node, and the method includes: the first edge node 22 is specifically configured to: after receiving the data packet, to the network controller 21 sends a request message requesting a target routing rule, and receives the network controller 21 According to the target routing rule sent by the request message.
  • the network controller 21 is configured to provide the target routing rule to the first edge node 22.
  • the network controller 21 is specifically configured to receive the request message sent by the first edge node 22, and send the request message to the first edge node 21 according to the request message. Returns the target routing rule.
  • the request message may include an identification of the target edge node for the network controller 21 to determine, by the first edge node 22, which routing rule to which the second edge node 23 is to be acquired.
  • the SDN includes: a network controller 31, a gateway device 32, a base station device 33, and other nodes 34.
  • the network controller 31 is mainly used to control the SDN.
  • the gateway device 32 may be one or more, and the base station device 33 may also be one or more.
  • the network controller 31 may include a routing rule module, configured to predetermine and save a routing rule between any one of the gateway devices 32 and any one of the base station devices 33, so as to facilitate the gateway device.
  • the target gateway device acquires a routing rule between the base station device 33 and the target gateway device.
  • the network controller 31 may forward the routing rules of any one of the gateway devices 32 to any one of the base station devices 33 to the gateway device 32 and the base station device 33 in advance.
  • the network controller 31 may also send a routing rule to the gateway device 32 or the base station device 33 according to the request message for requesting the routing rule sent by the gateway device 32 or the base station device 33 in real time.
  • the network controller 31 may send the corresponding routing rule to the gateway device 32 and the base station device 33 in the form of a routing table.
  • the gateway device 32 or the base station device 33 in the SDN provided by this embodiment is mainly used to obtain a routing rule from the network controller 31, so as to use the routing rule to complete the transmission of the data packet when receiving the data packet that needs to be forwarded.
  • the gateway device 32 receives the downlink data packet sent to the user equipment, and determines from the base station device 33 the target base station device that needs to pass the transmission of the downlink data packet, and controls the network from the network according to the determined target base station device.
  • the device 31 obtains a target routing rule from the gateway device 32 to the target base station device, and sends the downlink data packet to the target base station device according to the target routing rule, so that the target base station device sends the downlink data packet to the user equipment.
  • the base station device 33 receives the uplink data packet sent by the user equipment, Determining, by the gateway device 32, the target gateway device, acquiring the target routing rule from the base station device to the target gateway device according to the determined target gateway device, and sending the uplink data packet to the target gateway device according to the target routing rule, and further The target gateway device is caused to forward the uplink data packet.
  • the gateway device 32 may obtain the target routing rule from the network controller 31 for each downlink data packet of the user equipment. Or, if the gateway device 32 uses the same target routing rule for a certain type of downlink data packet addressed to the user equipment, and has previously queried the target routing rule for obtaining the same downlink data packet, when processing the subsequent downlink data packet of the same type, Therefore, it is not necessary to obtain the target routing rule from the network controller 31 again, and the target routing rule acquired for the previous downlink packet of the same type can be directly used. The same processing method can be adopted for the base station device 33.
  • the location of the base station device and the gateway device in the network topology is constant, and therefore, the network topology connecting the base station device and the gateway device is also relatively stable. Based on this, the routing rule between any gateway device and any base station device saved by the network controller in the SDN is relatively static, and the routing rule between the gateway device and the base station device does not need to be adjusted in real time due to the change of the user location.
  • the gateway device Effectively reducing the processing burden of the network controller, and the network controller does not need to frequently provide routing rules to the gateway device or the base station device, thereby facilitating mitigation of the control plane device (ie, the network controller) and the user plane device (the gateway device or the base station)
  • the signaling interaction between the devices is beneficial to improve the communication efficiency of the entire SDN.
  • the user location information in the SDN can be dynamic.
  • the gateway device uses the current location information of the user (the current base station device) to perform routing, thereby effectively ensuring the user movement process. Data transfer in .
  • this embodiment provides an implementation manner of determining, by the gateway device, a target base station device, where the gateway device 32 is specifically configured to determine a session identifier to which the downlink data packet belongs, according to the The session identifier to which the downlink data packet belongs, and the correspondence between the session identifier and the base station device is queried, thereby determining the target base station device.
  • the target base station device refers to a base station device corresponding to the session identifier to which the downlink data packet belongs.
  • one session identifier may correspond to one session, and may also correspond to multiple sessions.
  • the session is suitable for session aggregation.
  • some sessions require QoS guarantee. There are characteristics such as a long duration, such a session is a long session; and some sessions, such as a large number of sessions in a web browsing service of one of the current mainstream services, are mostly relatively short durations, and such sessions are short sessions.
  • a long session generally needs to establish a dedicated bearer to carry, and because the duration is long, the probability of the user equipment moving during this period is high, so the long session requires high mobility; the short session does not need to establish a dedicated bearer, and can bear On the default bearer, because the duration is short, the probability of the user equipment moving is small. Even if the user equipment moves, the user equipment re-initiates the service request at the transport layer or the application layer, which has a great impact on the user experience. Small, so short sessions have lower mobility requirements.
  • the network controller can update the correspondence between the session identifier and the base station device in real time according to the mobile device's mobile device to ensure the mobility requirements of these long sessions.
  • the network controller may not participate in the update of the correspondence between the session identifier and the base station device, but the gateway device processes the short session service by itself, thereby reducing the burden on the network controller.
  • the gateway device 32 is further configured to: before receiving the downlink data packet, receive the uplink data packet corresponding to the downlink data packet, and identify the session to which the uplink data packet belongs.
  • the target filtering rule for the downlink data packet is locally generated according to the uplink data packet, and the session identifier to which the uplink data packet belongs is generated and the base station device currently serving the user equipment. Correspondence between the two.
  • the network controller 31 is further configured to: after learning that the session that the downlink data packet sent to the user equipment received by the gateway device 32 belongs to is a new session and uses a dedicated bearer Generating a target filtering rule for the downlink data packet, and sending the target filtering rule to the gateway device 32, and generating a correspondence between the session identifier to which the downlink data packet belongs and the base station device currently serving the user equipment.
  • the correspondence between the session identifier to which the downlink data packet belongs and the base station device currently serving the user equipment is sent to the gateway device 32.
  • the gateway device 32 is further configured to receive a target filtering rule for the downlink data packet sent by the network controller 31, store the target filtering rule locally, and receive the downlink data packet sent by the network controller 31. Correspondence between the session identifier and the base station device currently serving the user equipment.
  • the gateway device 32 is configured to determine a session identifier to which the downlink data packet belongs.
  • the gateway device 32 is specifically configured to determine, according to a target filtering rule for the downlink data packet, a session identifier to which the downlink data packet belongs. The difference is that in the short session scenario, the target filtering rule is generated by the gateway device 32, and in the long session scenario, the target filtering rule is generated by the network controller 31 and sent to the gateway device 32.
  • the gateway device 32 is specifically configured to perform matching on the locally stored filtering rule according to the packet header information of the downlink data packet, obtain a target filtering rule for the downlink data packet, and determine a session to which the downlink data packet belongs according to the target filtering rule.
  • the filtering rule is generally generated according to the packet header information of the data packet.
  • the header information of the downlink data packet mainly includes the header information of various protocol stacks included in the data packet, such as a Media Access Control (MAC) protocol header, an IP protocol header information, and the like, and further, such as an IP protocol header information. It includes information such as source address, destination address, and protocol type.
  • MAC Media Access Control
  • FIG. 4 On the basis of the SDN architecture shown in FIG. 3, another SDN architecture provided by the embodiment of the present invention is shown in FIG. 4, and the SDN includes the network controller 31, the gateway device 32, the base station device 33, and other nodes 34. Also included is: User Location Database 35.
  • the user location database 35 is mainly used to store the correspondence between the session identifier and the base station device.
  • the user location database 35 is actually a storage set of the correspondence between the session identifier to which the session initiated by the user equipment belongs and the base station device where the user equipment is currently located.
  • the main function of the user location database 35 is: after receiving the downlink data packet addressed to the user equipment, the gateway device 32 determines the target base station device required for forwarding the downlink data packet based on the session identifier to which the downlink data packet belongs.
  • the signaling interaction between the user location database 35 and the gateway device 32 is shown by the solid line with an arrow in FIG.
  • the session identifier to which the data packet belongs can be determined by the filtering rules used by the data packet.
  • the gateway device 32 can specifically perform the matching in the locally stored filtering rule according to the packet header information of the downlink data packet.
  • the target filtering rule for the downlink data packet determines the session identifier to which the downlink data packet belongs according to the target filtering rule, and queries the user location database 35 according to the session identifier to which the downlink data packet belongs, thereby determining the target base station device.
  • the target base station device is actually a base station device corresponding to the session to which the downlink data packet belongs, that is, the base station device currently serving the user equipment.
  • the gateway device 32 may receive the uplink data packet corresponding to the downlink data packet before receiving the downlink data packet, and identify the uplink data packet.
  • the filtering rule for the downlink data packet is locally generated according to the packet header information of the uplink data packet, and the filtering rule is the target filtering rule.
  • the gateway device 32 also stores the correspondence between the session identifier to which the uplink data packet belongs and the base station device currently serving the user equipment in the user location database 35.
  • the uplink data packet corresponding to the downlink data packet belongs to the same session, and the associated session identifier is also the same.
  • the network controller 31 may specifically generate the downlink data packet after learning that the session to which the downlink data packet belongs is a new session and using the dedicated bearer.
  • the target filtering rule is sent to the gateway device 32.
  • the network controller 31 also stores the correspondence between the session identifier to which the downlink data packet belongs and the base station device currently serving the user equipment in the user location database 35.
  • the user location database 35 in the SDN can be uniformly coupled to the network controller 31 for maintenance and management.
  • the user location database 35 can also be distributed across the various gateway devices 32 such that each gateway device 32 has a unique user location database 35 that facilitates the efficiency of the gateway device 32 in using the user location database 35.
  • the network controller 31 may further include an update module, configured to update, according to the movement of the user equipment, the session identifier to which the downlink data packet belongs in the user location database 35 and the current service provided for the user equipment. Correspondence between base station devices.
  • the update module of the network controller 31 can control the base station device that currently provides the service for the user equipment in the user location database 35 according to the information of the user equipment currently accessed by the base station device 33.
  • the signaling interaction process of the handover involves the network controller 31, and during the signaling interaction, the base station equipment 33
  • the information of the user equipment currently connected to the base station device 33 is reported to the network controller 31, so that the network controller 31 acquires information on which base station device 33 the user equipment is currently accessing or switching to which base station device 33.
  • the signaling interaction between the user location database 35 and the network controller 31 is shown by the solid line with an arrow in FIG.
  • the update module of the network controller 31 may directly update the base station device currently serving the user equipment in the user location database 35, or may send an update message to the gateway device 32, so that the gateway device 32 can update the message according to the update message.
  • the base station device in the user location database 35 that currently serves the user equipment is updated.
  • the update message is generated by the update module of the network controller 31 according to the information of the user equipment currently connected to the base station device 33 reported by the base station device 33.
  • the correspondence between the session identifier and the base station device is stored by the user location database, and the information about the base station device currently serving the user equipment in the user location database is implemented by the network controller or the gateway device.
  • the gateway device can determine the base station device where the user equipment is currently located according to the user location database, and then perform routing based on the determined base station device, thereby effectively ensuring that the user moves during the process. data transmission.
  • FIG. 3 and FIG. 4 briefly introduces the scenario of a short session and a long session.
  • the processing of the short session and the long session will be further described below through different embodiments.
  • the SDN includes: a network controller 51, a gateway device 52, a first base station device 53, a second base station device 54, other nodes 55, and a user location database 56.
  • the network controller 51 is configured to control the SDN, and is mainly used to provide a routing rule to the gateway device 52, the first base station device 53, and the second base station device 54, where the routing rule or the indication is sent to the user equipment.
  • the network controller 51 is specifically configured to send the routing rule between the gateway device 52 to the first base station device 53 and the second base station device 54 to the gateway device 52 in advance, and the first base station device 53 and The routing rules of the second base station device 54 to the gateway device 52 are also pre-delivered to the first base station device 53 and the second base station device 54 in advance.
  • the signaling interaction between the network controller 51 and the gateway device 52, the first base station device 53, and the two base station devices 54 is as shown by the solid line with an arrow in FIG.
  • the user location database 56 is mainly used to store the correspondence between the session identifier and the base station device.
  • the user equipment accesses the network from the first base station device 53, and initiates a short session service between the gateway device 52 and the first base station device 53, and the uplink data packet of the short session service is first at the first base station.
  • the device 53 performs processing.
  • the first base station device 53 may include a routing rule module
  • the block is mainly used to receive the routing rule sent by the network controller 51, so as to use the routing rule to forward the uplink data packet to the gateway device 52 when receiving the uplink data packet sent by the user equipment, and carry the uplink data packet in the uplink data packet. Identification information of the first base station device 53.
  • the gateway device 52 can include a routing rule module and a filtering rule generation module.
  • the filtering rule generating module of the gateway device 52 is configured to discover that the session to which the uplink data packet sent by the first base station device 53 belongs is a new session and uses a default bearer (that is, a short session service), according to the packet header information of the uplink data packet. Generating a filtering rule for the short session service to which the uplink data packet belongs, and according to the identification information of the first base station device 53 carried in the uplink data packet, the session identifier to which the uplink data packet belongs and the current service for the user equipment The correspondence of a base station device 53 is stored in the user location database 56.
  • the filtering rule generating module of the gateway device 52 may specifically store the session identifier to which the uplink data packet belongs and the identification information of the first base station device 53 carried in the uplink data packet into the user location database 56.
  • the filtering rule generating module of the gateway device 52 may specifically use the destination address of the uplink data packet as the source address of the filtering rule, the source address of the uplink data packet as the destination address of the filtering rule, and the protocol type of the uplink data packet.
  • the type of protocol that acts as a filtering rule but is not limited to this way of generating filtering rules.
  • the filtering rule generating module of the gateway device 52 is further configured to: when the gateway device 52 receives the downlink data packet sent to the user equipment, identify, according to the generated filtering rule, the session identifier to which the downlink data packet belongs, according to the downlink
  • the session identifier to which the data packet belongs is queried by the user location database 56, from which the base station device (ie, the first base station device 53) corresponding to the session identifier to which the downlink data packet belongs is obtained as the target base station device.
  • the routing rule module of the gateway device 52 is mainly configured to receive the routing rule sent by the network controller 51, so as to use the routing rule to forward the downlink data packet to the gateway device 52 when receiving the downlink data packet sent to the user equipment.
  • the first base station device 53 is determined by the filtering rule generation module. The first base station device 53 forwards the downlink data packet to the user equipment.
  • the user equipment moves before the downlink data packet arrives, that is, the base station device where the user equipment is located changes during the transmission of the downlink data packet, for example, assuming the user The device moves from the first base station device 53 to the second base station device 54 before the downlink data packet arrives, and the first base station device 53 cannot directly send the downlink data packet to the user equipment.
  • the first mode is: when the base station device performs forwarding, that is, when the user equipment switches between the base station devices, the original base station device (ie, the first base station device 53) and the newly switched base station device (ie, the second base station device 54) are required. Performing signaling interaction, so the original base station device knows the base station device that the target user equipment newly cuts in. Therefore, when the downlink data packet of the user equipment arrives at the original base station device, the original base station device (ie, the first base station device 53) may The downlink data packet is forwarded to the newly switched base station device (i.e., the second base station device 54).
  • the method requires a path for transmitting service data between the original base station device and the newly-cut base station device, and a high forwarding processing complexity in a scenario in which multiple handovers occur.
  • the second mode is: the discarding trigger retransmission, that is, the original base station device (ie, the first base station device 53) can directly discard the downlink data packet of the user equipment, so that the user equipment finds that the downlink data packet does not arrive, and the new data packet passes the new timeout.
  • the cut-in base station device ie, the second base station device 54
  • re-initiates the service request to acquire the downlink data packet (the re-initiated service request includes the transport layer or the application layer retransmission request), so that the newly cut base station device sends the service request.
  • the gateway device finds that the filtering rule corresponding to the service request already exists, and then identifies the corresponding session, but the base station device that sends the service request changes, and the gateway device can perform the current location in the user location database 56.
  • the user equipment provides an update of the serving base station device, so that the downlink data packet can be sent to the newly cut base station device (ie, the second base station device 54), and the downlink data packet is forwarded by the newly cut base station device to the user equipment.
  • the thin dotted line with an arrow indicates the data interaction before the user equipment moves; the thick dotted line with the arrow indicates the data interaction after the user equipment moves.
  • FIG. 6 shows another architecture of an SDN according to the embodiment.
  • the SDN architecture is mainly used in a long session scenario.
  • the SDN includes: a network controller 61, a gateway device 62, a first base station device 63, a second base station device 64, other nodes 65, and a user location database 66.
  • the user equipment accesses the network from the first base station device 63, and initiates a session service between the gateway device 62 and the first base station device 63, and the session belongs to a long session.
  • the network controller 61 includes a routing rule module, and is mainly used to provide a routing rule to the gateway device 62, the first base station device 63, and the second base station device 64, the routing rule or the downlink data packet sent to the user equipment from the gateway device 62 to
  • the route of the first base station device 63 or the second base station device 64 may indicate the route of the uplink data packet sent by the user equipment from the first base station device 63 or the second base station device 64 to the gateway device 62.
  • the network controller 61 is specifically configured to send the routing rule between the gateway device 62 and the first base station device 63 and the second base station device 64 to the routing rule in advance.
  • the routing device 62, and the routing rules of the first base station device 63 and the second base station device 64 to the gateway device 62 are also pre-delivered to the first base station device 63 and the second base station device 64 in advance. Based on this, as shown in FIG. 6, the signaling interaction between the network controller 61 and the gateway device 62, the first base station device 63, and the two base station devices 64 is as shown by the solid line with an arrow in FIG.
  • the user location database 66 is mainly used to store the correspondence between the session identifier and the base station device.
  • the network controller 61 also includes a dedicated bearer module.
  • the dedicated bearer module of the network controller 61 is configured to: after learning that the session to which the downlink data packet addressed to the user equipment belongs is a new session and using the dedicated bearer (that is, the session is a long session), the session allocation to which the downlink data packet belongs is required.
  • the dedicated bearer generates a target filtering rule for the downlink data packet, and sends the target filtering rule to the gateway device 62 to enable the gateway device 62 to determine the session identifier to which the downlink data packet belongs according to the target filtering rule.
  • the dedicated bearer module of the network controller 61 can also be used to store the correspondence between the session identifier to which the downlink data packet belongs and the first base station device 63 currently serving the user equipment in the user location database 66, so that The gateway device 62 can determine the first base station device 63 currently serving the user equipment according to the session identifier querying the user location database 66 to which the determined downlink data packet belongs.
  • Gateway device 62 can include a determination module and a routing rules module.
  • the determining module of the gateway device 62 is configured to determine, according to the received packet header information of the downlink data packet sent to the user equipment, a target filtering rule for the downlink data packet, and further determine a session identifier to which the downlink data packet belongs, according to the The session identifier to which the downlink packet belongs, the query user location database 66 determines the first base station device 63 currently serving the user equipment.
  • the routing rule module of the gateway device 62 is mainly configured to receive the routing rule sent by the network controller 61, so as to use the routing rule to forward the downlink data packet to the first base station device 63 when receiving the downlink data packet sent to the user equipment. .
  • the network controller 61 may further include an update module, which is mainly used to update the correspondence between the session identifier to which the downlink data packet belongs in the user location database 66 and the base station device currently serving the user equipment according to the movement of the user equipment.
  • the update module of the network controller 61 updates the base station device currently serving the user equipment in the user location database 66 to the second base station device 64.
  • the gateway device 62 can determine the second base station device 64 from the user location database 66, and the routing rule module obtains the second base station device 64 from the network controller 61.
  • a routing rule using the routing rule to forward the downlink data packet to the second base station device 64.
  • the downlink data packet is further forwarded by the second base station device 64 to the user equipment.
  • the thin dotted line with an arrow indicates the data interaction before the user equipment moves; the thick dotted line with the arrow indicates the data interaction after the user equipment moves.
  • the dedicated bearer module of the network controller 61 learns that the session to which the downlink data packet addressed to the user equipment belongs is a new session and uses a dedicated bearer, including but not limited to the following:
  • the first type When the user equipment needs to establish a dedicated bearer, it sends a dedicated bearer session request to the network controller 61, so that the dedicated bearer module of the network controller 61 knows that the user equipment needs to establish a dedicated bearer.
  • the SDN can also include deep packet inspection (Deep Packet).
  • Deep Packet deep packet inspection
  • the device 67 determines, by the DPI device 67, whether the session initiated by the user equipment needs to establish a dedicated bearer, and notifies the network controller 61 of the determination result.
  • a service type that needs to establish a dedicated bearer such as a video over IP protocol (VOIP), etc.
  • VOIP video over IP protocol
  • the dedicated bearer may be determined when the DPI device 67 recognizes that the session initiated by the user equipment is a VOIP service.
  • the dedicated bearer notifies the network controller 61.
  • the DPI device 67 may be deployed on the gateway device 62, the first base station device 63, or the second base station device 64, or may be deployed independently.
  • the gateway device may use the source routing technology to send the downlink data packet to the target base station device according to the target routing rule.
  • Source routing refers to the partial or complete routing of data nodes at the sending node. The source routing is generally used internally by the nodes that trust each other. There are two types of source routes, strict source routing and loose source routing. Strict source routing means that packets must pass through each node on the specified path, and no intermediate nodes are allowed between adjacent nodes. The order of nodes is not allowed to change. Loose source routing does not have these limitations. In the embodiment of the present invention, strict source routing or loose source routing may be adopted.
  • the routing rule of the source route can be a simple series of port numbers, for example, 21815 I 2 I combination.
  • the first node adds the routing rule, that is, 21815
  • the first node to the packet will perform forwarding according to the first route indication 2 in the routing rule, and will remove the first route indication to delete, and obtain the remaining routing rule, that is, the combination of 4 I 5 I 2 I.
  • the first node that receives the data packet will be executed according to the first route indication 2, which means that the data packet is forwarded from the port 2 of the node, and the next hop node connected by the port 2 is determined. Therefore, strict data path forwarding is achieved.
  • the next node that also receives the data packet will also be forwarded according to the first route indication, and the first route indication will be deleted from the packet header, so that the forwarding path of the data packet can be strictly executed, and the sending node does not need to Send routing rules to each node.
  • the process of using the source routing technology by the gateway device is as follows:
  • the gateway device may add the target routing rule to the downlink data packet, and then send the downlink data packet carrying the target routing rule. Going out, the downlink data packet is sent to the target base station device.
  • the gateway device in this embodiment can effectively reduce the signaling interaction between the gateway device and the nodes on the transmission path due to the transmission routing rule, which is equivalent to the gateway device only needs to interact with the base station device, and can further Improve the communication efficiency of the entire SDN.
  • FIG. 8 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • the network device is located in the SDN, and the network device is the first edge node.
  • the network device includes: a receiving module 81, a determining module 82, a routing rule module 83, and a sending module 84.
  • the receiving module 81 is configured to receive a data packet that needs to be transmitted.
  • the determining module 82 is configured to determine a target edge node, where the target edge node refers to a second edge node in the SDN that needs to pass during the process of transmitting the data packet received by the receiving module 81.
  • the routing rule module 83 is connected to the determining module 82, and is configured to obtain a target routing rule from the network controller in the SDN according to the target edge node determined by the determining module 82, where the target routing rule is determined by the first edge node to the determining module 82.
  • the routing rules for the target edge node is connected to the determining module 82, and is configured to obtain a target routing rule from the network controller in the SDN according to the target edge node determined by the determining module 82, where the target routing rule is determined by the first edge node to the determining module 82.
  • the routing rules for the target edge node is connected to the determining module 82, and is configured to obtain a target routing rule from the network controller in the SDN according to the target edge node determined by the determining module 82, where the target routing rule is determined by the first edge node to the determining module 82. The routing rules for the target edge node.
  • the sending module 84 is connected to the receiving module 81 and the routing rule module 83, and configured to send the data packet received by the receiving module 81 to the target edge node according to the target routing rule acquired by the routing rule module 83, so that the target edge node completes the data. The transmission of the package.
  • the first edge node may be a gateway device, and the data packet received by the receiving module 81 may be a downlink data packet sent to the user equipment, and the second edge node may be a base station device.
  • the first edge node may be a base station device, and the second edge node may be a gateway device, and the data packet received by the receiving module 81 may be an uplink data packet sent by the user equipment.
  • the network controller may pre-deliver the routing information to the first edge node, where the routing information includes a routing rule of the first edge node and each second edge node in the SDN.
  • the routing rule module 83 is specifically configured to obtain a target routing rule from the routing information pre-sent by the network controller.
  • the network controller may also not send the routing information to the first edge node, but return the target routing rule I" to the first edge node according to the real-time request of the first edge node.
  • the routing rule module 83 is specifically configured to: after receiving the data packet, the receiving module 81 sends a request message requesting the target routing rule to the network controller, and receives a target routing rule sent by the network controller according to the request message.
  • the request message may include an identification of the target edge node for the network controller to determine, by the first edge node, which routing rule to which the second edge node is to be obtained.
  • the determining module 82 is specifically configured to determine a session identifier to which the downlink data packet belongs, according to the downlink data packet to which the downlink data packet belongs.
  • the session identifier is used to query the correspondence between the session identifier and the base station device, thereby determining the target base station device.
  • the target base station device refers to a base station device corresponding to the session identifier to which the downlink data packet belongs.
  • a user location database is set in the SDN, and the user location database is used to store a correspondence between the session identifier and the base station device.
  • one session identifier may correspond to one session, and may also correspond to multiple sessions.
  • the field applicable to the session aggregation is further optional. If the session to which the downlink data packet received by the receiving module 81 belongs uses the default bearer (ie, a short session), the first session may be performed.
  • the edge node itself generates a filtering rule for the downstream data packet. Specifically, before receiving the downlink data packet, the receiving module 81 is further configured to receive the uplink data packet corresponding to the downlink data packet. Based on this, as shown in FIG. 9, the network device further includes: a filtering rule generating module 85.
  • the filtering rule generating module 85 is connected to the determining module 82 and configured to provide the determining module 82 with the target filtering rule.
  • the filtering rule generating module 85 is configured to: when identifying that the session to which the uplink data packet received by the receiving module 81 belongs is a new session and using the default bearer, locally generate a target filtering rule for the downlink data packet according to the uplink data packet. And generating a correspondence between the session identifier to which the uplink data packet belongs and the base station device currently serving the user equipment.
  • the downlink data packet and the uplink data packet corresponding to the downlink data packet belong to the same session, so the session identifiers belong to the same.
  • the filtering rule for the downlink data packet can be generated by the network controller and sent to the first edge node.
  • the receiving module 81 is further configured to receive the target filtering rule sent by the network controller, and store the target filtering rule locally, and receive the session identifier to which the downlink data packet sent by the network controller belongs and the current service provided for the user equipment. Correspondence between base station devices.
  • the target filtering rule is that the network controller generates the downlink data packet after learning that the session to which the downlink data packet belongs is a new session and using a dedicated bearer.
  • the determining module 82 is configured to determine the session identifier to which the downlink data packet belongs, and the determining module 82 is specifically configured to determine, according to the target filtering rule for the downlink data packet, the session identifier to which the downlink data packet belongs.
  • the target filtering rule for the downlink data packet is generated by the first edge node (ie, the gateway device)
  • the target filtering rule for the downlink data packet is the network. The controller generates and delivers it to the gateway device.
  • the network device provided in this embodiment is based on the description of the foregoing system embodiment, and is not described here.
  • the network device provided in this embodiment can be used as the first edge node in the SDN, and after receiving the data packet to be transmitted, determine the target edge node that needs to pass the transmission of the data packet from the second edge node in the SDN, and then The network controller acquires a target routing rule from the first edge node to the target edge node, and sends the data packet to the target edge node by using the routing rule, so that the target edge node completes the transmission of the data packet.
  • the first edge node determines, from the second edge node, the target edge node that needs to pass the data packet in the data transmission process, and can adapt to the situation that the target edge node changes due to the mobility of the user equipment, so that
  • the network controller is only responsible for the routing rules of the first edge node to the target edge node, and does not need to adjust the routing rule to the first edge node to the target edge node in real time due to the change of the location of the user equipment, thereby effectively reducing the network controller.
  • the processing burden optimizes the signaling interaction between the control plane and the user plane, which improves the communication efficiency of the SDN.
  • FIG. 10 is a schematic structural diagram of still another network device according to an embodiment of the present invention.
  • the network device is located in the SDN, and the network device is a first edge node.
  • the network device includes: a receiver 1001, a processor 1002, a memory 1003, and a transmitter 1004.
  • the receiver 1001 is configured to receive a data packet that needs to be transmitted.
  • the memory 1003 may include a read only memory and a random access memory, and is directed to the processor 1002. Provide instructions and data. A portion of the memory 1003 may also include non-volatile random access memory (NVRAM)
  • NVRAM non-volatile random access memory
  • the memory 1003 stores the following elements, executable modules or data structures, or a subset thereof, or their extended set:
  • Operation instructions Includes various operation instructions for implementing various operations.
  • Operating System Includes a variety of system programs for implementing basic services and handling hardware-based tasks.
  • the processor 1002 performs the following operations by calling an operation instruction stored in the memory 1003 (the operation instruction can be stored in the operating system):
  • the target routing rule refers to a routing rule from the first edge node to the target edge node.
  • the transmitter 1004 is configured to send, according to the target routing rule acquired by the processor 1002, the data packet received by the receiver 1001 to the target edge node, so that the target edge node completes the transmission of the data packet.
  • the processor 1002 can control the operation of the first edge node in this embodiment, and the processor 1002 can also be referred to as a CPU.
  • Memory 1003 can include read only memory and random access memory and provides instructions and data to processor 1002.
  • a portion of the memory 1003 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the components of the base station device in this embodiment are coupled together by a bus system 1005.
  • the bus system 1005 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 1005 in the figure.
  • the method disclosed in the foregoing embodiments of the present invention may be applied to the processor 1002 or implemented by the processor 1002.
  • the processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1002 or an instruction in a form of software.
  • the processor 1002 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor. Or the completion of the combination of hardware and software modules in the decoding processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 1003.
  • the processor 1002 reads the information in the memory 1003 and completes the steps of the above method in combination with hardware.
  • the first edge node may be a gateway device, and the data packet received by the receiver 1001 may be a downlink data packet sent to the user equipment, and the second edge node may be a base station device.
  • the first edge node may be a base station device, and the second edge node may be a gateway device, and the data packet received by the receiver 1001 may be an uplink data packet sent by the user equipment.
  • the network controller may pre-deliver the routing information to the first edge node, where the routing information includes routing rules of the first edge node and each second edge node in the SDN.
  • the receiver 1001 is further configured to receive routing information pre-transmitted by the network controller.
  • the processor 1002 is specifically configured to obtain a target routing rule from the routing information pre-transmitted by the network controller.
  • the network controller may also not send the routing information to the first edge node, but return the target routing rule lj to the first edge node according to the real-time request of the first edge node.
  • the processor 1002 is specifically configured to: after the receiver 1001 receives the data packet, send a request message requesting the target routing rule to the network controller by using the transmitter 1004, and receive, by the receiver 1001, the network controller sends the request message according to the request message.
  • Target routing rules the transmitter 1004 is further configured to send a request message requesting a target routing rule to the network controller, where the receiver 1001 is further configured to receive a target routing rule sent by the network controller according to the request message.
  • the request message may include an identifier of the target edge node for the network controller to determine, by the first edge node, which routing rule to which the second edge node is to be obtained.
  • the processor 1002 is specifically configured to determine a session identifier to which the downlink data packet belongs, according to the downlink data packet to which the downlink data packet belongs.
  • the session identifier is used to query the correspondence between the session identifier and the base station device, thereby determining the target base station device.
  • the target base station device refers to a base station device corresponding to the session identifier to which the downlink data packet belongs.
  • a user location database is set in the SDN, and the user location database is used to store a correspondence between the session identifier and the base station device.
  • one session identifier may correspond to one session, or may be Should be multiple sessions.
  • the field applicable to the session aggregation is further optional. If the session to which the downlink packet received by the receiver 1001 belongs to the default bearer (ie, a short session), the first session may be used.
  • the edge node itself generates a filtering rule for the downstream data packet. Specifically, the receiver 1001 may further receive an uplink data packet corresponding to the downlink data packet before receiving the downlink data packet.
  • the processor 1002 is further configured to generate, locally, for the uplink, according to the header information of the uplink data packet, when the session to which the uplink data packet received by the receiver 1001 belongs is a new session and the default bearer is used.
  • the target filtering rule of the data packet, and the correspondence between the session identifier to which the uplink data packet belongs and the base station device currently serving the user equipment is generated.
  • the downlink data packet and the uplink data packet corresponding to the downlink data packet belong to the same session, so the session identifier to which it belongs is also the same.
  • the filtering rule for the downlink data packet may be generated by the network controller and sent to the first edge node.
  • the receiver 1001 is further configured to receive the target filtering rule sent by the network controller, and store the target filtering rule locally, and receive the session identifier to which the downlink data packet sent by the network controller belongs and the current service provided for the user equipment. Correspondence between base station devices.
  • the target filtering rule is that the network controller generates the downlink data packet after learning that the session to which the downlink data packet belongs is a new session and using a dedicated bearer.
  • the processor 1002 is configured to determine the session identifier to which the downlink data packet belongs, and the processor 1002 is specifically configured to determine, according to the target filtering rule for the downlink data packet, the session identifier to which the downlink data packet belongs.
  • the target filtering rule for the downlink data packet is generated by the first edge node (ie, the gateway device)
  • the target filtering rule for the downlink data packet is the network.
  • the controller generates and delivers it to the gateway device.
  • the network device provided in this embodiment can be used as the first edge node in the SDN, and after receiving the data packet to be transmitted, determine the target edge node that needs to pass the transmission of the data packet from the second edge node in the SDN, and then The network controller acquires a target routing rule from the first edge node to the target edge node, and sends the data packet to the target edge node by using the routing rule to make the target edge section Click to complete the transfer of the packet.
  • the network device determines the target edge node that needs to pass the data packet from the second edge node in the data transmission process, and can adapt to the situation that the target edge node changes due to the mobility of the user equipment, so that the network control
  • the device is only responsible for the routing rules of the first edge node to the target edge node, and does not need to adjust the routing rule to the first edge node to the target edge node in real time due to the change of the location of the user equipment, thereby effectively reducing the processing load of the network controller.
  • the signaling interaction between the control plane and the user plane is optimized, and the communication efficiency of the SDN is improved.
  • FIG. 11 is a schematic structural diagram of a network controller according to an embodiment of the present invention.
  • the network controller is located in the SDN.
  • the network controller includes: a routing rule module 1101 and a sending module 1102.
  • the routing rule module 1101 is configured to configure routing information for the first edge node in the SDN, where the routing information includes a routing rule from the first edge node to each second edge node in the SDN.
  • the sending module 1102 is connected to the routing rule module 1101, and is configured to send the routing information configured by the routing rule module 1101 to the first edge node, so that the first edge node determines, according to the routing information, the received data packet to be transmitted.
  • the target routing rule to the target edge node, which is the second edge node that needs to pass during the transmission of the data packet.
  • the first edge node may be a gateway device, and the data packet received by the first edge node may be a downlink data packet sent to the user equipment, and the second edge node may be a base station device.
  • the first edge node may be a base station device, and the second edge node may be a gateway device, and the data packet received by the first edge node may be an uplink data packet sent by the user equipment.
  • the network controller further includes: a dedicated bearer module 1103.
  • the dedicated bearer module 1103 is configured to: after learning that the session to which the downlink data packet belongs is a new session and using the dedicated bearer, generate a target filtering rule for the downlink data packet, generate a session identifier to which the downlink data packet belongs, and currently provide a service for the user equipment. Correspondence between base station devices.
  • the sending module 1102 is further connected to the dedicated bearer module 1103, and configured to send the target filtering rule generated by the dedicated bearer module 1103 to the gateway device, so that the gateway device determines the session identifier to which the downlink data packet belongs according to the target filtering rule, and The session identifier to which the downlink packet belongs and The correspondence between the base station devices currently serving the user equipment is sent to the gateway device, so that the gateway device determines the target base station device.
  • the network controller further includes: an update module 1104.
  • the update module 1104 is configured to update, according to the movement of the user equipment, a correspondence between a session identifier to which the downlink data packet belongs and a base station device that currently serves the user equipment.
  • the network controller provided in this embodiment is based on the description of the foregoing system embodiment, and is not described here.
  • the network controller provided in this embodiment only needs to be responsible for the routing rule of the first edge node to the target edge node, and does not need to adjust the routing rule to the first edge node to the target edge node in real time due to the change of the location of the user equipment, and the processing thereof
  • the burden is lighter, which is beneficial to optimize the signaling interaction between the control plane and the user plane, and improve the communication efficiency of the SDN.
  • FIG. 13 is a schematic structural diagram of still another network controller according to an embodiment of the present invention.
  • the network controller is located at the SDN.
  • the network controller includes: a processor 1301, a memory 1302, and a transmitter 1303.
  • Memory 1302 can include read only memory and random access memory and provides instructions and data to processor 1301. A portion of memory 1302 may also include non-volatile random access memory (NVRAM)
  • NVRAM non-volatile random access memory
  • Memory 1302 stores the following elements, executable modules or data structures, or subsets thereof, or their extended sets:
  • Operation instructions Includes various operation instructions for implementing various operations.
  • Operating System Includes a variety of system programs for implementing basic services and handling hardware-based tasks.
  • the processor 1301 performs the following operations by calling an operation instruction stored in the memory 1302 (the operation instruction can be stored in the operating system):
  • Routing information is configured for the first edge node in the SDN, the routing information including routing rules from the first edge node to each second edge node in the SDN.
  • the transmitter 1303 is configured to send the routing information configured by the processor 1301 to the first edge node, so that the first edge node determines the target routing rule to the target edge node based on the routing information when receiving the data packet that needs to be transmitted.
  • the target edge node is a second edge node that needs to pass during the transmission of the data packet.
  • the processor 1301 can control the operation of the network controller of this embodiment, and the processor 1301 can also be referred to as a CPU.
  • Memory 1302 can include read only memory and random access memory and provides instructions and data to processor 1301. A portion of the memory 1302 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the components of the network controller of the embodiment are coupled together by a bus system 1305.
  • the bus system 1305 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as the bus system 1305 in
  • the method disclosed in the above embodiments of the present invention may be applied to the processor 1301 or implemented by the processor 1301.
  • the processor 1301 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1301 or an instruction in the form of software.
  • the processor 1301 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software modules can be located in conventional memory, such as random memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 1302, and the processor 1301 reads the information in the memory 1302 and performs the steps of the above method in combination with its hardware.
  • the first edge node may be a gateway device, and the data packet received by the first edge node may be a downlink data packet sent to the user equipment, and the second edge node may be a base station device.
  • the first edge node may be a base station device, and the second edge node may be a gateway device, and the data packet received by the first edge node may be an uplink data packet sent by the user equipment.
  • the processor 1301 may be further configured to: after learning that the session to which the downlink data packet belongs is a new session and using a dedicated bearer A target filtering rule for the downlink data packet, and a correspondence between the session identifier to which the downlink data packet belongs and the base station device currently serving the user equipment.
  • the transmitter 1303 is further configured to send the target filtering rule generated by the processor 1301 to the gateway device, so that the gateway device determines, according to the target filtering rule, the session identifier to which the downlink data packet belongs, and the session identifier to which the downlink data packet belongs.
  • the gateway device determines the target base station device.
  • the processor 1301 is further configured to update, according to the movement of the user equipment, a correspondence between a session to which the downlink data packet belongs in the user location database and a base station device currently serving the user equipment.
  • the network controller further includes: a receiver 1304.
  • Receiver 1304 cooperates with transmitter 1303 to enable communication between the network controller and other devices.
  • the network controller provided in this embodiment only needs to be responsible for the routing rule of the first edge node to the target edge node, and does not need to adjust the routing rule to the first edge node to the target edge node in real time due to the change of the location of the user equipment, and the processing thereof
  • the burden is lighter, which is beneficial to optimize the signaling interaction between the control plane and the user plane, and improve the communication efficiency of the SDN.
  • FIG. 14 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in Figure 14, the method includes:
  • the first edge node in the SDN receives the data packet that needs to be transmitted.
  • the first edge node determines a target edge node, where the target edge node refers to a second edge node that needs to pass during the transmission of the foregoing data packet.
  • the first edge node acquires a target routing rule from the network controller according to the target edge node, where the target routing rule refers to a routing rule of the first edge node to the target edge node.
  • the first edge node sends the foregoing data packet to the target edge node according to the foregoing target routing rule, so that the target edge node completes the transmission of the foregoing data packet.
  • the first edge node may be one or more; the second edge node may also be one or more.
  • the target edge node is one of the second edge nodes.
  • the network controller is a control plane device of the SDN, and is responsible for controlling the SDN, and is mainly used to predetermine and store a routing rule of any one of the first edge nodes to any one of the second edge nodes, and is first The edge node provides the required target routing rules.
  • the first edge node After receiving the data packet to be transmitted, the first edge node determines, from the second edge node, a target edge node that needs to pass the data packet, and then obtains a target routing rule of the target edge node from the network controller, and uses the route The rule sends the packet to the target edge node, making the target The edge node completes the transmission of the packet.
  • the first edge node may be a gateway device, and the second edge node may be a base station device, and the data packet received by the first edge node may be a downlink data packet sent to the user equipment.
  • the first edge node may be a base station device, and the second edge node may be a gateway device, and the data packet received by the first edge node may be an uplink data packet sent by the user equipment.
  • the foregoing gateway device may be a PDN-GW, a GGSN, or an S-GW.
  • the network controller may send routing information to the first edge node in advance, where the routing information includes a routing rule lj of the first edge node and each second edge node in the SDN. Based on this, step 1403 may include: the first edge node acquiring the target routing rule from the routing information pre-transmitted by the network controller.
  • the network controller may not send the routing information to the first edge node in advance, but return the target routing rule I" to the first edge node according to the real-time request of the first edge node.
  • step 1403 may include: after receiving the data packet, the first edge node sends a request message requesting the target routing rule to the network controller; the network controller receives the request message sent by the first edge node, and according to the request message Returning the target routing rule to the first edge node; the first edge node receives the target routing rule sent by the network controller according to the request message.
  • the request message may include an identifier of the target edge node for the network controller to determine, by the first edge node, which routing rule to which the second edge node is to be obtained.
  • an implementation manner of step 1402 includes: the gateway device determines a session identifier to which the downlink data packet belongs; and queries according to the session identifier to which the downlink data packet belongs The correspondence between the session identifier and the base station device determines the target base station device.
  • some sessions require QoS guarantees and have a long duration. Such sessions are long sessions; others are in the web browsing service of one of the mainstream services. A large number of sessions are generated for a relatively short duration, and such sessions are short sessions.
  • a long session generally needs to establish a dedicated bearer to carry, and because the duration is long, the probability of the user equipment moving during this period is high, so the long session requires high mobility; the short session does not need to establish a dedicated bearer, and can bear On the default bearer, at the same time due to persistence The time is short, the probability of the user equipment moving is small. Even if the user equipment moves, the user equipment re-initiates the service request at the transport layer or the application layer, which has little impact on the user experience. Therefore, the short session requires mobility. Also lower.
  • the network controller can update the correspondence between the session identifier and the base station device in real time according to the mobile device's mobile device to ensure the mobility requirements of these long sessions.
  • the network controller may not participate in the update of the correspondence between the session identifier and the base station device, but the gateway device processes the short session service by itself, thereby reducing the burden on the network controller.
  • the method provided in this embodiment may further include: the gateway device receiving the uplink data packet corresponding to the downlink data packet before receiving the downlink data packet sent to the user equipment. And identifying that the session to which the uplink data packet belongs is a new session and using the default bearer, generating a target filtering rule for the downlink data packet according to the uplink data packet, and generating a session identifier to which the uplink data packet belongs Correspondence between base station devices currently serving user equipment.
  • the method provided in this embodiment may further include: the gateway device receiving the target filtering rule for the downlink data packet sent by the network controller, and storing the target filtering rule. Locally, and receiving a correspondence between the session identifier to which the downlink data packet sent by the network controller belongs and the base station device currently serving the user equipment; wherein, the target filtering rule is that the network controller knows the session to which the downlink data packet belongs It is a new session and is generated for downstream packets after using a dedicated bearer.
  • the process for the gateway device to determine the session identifier to which the downlink data packet belongs may include: the gateway device determines, according to the target filtering rule for the downlink data packet, the session identifier to which the downlink data packet belongs.
  • the target filtering rule is generated by the gateway device itself, and in the long session scenario, the target filtering rule is generated by the network controller and sent to the gateway device.
  • the gateway device is specifically configured to perform a matching in a locally stored filtering rule according to the packet header information of the downlink data packet, obtain a target filtering rule for the downlink data packet, and determine, according to the target filtering rule, a session identifier to which the downlink data packet belongs.
  • the filtering rule is generally generated according to the packet header information of the data packet.
  • Header information of the downlink packet It mainly includes the header information of various protocol stacks included in the data packet, such as a MAC protocol header and an IP protocol header information, and further includes information such as a source address, a destination address, and a protocol type in the IP protocol header information.
  • the first edge node determines, from the second edge node, a target edge node that needs to pass the data packet, and may adapt to the change of the target edge node caused by the mobility of the user equipment.
  • the network controller is only responsible for the routing rules of the first edge node to the target edge node, and does not need to adjust the routing rule to the first edge node to the target edge node in real time due to the change of the location of the user equipment, thereby effectively reducing network control.
  • the processing load of the device optimizes the signaling interaction between the control plane and the user plane, and improves the communication efficiency of the SDN.
  • FIG. 15 is a flowchart of a transmission control method according to an embodiment of the present invention. As shown in Figure 15, the method includes:
  • the network controller in the SDN configures routing information for the first edge node in the SDN, where the routing information includes a routing rule of the first edge node to each second edge node in the SDN.
  • the network controller sends the routing information to the first edge node, so that the first edge node determines, according to the routing information, a target routing rule to the target edge node when the received data packet needs to be transmitted, where the target edge node is The second edge node that needs to pass during the transmission of the above data packet.
  • the network controller predetermines and saves a routing rule between any one of the first edge node and any one of the second edge nodes, and preliminarily identifies a first edge node and any one of the second edge nodes.
  • the routing rule is sent to the first edge node, so that the first edge node obtains the target routing rule between the first edge node and the target edge node when receiving the data packet to be forwarded and determining the target edge node. And sending the data packet to the target edge node based on the target routing rule.
  • the first edge node may be a gateway device, and the second edge node may be a base station device, and the data packet received by the first edge node may be a downlink data packet sent to the user equipment.
  • the first edge node may be a base station device, and the second edge node may be a gateway device, and the data packet received by the first edge node may be an uplink data packet sent by the user equipment.
  • the foregoing gateway device may be a PDN-GW, a GGSN, or an S-GW.
  • the network controller predetermines and saves a routing rule between any one of the gateway devices and any one of the base station devices, and sends a routing rule between any one of the gateway devices and any one of the base station devices to the gateway.
  • the device and the base station device so that the gateway device acquires a routing rule between the gateway device and the target base station device when receiving the data packet that needs to be forwarded and determines the target base station device, or, in order to facilitate the base station device to receive the forwarding
  • the data packet and the routing rule between the base station device and the target gateway device are obtained when the target gateway device is determined.
  • the network controller may send the corresponding routing rule to the gateway device and the base station device in the form of a routing table.
  • the network controller can perform mobility management only for long sessions. Specifically, after learning that the session to which the downlink data packet received by the gateway device belongs is a new session and using a dedicated bearer (ie, a long session), the network controller generates a target filtering rule for the downlink data packet, and generates the downlink data packet.
  • a dedicated bearer ie, a long session
  • the gateway device determines, according to the target filtering rule for the downlink data packet, the session identifier to which the downlink data packet belongs, and further determines the correspondence between the session identifier and the base station device based on the session identifier to which the downlink data packet belongs.
  • the base station device corresponding to the session identifier to which the downlink data packet belongs is the target base station device.
  • the network controller may further update a correspondence between the session identifier to which the downlink data packet belongs and the base station device that is currently serving the user equipment according to the movement of the user equipment, so as to ensure that the target base station device determined by the gateway device is current.
  • a base station device that provides services for user equipment to ensure correct forwarding of data packets.
  • the network controller only needs to be responsible for the routing rule of the first edge node to the target edge node, and does not need to adjust the routing rule from the first edge node to the target edge node in real time due to the change of the location of the user equipment.
  • the processing burden is relatively light, which is beneficial to optimize the signaling interaction between the control plane and the user plane, and improve the communication efficiency of the SDN.
  • FIG. 16 is a flowchart of another data transmission method according to an embodiment of the present invention.
  • the first edge node is a gateway device
  • the second edge node is a base station device.
  • the method includes:
  • the network controller predetermines a routing rule between any one of the gateway devices and any one of the base station devices.
  • the network controller sends routing information to the gateway device and the base station device, where the routing information sent to the gateway device includes a routing rule between the gateway device and each base station device, and the routing information sent to the base station device includes the base station device and Routing rules between each gateway device.
  • the network controller may also return a routing rule to the gateway device and the base station device according to the request message sent by the gateway device or the base station device in real time.
  • the user equipment initiates a dedicated bearer session request to the network controller.
  • the network controller allocates a dedicated bearer for the user equipment, generates a target filtering rule for the downlink data packet of the user equipment, and generates a session identifier to which the downlink data packet of the user equipment belongs and a current service for the user equipment. Correspondence between base station devices.
  • the network controller can decide to allocate a dedicated bearer to the user device based on the user information and the current state of the network.
  • the network controller sends the target filtering rule of the downlink data packet of the user equipment to the gateway device, and the session identifier of the downlink data packet of the user equipment belongs to the base station device that is currently serving the user equipment. The correspondence between the two is sent to the gateway device.
  • the gateway device receives a downlink data packet sent to the user equipment.
  • the network controller updates the correspondence between the session identifier to which the downlink data packet of the user equipment belongs and the base station device that is currently serving the user equipment according to the movement of the user equipment.
  • the gateway device queries a correspondence between the session identifier and the base station device, so as to determine a base station device corresponding to the session identifier to which the downlink data packet belongs, as the target base station device, where the target base station device is Refers to the base station equipment that needs to pass during the transmission of the above downlink data packet.
  • the target base station device determined by the gateway device is different from the base station device that previously served the user equipment.
  • the base station device in FIG. 16 refers to the original base station device that provides services for the user equipment before the user equipment moves, and the destination in FIG.
  • the base station device refers to a base station device that provides services for the user equipment after the user equipment moves.
  • the gateway device obtains a target routing rule according to the routing information pre-delivered by the target base station device from the network controller, where the target routing rule is a routing rule of the gateway device to the target base station device.
  • the gateway device sends the downlink data packet to the target base station device according to the foregoing target routing rule, so that the target base station device completes the transmission of the downlink data packet.
  • the target base station device sends the downlink data packet to the user equipment.
  • the method provided in this embodiment is particularly applicable to a long session scenario, but is not limited thereto.
  • the location of the base station device and the gateway device in the network topology is unchanged, and therefore, the network topology connecting the base station device and the gateway device is also relatively stable. Based on this, the routing rule between any gateway device and any base station device saved by the network controller in the SDN is relatively static, and the routing rule between the gateway device and the base station device does not need to be adjusted in real time due to the change of the user location.
  • the network controller Effectively reducing the processing load of the network controller, and the network controller does not need to frequently provide routing rules to the gateway device or the base station device, thereby facilitating mitigation of the control plane device (ie, the network controller) and the user plane device (the gateway device or the base station)
  • the signaling interaction between the devices is beneficial to improve the communication efficiency of the entire SDN.
  • the location information of the user equipment in the SDN may be dynamic.
  • the network controller updates the correspondence between the identifier of the session initiated by the user equipment and the base station device where the user equipment is currently located.
  • the gateway device uses the current location information of the user equipment (the current base station device) to perform routing, which effectively ensures data transmission during the user's movement.
  • FIG. 17 is a flowchart of still another data transmission method according to an embodiment of the present invention.
  • the first edge node is a gateway device and the second edge node is a base station device.
  • the method includes:
  • the network controller determines a routing rule between any one of the gateway devices and any one of the base station devices.
  • the network controller sends routing information to the gateway device and the base station device, where the routing information sent to the gateway device includes a routing rule between the gateway device and each base station device, and the routing information sent to the base station device includes the base station device and Routing rules between each gateway device.
  • the network controller may send the routing information to the gateway device and the base station device in advance, and may also send the request message to the gateway device according to the real-time request sent by the gateway device or the base station device.
  • the base station device returns a routing rule.
  • the first base station device receives an uplink data packet sent by the user equipment to the gateway device.
  • the uplink packet here may be a service request, but is not limited thereto.
  • the first base station device determines, according to the routing information that is sent by the network controller, the target routing rule to the gateway device, and sends the uplink data packet to the gateway device according to the target routing rule, and carries the first base station device in the uplink data packet. Identification information.
  • the gateway device After receiving the uplink data packet, the gateway device identifies that the session to which the uplink data packet belongs is a new session and uses a default bearer, and locally generates a filtering rule for the downlink data packet corresponding to the uplink data packet, and according to the The identifier information of the first base station device carried in the uplink data packet generates a correspondence between the session identifier to which the uplink data packet belongs and the first base station device, and is stored locally.
  • the gateway device forwards the uplink data packet.
  • the gateway device receives a downlink data packet sent to the user equipment.
  • the gateway device queries, according to the session identifier of the downlink data packet, the correspondence between the session identifier to which the previously stored uplink data packet belongs and the first base station device, and determines the target base station device that needs to pass the downlink data packet, that is, the first Base station equipment.
  • the gateway device determines, according to the routing information pre-delivered by the network controller, a target routing rule to the first base station device.
  • the gateway device sends the downlink data packet to the first base station device according to the determined target routing rule to the first base station device.
  • step 1710 may be performed; if the user equipment moves in the process, for example, moving from the first base station device to the second base station device Then, steps 1711 and 1712 can be performed, or step 1713 - step 1717 can be performed.
  • the first base station device forwards the downlink data packet to the user equipment.
  • the first base station device forwards the downlink data packet to the second base station device, so that the second base station device forwards the downlink data packet to the user equipment.
  • the second base station device sends the downlink data packet to the user equipment.
  • the first base station device discards the downlink data packet.
  • the user equipment retransmits the uplink data packet to the gateway device by using the second base station device, where the uplink data packet may be a service request, where the uplink data packet carries the identifier information of the second base station device.
  • the gateway device After receiving the uplink data packet, the gateway device identifies that the uplink data packet belongs to an existing session, but the base station device corresponding to the session identifier to which the uplink data packet belongs changes, and then the uplink data is changed.
  • the base station device corresponding to the session identifier to which the packet belongs is updated by the first base station device to the second base station device.
  • the gateway device sends the downlink data packet to the second base station device according to the correspondence between the updated session identifier and the base station device.
  • the second base station device sends the downlink data packet to the user equipment.
  • the method provided in this embodiment is particularly applicable to a short session scenario, but is not limited thereto.
  • the location of the base station device and the gateway device in the network topology is unchanged, and therefore, the network topology connecting the base station device and the gateway device is also relatively stable. Based on this, the routing rule between any gateway device and any base station device saved by the network controller in the SDN is relatively static, and the routing rule between the gateway device and the base station device does not need to be adjusted in real time due to the change of the user location.
  • the network controller Effectively reducing the processing load of the network controller, and the network controller does not need to frequently provide routing rules to the gateway device or the base station device, thereby facilitating mitigation of the control plane device (ie, the network controller) and the user plane device (the gateway device or the base station)
  • the signaling interaction between the devices is beneficial to improve the communication efficiency of the entire SDN.
  • the network controller in the SDN does not need to update the correspondence between the identifier of the session initiated by the user equipment and the base station device where the user equipment is currently located, which can further reduce the processing load of the network controller.
  • the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

本发明实施例提供一种数据传输方法、传输控制方法及设备。一种SDN包括:网络控制器、第一边缘节点和至少一个第二边缘节点;网络控制器向第一边缘节点提供目标路由规则,第一边缘节点接收需要传输的数据包,确定目标边缘节点,根据目标边缘节点从网络控制器获取目标路由规则,并根据目标路由规则,将数据包发送到目标边缘节点;至少一个第二边缘节点在作为目标边缘节点时,接收第一边缘节点发送的数据包,完成数据包的传输。本发明技术方案可以提高SDN的通信效率。

Description

数据传输方法、 传输控制方法及设备
技术领域
本发明实施例涉及通信技术, 尤其涉及一种数据传输方法、 传输控制方 法及设备。 背景技术
软件定义网络 ( Software Defined Network, 简称为 SDN) 是一种新型 网络创新架构, 目的是实现网络的可编程, 为网络及应用的创新提供良好的 平台, 其本质是将网络的控制从物理设备中分离出来, 并聚合形成控制中枢, 物理设备只剩策略执行和简单的数据转发功能。 当前的 SDN方案是将网络中 的功能网元, 主要是交换机、 路由器等设备的控制面剥离出来使其作为用户 面设备实现, 并集中部署分离的控制面设备, 即网络控制器。
集中控制是 SDN的一个优势, 但也会带来问题和挑战。 如果用户面设备 不断的需要网络控制器做出决策, 那么用户面设备和网络控制器之间将会产 生大量的信令, 大量信令开销将极大的降低整体网络的通信效率。 发明内容
本发明实施例提供一种数据传输方法、 传输控制方法及设备, 用以提高
SDN的通信效率。
第一方面提供一种软件定义网络 SDN, 包括: 网络控制器、 第一边缘节 点和至少一个第二边缘节点;
所述第一边缘节点, 用于接收需要传输的数据包, 确定目标边缘节点, 根据所述目标边缘节点从所述网络控制器获取目标路由规则, 并根据所述目 标路由规则, 将所述数据包发送到所述目标边缘节点, 以使所述目标边缘节 点完成所述数据包的传输; 其中, 所述目标边缘节点是指传输所述数据包过 程中需要经过的第二边缘节点; 所述目标路由规则是指所述第一边缘节点到 所述目标边缘节点的路由规则; 所述至少一个第二边缘节点, 用于在作为所述目标边缘节点时, 接收所 述第一边缘节点根据所述目标路由规则发送的所述数据包, 并完成所述数据 包的传输;
所述网络控制器, 用于向所述第一边缘节点提供所述目标路由规则。 结合第一方面, 在第一方面的第一种可能的实现方式中, 所述第一边缘 节点为网关设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘 节点为基站设备。
结合第一方面的第一种可能的实现方式, 在第一方面的第二种可能的实 现方式中, 所述第一边缘节点用于确定目标边缘节点, 包括:
所述网关设备具体用于确定所述下行数据包所属的会话标识, 根据所述 下行数据包所属的会话标识, 查询会话标识与基站设备之间的对应关系, 确 定目标基站设备。
结合第一方面的第二种可能的实现方式, 在第一方面的第三种可能的实 现方式中, 所述网关设备还用于接收所述下行数据包对应的上行数据包, 并 在识别出所述上行数据包所属的会话属于新会话且使用缺省承载时, 根据所 述上行数据包在本地生成用于所述下行数据包的目标过滤规则, 并生成所述 上行数据包所属的会话标识与当前为所述用户设备提供服务的基站设备之间 的对应关系;
所述网关设备用于确定所述下行数据包所属的会话标识, 包括: 所述网 关设备具体用于根据用于所述下行数据包的目标过滤规则, 确定所述下行数 据包所属的会话标识。
结合第一方面的第二种可能的实现方式, 在第一方面的第四种可能的实 现方式中, 所述网关设备还用于接收所述网络控制器发送的用于所述下行数 据包的目标过滤规则, 将所述目标过滤规则存储在本地, 并接收所述网络控 制器发送的所述下行数据包所属的会话标识与当前为所述用户设备提供服务 的基站设备之间的对应关系;
所述网关设备用于确定所述下行数据包所属的会话标识, 包括: 所述网 关设备具体用于根据用于所述下行数据包的目标过滤规则, 确定所述下行数 据包所属的会话标识;
所述网络控制器还用于在获知所述下行数据包所属的会话是新会话且使 用专用承载后生成用于所述下行数据包的目标过滤规则, 将所述目标过滤规 则发送给所述网关设备, 并生成所述下行数据包所属的会话标识与当前为所 述用户设备提供服务的基站设备之间的对应关系, 将所述下行数据包所属的 会话标识与当前为所述用户设备提供服务的基站设备之间的对应关系发送给 所述网关设备。
第二方面提供一种网络设备, 位于软件定义网络 SDN中, 所述网络设备 为第一边缘节点, 具体包括:
接收模块, 用于接收需要传输的数据包;
确定模块, 用于确定目标边缘节点, 所述目标边缘节点是指传输所述数 据包过程中需要经过的所述 SDN中的第二边缘节点;
路由规则模块, 用于根据所述目标边缘节点从所述 SDN中的网络控制器 获取目标路由规则, 所述目标路由规则是指所述第一边缘节点到所述目标边 缘节点的路由规则;
发送模块, 用于根据所述目标路由规则, 将所述数据包发送到所述目标 边缘节点, 以使所述目标边缘节点完成所述数据包的传输。
结合第二方面, 在第二方面的第一种可能的实现方式中, 所述第一边缘 节点为网关设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘 节点为基站设备。
结合第二方面的第一种可能的实现方式, 在第二方面的第二种可能的实 现方式中, 所述确定模块具体用于确定所述下行数据包所属的会话标识, 根 据所述下行数据包所属的会话标识, 查询会话标识与基站设备之间的对应关 系, 确定所述目标基站设备。
结合第二方面的第二种可能的实现方式, 在第二方面的第三种可能的实 现方式中, 所述接收模块还用于在接收所述下行数据包之前, 接收所述下行 数据包对应的上行数据包;
所述网络设备还包括:
过滤规则生成模块, 用于在识别出所述上行数据包所属的会话是新会话 且使用缺省承载时, 根据所述上行数据包在本地生成用于所述下行数据包的 目标过滤规则, 并生成所述上行数据包所属的会话标识与当前为所述用户设 备提供服务的基站设备之间的对应关系; 所述确定模块用于确定所述下行数据包所属的会话标识, 包括: 所述确 定模块具体用于根据用于所述下行数据包的目标过滤规则, 确定所述下行数 据包所属的会话标识。
结合第二方面的第二种可能的实现方式, 在第二方面的第四种可能的实 现方式中, 所述接收模块还用于接收所述网络控制器发送的用于所述下行数 据包的目标过滤规则, 将所述目标过滤规则存储在本地, 并接收所述网络控 制器发送的所述下行数据包所属的会话标识与当前为所述用户设备提供服务 的基站设备之间的对应关系; 其中, 所述目标过滤规则是所述网络控制器在 获知所述下行数据包所属的会话是新会话且使用专用承载后为所述下行数据 包生成的;
所述确定模块用于确定所述下行数据包所属的会话标识, 包括: 所述确 定模块具体用于根据用于所述下行数据包的目标过滤规则, 确定所述下行数 据包所属的会话标识。
第三方面提供一种网络控制器, 位于软件定义网络 SDN中, 所述网络控 制器包括:
路由规则模块, 用于为所述 SDN中的第一边缘节点配置路由信息, 所述 路由信息包括所述第一边缘节点到所述 SDN 中每个第二边缘节点的路由规 则;
发送模块, 用于将所述路由信息发送给所述第一边缘节点, 以使所述第 一边缘节点在接收到的需要传输的数据包时基于所述路由信息确定到目标边 缘节点的目标路由规则, 所述目标边缘节点是传输所述数据包过程中需要经 过的第二边缘节点。
结合第三方面, 在第三方面的第一种可能的实现方式中, 所述第一边缘 节点为网关设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘 节点为基站设备。
结合第三方面的第一种可能的实现方式, 在第三方面的第二种可能的实 现方式中, 所述网络控制器还包括: 专用承载模块, 用于在获知所述下行数 据包所属的会话是新会话且使用专用承载后生成用于所述下行数据包的目标 过滤规则, 并生成所述下行数据包所属的会话标识和当前为所述用户设备提 供服务的基站设备之间的对应关系; 所述发送模块还用于将所述目标过滤规则发送给所述网关设备, 以使所 述网关设备根据所述目标过滤规则确定所述下行数据包所属的会话标识, 并 将所述下行数据包所属的会话标识和当前为所述用户设备提供服务的基站设 备之间的对应关系发送给所述网关设备, 以使所述网关设备确定目标基站设 备。
第四方面提供一种数据传输方法, 包括:
软件定义网络 SDN中的第一边缘节点接收需要传输的数据包;
所述第一边缘节点确定目标边缘节点, 所述目标边缘节点是指传输所述 数据包过程中需要经过的第二边缘节点;
所述第一边缘节点根据所述目标边缘节点从网络控制器获取目标路由规 则, 所述目标路由规则是指所述第一边缘节点到所述目标边缘节点的路由规 则;
所述第一边缘节点根据所述目标路由规则, 将所述数据包发送到所述目 标边缘节点, 以使所述目标边缘节点完成所述数据包的传输。
结合第四方面, 在第四方面的第一种可能的实现方式中, 所述第一边缘 节点为网关设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘 节点为基站设备。
结合第四方面的第一种可能的实现方式, 在第四方面的第二种可能的实 现方式中, 所述第一边缘节点确定目标边缘节点, 包括:
所述网关设备确定所述下行数据包所属的会话标识;
所述网关设备根据所述下行数据包所属的会话标识, 查询会话标识与基 站设备之间的对应关系, 确定所述目标基站设备。
结合第四方面的第二种可能的实现方式, 在第四方面的第三种可能的实 现方式中, 所述方法还包括:
所述网关设备接收所述下行数据包对应的上行数据包, 并在识别出所述 上行数据包所属的会话是新会话且使用缺省承载时, 根据所述上行数据包在 本地生成用于所述下行数据包的目标过滤规则, 并生成所述上行数据包所属 的会话标识与当前为所述用户设备提供服务的基站设备之间的对应关系; 所述网关设备确定所述下行数据包所属的会话标识, 包括:
所述网关设备根据用于所述下行数据包的目标过滤规则, 确定所述下行 数据包所属的会话标识。
结合第四方面的第二种可能的实现方式, 在第四方面的第四种可能的实 现方式中, 所述方法还包括:
所述网关设备接收所述网络控制器发送的用于所述下行数据包的目标过 滤规则, 将所述目标过滤规则存储在本地, 并接收所述网络控制器发送的所 述下行数据包所属的会话标识与当前为所述用户设备提供服务的基站设备之 间的对应关系; 其中, 所述目标过滤规则是所述网络控制器在获知所述下行 数据包所属的会话是新会话且使用专用承载后为所述下行数据包生成的; 所述网关设备确定所述下行数据包所属的会话标识, 包括:
所述网关设备根据用于所述下行数据包的目标过滤规则, 确定所述下行 数据包所属的会话标识。
第五方面提供一种传输控制方法, 包括:
软件定义网络 SDN中的网络控制器为所述 SDN中的第一边缘节点配置路 由信息, 所述路由信息包括所述第一边缘节点到所述 SDN中每个第二边缘节 点的路由规则;
所述网络控制器将所述路由信息发送给所述第一边缘节点, 以使所述第 一边缘节点在接收到的需要传输的数据包时基于所述路由信息确定到目标边 缘节点的目标路由规则, 所述目标边缘节点是传输所述数据包过程中需要经 过的第二边缘节点。
结合第五方面, 在第五方面的第一种可能的实现方式中, 所述第一边缘 节点为网关设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘 节点为基站设备。
结合第五方面的第一种可能的实现方式, 在第五方面的第二种可能的实 现方式中, 所述方法还包括:
所述网络控制器在获知所述下行数据包所属的会话是新会话且使用专用 承载后, 生成用于所述下行数据包的目标过滤规则, 并生成所述下行数据包 所属的会话标识和当前为所述用户设备提供服务的基站设备之间的对应关 所述网络控制器将所述目标过滤规则发送给所述网关设备, 以使所述网 关设备根据所述目标过滤规则确定所述下行数据包所属的会话标识, 并将所 述下行数据包所属的会话标识和当前为所述用户设备提供服务的基站设备之 间的对应关系发送给所述网关设备, 以使所述网关设备确定目标基站设备。
本发明实施例提供的数据传输方法、 传输控制方法及设备, SDN 中的第 一边缘节点接收到需要传输的数据包后, 从 SDN中的第二边缘节点中确定传 输该数据包需要经过的目标边缘节点, 然后从网络控制器获取第一边缘节点 到该目标边缘节点的目标路由规则, 通过该目标路由规则将数据包发送给目 标边缘节点, 使目标边缘节点完成该数据包的传输。 在该过程中, 由第一边 缘节点从第二边缘节点中确定传输数据包需要经过的目标边缘节点, 可以适 应因用户设备的移动性造成目标边缘节点发生变化的情况, 而网络控制器只 负责第一边缘节点到目标边缘节点的路由规则, 不需要因为用户设备位置的 变化而实时调整第一边缘节点到目标边缘节点的路由规则, 有效的减少了网 络控制器的处理负担, 优化了控制面与用户面之间的信令交互, 提升了 SDN 的通信效率。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例提供的一种 SDN应用场景示意图;
图 2为本发明实施例提供的一种 SDN的架构图;
图 3为本发明实施例提供的另一种 SDN的架构图;
图 4为本发明实施例提供的又一种 SDN的架构图;
图 5为本发明实施例提供的又一种 SDN的架构图;
图 6为本发明实施例提供的又一种 SDN的架构图;
图 7为本发明实施例提供的又一种 SDN的架构图;
图 8为本发明实施例提供的一种网络设备的结构示意图;
图 9为本发明实施例提供的另一种网络设备的结构示意图;
图 10为本发明实施例提供的又一种网络设备的结构示意图;
图 1 1为本发明实施例提供的一种网络控制器的结构示意图; 图 12为本发明: ;施例提供的另一种网络控制器的结构
图 13为本发明: ;施例提供的又一种网络控制器的结构
图 14为本发明: ;施例提供的一种数据传输方法的流程图;
图 15为本发明: ;施例提供的一种传输控制方法的流程图;
图 16为本发明: ;施例提供的另一种数据传输方法的流程图;
图 17为本发明: ;施例提供的又一种数据传输方法的流程图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
考虑到无线网络中用户的移动性, 本发明实施例分别提供了数据传输方 法、 传输控制方法, 用以优化控制面与用户面之间的信令交互, 以提升 SDN 的通信效率。 举例说明, SND的一种系统架构如图 1所示, 该 SDN包括: 网 络控制器 11和用户面设备 12。 网络控制 11器作为 SDN的控制面设备, 主要 负责用户接入管理、 移动性管理、 调度整个 SDN的数据传输路径等。 用户面 设备 12主要负责策略执行和数据转发。 在本实施例中, 用户面设备 12分为 两类, 一类位于网络中间位置 (如图 1 中虚线圈所示) , 一类位于网络边缘 位置(如图 1中的实线圈所示) 。 另外, 本实施例的 SDN与普通的 SND相比, 本实施例中的用户面设备 12不仅包括交换机和路由器,还包括无线网络中核 心网和接入网的其他设备, 例如网关设备和基站设备。 其中, 在一个 SDN中, 网关设备可以是一个或多个, 基站设备也可以是一个或多个。 网关设备和基 站设备均位于 SDN的边缘位置, 且基站设备直接面对 SDN中的用户设备 (如 图 1中空心实线圈所示) , 网关设备主要面对互联网等其他 PDN网络或者数 据中心 (如图 1 中中间带点的实线圈所示) 。 其中, 下行数据包一般是从互 联网等其他 PDN网络或者数据中心进入 SDN的网关设备, 网关设备在网络控 制器 11的控制下, 将下行数据包发送给 SDN的基站设备, 再由基站设备转发 给用户设备。 在此说明, 本发明实施例所述的网关设备可以是分组数据网络网关
(Packet Data Network GateWay, 简称为 PDN-GW) , 网关通用分组无线服 务 (General Packet Radio Service, 简称为 GPRS ) 支持节点 (Gateway GPRS Support Node , 简称为 GGSN) 或服务网关 (Serving GateWay, 简称为 S-GW) 等。
另外, 本发明各实施例对网关设备到基站设备之间使用的传输技术不做 限定,例如可以是使用端到端的的通用数据传输平台(General Data Transfer Platform, 简称为 GTP) 或移动 IP (Mobi le IP, 简称为 MIP) 隧道技术、 虚 拟专用网络 (Virtual Private Network , 简称为 VPN) 、 多协议标签交换 (Multi-Protocol Label Switching, 简称为 MPLS ) 技术等, 也可以是在中 间某一段使用专线或者隧道技术进行传输, 等等。
图 1所示无线 SDN为本发明实施方式的一种应用环境, 当图 1中所示用 户设备从 A点移动到了 B点之后, 相应的数据转发路径也会发生变化, 图 1 中虚线所示为用户设备在 A点的数据转发路径, 图 1中实线所示为用户设备 移动到 B点时的数据转发路径。 如果用户设备从 A点移动到 B点后仍要正常 通信, 则需要网络控制器 11根据用户设备的移动实时更新数据转发路径, 这 将使用户面设备 12与网络控制器 11之间产生大量的信令, 降低整体网络的 通信效率。 为解决该问题, 本发明以下实施例提供了一种新的 SDN架构。
图 2为本发明实施例提供的一种 SDN的架构图。 如图 2所示, 该 SDN包 括: 网络控制器 21、 第一边缘节点 22和至少一个第二边缘节点 23。 进一步, 该 SDN还可以包括: 其他节点 24, 其他节点 24可以是中间节点。
第一边缘节点 22, 用于接收需要传输的数据包, 确定目标边缘节点, 根 据该目标边缘节点从网络控制器 21获取目标路由规则,根据获取的目标路由 规则, 将接收的数据包发送到目标边缘节点, 以使目标边缘节点完成该数据 包的传输。 其中, 目标边缘节点是指传输上述数据包过程中需要经过的第二 边缘节点 23。 目标路由规则是指第一边缘节点 22到目标边缘节点的路由规 则。
至少一个第二边缘节点 23, 用于在作为目标边缘节点时, 接收第一边缘 节点 22根据目标路由规则发送的数据包, 并完成该数据包的传输。
网络控制器 21是该 SDN的控制面设备, 负责控制该 SDN, 主要用于向第 一边缘节点 22提供目标路由规则。
其中, 第一边缘节点 22可以是一个或多个。 目标边缘节点是至少一个第 二边缘节点 23其中一个。
在本实施例提供的 SDN中, 第一边缘节点接收到需要传输的数据包后, 从第二边缘节点中确定传输该数据包需要经过的目标边缘节点, 然后从网络 控制器获取到该目标边缘节点的目标路由规则, 通过该路由规则将数据包发 送给目标边缘节点, 使目标边缘节点完成该数据包的传输。 由此可见, 在本 实施例提供的 SDN中, 由第一边缘节点从第二边缘节点中确定传输数据包需 要经过的目标边缘节点, 可以适应因用户设备的移动性造成目标边缘节点发 生变化的情况, 而网络控制器只负责第一边缘节点到目标边缘节点的路由规 贝 |J, 不需要因为用户设备位置的变化而实时调整到第一边缘节点到目标边缘 节点的路由规则, 有效的减少了网络控制器的处理负担, 优化了控制面与用 户面之间的信令交互, 提升了 SDN的通信效率。
在一可选实施方式中, 第一边缘节点 22可以是网关设备, 第二边缘节点 23可以是基站设备, 则第一边缘节点 22接收的数据包可以是发往用户设备 的下行数据包。
在一可选实施方式中, 第一边缘节点 22可以是基站设备, 第二边缘节点 23可以是网关设备, 则第一边缘节点 22接收的数据包可以是用户设备发送 的上行数据包。
可选的, 上述网关设备可以是 PDN-GW, GGSN或 S-GW等。
在一可选实施方式中,第一边缘节点 22用于根据目标边缘节点从网络控 制器获取目标路由规则, 包括: 第一边缘节点 22具体用于从网络控制器 21 预先发送的路由信息中, 获取目标路由规则, 该路由信息包括第一边缘节点 22与 SDN中每个第二边缘节点 23的路由规则。 相应的, 网络控制器 21用于 向第一边缘节点 22提供目标路由规则包括: 网络控制器 21具体用于预先向 第一边缘节点 22发送路由信息。 可选的, 网络控制器 21可以采用路由表的 形式, 将路由信息提供给第一边缘节点 22, 但并不限于路由表这一种形式。
在一可选实施方式中,第一边缘节点 22用于根据目标边缘节点从网络控 制器 21获取目标路由规则, 包括: 第一边缘节点 22具体用于在收到数据包 后, 向网络控制器 21发送请求目标路由规则的请求消息, 并接收网络控制器 21根据该请求消息发送的目标路由规则。 相应的, 网络控制器 21用于向第 一边缘节点 22提供目标路由规则包括: 网络控制器 21具体用于接收第一边 缘节点 22发送的请求消息, 并根据该请求消息向第一边缘节点 21返回目标 路由规则。 该请求消息可以包括目标边缘节点的标识, 用于供网络控制器 21 确定第一边缘节点 22请求获取的是到哪个第二边缘节点 23的路由规则。
基于上述可选实施方式, 本发明实施例提供的另一种 SDN的架构如图 3 所示, 该 SDN包括: 网络控制器 31、 网关设备 32、 基站设备 33和其他节点 34。
网络控制器 31主要用于控制该 SDN。 在一个 SDN中, 网关设备 32可以 是一个或多个, 基站设备 33也可以是一个或多个。
具体在本实施方式中, 如图 3所示, 网络控制器 31可以包括路由规则模 块, 用于预先确定并保存任意一个网关设备 32与任意一个基站设备 33之间 的路由规则, 以便于网关设备 32在接收到需要转发的数据包并确定了目标基 站设备时获取该网关设备 32与该目标基站设备之间的路由规则, 或者, 以便 于基站设备 33 在接收到需要转发的数据包并确定了目标网关设备时获取该 基站设备 33与该目标网关设备之间的路由规则。
可选的, 网络控制器 31可以预先将任意一个网关设备 32到任意一个基 站设备 33的路由规则下发给网关设备 32和基站设备 33。 或者, 网络控制器 31也可以根据网关设备 32或基站设备 33实时发送的用于请求路由规则的请 求消息, 向网关设备 32或基站设备 33发送路由规则。
进一步可选的, 网络控制器 31可以采用路由表的形式将相应的路由规则 下发给网关设备 32和基站设备 33。
本实施例提供的 SDN中的网关设备 32或者基站设备 33, 主要用于从网 络控制器 31获取路由规则, 以便于在接收到需要转发的数据包时使用该路由 规则完成数据包的传输。 例如, 对网关设备 32来说, 网关设备 32接收发往 用户设备的下行数据包,从基站设备 33中确定传输该下行数据包需要经过的 目标基站设备, 根据所确定的目标基站设备从网络控制器 31 获取网关设备 32到该目标基站设备的目标路由规则, 根据该目标路由规则将下行数据包发 送给目标基站设备, 进而使目标基站设备将该下行数据包发送给用户设备。 例如, 对基站设备 33来说, 基站设备 33接收用户设备发送的上行数据包, 从网关设备 32中确定目标网关设备,根据所确定的目标网关设备从网络控制 器 31获取基站设备到目标网关设备的目标路由规则,根据该目标路由规则将 上行数据包发送给目标网关设备, 进而使目标网关设备将该上行数据包转发 出去。
可选的, 网关设备 32可以针对用户设备的每个下行数据包都从网络控制 器 31获取目标路由规则。 或者, 如果对于发往用户设备的某类下行数据包, 网关设备 32使用相同的目标路由规则,而在此之前已经查询获得同类下行数 据包的目标路由规则, 则在处理后续同类下行数据包时, 就无需再次从网络 控制器 31获取目标路由规则,可以直接使用针对之前同类下行数据包获取的 目标路由规则。 对于基站设备 33可以采用同样的处理方式。
在上面提供的 SDN中, 基站设备和网关设备在网络拓扑中的位置是不变 的, 因此, 连接基站设备和网关设备的网络拓扑也是相对稳定的。 基于此, SDN 中的网络控制器保存的任意一个网关设备与任意基站设备之间的路由规 则是相对静态的, 不需要因为用户位置的变化而实时调整网关设备到基站设 备之间的路由规则, 有效的减少了网络控制器的处理负担, 另外网络控制器 不需要频繁向网关设备或基站设备提供路由规则, 因此有利于减轻控制面设 备(即网络控制器)与用户面设备(网关设备或基站设备)之间的信令交互, 进而有利于提高整个 SDN的通信效率。 与此同时, 该 SDN中用户位置信息可 以是动态的, 在数据包的转发过程中, 由于网关设备采用了用户当前的位置 信息 (当前所在的基站设备) 进行路由, 有效地确保了用户移动过程中的数 据传输。
在图 3所示实施例的基础上, 本实施例提供一种网关设备从基站设备中 确定目标基站设备的实施方式, 包括: 网关设备 32具体用于确定下行数据包 所属的会话标识, 根据该下行数据包所属的会话标识, 查询会话标识与基站 设备之间的对应关系, 从而确定目标基站设备。 其中, 目标基站设备是指与 该下行数据包所属的会话标识对应的基站设备。
在此说明, 在本实施例中, 一个会话标识可以对应一个会话, 也可以对 应多个会话。 对于一个会话标识对应多个会话的情况, 适用于会话聚合的场 旦 通常, 对于基于会话粒度的数据包来说, 有些会话要求有 QoS保障, 具 有持续时间较长等特征, 这类会话属于长会话; 另有一些会话, 例如目前主 流业务之一的网页浏览业务中产生大量的会话大多持续时间相对较短, 这类 会话是短会话。 长会话一般需要建立专用承载来承载, 另外由于持续时间较 长, 所以用户设备在此期间发生移动的概率较高, 因此长会话对移动性要求 较高; 短会话不需要建立专用承载, 可以承载在缺省承载上, 同时由于持续 时间较短, 用户设备发生移动的概率较小, 即使用户设备发生了移动, 用户 设备也会在传输层或者应用层重新发起业务请求, 对用户体验影响也很小, 因此短会话对移动性要求也较低。
由此可见, 对于长会话来说, 可以由网络控制器根据用户设备的移动实 时更新上述会话标识与基站设备之间的对应关系, 以保证这些长会话对移动 性的要求。 而对于短会话, 则可以不用网络控制器参与对会话标识与基站设 备之间的对应关系的更新, 而是由网关设备自行对短会话业务进行处理, 从 而减轻网络控制器的负担。
基于上述, 在下行数据包所属的会话是短会话的情景下, 网关设备 32还 用于在接收下行数据包之前, 接收下行数据包对应的上行数据包, 并在识别 出上行数据包所属的会话属于新会话且使用缺省承载时, 根据该上行数据包 在本地生成用于该下行数据包的目标过滤规则, 并生成该上行数据包所属的 会话标识与当前为用户设备提供服务的基站设备之间的对应关系。
另外, 在下行数据包所属的会话是长会话的情景下, 网络控制器 31还用 于在获知网关设备 32 接收到的发往用户设备的下行数据包所属的会话是新 会话且使用专用承载后生成用于该下行数据包的目标过滤规则, 将该目标过 滤规则发送给网关设备 32, 并生成该下行数据包所属的会话标识与当前为该 用户设备提供服务的基站设备之间的对应关系, 将该下行数据包所属的会话 标识与当前为该用户设备提供服务的基站设备之间的对应关系发送给网关设 备 32。
对于网关设备 32来说, 还用于接收网络控制器 31发送的用于该下行数 据包的目标过滤规则, 将该目标过滤规则存储在本地, 并接收网络控制器 31 发送的该下行数据包所属的会话标识与当前为用户设备提供服务的基站设备 之间的对应关系。
在上述两种情景下, 网关设备 32用于确定下行数据包所属的会话标识, 包括: 网关设备 32具体用于根据用于该下行数据包的目标过滤规则, 确定该 下行数据包所属的会话标识。 区别在于: 在短会话场景下, 该目标过滤规则 是网关设备 32自己生成的, 而在长会话场景下, 该目标过滤规则是网络控制 器 31生成并下发给网关设备 32的。
通常, 不同会话对应不同的过滤规则, 因此数据包所属的会话标识可以 由该数据包使用的过滤规则来确定。 因此, 网关设备 32具体可用于根据下行 数据包的包头信息, 在本地存储的过滤规则中进行匹配, 获取用于该下行数 据包的目标过滤规则,根据该目标过滤规则确定下行数据包所属的会话标识。 其中, 过滤规则一般是根据数据包的包头信息生成。 下行数据包的包头信息 主要包括该数据包所包含的各种协议栈的头信息, 比如介质访问控制(Media Access Control , 简称为 MAC) 协议头、 IP协议头信息等, 进一步如 IP协议 头信息中包括源地址、 目的地址、 协议类型等信息。
在图 3所示 SDN架构的基础上, 本发明实施例提供的又一种 SDN架构如 图 4所示, 该 SDN除了包括网络控制器 31、 网关设备 32、 基站设备 33、 其 他节点 34之外, 还包括: 用户位置数据库 35。
具体在本实施方式中,用户位置数据库 35主要用于存储上述会话标识与 基站设备之间的对应关系。该用户位置数据库 35实际上是一个用户设备发起 的会话所属的会话标识与用户设备当前所在基站设备之间对应关系的存储集 合。 该用户位置数据库 35的主要作用是: 供网关设备 32在接收到发往用户 设备的下行数据包后, 基于该下行数据包所属的会话标识确定转发该下行数 据包所需的目标基站设备。 用户位置数据库 35与网关设备 32之间的信令交 互如图 4中带箭头的实线所示。
考虑到不同会话对应不同的过滤规则, 因此数据包所属的会话标识可以 由该数据包使用的过滤规则来确定。基于此,在用户位置数据库 35的基础上, 网关设备 32在接收到发往用户设备的下行数据包后,具体可以根据该下行数 据包的包头信息, 在本地存储的过滤规则中进行匹配, 获取用于该下行数据 包的目标过滤规则, 根据该目标过滤规则确定下行数据包所属的会话标识, 根据下行数据包所属的会话标识, 查询用户位置数据库 35, 从而确定目标基 站设备。该目标基站设备实际上是与下行数据包所属的会话对应的基站设备, 也就是当前为用户设备提供服务的基站设备。 可选的, 如果下行数据包所属的会话属于新会话且使用缺省承载, 则网 关设备 32具体可以在接收下行数据包之前,接收该下行数据包对应的上行数 据包, 在识别出该上行数据包所属的会话是新会话且使用缺省承载时, 根据 该上行数据包的包头信息在本地生成用于该下行数据包的过滤规则, 该过滤 规则即为目标过滤规则。 同时, 网关设备 32还要将该上行数据包所属的会话 标识与当前为用户设备提供服务的基站设备之间的对应关系存储到用户位置 数据库 35中。
在此说明, 上述下行数据包与该下行数据包对应的上行数据包属于同一 会话, 所以所属的会话标识也是相同的。
可选的, 如果下行数据包所属的会话是新会话且使用专用承载, 则网络 控制器 31 具体可以在获知该下行数据包所属的会话是新会话且使用专用承 载后生成用于该下行数据包的目标过滤规则, 并将该目标过滤规则发送给网 关设备 32。 同时, 网络控制器 31还要将该下行数据包所属的会话标识与当 前为用户设备提供服务的基站设备之间的对应关系存储到用户位置数据库 35 中。
可选的, 该 SDN中的用户位置数据库 35, 可以统一的耦合至网络控制器 31, 便于维护和管理。 或者, 用户位置数据库 35也可以分散的设置在各个网 关设备 32, 这样每个网关设备 32独享一个用户位置数据库 35, 有利于提高 网关设备 32使用用户位置数据库 35的效率。
可选的, 如图 4所示, 网络控制器 31还可以包括更新模块, 用于根据用 户设备的移动,更新用户位置数据库 35中该下行数据包所属的会话标识与当 前为用户设备提供服务的基站设备之间的对应关系。例如, 网络控制器 31的 更新模块具体可以根据基站设备 33上报的当前接入该基站设备 33的用户设 备的信息,控制更新用户位置数据库 35中当前为用户设备提供服务的基站设 备。 例如, 在无线网络中, 用户设备在接入基站设备 33, 或者在切换到新的 基站设备 33 时, 切换的信令交互过程都涉及网络控制器 31, 在信令交互过 程中基站设备 33会将当前接入该基站设备 33的用户设备的信息上报给网络 控制器 31, 这样网络控制器 31就会获取用户设备当前是从哪个基站设备 33 接入或切换到哪个基站设备 33的信息。 用户位置数据库 35与网络控制器 31 之间的信令交互如图 4中带箭头的实线所示。 进一步可选的, 网络控制器 31的更新模块可以直接更新用户位置数据库 35 中的当前为用户设备提供服务的基站设备, 或者可以向网关设备 32发送 更新消息, 以使网关设备 32根据该更新消息更新用户位置数据库 35中的当 前为用户设备提供服务的基站设备。该更新消息是网络控制器 31的更新模块 根据基站设备 33上报的当前接入该基站设备 33的用户设备的信息生成的。
在本实施方式提供的 SDN中, 通过用户位置数据库存储会话标识与基站 设备之间的对应关系, 并由网络控制器或网关设备实施对用户位置数据库中 当前为用户设备提供服务的基站设备的信息进行更新, 这样网关设备在下行 数据包的转发过程中, 可以根据该用户位置数据库确定出用户设备当前所在 的基站设备, 进而基于确定出的基站设备进行路由, 有效地确保了用户移动 过程中的数据传输。
图 3和图 4所示实施例简单介绍了短会话和长会话的场景, 下面将通过 不同实施例分别对短会话和长会话的处理过程做进一步进行说明。
如图 5所示为本实施例提供的又一种 SDN的架构, 该 SDN架构主要用于 短会话场景。 如图 5所示, 该 SDN包括: 网络控制器 51、 网关设备 52、 第一 基站设备 53、 第二基站设备 54、 其他节点 55和用户位置数据库 56。
具体在本实施方式中, 网络控制器 51用于控制该 SDN, 主要用于向网关 设备 52、 第一基站设备 53和第二基站设备 54提供路由规则, 该路由规则或 者指示发往用户设备的下行数据包从网关设备 52到第一基站设备 53或第二 基站设备 54的路由,或者可以指示用户设备发送的上行数据包从第一基站设 备 53或第二基站设备 54到网关设备 52的路由。在本实施例中, 网络控制器 51具体用于预先将网关设备 52到第一基站设备 53和第二基站设备 54之间 的路由规则下发给网关设备 52, 并将第一基站设备 53和第二基站设备 54分 别到网关设备 52的路由规则也预先下发给第一基站设备 53和第二基站设备 54。 基于此, 如图 5所示, 网络控制器 51与网关设备 52、 第一基站设备 53 以及二基站设备 54之间的信令交互如图 5中带箭头的实线所示。
用户位置数据库 56主要用于存储会话标识与基站设备之间的对应关系。 在本实施方式中, 假设用户设备从第一基站设备 53接入网络, 并在网关 设备 52和第一基站设备 53之间发起短会话业务, 该短会话业务的上行数据 包首先在第一基站设备 53进行处理。 第一基站设备 53可以包括路由规则模 块, 主要用于接收网络控制器 51发送的路由规则, 以便于在接收到用户设备 发送的上行数据包时使用该路由规则将上行数据包转发给网关设备 52, 同时 在该上行数据包中携带该第一基站设备 53的标识信息。
网关设备 52可以包括路由规则模块和过滤规则生成模块。 网关设备 52 的过滤规则生成模块,主要用于发现第一基站设备 53发送的上行数据包所属 的会话是新会话且使用缺省承载 (即是短会话业务) , 根据该上行数据包的 包头信息为该上行数据包所属的短会话业务生成一个过滤规则, 并根据该上 行数据包中携带的第一基站设备 53 的标识信息将该上行数据包所属的会话 标识与当前为用户设备提供服务的第一基站设备 53 的对应关系存储到用户 位置数据库 56中。 可选的, 网关设备 52的过滤规则生成模块具体可以将该 上行数据包所属的会话标识和该上行数据包中携带的第一基站设备 53 的标 识信息对应存储到用户位置数据库 56中。 可选的, 网关设备 52的过滤规则 生成模块具体可以将上行数据包的目的地址作为过滤规则的源地址, 将上行 数据包的源地址作为过滤规则的目的地地址, 将上行数据包的协议类型作为 过滤规则的协议类型, 但并不限于这一种生成过滤规则的方式。
进一步, 网关设备 52的过滤规则生成模块, 还用于在网关设备 52接收 到发往用户设备的下行数据包时, 根据上述生成的过滤规则识别出该下行数 据包所属的会话标识, 根据该下行数据包所属的会话标识查询用户位置数据 库 56, 从中获取与该下行数据包所属的会话标识对应的基站设备 (即第一基 站设备 53 ) 作为目标基站设备。 网关设备 52 的路由规则模块, 主要用于接 收网络控制器 51发送的路由规则, 以便于在接收到发往用户设备的下行数据 包时使用该路由规则将下行数据包转发给过由网关设备 52 的过滤规则生成 模块确定的第一基站设备 53。 第一基站设备 53将下行数据包转发给用户设 备。
进一步说明, 对于采用非专用承载的短会话过程, 可能存在用户设备在 下行数据包到达之前发生移动的情况, 即在下行数据包的传输过程中用户设 备所在的基站设备发生变更, 例如, 假设用户设备在下行数据包到达之前, 从第一基站设备 53移动到第二基站设备 54, 那么第一基站设备 53接收到下 行数据包后将无法直接发送给用户设备。 在这样情况下可以采用以下方式保 证下行数据包成功到达用户设备: 第一种方式是: 基站设备之间进行转发, 即用户设备在基站设备间切换 时, 原基站设备 (即第一基站设备 53 ) 和新切入的基站设备 (即第二基站设 备 54 ) 是需要进行信令交互的, 因此原基站设备是知道目标用户设备新切入 的基站设备的, 因此当该用户设备的下行数据包到达原基站设备后, 原基站 设备 (即第一基站设备 53 ) 可以将下行数据包转发到新切入的基站设备 (即 第二基站设备 54 ) 。 但是, 该方式要求原基站设备和新切入的基站设备之间 存在传输业务数据的通路, 以及发生多次切换的场景下的高转发处理复杂度。
第二种方式是: 丢弃触发重发, 即原基站设备 (即第一基站设备 53 ) 可 以直接丢弃该用户设备的下行数据包, 这样用户设备发现下行数据包没有到 达, 会因为超时而通过新切入的基站设备 (即第二基站设备 54 ) 重新发起业 务请求来获取下行数据包 (这里重新发起的业务请求包括了传输层或者应用 层的重传请求) , 这样新切入的基站设备将业务请求转发到网关设备, 网关 设备会发现已经存在与该业务请求对应的过滤规则于是识别出对应的会话, 但是发送业务请求的基站设备发生了变化, 于是网关设备可以进行用户位置 数据库 56中当前为该用户设备提供服务的基站设备的更新,从而使得下行数 据包能够发送到用户设备新切入的基站设备 (即第二基站设备 54 ) , 进而由 新切入的基站设备将下行数据包转发给用户设备。
在图 5中, 带箭头的细虚线表示用户设备发生移动前的数据交互; 带箭 头的粗虚线表示用户设备移动后的数据交互。
图 6所示为本实施例提供的又一种 SDN的架构, 该 SDN架构主要用于长 会话场景。 如图 6所示, 该 SDN包括: 网络控制器 61、 网关设备 62、 第一基 站设备 63、 第二基站设备 64、 其他节点 65和用户位置数据库 66。
具体在本实施方式中, 假设用户设备从第一基站设备 63接入网络, 并且 在网关设备 62和第一基站设备 63之间发起会话业务,且该会话属于长会话。
网络控制器 61包括路由规则模块, 主要用于向网关设备 62、 第一基站 设备 63和第二基站设备 64提供路由规则, 该路由规则或者指示发往用户设 备的下行数据包从网关设备 62到第一基站设备 63或第二基站设备 64的路 由,或者可以指示用户设备发送的上行数据包从第一基站设备 63或第二基站 设备 64到网关设备 62的路由。在本实施例中, 网络控制器 61具体用于预先 将网关设备 62到第一基站设备 63和第二基站设备 64之间的路由规则下发给 网关设备 62, 并将第一基站设备 63和第二基站设备 64分别到网关设备 62 的路由规则也预先下发给第一基站设备 63和第二基站设备 64。 基于此, 如 图 6所示, 网络控制器 61与网关设备 62、 第一基站设备 63以及二基站设备 64之间的信令交互如图 6中带箭头的实线所示。
用户位置数据库 66主要用于存储会话标识与基站设备之间的对应关系。 进一步, 网络控制器 61还包括专用承载模块。 网络控制器 61的专用承 载模块, 用于在获知发往用户设备的下行数据包所属的会话是新会话且使用 专用承载 (即该会话是长会话) 后, 该下行数据包所属的会话分配需要专用 承载, 并生成用于该下行数据包的目标过滤规则, 将该目标过滤规则发送给 网关设备 62以使网关设备 62根据该目标过滤规则确定下行数据包所属的会 话标识。 另外, 网络控制器 61的专用承载模块, 还可用于将下行数据包所属 的会话标识和当前为用户设备提供服务的第一基站设备 63 之间的对应关系 存储到用户位置数据库 66中, 以使网关设备 62可以根据确定出的下行数据 包所属的会话标识查询用户位置数据库 66 确定当前为用户设备提供服务的 第一基站设备 63。
网关设备 62可以包括确定模块和路由规则模块。 网关设备 62的确定模 块, 主要用于根据接收到的发往用户设备的下行数据包的包头信息, 确定用 于该下行数据包的目标过滤规则, 进而确定下行数据包所属的会话标识, 根 据该下行数据包所属的会话标识,查询用户位置数据库 66确定当前为用户设 备提供服务的第一基站设备 63。 网关设备 62 的路由规则模块, 主要用于接 收网络控制器 61发送的路由规则, 以便于在接收到发往用户设备的下行数据 包时使用该路由规则将下行数据包转发给第一基站设备 63。
进一步, 网络控制器 61还可以包括更新模块, 主要用于根据用户设备的 移动,更新用户位置数据库 66中下行数据包所属的会话标识与当前为用户设 备提供服务的基站设备之间的对应关系。 假设, 用户设备从第一基站设备 63 切换到第二基站设备 64, 则网络控制器 61的更新模块将用户位置数据库 66 中当前为用户设备提供服务的基站设备更新为第二基站设备 64。 这样, 网关 设备 62在接收到下行数据包后, 其确定模块就可以从用户位置数据库 66中 确定出第二基站设备 64, 其路由规则模块会从网络控制器 61获取到第二基 站设备 64 的路由规则, 使用该路由规则将下行数据包转发给第二基站设备 64, 进而由第二基站设备 64将下行数据包转发给用户设备。
在图 6中, 带箭头的细虚线表示用户设备发生移动前的数据交互; 带箭 头的粗虚线表示用户设备移动后的数据交互。
在上述实施方式中, 网络控制器 61的专用承载模块获知发往用户设备的 下行数据包所属的会话是新会话且使用专用承载的方式包括但不限于以下几 种:
第一种: 用户设备需要建立专用承载时, 会向网络控制器 61发送专用承 载会话请求,这样网络控制器 61的专用承载模块就会获知用户设备需要建立 专用承载。
第二种: 如图 7 所示, 该 SDN还可以包括深度包检测 (Deep Packet
Inspection, 简称为 DPI )设备 67, 由该 DPI设备 67通过 DPI技术确定用户 设备发起的会话是否需要建立专用承载, 并将确定结果通知网络控制器 61。 例如可以预先设定需要建立专用承载的业务类型, 例如视频、 IP电话(Voice over Internet Protocol , 简称为 VOIP) 等, 则当 DPI设备 67识别出用户 设备发起的会话是 VOIP业务时可以确定需要建立专用承载,进而通知网络控 制器 61。 在具体实现上, 该 DPI设备 67可以部署在网关设备 62、 第一基站 设备 63或第二基站设备 64上, 或者也可以独立部署。
在此说明, 在上述各实施方式中, 网关设备可以采用源路由技术, 根据 目标路由规则将下行数据包发送给目标基站设备。 源路由是指在发送节点就 指定数据包的部分或者全部途径数据节点, 源路由一般在各节点间相互信任 的网络内部使用。 源路由分为两种, 严格源路由和松散源路由。 严格源路由 指的是数据包必须经过指定路径上的每一个节点, 且相邻的节点间不允许出 现任何中间节点, 经过节点的顺序也不允许更改。 松散源路由则没有这些限 制。 本发明实施例既可以采用严格源路由, 也可以采用松散源路由。
以严格源路由为例, 源路由的路由规则可以是简单的一系列端口号, 例 如 21415 I 2 I组合,首节点将路由规则即 21415 | 2 |组合添加到数据包的包头中 发送出去, 接收到该数据包的第一个节点将按路由规则中的第一路由指示 2 执行转发, 并将去掉第一个路由指示删除, 获得剩余的路由规则即 4 I 5 I 2 I的 组合。 其中, 接收到该数据包的第一个节点将按第一路由指示 2执行, 是指 从该节点的端口 2将数据包转发出去, 由于端口 2连接的下一跳节点是确定 的, 因此实现了严格的数据路径转发。 同样接收到数据包的下一个节点也会 按照第一个路由指示进行转发, 并且把第一个路由指示从包头中删除, 这样 数据包的转发路径既可以得到严格的执行, 发送节点也不需要向每个节点发 送路由规则。
对于发往用户设备的下行数据包来说, 网关设备采用源路由技术的过程 为: 网关设备可以将目标路由规则添加到下行数据包中, 然后将携带有所述 目标路由规则的下行数据包发送出去, 从而将下行数据包发送到目标基站设 备。 本实施例的网关设备采用源路径技术可以有效的减少网关设备与传输路 径上各节点之间因传输路由规则而进行的信令交互, 相当于网关设备只需与 基站设备交互即可, 可以进一步提高整个 SDN的通信效率。
图 8为本发明实施例提供的一种网络设备的结构示意图。 该网络设备位 于 SDN中, 且网络设备为第一边缘节点, 如图 8所示, 该网络设备包括: 接 收模块 81、 确定模块 82、 路由规则模块 83和发送模块 84。
接收模块 81, 用于接收需要传输的数据包。
确定模块 82, 用于确定目标边缘节点, 该目标边缘节点是指传输接收模 块 81接收的数据包过程中需要经过的 SDN中的第二边缘节点。
路由规则模块 83, 与确定模块 82连接, 用于根据确定模块 82确定的目 标边缘节点从 SDN中的网络控制器获取目标路由规则, 该目标路由规则是指 第一边缘节点到确定模块 82所确定的目标边缘节点的路由规则。
发送模块 84, 与接收模块 81和路由规则模块 83连接, 用于根据路由规 则模块 83获取的目标路由规则, 将接收模块 81接收的数据包发送到目标边 缘节点, 以使该目标边缘节点完成数据包的传输。
在一可选实施方式中, 第一边缘节点可以为网关设备, 则接收模块 81接 收的数据包可以为发往用户设备的下行数据包, 第二边缘节点可以为基站设 备。
在另一可选实施方式中, 第一边缘节点可以为基站设备, 第二边缘节点 可以为网关设备,则接收模块 81接收的数据包可以为用户设备发送的上行数 据包。
在一可选实施方式中, 网络控制器可以将路由信息预先下发给第一边缘 节点,该路由信息包括第一边缘节点与 SDN中每个第二边缘节点的路由规则。 基于此, 路由规则模块 83具体可用于从网络控制器预先发送的路由信息中, 获取目标路由规则。
在另一可选实施方式中, 网络控制器也可以不将路由信息下发给第一边 缘节点, 而是根据第一边缘节点的实时请求向第一边缘节点返回目标路由规 贝 I」。 基于此, 路由规则模块 83具体可用于在接收模块 81收到数据包后, 向 网络控制器发送请求目标路由规则的请求消息, 并接收网络控制器根据该请 求消息发送的目标路由规则。 该请求消息可以包括目标边缘节点的标识, 用 于供网络控制器确定第一边缘节点请求获取的是到哪个第二边缘节点的路由 规则。
在一可选实施方式中, 在第一边缘节点为网关设备, 第二边缘节点为基 站设备的情况下, 确定模块 82具体可用于确定下行数据包所属的会话标识, 根据该下行数据包所属的会话标识, 查询会话标识与基站设备之间的对应关 系, 从而确定目标基站设备。 其中, 目标基站设备是指与该下行数据包所属 的会话标识对应的基站设备。 可选的, SDN 中设置有用户位置数据库, 该用 户位置数据库可用于存储会话标识与基站设备之间的对应关系。
在此说明, 在本实施例中, 一个会话标识可以对应一个会话, 也可以对 应多个会话。 对于一个会话标识对应多个会话的情况, 适用于会话聚合的场 旦 进一步可选的,如果接收模块 81接收的下行数据包所属的会话使用缺省 承载 (即是短会话) , 则可由第一边缘节点自身生成用于该下行数据包的过 滤规则。 具体的, 接收模块 81在接收下行数据包之前, 还可用于接收该下行 数据包对应的上行数据包。 基于此, 如图 9所示, 该网络设备还包括: 过滤 规则生成模块 85。 过滤规则生成模块 85, 与确定模块 82连接, 用于向确定 模块 82提供目标过滤规则。 该过滤规则生成模块 85用于在识别出接收模块 81接收的上行数据包所属的会话是新会话且使用缺省承载时, 根据该上行数 据包在本地生成用于该下行数据包的目标过滤规则, 并生成该上行数据包所 属的会话标识与当前为用户设备提供服务的基站设备之间的对应关系。 在此 说明, 下行数据包与该下行数据包对应的上行数据包属于同一会话, 所以所 属的会话标识也相同。
进一步可选的,如果接收模块 81接收的下行数据包所属的会话使用专用 承载 (即是长会话) , 则用于该下行数据包的过滤规则可由网络控制器生成 并下发给第一边缘节点。基于此, 接收模块 81还用于接收网络控制器发送的 目标过滤规则, 并将目标过滤规则存储在本地, 并接收网络控制器发送的下 行数据包所属的会话标识与当前为用户设备提供服务的基站设备之间的对应 关系。 其中, 目标过滤规则是网络控制器在获知该下行数据包所属的会话是 新会话且使用专用承载后为该下行数据包生成的。
基于上述两种情况, 确定模块 82用于确定下行数据包所属的会话标识, 包括: 确定模块 82具体可用于根据用于下行数据包的目标过滤规则, 确定该 下行数据包所属的会话标识。 区别在于, 在短会话场景下, 用于下行数据包 的目标过滤规则是第一边缘节点 (即网关设备) 自己生成的, 而在长会话场 景下, 用于下行数据包的目标过滤规则是网络控制器生成并下发给网关设备 的。
本实施例提供的网络设备基于上述各功能模块所实现的工作流程可参见 前述系统实施例的描述, 在此不再赘述。
本实施例提供的网络设备可作为 SDN中的第一边缘节点, 在接收到需要 传输的数据包后, 从 SDN中的第二边缘节点中确定传输该数据包需要经过的 目标边缘节点, 然后从网络控制器获取第一边缘节点到该目标边缘节点的目 标路由规则, 通过该路由规则将数据包发送给目标边缘节点, 使目标边缘节 点完成该数据包的传输。 本实施例提供的第一边缘节点, 在数据传输过程中 从第二边缘节点中确定传输数据包需要经过的目标边缘节点, 可以适应因用 户设备的移动性造成目标边缘节点发生变化的情况, 使得网络控制器只负责 第一边缘节点到目标边缘节点的路由规则, 且不需要因为用户设备位置的变 化而实时调整到第一边缘节点到目标边缘节点的路由规则, 有效的减少了网 络控制器的处理负担, 优化了控制面与用户面之间的信令交互, 提升了 SDN 的通信效率。
图 10为本发明实施例提供的又一种网络设备的结构示意图。该网络设备 位于 SDN中,且该网络设备为第一边缘节点,如图 10所示,该网络设备包括: 接收器 1001、 处理器 1002、 存储器 1003和发射器 1004。
接收器 1001, 用于接收需要传输的数据包。
存储器 1003可以包括只读存储器和随机存取存储器, 并向处理器 1002 提供指令和数据。存储器 1003的一部分还可以包括非易失性随机存取存储器 (NVRAM)
存储器 1003存储了如下的元素, 可执行模块或者数据结构, 或者它们的 子集, 或者它们的扩展集:
操作指令: 包括各种操作指令, 用于实现各种操作。
操作系统: 包括各种系统程序, 用于实现各种基础业务以及处理基于硬 件的任务。
在本发明实施例中, 处理器 1002通过调用存储器 1003存储的操作指令 (该操作指令可存储在操作系统中) , 执行如下操作:
确定目标边缘节点, 根据确定的目标边缘节点从 SDN中的网络控制器获 取目标路由规则,该目标边缘节点是指传输接收模块 81接收的数据包过程中 需要经过的 SDN中的第二边缘节点, 该目标路由规则是指第一边缘节点到目 标边缘节点的路由规则。
发射器 1004,用于根据处理器 1002获取的目标路由规则,将接收器 1001 接收的数据包发送到目标边缘节点, 以使该目标边缘节点完成数据包的传输。
可选的, 处理器 1002 可以控制本实施例第一边缘节点的操作, 处理器 1002还可以称为 CPU。 存储器 1003可以包括只读存储器和随机存取存储器, 并向处理器 1002提供指令和数据。 存储器 1003的一部分还可以包括非易失 性随机存取存储器(NVRAM ) 。 具体的应用中, 本实施例基站设备的各个组件 通过总线系统 1005耦合在一起, 其中总线系统 1005除包括数据总线之外, 还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见, 在图中将各种总线都标为总线系统 1005。
上述本发明实施例揭示的方法可以应用于处理器 1002中,或者由处理器 1002实现。 处理器 1002可能是一种集成电路芯片, 具有信号的处理能力。 在实现过程中,上述方法的各步骤可以通过处理器 1002中的硬件的集成逻辑 电路或者软件形式的指令完成。上述的处理器 1002可以是通用处理器、数字 信号处理器 (DSP ) 、 专用集成电路 (ASIC ) 、 现成可编程门阵列 (FPGA) 或 者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 通用 处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。 结合本 发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成, 或者用译码处理器中的硬件及软件模块组合执行完成。 软件模块可以位于随 机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写可编程存储 器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储器 1003, 处理 器 1002读取存储器 1003中的信息, 结合其硬件完成上述方法的步骤。
在一可选实施方式中, 第一边缘节点可以为网关设备, 则接收器 1001接 收的数据包可以为发往用户设备的下行数据包, 第二边缘节点可以为基站设 备。
在另一可选实施方式中, 第一边缘节点可以为基站设备, 第二边缘节点 可以为网关设备,则接收器 1001接收的数据包可以为用户设备发送的上行数 据包。
在一可选实施方式中, 网络控制器可以将路由信息预先下发给第一边缘 节点,该路由信息包括第一边缘节点与 SDN中每个第二边缘节点的路由规则。 基于此, 接收器 1001 还用于接收网络控制器预先发送的路由信息。 处理器 1002具体可用于从网络控制器预先发送的路由信息中, 获取目标路由规则。
在另一可选实施方式中, 网络控制器也可以不将路由信息下发给第一边 缘节点, 而是根据第一边缘节点的实时请求向第一边缘节点返回目标路由规 贝 lj。 基于此, 处理器 1002具体可用于在接收器 1001收到数据包后, 通过发 射器 1004 向网络控制器发送请求目标路由规则的请求消息, 并通过接收器 1001接收网络控制器根据该请求消息发送的目标路由规则。 相应的, 发射器 1004 还用于向网络控制器发送请求目标路由规则的请求消息, 接收器 1001 还用于接收网络控制器根据该请求消息发送的目标路由规则。 该请求消息可 以包括目标边缘节点的标识, 用于供网络控制器确定第一边缘节点请求获取 的是到哪个第二边缘节点的路由规则。
在一可选实施方式中, 在第一边缘节点为网关设备, 第二边缘节点为基 站设备的情况下, 处理器 1002具体可用于确定下行数据包所属的会话标识, 根据该下行数据包所属的会话标识, 查询会话标识与基站设备之间的对应关 系, 从而确定目标基站设备。 其中, 目标基站设备是指与该下行数据包所属 的会话标识对应的基站设备。 可选的, SDN 中设置有用户位置数据库, 该用 户位置数据库可用于存储会话标识与基站设备之间的对应关系。
在此说明, 在本实施例中, 一个会话标识可以对应一个会话, 也可以对 应多个会话。 对于一个会话标识对应多个会话的情况, 适用于会话聚合的场 旦 进一步可选的,如果接收器 1001接收的下行数据包所属的会话使用缺省 承载 (即是短会话) , 则可由第一边缘节点自身生成用于该下行数据包的过 滤规则。 具体的, 接收器 1001在接收下行数据包之前, 还可以接收该下行数 据包对应的上行数据包。基于此,处理器 1002还用于向在识别出接收器 1001 接收的上行数据包所属的会话是新会话且使用缺省承载时, 根据该上行数据 包的包头信息, 在本地生成用于该上行数据包的目标过滤规则, 并生成该上 行数据包所属的会话标识与当前为用户设备提供服务的基站设备之间的对应 关系。 在此说明, 下行数据包与该下行数据包对应的上行数据包属于同一会 话, 所以所属的会话标识也相同。
进一步可选的,如果接收器 1001接收的下行数据包所属的会话使用专用 承载 (即是长会话) , 则用于该下行数据包的过滤规则可由网络控制器生成 并下发给第一边缘节点。基于此, 接收器 1001还用于接收网络控制器发送的 目标过滤规则, 并将目标过滤规则存储在本地, 并接收网络控制器发送的下 行数据包所属的会话标识与当前为用户设备提供服务的基站设备之间的对应 关系。 其中, 目标过滤规则是网络控制器在获知该下行数据包所属的会话是 新会话且使用专用承载后为该下行数据包生成的。
基于上述两种情况, 处理器 1002用于确定下行数据包所属的会话标识, 包括: 处理器 1002具体可用于根据用于下行数据包的目标过滤规则, 确定该 下行数据包所属的会话标识。 区别在于, 在短会话场景下, 用于下行数据包 的目标过滤规则是第一边缘节点 (即网关设备) 自己生成的, 而在长会话场 景下, 用于下行数据包的目标过滤规则是网络控制器生成并下发给网关设备 的。
本实施例提供的网络设备所实现的工作流程可参见前述系统实施例的描 述, 在此不再赘述。
本实施例提供的网络设备可作为 SDN中的第一边缘节点, 在接收到需要 传输的数据包后, 从 SDN中的第二边缘节点中确定传输该数据包需要经过的 目标边缘节点, 然后从网络控制器获取第一边缘节点到该目标边缘节点的目 标路由规则, 通过该路由规则将数据包发送给目标边缘节点, 使目标边缘节 点完成该数据包的传输。 本实施例提供的网络设备, 在数据传输过程中从第 二边缘节点中确定传输数据包需要经过的目标边缘节点, 可以适应因用户设 备的移动性造成目标边缘节点发生变化的情况, 使得网络控制器只负责第一 边缘节点到目标边缘节点的路由规则, 且不需要因为用户设备位置的变化而 实时调整到第一边缘节点到目标边缘节点的路由规则, 有效的减少了网络控 制器的处理负担, 优化了控制面与用户面之间的信令交互, 提升了 SDN的通 信效率。
图 11为本发明实施例提供的一种网络控制器的结构示意图。该网络控制 器位于 SDN中, 如图 11所示, 该网络控制器包括: 路由规则模块 1101和发 送模块 1102。
路由规则模块 1101, 用于为 SDN中的第一边缘节点配置路由信息, 该路 由信息包括第一边缘节点到 SDN中每个第二边缘节点的路由规则。
发送模块 1102, 与路由规则模块 1101连接, 用于将路由规则模块 1101 配置的路由信息发送给第一边缘节点, 以使第一边缘节点在接收到的需要传 输的数据包时基于该路由信息确定到目标边缘节点的目标路由规则, 该目标 边缘节点是传输该数据包过程中需要经过的第二边缘节点。
在一可选实施方式中, 第一边缘节点可以为网关设备, 则第一边缘节点 接收的数据包可以为发往用户设备的下行数据包, 第二边缘节点可以为基站 设备。
在另一可选实施方式中, 第一边缘节点可以为基站设备, 第二边缘节点 可以为网关设备, 则第一边缘节点接收的数据包可以为用户设备发送的上行 数据包。
在一可选实施方式中, 如图 12所示, 该网络控制器还包括: 专用承载模 块 1103。
专用承载模块 1103, 用于在获知下行数据包所属的会话是新会话且使用 专用承载后生成用于下行数据包的目标过滤规则, 生成该下行数据包所属的 会话标识和当前为用户设备提供服务的基站设备之间的对应关系。
相应的, 发送模块 1102还与专用承载模块 1103连接, 用于将专用承载 模块 1103生成的目标过滤规则发送给网关设备, 以使网关设备根据目标过滤 规则确定下行数据包所属的会话标识, 并将该下行数据包所属的会话标识和 当前为用户设备提供服务的基站设备之间的对应关系发送给网关设备, 以使 网关设备确定目标基站设备。
进一步, 如图 12所示, 该网络控制器还包括: 更新模块 1104。 更新模 块 1104, 用于根据用户设备的移动, 更新该下行数据包所属的会话标识与当 前为用户设备提供服务的基站设备之间的对应关系。
本实施例提供的网络控制器基于上述各功能模块所实现的工作流程可参 见前述系统实施例的描述, 在此不再赘述。
本实施例提供的网络控制器, 只需负责第一边缘节点到目标边缘节点的 路由规则, 不需要因为用户设备位置的变化而实时调整到第一边缘节点到目 标边缘节点的路由规则, 其处理负担较轻, 有利于优化控制面与用户面之间 的信令交互, 提升 SDN的通信效率。
图 13为本发明实施例提供的又一种网络控制器的结构示意图。该网络控 制器位于 SDN, 如图 13所示, 该网络控制器包括: 处理器 1301、存储器 1302 和发射器 1303。
存储器 1302可以包括只读存储器和随机存取存储器, 并向处理器 1301 提供指令和数据。存储器 1302的一部分还可以包括非易失性随机存取存储器 (NVRAM)
存储器 1302存储了如下的元素, 可执行模块或者数据结构, 或者它们的 子集, 或者它们的扩展集:
操作指令: 包括各种操作指令, 用于实现各种操作。
操作系统: 包括各种系统程序, 用于实现各种基础业务以及处理基于硬 件的任务。
在本发明实施例中, 处理器 1301通过调用存储器 1302存储的操作指令 (该操作指令可存储在操作系统中) , 执行如下操作:
为 SDN中的第一边缘节点配置路由信息, 该路由信息包括第一边缘节点 到 SDN中每个第二边缘节点的路由规则。
发射器 1303, 用于将处理器 1301配置的路由信息发送给第一边缘节点, 以使第一边缘节点在接收到的需要传输的数据包时基于该路由信息确定到目 标边缘节点的目标路由规则, 该目标边缘节点是传输该数据包过程中需要经 过的第二边缘节点。 可选的,处理器 1301可以控制本实施例网络控制器的操作,处理器 1301 还可以称为 CPU。 存储器 1302可以包括只读存储器和随机存取存储器, 并向 处理器 1301提供指令和数据。 存储器 1302的一部分还可以包括非易失性随 机存取存储器(NVRAM ) 。 具体的应用中, 本实施例的网络控制器的各个组件 通过总线系统 1305耦合在一起, 其中总线系统 1305除包括数据总线之外, 还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见, 在图中将各种总线都标为总线系统 1305。
上述本发明实施例揭示的方法可以应用于处理器 1301中,或者由处理器 1301实现。 处理器 1301可能是一种集成电路芯片, 具有信号的处理能力。 在实现过程中,上述方法的各步骤可以通过处理器 1301中的硬件的集成逻辑 电路或者软件形式的指令完成。上述的处理器 1301可以是通用处理器、数字 信号处理器 (DSP ) 、 专用集成电路 (ASIC ) 、 现成可编程门阵列 (FPGA) 或 者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 通用 处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。 结合本 发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成, 或者用译码处理器中的硬件及软件模块组合执行完成。 软件模块可以位于随 机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写可编程存储 器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储器 1302, 处理 器 1301读取存储器 1302中的信息, 结合其硬件完成上述方法的步骤。
在一可选实施方式中, 第一边缘节点可以为网关设备, 则第一边缘节点 接收的数据包可以为发往用户设备的下行数据包, 第二边缘节点可以为基站 设备。
在另一可选实施方式中, 第一边缘节点可以为基站设备, 第二边缘节点 可以为网关设备, 则第一边缘节点接收的数据包可以为用户设备发送的上行 数据包。
可选的, 在第一边缘节点可以为网关设备, 第二边缘节点可以为基站设 备的情况下, 处理器 1301, 还可用于在获知下行数据包所属的会话是新会话 且使用专用承载后生成用于该下行数据包的目标过滤规则, 并生成该下行数 据包所属的会话标识和当前为用户设备提供服务的基站设备之间的对应关 系。 相应的, 发射器 1303还用于将处理器 1301生成的目标过滤规则发送给 网关设备, 以使网关设备根据目标过滤规则确定下行数据包所属的会话标识, 并将该下行数据包所属的会话标识和当前为用户设备提供服务的基站设备之 间的对应关系发送给网关设备, 以使网关设备确定目标基站设备。
进一步, 处理器 1301还用于根据用户设备的移动, 更新用户位置数据库 中下行数据包所属的会话与当前为用户设备提供服务的基站设备之间的对应 关系。
如图 13所示, 该网络控制器还包括: 接收器 1304。 接收器 1304与发射 器 1303相配合, 实现网络控制器与其他设备之间的通信。
本实施例提供的网络控制器所实现的工作流程可参见前述系统实施例的 描述, 在此不再赘述。
本实施例提供的网络控制器, 只需负责第一边缘节点到目标边缘节点的 路由规则, 不需要因为用户设备位置的变化而实时调整到第一边缘节点到目 标边缘节点的路由规则, 其处理负担较轻, 有利于优化控制面与用户面之间 的信令交互, 提升 SDN的通信效率。
图 14为本发明实施例提供的一种数据传输方法的流程图。如图 14所示, 该方法包括:
1401、 SDN中的第一边缘节点接收需要传输的数据包。
1402、 第一边缘节点确定目标边缘节点, 该目标边缘节点是指传输上述 数据包过程中需要经过的第二边缘节点。
1403、第一边缘节点根据目标边缘节点从网络控制器获取目标路由规则, 该目标路由规则是指第一边缘节点到目标边缘节点的路由规则。
1404、 第一边缘节点根据上述目标路由规则, 将上述数据包发送到目标 边缘节点, 以使目标边缘节点完成上述数据包的传输。
在本实施例中, 第一边缘节点可以是一个或多个; 第二边缘节点也可以 是一个或多个。 目标边缘节点是其中一个第二边缘节点。
在本实施例中, 网络控制器是该 SDN的控制面设备, 负责控制该 SDN, 主要用于预先确定并存储任意一个第一边缘节点到任意一个第二边缘节点的 路由规则, 并向第一边缘节点提供所需的目标路由规则。
第一边缘节点接收到需要传输的数据包后, 从第二边缘节点中确定传输 该数据包需要经过的目标边缘节点, 然后从网络控制器获取到该目标边缘节 点的目标路由规则, 通过该路由规则将数据包发送给目标边缘节点, 使目标 边缘节点完成该数据包的传输。
在一可选实施方式中, 第一边缘节点可以是网关设备, 第二边缘节点可 以是基站设备, 则第一边缘节点接收的数据包可以是发往用户设备的下行数 据包。
在一可选实施方式中, 第一边缘节点可以是基站设备, 第二边缘节点可 以是网关设备, 则第一边缘节点接收的数据包可以是用户设备发送的上行数 据包。
可选的, 上述网关设备可以是 PDN-GW, GGSN或 S-GW等。
在一可选实施方式中, 网络控制器可以预先向第一边缘节点发送路由信 息, 该路由信息中包括第一边缘节点与 SDN中的每个第二边缘节点的路由规 贝 lj。 基于此, 步骤 1403可以包括: 第一边缘节点从网络控制器预先发送的路 由信息中, 获取目标路由规则。
在另一可选实施方式中, 网络控制器可以不预先向第一边缘节点发送路 由信息, 而是根据第一边缘节点的实时请求向第一边缘节点返回目标路由规 贝 I」。 基于此, 步骤 1403可以包括: 第一边缘节点在收到数据包后, 向网络控 制器发送请求目标路由规则的请求消息; 网络控制器接收第一边缘节点发送 的请求消息, 并根据该请求消息向第一边缘节点返回目标路由规则; 第一边 缘节点接收网络控制器根据该请求消息发送的目标路由规则。 该请求消息可 以包括目标边缘节点的标识, 用于供网络控制器确定第一边缘节点请求获取 的是到哪个第二边缘节点的路由规则。
在第一边缘节点是网关设备, 第二边缘节点是基站设备的情况下, 步骤 1402的一种实施方式包括: 网关设备确定下行数据包所属的会话标识; 根据 下行数据包所属的会话标识, 查询会话标识与基站设备之间的对应关系, 确 定目标基站设备。
通常, 对于基于会话粒度的数据包来说, 有些会话要求有 QoS保障, 具 有持续时间较长等特征, 这类会话属于长会话; 另有一些会话, 例如目前主 流业务之一的网页浏览业务中产生大量的会话大多持续时间相对较短, 这类 会话是短会话。 长会话一般需要建立专用承载来承载, 另外由于持续时间较 长, 所以用户设备在此期间发生移动的概率较高, 因此长会话对移动性要求 较高; 短会话不需要建立专用承载, 可以承载在缺省承载上, 同时由于持续 时间较短, 用户设备发生移动的概率较小, 即使用户设备发生了移动, 用户 设备也会在传输层或者应用层重新发起业务请求, 对用户体验影响也很小, 因此短会话对移动性要求也较低。
由此可见, 对于长会话来说, 可以由网络控制器根据用户设备的移动实 时更新上述会话标识与基站设备之间的对应关系, 以保证这些长会话对移动 性的要求。 而对于短会话, 则可以不用网络控制器参与对会话标识与基站设 备之间的对应关系的更新, 而是由网关设备自行对短会话业务进行处理, 从 而减轻网络控制器的负担。
基于上述, 在下行数据包所属的会话是短会话的情景下, 本实施例提供 的方法还可以包括: 网关设备在接收发往用户设备的下行数据包之前, 接收 下行数据包对应的上行数据包, 并在识别出该上行数据包所属的会话是新会 话且使用缺省承载时, 根据该上行数据包在本地生成用于下行数据包的目标 过滤规则, 并生成上行数据包所属的会话标识与当前为用户设备提供服务的 基站设备之间的对应关系。
基于上述, 在下行数据包所属的会话是长会话的情景下, 本实施例提供 的方法还可以包括: 网关设备接收网络控制器发送的用于下行数据包的目标 过滤规则, 将目标过滤规则存储在本地, 并接收网络控制器发送的下行数据 包所属的会话标识与当前为用户设备提供服务的基站设备之间的对应关系; 其中, 目标过滤规则是网络控制器在获知下行数据包所属的会话是新会话且 使用专用承载后为下行数据包生成的。
在上述两种情景下, 网关设备确定下行数据包所属的会话标识的实施过 程可以包括: 网关设备根据用于下行数据包的目标过滤规则, 确定下行数据 包所属的会话标识。 区别在于: 在短会话场景下, 该目标过滤规则是网关设 备自己生成的, 而在长会话场景下, 该目标过滤规则是网络控制器生成并下 发给网关设备的。
通常, 不同会话对应不同的过滤规则, 因此数据包所属的会话标识可以 由该数据包使用的过滤规则来确定。 因此, 网关设备具体可用于根据下行数 据包的包头信息, 在本地存储的过滤规则中进行匹配, 获取用于该下行数据 包的目标过滤规则, 根据该目标过滤规则确定下行数据包所属的会话标识。 其中, 过滤规则一般是根据数据包的包头信息生成。 下行数据包的包头信息 主要包括该数据包所包含的各种协议栈的头信息, 比如 MAC协议头、 IP协议 头信息等, 进一步如 IP协议头信息中包括源地址、 目的地址、 协议类型等信 息。
由此可见, 在本实施例提供的方法中, 由第一边缘节点从第二边缘节点 中确定传输数据包需要经过的目标边缘节点, 可以适应因用户设备的移动性 造成目标边缘节点发生变化的情况, 而网络控制器只负责第一边缘节点到目 标边缘节点的路由规则, 不需要因为用户设备位置的变化而实时调整到第一 边缘节点到目标边缘节点的路由规则,有效的减少了网络控制器的处理负担, 优化了控制面与用户面之间的信令交互, 提升了 SDN的通信效率。
图 15为本发明实施例提供的一种传输控制方法的流程图。如图 15所示, 该方法包括:
1501、 SDN中的网络控制器为 SDN中的第一边缘节点配置路由信息, 该 路由信息包括第一边缘节点到 SDN中每个第二边缘节点的路由规则。
1502、 网络控制器将路由信息发送给第一边缘节点, 以使第一边缘节点 在接收到的需要传输的数据包时基于该路由信息确定到目标边缘节点的目标 路由规则, 该目标边缘节点是传输上述数据包过程中需要经过的第二边缘节 点。
具体在本实施方式中, 网络控制器预先确定并保存任意一个第一边缘节 点与任意一个第二边缘节点之间的路由规则, 并预先将意一个第一边缘节点 与任意一个第二边缘节点之间的路由规则下发给第一边缘节点, 以便于第一 边缘节点在接收到需要转发的数据包并确定了目标边缘节点时获取该第一边 缘节点与该目标边缘节点之间的目标路由规则, 进而基于该目标路由规则将 数据包发送给目标边缘节点。
在一可选实施方式中, 第一边缘节点可以是网关设备, 第二边缘节点可 以是基站设备, 则第一边缘节点接收的数据包可以是发往用户设备的下行数 据包。
在一可选实施方式中, 第一边缘节点可以是基站设备, 第二边缘节点可 以是网关设备, 则第一边缘节点接收的数据包可以是用户设备发送的上行数 据包。
可选的, 上述网关设备可以是 PDN-GW, GGSN或 S-GW等。 基于上述基站设备和网关设备, 网络控制器预先确定并保存任意一个网 关设备与任意一个基站设备之间的路由规则, 并将任意一个网关设备与任意 一个基站设备之间的路由规则下发给网关设备和基站设备, 以便于网关设备 在接收到需要转发的数据包并确定了目标基站设备时获取该网关设备与该目 标基站设备之间的路由规则, 或者, 以便于基站设备在接收到需要转发的数 据包并确定了目标网关设备时获取该基站设备与该目标网关设备之间的路由 规则。
可选的, 网络控制器可以采用路由表的形式将相应的路由规则下发给网 关设备和基站设备。
在一可选实施方式中, 为了进一步减轻网络控制器的处理负担, 网络控 制器可以仅针对长会话进行移动性管理。 具体的, 网络控制器在获知网关设 备接收的下行数据包所属的会话是新会话且使用专用承载 (即长会话) 后, 生成用于该下行数据包的目标过滤规则, 并生成该下行数据包所属的会话标 识和当前为用户设备提供服务的基站设备之间的对应关系; 然后, 将目标过 滤规则发送给网关设备, 以使网关设备根据该目标过滤规则确定下行数据包 所属的会话标识, 并将下行数据包所属的会话标识和当前为用户设备提供服 务的基站设备之间的对应关系发送给网关设备, 以使网关设备确定目标基站 设备。 在该实施方式中, 网关设备基于用于下行数据包的目标过滤规则确定 下行数据包所属的会话标识, 进而基于下行数据包所属的会话标识查询会话 标识与基站设备之间的对应关系, 确定该下行数据包所属的会话标识对应的 基站设备作为目标基站设备。
基于上述, 网络控制器还可以根据用户设备的移动, 更新下行数据包所 属的会话标识与当前为用户设备提供服务的基站设备之间的对应关系, 以保 证网关设备所确定的目标基站设备就是当前为用户设备提供服务的基站设 备, 保证数据包的正确转发。
在本实施例提供的方法中, 网络控制器只需负责第一边缘节点到目标边 缘节点的路由规则, 不需要因为用户设备位置的变化而实时调整到第一边缘 节点到目标边缘节点的路由规则, 其处理负担较轻, 有利于优化控制面与用 户面之间的信令交互, 提升 SDN的通信效率。
图 16为本发明实施例提供的另一种数据传输方法的流程图。在该实施方 式中, 第一边缘节点为网关设备, 第二边缘节点为基站设备。 如图 16所示, 该方法包括:
1600、 网络控制器预先确定任意一个网关设备与任意一个基站设备之间 的路由规则。
1601、 网络控制器向网关设备和基站设备分别发送路由信息, 其中, 发 送给网关设备的路由信息包括网关设备与每个基站设备之间的路由规则, 发 送给基站设备的路由信息包括基站设备与每个网关设备之间的路由规则。
在此说明, 网络控制器除了预先将路由信息发送给网关设备和基站设备 之外, 还可以根据网关设备或基站设备实时发送的请求消息, 向网关设备和 基站设备返回路由规则。
1602、 用户设备发起专用承载会话请求到网络控制器。
1603、 网络控制器为该用户设备分配专用承载, 生成用于该用户设备的 下行数据包的目标过滤规则, 并生成该用户设备的下行数据包所属的会话标 识与当前为该用户设备提供服务的基站设备之间的对应关系。
例如, 网络控制器可以根据用户信息和网络当前状况, 决策可以为该用 户设备分配专用承载。
1604、 网络控制器将用于该用户设备的下行数据包的目标过滤规则下发 给网关设备, 并将该用户设备的下行数据包所属的会话标识与当前为该用户 设备提供服务的基站设备之间的对应关系发送给网关设备。
1605、 网关设备接收发往用户设备的下行数据包。
1606、 如果用户设备在此期间发生移动, 网络控制器根据用户设备的移 动, 更新该用户设备的下行数据包所属的会话标识与当前为该用户设备提供 服务的基站设备之间的对应关系。
1607、 网关设备根据下行数据包所属的会话标识, 查询会话标识与基站 设备之间的对应关系, 从而确定与该下行数据包所属的会话标识对应的基站 设备作为目标基站设备, 该目标基站设备是指传输上述下行数据包过程中需 要经过的基站设备。
在本实施例中, 假设用户设备发生了移动, 则网关设备所确定的目标基 站设备与之前为用户设备提供服务的基站设备不相同。图 16中的基站设备是 指在用户设备发生移动之前为用户设备提供服务的原基站设备, 图 16中的目 标基站设备是指用户设备发生移动之后为用户设备提供服务的基站设备。
1608、网关设备根据目标基站设备从网络控制器预先下发的路由信息中, 获取目标路由规则, 该目标路由规则是指网关设备到目标基站设备的路由规 则。
1609、 网关设备根据上述目标路由规则, 将上述下行数据包发送到目标 基站设备, 以使目标基站设备完成上述下行数据包的传输。
1610、 目标基站设备将下行数据包发送给用户设备。
本实施例提供的方法尤其适用于长会话场景, 但不限于此。
在本实施例提供的方法中, 基站设备和网关设备在网络拓扑中的位置是 不变的, 因此, 连接基站设备和网关设备的网络拓扑也是相对稳定的。 基于 此, SDN 中的网络控制器保存的任意一个网关设备与任意基站设备之间的路 由规则是相对静态的, 不需要因为用户位置的变化而实时调整网关设备到基 站设备之间的路由规则, 有效的减少了网络控制器的处理负担, 另外网络控 制器不需要频繁向网关设备或基站设备提供路由规则, 因此有利于减轻控制 面设备 (即网络控制器) 与用户面设备 (网关设备或基站设备) 之间的信令 交互, 进而有利于提高整个 SDN的通信效率。 与此同时, 该 SDN中用户设备 的位置信息可以是动态的, 在数据包的转发过程中, 由于网络控制器更新用 户设备发起的会话的标识与用户设备当前所在基站设备之间的对应关系, 使 得网关设备采用了用户设备当前的位置信息 (当前所在的基站设备) 进行路 由, 有效地确保了用户移动过程中的数据传输。
图 17为本发明实施例提供的又一种数据传输方法的流程图。在该实施方 式中, 第一边缘节点为网关设备, 第二边缘节点为基站设备。 如图 17所示, 该方法包括:
1700、 网络控制器预先确定任意一个网关设备与任意一个基站设备之间 的路由规则。
1701、 网络控制器向网关设备和基站设备分别发送路由信息, 其中, 发 送给网关设备的路由信息包括网关设备与每个基站设备之间的路由规则, 发 送给基站设备的路由信息包括基站设备与每个网关设备之间的路由规则。
在此说明, 网络控制器除了预先将路由信息发送给网关设备和基站设备 之外, 还可以根据网关设备或基站设备实时发送的请求消息, 向网关设备和 基站设备返回路由规则。
1702、 第一基站设备接收用户设备发往网关设备的上行数据包。 这里的 上行数据包可以是业务请求, 但不限于此。
1703、 第一基站设备根据网络控制器预先发送的路由信息, 确定到网关 设备的目标路由规则, 根据目标路由规则将上行数据包发送给网关设备, 并 在上行数据包中携带第一基站设备的标识信息。
1704、 网关设备接收到上行数据包后, 识别该上行数据包所属的会话是 新会话且使用缺省承载, 则在本地生成用于该上行数据包对应的下行数据包 的过滤规则, 并根据该上行数据包携带的第一基站设备的标识信息生成该上 行数据包所属的会话标识与第一基站设备的对应关系并存储在本地。
1705、 网关设备将上行数据包转发出去。
1706、 网关设备接收发往用户设备的下行数据包。
1707、 网关设备根据该下行数据包所属的会话标识, 查询之前存储的上 行数据包所属的会话标识与第一基站设备的对应关系, 确定传输该下行数据 包需要经过的目标基站设备, 即第一基站设备。
1708、 网关设备根据网络控制器预先下发的路由信息, 确定到第一基站 设备的目标路由规则。
1709、 网关设备根据所确定的到第一基站设备的目标路由规则, 将下行 数据包发送给第一基站设备。
可选的, 如果在该过程中, 用户设备未发生移动, 则步骤 1709之后, 可 以执行步骤 1710; 如果在该过程中, 用户设备发生了移动, 例如从第一基站 设备移动到第二基站设备,则可以执行步骤 1711和 1712,或者执行步骤 1713- 步骤 1717。
1710、 第一基站设备将下行数据包转发给用户设备。
1711、 第一基站设备将下行数据包转发给第二基站设备, 以使第二基站 设备将下行数据包转发给用户设备。
1712、 第二基站设备将下行数据包发送给用户设备。
1713、 第一基站设备丢弃该下行数据包。
1714、 用户设备通过第二基站设备重新向网关设备发送上行数据包, 该 上行数据包可以是业务请求,该上行数据包携带有第二基站设备的标识信息。 1715、 网关设备接收到第二基站设备发送上行数据包后, 识别出该上行 数据包属于已经存在的会话, 但该上行数据包所属的会话标识对应的基站设 备发生了变化, 于是将该上行数据包所属的会话标识对应的基站设备由第一 基站设备更新为第二基站设备。
1716、 网关设备根据更新后的会话标识与基站设备之间的对应关系, 将 下行数据包发送给第二基站设备。
1717、 第二基站设备将下行数据包发送给用户设备。
本实施例提供的方法尤其适用于短会话场景, 但不限于此。
在本实施例提供的方法中, 基站设备和网关设备在网络拓扑中的位置是 不变的, 因此, 连接基站设备和网关设备的网络拓扑也是相对稳定的。 基于 此, SDN 中的网络控制器保存的任意一个网关设备与任意基站设备之间的路 由规则是相对静态的, 不需要因为用户位置的变化而实时调整网关设备到基 站设备之间的路由规则, 有效的减少了网络控制器的处理负担, 另外网络控 制器不需要频繁向网关设备或基站设备提供路由规则, 因此有利于减轻控制 面设备 (即网络控制器) 与用户面设备 (网关设备或基站设备) 之间的信令 交互, 进而有利于提高整个 SDN的通信效率。 与此同时, 该 SDN中网络控制 器不需要更新用户设备发起的会话的标识与用户设备当前所在基站设备之间 的对应关系, 可以进一步减轻网络控制器的处理负担。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权利 要 求书
1、 一种软件定义网络 SDN, 其特征在于, 包括: 网络控制器、 第一边缘 节点和至少一个第二边缘节点;
所述第一边缘节点, 用于接收需要传输的数据包, 确定目标边缘节点, 根据所述目标边缘节点从所述网络控制器获取目标路由规则, 并根据所述目 标路由规则, 将所述数据包发送到所述目标边缘节点, 以使所述目标边缘节 点完成所述数据包的传输; 其中, 所述目标边缘节点是指传输所述数据包过 程中需要经过的第二边缘节点; 所述目标路由规则是指所述第一边缘节点到 所述目标边缘节点的路由规则;
所述至少一个第二边缘节点, 用于在作为所述目标边缘节点时, 接收所 述第一边缘节点根据所述目标路由规则发送的所述数据包, 并完成所述数据 包的传输;
所述网络控制器, 用于向所述第一边缘节点提供所述目标路由规则。
2、 根据权利要求 1所述的 SDN, 其特征在于, 所述第一边缘节点为网关 设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘节点为基站 设备。
3、 根据权利要求 1所述的 SDN, 其特征在于, 所述第一边缘节点为基站 设备, 所述第二边缘节点为网关设备, 所述数据包为用户设备发送的上行数 据包。
4、 根据权利要求 1-3任一项所述的 SDN, 其特征在于, 所述第一边缘节 点用于根据所述目标边缘节点从所述网络控制器获取目标路由规则, 包括: 所述第一边缘节点具体用于从所述网络控制器预先发送的路由信息中, 获取所述目标路由规则, 所述路由信息包括所述第一边缘节点与所述 SDN中 每个第二边缘节点的路由规则;
所述网络控制器具体用于预先向所述第一边缘节点发送所述路由信息。
5、 根据权利要求 1-3任一项所述的 SDN, 其特征在于, 所述第一边缘节 点用于根据所述目标边缘节点从所述网络控制器获取目标路由规则, 包括: 所述第一边缘节点具体用于在收到所述数据包后, 向所述网络控制器发 送请求所述目标路由规则的请求消息, 并接收所述网络控制器根据所述请求 消息发送的所述目标路由规则; 所述网络控制器具体用于接收所述请求消息, 并根据所述请求消息向所 述第一边缘节点返回所述目标路由规则。
6、 根据权利要求 2所述的 SDN, 其特征在于, 所述第一边缘节点用于确 定目标边缘节点, 包括:
所述网关设备具体用于确定所述下行数据包所属的会话标识, 根据所述 下行数据包所属的会话标识, 查询会话标识与基站设备之间的对应关系, 确 定目标基站设备。
7、 根据权利要求 6所述的 SDN, 其特征在于, 所述网关设备还用于接收 所述下行数据包对应的上行数据包, 并在识别出所述上行数据包所属的会话 属于新会话且使用缺省承载时, 根据所述上行数据包在本地生成用于所述下 行数据包的目标过滤规则, 并生成所述上行数据包所属的会话标识与当前为 所述用户设备提供服务的基站设备之间的对应关系;
所述网关设备用于确定所述下行数据包所属的会话标识, 包括: 所述网 关设备具体用于根据用于所述下行数据包的目标过滤规则, 确定所述下行数 据包所属的会话标识。
8、 根据权利要求 6所述的 SDN, 其特征在于, 所述网关设备还用于接收 所述网络控制器发送的用于所述下行数据包的目标过滤规则, 将所述目标过 滤规则存储在本地, 并接收所述网络控制器发送的所述下行数据包所属的会 话标识与当前为所述用户设备提供服务的基站设备之间的对应关系;
所述网关设备用于确定所述下行数据包所属的会话标识, 包括: 所述网 关设备具体用于根据用于所述下行数据包的目标过滤规则, 确定所述下行数 据包所属的会话标识;
所述网络控制器还用于在获知所述下行数据包所属的会话是新会话且使 用专用承载后生成用于所述下行数据包的目标过滤规则, 将所述目标过滤规 则发送给所述网关设备, 并生成所述下行数据包所属的会话标识与当前为所 述用户设备提供服务的基站设备之间的对应关系, 将所述下行数据包所属的 会话标识与当前为所述用户设备提供服务的基站设备之间的对应关系发送给 所述网关设备。
9、 根据权利要求 8所述的 SDN, 其特征在于, 所述网络控制器还用于根 据所述用户设备的移动, 更新所述下行数据包所属的会话标识与当前为所述 用户设备提供服务的基站设备之间的对应关系。
10、 一种网络设备, 位于软件定义网络 SDN中, 其特征在于, 所述网络 设备为第一边缘节点, 具体包括:
接收模块, 用于接收需要传输的数据包;
确定模块, 用于确定目标边缘节点, 所述目标边缘节点是指传输所述数 据包过程中需要经过的所述 SDN中的第二边缘节点;
路由规则模块, 用于根据所述目标边缘节点从所述 SDN中的网络控制器 获取目标路由规则, 所述目标路由规则是指所述第一边缘节点到所述目标边 缘节点的路由规则;
发送模块, 用于根据所述目标路由规则, 将所述数据包发送到所述目标 边缘节点, 以使所述目标边缘节点完成所述数据包的传输。
11、 根据权利要求 10所述的网络设备, 其特征在于, 所述第一边缘节点 为网关设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘节点 为基站设备。
12、 根据权利要求 10所述的网络设备, 其特征在于, 所述第一边缘节点 为基站设备, 所述第二边缘节点为网关设备, 所述数据包为用户设备发送的 上行数据包。
13、 根据权利要求 10-12任一项所述的网络设备, 其特征在于, 所述路 由规则模块具体用于从所述网络控制器预先发送的路由信息中, 获取所述目 标路由规则, 所述路由信息包括所述第一边缘节点与所述 SDN中每个第二边 缘节点的路由规则。
14、 根据权利要求 10-12任一项所述的网络设备, 其特征在于, 所述路 由规则模块具体用于在所述接收模块收到所述数据包后, 向所述网络控制器 发送请求所述目标路由规则的请求消息, 并接收所述网络控制器根据所述请 求消息发送的所述目标路由规则。
15、 根据权利要求 11项所述的网络设备, 其特征在于, 所述确定模块具 体用于确定所述下行数据包所属的会话标识, 根据所述下行数据包所属的会 话标识, 查询会话标识与基站设备之间的对应关系, 确定所述目标基站设备。
16、 根据权利要求 15所述的网络设备, 其特征在于,
所述接收模块还用于在接收所述下行数据包之前, 接收所述下行数据包 对应的上行数据包;
所述网络设备还包括:
过滤规则生成模块, 用于在识别出所述上行数据包所属的会话是新会话 且使用缺省承载时, 根据所述上行数据包在本地生成用于所述下行数据包的 目标过滤规则, 并生成所述上行数据包所属的会话标识与当前为所述用户设 备提供服务的基站设备之间的对应关系;
所述确定模块用于确定所述下行数据包所属的会话标识, 包括: 所述确 定模块具体用于根据用于所述下行数据包的目标过滤规则, 确定所述下行数 据包所属的会话标识。
17、 根据权利要求 15所述的网络设备, 其特征在于,
所述接收模块还用于接收所述网络控制器发送的用于所述下行数据包的 目标过滤规则, 将所述目标过滤规则存储在本地, 并接收所述网络控制器发 送的所述下行数据包所属的会话标识与当前为所述用户设备提供服务的基站 设备之间的对应关系; 其中, 所述目标过滤规则是所述网络控制器在获知所 述下行数据包所属的会话是新会话且使用专用承载后为所述下行数据包生成 的;
所述确定模块用于确定所述下行数据包所属的会话标识, 包括: 所述确 定模块具体用于根据用于所述下行数据包的目标过滤规则, 确定所述下行数 据包所属的会话标识。
18、 一种网络控制器, 位于软件定义网络 SDN中, 其特征在于, 所述网 络控制器包括:
路由规则模块, 用于为所述 SDN中的第一边缘节点配置路由信息, 所述 路由信息包括所述第一边缘节点到所述 SDN 中每个第二边缘节点的路由规 则;
发送模块, 用于将所述路由信息发送给所述第一边缘节点, 以使所述第 一边缘节点在接收到的需要传输的数据包时基于所述路由信息确定到目标边 缘节点的目标路由规则, 所述目标边缘节点是传输所述数据包过程中需要经 过的第二边缘节点。
19、 根据权利要求 18所述的网络控制器, 其特征在于, 所述第一边缘节 点为网关设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘节 点为基站设备。
20、 根据权利要求 18所述的网络控制器, 其特征在于, 所述第一边缘节 点为基站设备, 所述第二边缘节点为网关设备, 所述数据包为用户设备发送 的上行数据包。
21、 根据权利要求 19所述的网络控制器, 其特征在于, 还包括: 专用承载模块, 用于在获知所述下行数据包所属的会话是新会话且使用 专用承载后生成用于所述下行数据包的目标过滤规则, 并生成所述下行数据 包所属的会话标识和当前为所述用户设备提供服务的基站设备之间的对应关 所述发送模块还用于将所述目标过滤规则发送给所述网关设备, 以使所 述网关设备根据所述目标过滤规则确定所述下行数据包所属的会话标识, 并 将所述下行数据包所属的会话标识和当前为所述用户设备提供服务的基站设 备之间的对应关系发送给所述网关设备, 以使所述网关设备确定目标基站设 备。
22、 根据权利要求 21所述的网络控制器, 其特征在于, 还包括: 更新模块, 用于根据所述用户设备的移动, 更新所述下行数据包所属的 会话标识与当前为所述用户设备提供服务的基站设备之间的对应关系。
23、 一种数据传输方法, 其特征在于, 包括:
软件定义网络 SDN中的第一边缘节点接收需要传输的数据包;
所述第一边缘节点确定目标边缘节点, 所述目标边缘节点是指传输所述 数据包过程中需要经过的第二边缘节点;
所述第一边缘节点根据所述目标边缘节点从网络控制器获取目标路由规 则, 所述目标路由规则是指所述第一边缘节点到所述目标边缘节点的路由规 则;
所述第一边缘节点根据所述目标路由规则, 将所述数据包发送到所述目 标边缘节点, 以使所述目标边缘节点完成所述数据包的传输。
24、 根据权利要求 23所述的方法, 其特征在于, 所述第一边缘节点为网 关设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘节点为基 站设备。
25、 根据权利要求 23所述的方法, 其特征在于, 所述第一边缘节点为基 站设备, 所述第二边缘节点为网关设备, 所述数据包为用户设备发送的上行 数据包。
26、 根据权利要求 23-25任一项所述的方法, 其特征在于, 所述第一边 缘节点根据所述目标边缘节点从网络控制器获取目标路由规则, 包括:
所述第一边缘节点从所述网络控制器预先发送的路由信息中, 获取所述 目标路由规则; 所述路由信息中包括所述第一边缘节点与所述 SDN中的每个 第二边缘节点的路由规则。
27、 根据权利要求 23-25任一项所述的方法, 其特征在于, 所述第一边 缘节点根据所述目标边缘节点从网络控制器获取目标路由规则, 包括:
所述第一边缘节点在收到所述数据包后, 向所述网络控制器发送请求所 述目标路由规则的请求消息, 所述第一边缘节点接收所述网络控制器根据所 述请求消息发送的所述目标路由规则。
28、根据权利要求 24项所述的方法, 所述第一边缘节点确定目标边缘节 点, 包括:
所述网关设备确定所述下行数据包所属的会话标识;
所述网关设备根据所述下行数据包所属的会话标识, 查询会话标识与基 站设备之间的对应关系, 确定所述目标基站设备。
29、 根据权利要求 28所述的方法, 其特征在于, 还包括:
所述网关设备接收所述下行数据包对应的上行数据包, 并在识别出所述 上行数据包所属的会话是新会话且使用缺省承载时, 根据所述上行数据包在 本地生成用于所述下行数据包的目标过滤规则, 并生成所述上行数据包所属 的会话标识与当前为所述用户设备提供服务的基站设备之间的对应关系; 所述网关设备确定所述下行数据包所属的会话标识, 包括:
所述网关设备根据用于所述下行数据包的目标过滤规则, 确定所述下行 数据包所属的会话标识。
30、 根据权利要求 28所述的方法, 其特征在于, 还包括:
所述网关设备接收所述网络控制器发送的用于所述下行数据包的目标过 滤规则, 将所述目标过滤规则存储在本地, 并接收所述网络控制器发送的所 述下行数据包所属的会话标识与当前为所述用户设备提供服务的基站设备之 间的对应关系; 其中, 所述目标过滤规则是所述网络控制器在获知所述下行 数据包所属的会话是新会话且使用专用承载后为所述下行数据包生成的; 所述网关设备确定所述下行数据包所属的会话标识, 包括:
所述网关设备根据用于所述下行数据包的目标过滤规则, 确定所述下行 数据包所属的会话标识。
31、 一种传输控制方法, 其特征在于, 包括:
软件定义网络 SDN中的网络控制器为所述 SDN中的第一边缘节点配置路 由信息, 所述路由信息包括所述第一边缘节点到所述 SDN中每个第二边缘节 点的路由规则;
所述网络控制器将所述路由信息发送给所述第一边缘节点, 以使所述第 一边缘节点在接收到的需要传输的数据包时基于所述路由信息确定到目标边 缘节点的目标路由规则, 所述目标边缘节点是传输所述数据包过程中需要经 过的第二边缘节点。
32、 根据权利要求 31所述的方法, 其特征在于, 所述第一边缘节点为网 关设备, 所述数据包为发往用户设备的下行数据包, 所述第二边缘节点为基 站设备。
33、 根据权利要求 31所述的方法, 其特征在于, 所述第一边缘节点为基 站设备, 所述第二边缘节点为网关设备, 所述数据包为用户设备发送的上行 数据包。
34、 根据权利要求 32所述的方法, 其特征在于, 还包括:
所述网络控制器在获知所述下行数据包所属的会话是新会话且使用专用 承载后, 生成用于所述下行数据包的目标过滤规则, 并生成所述下行数据包 所属的会话标识和当前为所述用户设备提供服务的基站设备之间的对应关 所述网络控制器将所述目标过滤规则发送给所述网关设备, 以使所述网 关设备根据所述目标过滤规则确定所述下行数据包所属的会话标识, 并将所 述下行数据包所属的会话标识和当前为所述用户设备提供服务的基站设备之 间的对应关系发送给所述网关设备, 以使所述网关设备确定目标基站设备。
35、 根据权利要求 34所述的方法, 其特征在于, 还包括:
所述网络控制器根据所述用户设备的移动, 更新所述下行数据包所属的 会话标识与当前为所述用户设备提供服务的基站设备之间的对应关系。
PCT/CN2014/071829 2014-01-29 2014-01-29 数据传输方法、传输控制方法及设备 WO2015113297A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2014/071829 WO2015113297A1 (zh) 2014-01-29 2014-01-29 数据传输方法、传输控制方法及设备
CN201480013155.7A CN105027512B (zh) 2014-01-29 2014-01-29 数据传输方法、传输控制方法及设备
EP14881091.4A EP3094051B1 (en) 2014-01-29 2014-01-29 Data transmission method, transmission control method and device
US15/223,360 US10548074B2 (en) 2014-01-29 2016-07-29 Rule-based routing within a software-defined core network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/071829 WO2015113297A1 (zh) 2014-01-29 2014-01-29 数据传输方法、传输控制方法及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/223,360 Continuation US10548074B2 (en) 2014-01-29 2016-07-29 Rule-based routing within a software-defined core network

Publications (1)

Publication Number Publication Date
WO2015113297A1 true WO2015113297A1 (zh) 2015-08-06

Family

ID=53756187

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071829 WO2015113297A1 (zh) 2014-01-29 2014-01-29 数据传输方法、传输控制方法及设备

Country Status (4)

Country Link
US (1) US10548074B2 (zh)
EP (1) EP3094051B1 (zh)
CN (1) CN105027512B (zh)
WO (1) WO2015113297A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659666A (zh) * 2017-11-03 2018-02-02 山东师范大学 基于移动用户的实时视频分发系统及方法
EP3496438A4 (en) * 2016-09-19 2019-06-12 Huawei Technologies Co., Ltd. METHOD, APPARATUS AND SYSTEM FOR PACKET TRANSMISSION
US10616110B2 (en) 2016-05-20 2020-04-07 Huawei Technologies Co., Ltd. Packet transmission method, apparatus, and system
US20200229042A1 (en) * 2019-01-10 2020-07-16 Cisco Technology, Inc. SRv6 User-Plane-Based Triggering Methods and Apparatus for Session or Flow Migration in Mobile Networks

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10193664B2 (en) * 2016-06-13 2019-01-29 Intel IP Corporation Enhanced retry count for uplink multi-user transmission
US10671032B2 (en) * 2016-10-17 2020-06-02 Fisher-Rosemount Systems, Inc. Methods and systems for streaming process control data to remote devices
CN106851738A (zh) * 2017-01-25 2017-06-13 南京邮电大学 面向lte小基站超密集组网的软件定义无线网络体系架构及方法
CN108574667B (zh) * 2017-03-09 2021-01-15 华为技术有限公司 一种业务流的控制方法及装置
CN107241254B (zh) * 2017-05-19 2020-06-05 北京知道创宇信息技术股份有限公司 一种网络连接设备、网络系统和组网方法
US11206710B2 (en) * 2018-09-25 2021-12-21 Ofinno, Llc Network initiated release assistance indication
US11539742B2 (en) * 2019-11-26 2022-12-27 Sap Se Application security through multi-factor fingerprinting
CN111651253B (zh) * 2020-05-28 2023-03-14 中国联合网络通信集团有限公司 算力资源的调度方法及装置
US11722924B2 (en) * 2021-06-22 2023-08-08 Dish Wireless L.L.C. Systems and methods to automatically create dedicated bearers during failure event

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051629A (zh) * 2012-12-24 2013-04-17 华为技术有限公司 一种基于软件定义网络中数据处理的系统、方法和节点
CN103051539A (zh) * 2012-12-14 2013-04-17 中兴通讯股份有限公司 一种基于dht的控制网络实现方法、系统和网络控制器
CN103095565A (zh) * 2012-10-18 2013-05-08 中兴通讯股份有限公司 一种软件定义网络操作系统及其实现方法
US20130223226A1 (en) * 2012-02-29 2013-08-29 Dell Products, Lp System and Method for Providing a Split Data Plane in a Flow-Based Switching Device
US20130266007A1 (en) * 2012-04-10 2013-10-10 International Business Machines Corporation Switch routing table utilizing software defined network (sdn) controller programmed route segregation and prioritization

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7249169B2 (en) * 2001-12-28 2007-07-24 Nortel Networks Limited System and method for network control and provisioning
US20110320622A1 (en) * 2010-06-29 2011-12-29 Alcatel-Lucent Canada, Inc. Managing internet protocol connectivity access network sessions
US8873398B2 (en) * 2011-05-23 2014-10-28 Telefonaktiebolaget L M Ericsson (Publ) Implementing EPC in a cloud computer with openflow data plane
CN102264027B (zh) * 2011-07-20 2014-03-19 电信科学技术研究院 一种传输用户设备位置信息的方法及装置
US9559948B2 (en) * 2012-02-29 2017-01-31 Dell Products, Lp System and method for managing unknown flows in a flow-based switching device
CN104350712A (zh) * 2012-05-31 2015-02-11 日本电气株式会社 网络系统、路径控制装置、路径控制方法和存储程序的非瞬时计算机可读介质
US9729424B2 (en) * 2012-06-11 2017-08-08 Futurewei Technologies, Inc. Defining data flow paths in software-defined networks with application-layer traffic optimization
CN103731901A (zh) * 2012-10-11 2014-04-16 中兴通讯股份有限公司 一种路由转发的方法、系统及控制器
US9203748B2 (en) * 2012-12-24 2015-12-01 Huawei Technologies Co., Ltd. Software defined network-based data processing method, node, and system
US9450817B1 (en) * 2013-03-15 2016-09-20 Juniper Networks, Inc. Software defined network controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130223226A1 (en) * 2012-02-29 2013-08-29 Dell Products, Lp System and Method for Providing a Split Data Plane in a Flow-Based Switching Device
US20130266007A1 (en) * 2012-04-10 2013-10-10 International Business Machines Corporation Switch routing table utilizing software defined network (sdn) controller programmed route segregation and prioritization
CN103095565A (zh) * 2012-10-18 2013-05-08 中兴通讯股份有限公司 一种软件定义网络操作系统及其实现方法
CN103051539A (zh) * 2012-12-14 2013-04-17 中兴通讯股份有限公司 一种基于dht的控制网络实现方法、系统和网络控制器
CN103051629A (zh) * 2012-12-24 2013-04-17 华为技术有限公司 一种基于软件定义网络中数据处理的系统、方法和节点

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3094051A4 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10616110B2 (en) 2016-05-20 2020-04-07 Huawei Technologies Co., Ltd. Packet transmission method, apparatus, and system
EP3496438A4 (en) * 2016-09-19 2019-06-12 Huawei Technologies Co., Ltd. METHOD, APPARATUS AND SYSTEM FOR PACKET TRANSMISSION
CN107659666A (zh) * 2017-11-03 2018-02-02 山东师范大学 基于移动用户的实时视频分发系统及方法
US20200229042A1 (en) * 2019-01-10 2020-07-16 Cisco Technology, Inc. SRv6 User-Plane-Based Triggering Methods and Apparatus for Session or Flow Migration in Mobile Networks
US10887799B2 (en) * 2019-01-10 2021-01-05 Cisco Technology, Inc. SRv6 user-plane-based triggering methods and apparatus for session or flow migration in mobile networks
US11202236B2 (en) 2019-01-10 2021-12-14 Cisco Technology, Inc. SRV6 user-plane-based triggering methods and apparatus for session or flow migration in mobile networks
US11678228B2 (en) 2019-01-10 2023-06-13 Cisco Technology, Inc. SRV6 user-plane-based triggering methods and apparatus for session or flow migration in mobile networks

Also Published As

Publication number Publication date
CN105027512B (zh) 2018-05-18
US10548074B2 (en) 2020-01-28
US20160337962A1 (en) 2016-11-17
EP3094051B1 (en) 2018-08-15
EP3094051A4 (en) 2017-01-04
EP3094051A1 (en) 2016-11-16
CN105027512A (zh) 2015-11-04

Similar Documents

Publication Publication Date Title
US10548074B2 (en) Rule-based routing within a software-defined core network
US10841208B2 (en) Slice/service-based routing in virtual networks
CN110351024B (zh) 数据传输方法和装置
US10397188B2 (en) Access control apparatus, system, and method
WO2020103842A1 (zh) 一种通信方法及装置
US7668139B2 (en) Mobile handover utilizing multicast in a multi-protocol label switching (MPLS)-based network
KR20190018165A (ko) 패킷 프로세싱 방법 및 디바이스
CN114128228B (zh) 通过SRv6头传输MTNC-ID以实现5G传输
WO2020151641A1 (zh) 数据传输方法、装置、发送节点及接收节点
US20230291682A1 (en) Method and device for processing data packet, storage medium, and electronic device
JP6480452B2 (ja) パケット処理方法および装置
US20090010201A1 (en) Mobile Communication Access System, Packet Transfer Device, and Path Re-Establishing Method
CN114710975B (zh) 一种用于多域间传输多传输网络上下文标识的方法、基站、网元及装置
CN114128227A (zh) 在支持SRv6的数据面上传输MTNC-ID以实现5G传输
US20090016277A1 (en) Mobile communication system, packet transfer device, and path re-establishing method
Karl et al. Transparent multi-hop protocol termination
WO2022242661A1 (zh) 通信处理方法及相关设备
EP4277424A1 (en) Path computation method and apparatus, storage medium, and electronic device
WO2022222666A1 (zh) 一种通信方法及装置
WO2022088951A1 (zh) 信息处理方法、基站、承载网设备、核心网设备及介质
WO2022060262A1 (en) First node, second node, and methods performed thereby for configuring handling of two or more ingress member flows
EP4252393A1 (en) Smart local mesh networks
US9083631B2 (en) Multipoint-to-point pseudowire
JP2019024266A (ja) パケット処理方法および装置
JP2011151718A (ja) ネットワークシステム、通信方法、装置およびプログラム

Legal Events

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

Ref document number: 201480013155.7

Country of ref document: CN

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

Ref document number: 14881091

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014881091

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014881091

Country of ref document: EP