WO2018018631A1 - 一种锚点网关的切换方法、装置及系统 - Google Patents

一种锚点网关的切换方法、装置及系统 Download PDF

Info

Publication number
WO2018018631A1
WO2018018631A1 PCT/CN2016/092421 CN2016092421W WO2018018631A1 WO 2018018631 A1 WO2018018631 A1 WO 2018018631A1 CN 2016092421 W CN2016092421 W CN 2016092421W WO 2018018631 A1 WO2018018631 A1 WO 2018018631A1
Authority
WO
WIPO (PCT)
Prior art keywords
anchor gateway
terminal
identifier
packet
flow table
Prior art date
Application number
PCT/CN2016/092421
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 CN201680086431.1A priority Critical patent/CN109314909B/zh
Priority to EP16910211.8A priority patent/EP3481132B1/en
Priority to PCT/CN2016/092421 priority patent/WO2018018631A1/zh
Publication of WO2018018631A1 publication Critical patent/WO2018018631A1/zh
Priority to US16/254,207 priority patent/US10813036B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/34Modification of an existing route
    • H04W40/36Modification of an existing route due to handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/02Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
    • H04W36/023Buffering or recovering information during reselection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/12Reselecting a serving backbone network switching or routing node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/38Reselection control by fixed network equipment
    • H04W36/385Reselection control by fixed network equipment of the core network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • H04W36/322Reselection being triggered by specific parameters by location or mobility data, e.g. speed data by location data

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for switching an anchor gateway.
  • the Evolved Packet Core (EPC) network is a new type of packet core network, which further flattens the network.
  • the EPC network mainly includes Mobility Management Entity (MME) and service gateway (English: Serving). Gateway, SGW) and Packet Data Gateway (PDN Gateway, abbreviation: PGW).
  • MME Mobility Management Entity
  • SGW Serving Gateway
  • PGW Packet Data Gateway
  • the SGW and the PGW are also used as an anchor gateway to provide a mobile anchor function for the terminal, that is, the terminal accesses the APP service in the service server through the anchor gateway.
  • the anchor gateway is connected to the service server through a traditional routing device.
  • the traditional routing device sends the downlink packet of the terminal to the source anchor gateway according to the existing routing table. If the source anchor gateway is switched to the target anchor gateway, the traditional routing device will continue to send the downlink packet of the terminal to the source anchor gateway because the traditional routing device cannot update the routing table in time. The lost problem causes the service of the terminal to be interrupted. Therefore, even if a more suitable target anchor gateway appears during the movement of the terminal, the source anchor gateway will not be switched to the target anchor gateway, but through the source.
  • the anchor gateway and the target anchor gateway jointly forward the downlink packet of the terminal. For example, as shown in FIG. 1, when the terminal moves from the source base station to the target base station, the transmission path of the downlink message of the terminal changes from the path indicated by the dotted arrow shown in FIG. 1 to the solid arrow of the bypass. The path indicated.
  • the message of the terminal is transmitted in the bypass path.
  • An embodiment of the present invention provides a method, a device, and a system for switching an anchor gateway, which can reduce the packet loss rate of a packet during transmission, and can also prevent a packet from being forwarded in a round-trip manner. In transit.
  • the embodiment of the present invention provides a method for switching an anchor gateway, which includes: a control plane CP device determines a handover source anchor gateway, where the source anchor gateway is an anchor for forwarding a downlink packet of the terminal before the handover a point gateway; the CP device acquires location information of the terminal; the CP device determines a target anchor gateway according to the location information; the CP device sends a modification request message to the software-defined network SDN controller, where the modification request message includes an identifier of the terminal And the identifier of the target anchor gateway, the modification request message is used to indicate that the SDN controller updates the forwarding flow table corresponding to the downlink packet according to the identifier of the terminal and the identifier of the target anchor gateway, and the updated The forwarding flow table is sent to the SDN switch, so that the SDN switch forwards the downlink packet to the target anchor gateway according to the updated forwarding flow table, and the target anchor gateway forwards the downlink packet for the terminal;
  • the CP device may
  • the CP device may determine the target anchor gateway according to the current location information of the terminal, and send the identifier of the terminal and the identifier of the target anchor gateway to the SDN controller, so that the SDN
  • the controller updates the forwarding flow table corresponding to the downlink packet of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway, and the SDN controller sends the updated forwarding flow table to the SDN switch to enable the SDN switch.
  • the downlink packet transmission may be directly sent to the target anchor gateway according to the updated forwarding flow table, and the target anchor gateway forwards the downlink packet for the terminal, thereby
  • the downlink packet of the terminal does not need to be forwarded by the source anchor gateway, which prevents the downlink packet from being transmitted in the forwarding path of the downlink, and reduces the packet loss rate of the downlink packet during transmission.
  • the method further includes: acquiring, by the CP device, type information, where the type information includes at least one of a type of the terminal and a type of service of the terminal; The CP device determines based on the location information
  • the target anchor gateway includes: the CP device determines the target anchor gateway according to the location information and the type information.
  • the type information includes a type of the service
  • the modification request message further includes information about the service determined by the CP device, where the modification request message is used to indicate, according to the identifier of the terminal, the identifier of the target anchor gateway, and the information about the service. Update the forwarding flow table.
  • the CP device determines the handover source anchor gateway, where the CP device receives the path switching request message sent by the target base station; the CP device determines the handover source anchor gateway according to the path exchange request message; and the CP device receives the SDN controller.
  • the method further includes: the CP device sends a path switch response message to the target base station, where the path switch response message is used to indicate that the target base station establishes an uplink interface for performing information interaction with the target anchor gateway, where the uplink The interface is used by the target base station to send an uplink packet that receives the terminal to the target anchor gateway.
  • the CP device determines the handover source anchor gateway, where the CP device receives the tracking area update TAU request message sent by the base station; and the CP device determines to switch the source anchor gateway according to the TAU request message.
  • the CP device determines the handover source anchor gateway, where the CP device receives the handover request message sent by the source base station, and the CP device determines to switch the source anchor gateway according to the handover request message; the CP device is configured according to the location After the information is determined by the target anchor gateway, the CP device sends a modification request message to the SDN controller, the method further includes: after receiving the handover notification message sent by the target base station, the CP device sends a modification session to the target anchor gateway. And a request message, the modify session request message is used to indicate that the target anchor gateway establishes a downlink interface for performing information interaction with the target base station, where the downlink interface is used by the target anchor gateway to send the received downlink message to the target base station.
  • the CP device determines the handover source anchor gateway, where the CP device receives the service request message sent by the base station; and the CP device determines to switch the source anchor gateway according to the service request message.
  • the above-mentioned optional mode can implement the switch of the anchor gateway in different scenarios, so as to avoid the packet transmission in the forwarding path of the bypass, and reduce the packet loss rate of the packet during the transmission process.
  • the method further includes: the CP device indicating the source anchor gateway and the target anchor point The gateway establishes a downlink forwarding path, so that the source anchor network sends the downlink packet buffered by the source anchor gateway to the base station by using the downlink forwarding path; after the CP device sends the modification request message to the SDN controller, the The method further includes: the CP device instructing the source anchor gateway and the target anchor gateway to delete information corresponding to the downlink forwarding path.
  • the downlink forwarding path can be established in the process of switching the anchor gateway, so that the downlink packet that has been buffered to the source anchor gateway can be forwarded to the base station, thereby ensuring the downlink packet being transmitted.
  • the method further includes: the CP device sending an uplink indication message to the SDN controller.
  • the uplink indication message includes the forwarding information of the uplink packet of the terminal and the identifier of the target anchor gateway determined by the CP device, where the uplink indication message is used to indicate that the SDN controller according to the forwarding information and the target
  • the identifier of the anchor gateway determines the forwarding flow table corresponding to the uplink packet, so that the SDN switch forwards the uplink packet according to the forwarding flow table corresponding to the uplink packet.
  • the forwarding flow table corresponding to the uplink packet of the terminal can be updated in time during the process of switching the anchor gateway, so as to ensure the continuity of the uplink packet being transmitted.
  • the method further includes: the CP device acquiring a packet matching result of the first service requested by the terminal; and the CP device determining, according to the packet matching result, the report a source anchor gateway corresponding to the text matching result; the CP device sends the correspondence between the first service and the source anchor gateway to the SDN controller, so that the SDN controller determines the first service according to the correspondence relationship
  • the forwarding flow table corresponding to the downlink packet where the modification request message is specifically used to indicate that the SDN controller updates the forwarding flow table corresponding to the downlink packet of the first service according to the identifier of the terminal and the identifier of the target anchor gateway.
  • the optional method provided by the embodiment of the present invention can implement the SDN domain registration, so that the packet of the first service of the terminal is forwarded in the SDN domain, so that when the source gateway gateway needs to be switched for the first service,
  • the SDN controller can update the forwarding flow table corresponding to the downlink packet of the first service in time to implement the switching of the anchor gateway.
  • an embodiment of the present invention provides a method for switching an anchor gateway, including:
  • the software-defined network SDN controller receives a modification request message sent by the control plane CP device, where the modification request message includes an identifier of the terminal and an identifier of the target anchor gateway; the SDN controller according to the identifier of the terminal and the target anchor gateway The identifier updates the forwarding flow table corresponding to the downlink packet of the terminal; the SDN controller sends the updated forwarding flow table to the SDN switch, so that the SDN switch sends the downlink packet according to the updated forwarding flow table. Forwarding to the target anchor gateway, the target anchor gateway forwards the downlink packet to the terminal; optionally, the SDN controller may further send a response message to the CP device, where the response message is used to indicate the target anchor The gateway is successfully switched.
  • the SDN controller can receive the identifier of the terminal sent by the CP device, and the CP determines the identifier of the target anchor gateway according to the current location information of the terminal, and updates the downlink with the terminal.
  • the forwarding flow table corresponding to the packet the SDN controller sends the updated forwarding flow table to the SDN switch, so that the SDN switch can receive the downlink packet after the terminal, according to the updated forwarding flow table.
  • the downlink packet is directly sent to the target anchor gateway, and the target anchor gateway forwards the downlink packet to the terminal, so that the downlink packet of the terminal does not need to be forwarded by the source anchor gateway, and the downlink packet is avoided.
  • the transmission in the forwarding path of the roundback also reduces the packet loss rate of the downlink message during transmission.
  • the modification request message further includes information about the service of the terminal, and the SDN controller updates the forwarding flow table corresponding to the downlink packet of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway, including The SDN controller updates the forwarding flow table according to the identifier of the terminal, the identifier of the target anchor gateway, and the information of the service.
  • the method further includes: the SDN controller receiving an uplink indication message sent by the CP device, where the uplink indication message includes an uplink of the terminal Message forwarding information and destination An identifier of the target anchor gateway; the SDN controller determines a forwarding flow table corresponding to the uplink packet according to the forwarding information and the identifier of the target anchor gateway; the SDN controller sends a corresponding packet to the SDN switch Forwarding the flow table, so that the SDN switch forwards the uplink packet according to the forwarding flow table corresponding to the uplink packet.
  • the modification request message further includes an end identifier and an identifier of the source anchor gateway, and the SDN controller determines, according to the end identifier and the identifier of the source anchor gateway, a forwarding flow table corresponding to the first end packet,
  • the first end message is used to trigger the source anchor gateway to send a second end message;
  • the SDN controller sends a forwarding flow table corresponding to the first end message to the SDN switch, so that the SDN switch is acquiring
  • the first end message is forwarded to the source anchor gateway according to the forwarding flow table corresponding to the first end message.
  • the method further includes: receiving, by the SDN controller, a correspondence between the first service requested by the terminal and the source anchor gateway sent by the CP device; Determining, by the SDN controller, a forwarding flow table corresponding to the packet of the first service, the downlink packet includes a packet of the first service; and the SDN controller sends the first packet to the SDN switch Forwarding the flow table corresponding to the downlink packet of the service, so that the SDN switch forwards the packet of the first service according to the forwarding flow table corresponding to the downlink packet of the first service; the SDN controller is configured according to the terminal And the forwarding flow table corresponding to the downlink message of the terminal is updated by the identifier of the target anchor gateway, and the SDN controller updates the first service according to the identifier of the terminal and the identifier of the target anchor gateway.
  • the forwarding flow table of the downlink message is configured according to the terminal
  • the forwarding flow table corresponding to the downlink message of the terminal is updated by the identifier of the target anchor gateway
  • the embodiment of the present invention provides a method for switching an anchor gateway, where the SDN switch receives a forwarding flow table corresponding to the first end message sent by the SDN controller, where the first end message is used for the trigger source.
  • the anchor gateway sends a second end message, where the forwarding flow table includes an end identifier; the SDN switch receives the first downlink packet of the terminal. And generating, by the first downlink packet and the ending identifier, the first ending packet, where the first downlink packet is sent by the service server to the terminal after the source anchor gateway switches to the target anchor gateway.
  • the first downlink packet is sent by the SDN switch to the source anchor gateway according to the forwarding flow table, to trigger the source anchor gateway to send the second end packet.
  • the embodiment of the present invention provides a method for triggering the termination of a packet.
  • the source anchor gateway is triggered to send the second end packet by using the first end packet sent by the SDN switch. .
  • the embodiment of the present invention provides a CP device, including: a determining unit, configured to determine a handover source anchor gateway, where the source anchor gateway is an anchor gateway that forwards a downlink packet of the terminal before the handover; An obtaining unit, configured to acquire location information of the terminal; the determining unit is further configured to determine, according to the location information acquired by the acquiring unit, a target anchor gateway, where the distance between the target anchor gateway and the terminal is smaller than the source anchor gateway and a distance of the terminal; a sending unit, configured to send a modification request message to the software-defined network SDN controller, where the modification request message includes an identifier of the terminal determined by the determining unit and an identifier of the target anchor gateway, where the modification request message is used by And instructing the SDN controller to update the forwarding flow table corresponding to the downlink packet according to the identifier of the terminal and the identifier of the target anchor gateway, and send the updated forwarding flow table to the SDN switch, so that the SDN switch And forward
  • the CP device may further include a receiving unit, configured to receive a response message sent by the SDN controller, where the response message is used to indicate that the source anchor gateway has successfully switched to the target anchor gateway.
  • a receiving unit configured to receive a response message sent by the SDN controller, where the response message is used to indicate that the source anchor gateway has successfully switched to the target anchor gateway.
  • the acquiring unit is further configured to: before the determining unit determines the target anchor gateway according to the location information, acquiring type information, where the type information includes at least one of a type of the terminal and a type of service of the terminal.
  • the determining unit is specifically configured to determine the target anchor gateway according to the location information and the type information, where a distance between the target anchor gateway and the terminal is smaller than a distance between the source anchor gateway and the terminal, and the type information is met. .
  • the type information that is obtained by the acquiring unit includes the type of the service or the type of the service and the type of the terminal
  • the modification request message sent by the sending unit further includes information about the service determined by the determining unit, where The modification request message is used to instruct the SDN controller to update the forwarding flow table according to the identifier of the terminal, the identifier of the target anchor gateway, and the information of the service.
  • the determining unit is configured to receive a path switching request message sent by the target base station, and determine to switch the source anchor gateway according to the path switching request message.
  • the sending unit is further configured to send a modification request to the SDN controller.
  • the path exchange response message is sent to the target base station, where the path exchange response message is used to indicate that the target base station establishes an uplink interface for performing information interaction with the target anchor gateway, and the uplink interface is used by the target base station to receive the The uplink message of the terminal is sent to the target anchor gateway.
  • the determining unit is configured to receive a tracking area update TAU request message sent by the base station, and determine to switch the source anchor gateway according to the TAU request message.
  • the determining unit is configured to receive, by the CP device, a handover request message sent by the source base station, and determine, according to the handover request message, to switch the source anchor gateway; the sending unit is further configured to send the target base station After the handover notification message, the modification session request message is sent to the target anchor gateway, where the modification session request message is used to indicate that the target anchor gateway establishes a downlink interface for performing information interaction with the target base station, and the downlink interface is used for the target The anchor gateway will receive the downlink message and send it to the target base station.
  • the determining unit is configured to receive, by the CP device, a service request message sent by the base station, and determine, according to the service request message, to switch the source anchor gateway.
  • the sending unit is further configured to: after the determining unit determines the target anchor gateway according to the location information, send the modification request message to the SDN controller, and instruct the source anchor gateway and the target anchor gateway to establish downlink forwarding. a path, so that the source anchor network sends the downlink packet buffered by the source anchor gateway to the base station by using the downlink forwarding path; the sending unit is further configured to: after sending the modification request message to the SDN controller, indicate The source anchor gateway and the target anchor gateway delete corresponding to the downlink forwarding path information.
  • the sending unit is further configured to: after the determining unit determines the target anchor gateway according to the location information, send an uplink indication message to the SDN controller, before sending the modification request message to the SDN controller, the uplink
  • the path indication message includes the forwarding information of the uplink message of the terminal and the identifier of the target anchor gateway determined by the determining unit, where the uplink indication message is used to indicate that the SDN controller according to the forwarding information and the target anchor gateway
  • the identifier determines a forwarding flow table corresponding to the uplink packet, so that the SDN switch forwards the uplink packet according to the forwarding flow table corresponding to the uplink packet.
  • the obtaining unit is further configured to: before the determining unit determines the handover source anchor gateway, obtain a packet matching result of the first service of the terminal; the determining unit is further configured to determine, according to the packet matching result, the packet matching result a source anchor gateway corresponding to the packet matching result; the sending unit is further configured to send the correspondence between the first service and the source anchor gateway to the SDN controller, so that the SDN controller according to the corresponding The relationship determines a forwarding flow table corresponding to the packet of the first service, where the modification request message sent by the sending unit is specifically used to indicate that the SDN controller updates the identifier according to the identifier of the terminal and the identifier of the target anchor gateway.
  • a forwarding flow table corresponding to a downlink packet of a service.
  • an embodiment of the present invention provides an SDN controller, including: a receiving unit, configured to receive a modification request message sent by a control plane CP device, where the modification request message includes an identifier of the terminal and an identifier of the target anchor gateway.
  • a determining unit configured to: update a forwarding flow table corresponding to the downlink message of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway received by the receiving unit; and send, by the sending unit, the determining unit to the SDN switch Updating the updated forwarding flow table, so that the SDN switch forwards the downlink packet to the target anchor gateway according to the updated forwarding flow table, and the target anchor gateway forwards the downlink packet for the terminal
  • the sending unit is further configured to send a response message to the CP device, where the response message is used to indicate that the target anchor gateway is successfully switched.
  • the modification request message received by the receiving unit further includes the terminal
  • the determining unit is specifically configured to update the forwarding flow table according to the identifier of the terminal, the identifier of the target anchor gateway, and the information of the service.
  • the receiving unit is further configured to: before receiving the modification request message sent by the CP device, receive an uplink indication message sent by the CP device, where the uplink indication message includes forwarding information of the uplink message of the terminal. And the identifier of the target anchor gateway; the determining unit is further configured to determine, according to the forwarding information received by the receiving unit and the identifier of the target anchor gateway, a forwarding flow table corresponding to the uplink packet; The forwarding flow table corresponding to the uplink packet is sent to the SDN switch, so that the SDN switch forwards the uplink packet according to the forwarding flow table corresponding to the uplink packet.
  • the modification request message received by the receiving unit further includes an end identifier and an identifier of the source anchor gateway, where the determining unit is further configured to determine, according to the end identifier and the identifier of the source anchor gateway, the first Ending the forwarding flow table corresponding to the packet, the first ending packet is used to trigger the source anchor gateway to send the second ending packet, and the sending unit is further configured to send, to the SDN switch, the first ending packet.
  • the SDN switch forwards the first end message to the source anchor gateway according to the forwarding flow table corresponding to the first end message after acquiring the first end message.
  • the receiving unit is further configured to receive, by the CP device, a correspondence between the first service requested by the terminal and the source anchor gateway, where the determining unit is further configured to determine, according to the correspondence, the first a forwarding flow table corresponding to the packet of the service, the downlink packet includes a packet of the first service, and the sending unit is further configured to send, to the SDN switch, the forwarding flow table corresponding to the packet of the first service, The SDN switch forwards the packet of the first service according to the forwarding flow table corresponding to the packet of the first service; the determining unit is specifically configured to: according to the identifier of the terminal and the target anchor gateway And a forwarding flow table that updates the downlink packet with the first service.
  • an embodiment of the present invention provides an SDN switch, including: a receiving unit, configured to receive a forwarding flow table of a first end message sent by an SDN controller, where the first end message is used to trigger a source anchor gateway Send a second end message, the packet in the forwarding flow table And a generating unit, configured to generate, according to the first downlink packet and the ending identifier, the first ending packet after the receiving unit receives the first downlink packet, where the first downlink packet is After the source anchor gateway is switched to the target anchor gateway, the service server sends the first downlink packet to the terminal, and the sending unit is configured to forward the first end packet according to the forwarding flow table generated by the generating unit. To the source anchor gateway, to trigger the source anchor gateway to send a second end message.
  • the embodiment of the invention provides an SDN switch, which can generate a first end message according to the downlink message and the end identifier, and trigger the source anchor gateway to send the second end message by using the first end message.
  • an embodiment of the present invention provides a CP device, including a processor, a memory, a system bus, and a communication interface.
  • the memory is configured to store a computer execution instruction
  • the processor is connected to the memory through the system bus, and when the CP device is running, the processor executes the computer execution instruction stored in the memory to
  • the CP device is configured to perform the handover method of the anchor gateway as described in the first aspect or the optional aspect of the first aspect.
  • an embodiment of the present invention provides a readable medium, including computer execution instructions, when the processor of the CP device executes the computer to execute an instruction, the CP device performs any of the foregoing first aspect or the first aspect.
  • an embodiment of the present invention provides a software defined network SDN controller, including a processor, a memory, a system bus, and a communication interface.
  • the memory is configured to store a computer executing instructions
  • the processor is coupled to the memory via the system bus, and when the SDN controller is running, the processor executes the computer executed instructions stored by the memory,
  • the switching method of the anchor gateway described in the second aspect or the second aspect of the second aspect is performed by the SDN controller.
  • an embodiment of the present invention provides a readable medium, including computer execution instructions, when the processor of the SDN controller executes the computer to execute an instruction, the SDN controller performs the second aspect or the second aspect as described above. As described in any of the implementations The method of switching the anchor gateway.
  • an embodiment of the present invention provides a software defined network SDN switch, including a processor, a memory, a system bus, and a communication interface.
  • the memory is configured to store a computer to execute an instruction
  • the processor is connected to the memory through the system bus, and when the SDN switch is running, the processor executes the computer-executed instruction stored in the memory to And causing the SDN switch to perform the handover method of the anchor gateway according to the third aspect.
  • an embodiment of the present invention provides a readable medium, including a computer executing instruction, when the processor of the SDN switch executes the computer to execute an instruction, the SDN switch performs an anchor point as described in the foregoing third aspect. Gateway switching method.
  • the embodiment of the present invention provides a switching system for an anchor network, comprising: the CP device according to any of the foregoing fourth aspect or the fourth aspect, such as the fifth aspect or the fifth aspect
  • the SDN controller according to any one of the foregoing aspects, the SDN switch, the source anchor gateway, and the target anchor gateway according to the sixth aspect; or the CP device according to the seventh aspect,
  • the CP device may determine the target anchor gateway according to the current location information of the terminal, and send the identifier of the terminal and the identifier of the target anchor gateway to the SDN controller, so that the SDN
  • the controller updates the forwarding flow table corresponding to the downlink packet of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway, and the SDN controller sends the updated forwarding flow table to the SDN switch to enable the SDN switch.
  • the downlink packet transmission may be directly sent to the target anchor gateway according to the updated forwarding flow table, and the target anchor gateway forwards the downlink packet for the terminal, thereby
  • the downlink packet of the terminal does not need to be forwarded by the source anchor gateway, which prevents the downlink packet from being transmitted in the forwarding path of the downlink, and reduces the packet loss rate of the downlink packet during transmission.
  • 1 is a schematic diagram of communication of downlink packet transmission provided by the prior art
  • FIG. 2 is a schematic diagram of an EPC network architecture based on SDN technology according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram 1 of communication of an anchor point gateway switching method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of communication 2 of a method for switching an anchor gateway according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram 3 of communication of an anchor point gateway switching method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram 4 of communication of a method for switching an anchor gateway according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram 5 of communication of an anchor point gateway switching method according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of communication of a method for triggering a source anchor gateway to send an end message according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of communication of an SDN domain registration method according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a CP device according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of another CP device according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of another CP device according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of an SDN controller according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of another SDN controller according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of another SDN controller according to an embodiment of the present invention.
  • FIG. 16 is a schematic structural diagram of an SDN switch according to an embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of another SDN switch according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of another SDN switch according to an embodiment of the present invention.
  • the method for switching the anchor gateway provided by the embodiment of the present invention can be applied to an EPC network architecture based on a software defined network (SDN) technology, and the anchor gateway and the service server are connected through an SDN.
  • SDN software defined network
  • the EPC device is divided into a Control Plane (CP) device and a Forward Plane (UP) gateway, and the forwarding plane gateway acts as an anchor gateway, and is responsible for processing data packet forwarding, and CP.
  • the device is responsible for controlling the anchor gateway to complete the processing of data packet forwarding.
  • the CP device may be an MME in the EPC network, and the anchor gateway is an S-PGW in the EPC network.
  • the gateway in the EPC device is divided into a gateway control plane (GW-C) and a gateway user plane (GW-U).
  • the CP device may include a GW-C, an MME, and an EPC.
  • the function module in the device, the anchor gateway is GW-U.
  • GW-U is also called Distributed Gateway (DGW), or directly called UP.
  • DGW Distributed Gateway
  • the EPC can also perform function module division according to actual needs to determine the CP device and the anchor gateway.
  • the network architecture based on SDN technology is a network architecture that separates control and forwarding and is directly programmable.
  • the specific forwarding path and forwarding policy of each data packet in the network are controlled by the SDN controller (English: controller), and the SDN controller forwards the data packet forwarding flow table through Open.
  • the flow protocol is sent to the SDN domain, and the SND domain forwards the received data packet according to the corresponding forwarding flow table.
  • the SDN domain may include an SDN switch group, and the SDN switch in the network architecture based on the SDN technology is responsible for forwarding the data packet according to the forwarding flow table of the data packet.
  • the SDN domain can also be overlaid by the SDN switching device.
  • Layers are implemented on other transmission networks, and data transmission between SDN switching devices is performed through a transmission tunnel provided by the underlying transmission network.
  • an EPC network architecture based on SDN technology including a service server, a source anchor gateway, a target anchor gateway, a CP device, an SDN controller, and an SDN switch.
  • the source base station and the target base station are connected to the source anchor gateway and the CP device
  • the target base station is connected to the target anchor gateway and the CP device
  • the CP device is respectively connected with the source anchor gateway, the target anchor gateway, and the SDN controller
  • the SDN switch in the domain is connected, and the source anchor gateway and the target anchor gateway are respectively connected to the service server through the SDN switch in the SDN domain.
  • the network architecture and the service scenario described in the embodiments of the present invention are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present invention, and are not limited to the technical solutions provided by the embodiments of the present invention.
  • the technical solutions provided by the embodiments of the present invention are applicable to similar technical problems as the network architecture evolves and new service scenarios arise.
  • the anchor gateway is connected to the service server through the traditional routing device.
  • the traditional routing device sends the downlink packet of the terminal to the source anchor gateway according to the existing routing table. If the source anchor gateway is switched, the traditional The routing device cannot update the routing table in time.
  • the traditional routing device continues to send the downlink packet of the terminal to the source anchor gateway, so that the packet loss causes the service of the terminal to be interrupted. Therefore, even if a more suitable target appears.
  • the anchor gateway does not switch the source anchor gateway. Instead, the source anchor gateway and the target anchor gateway jointly forward the packets of the terminal. In this way, although the continuity of the service can be guaranteed, the message of the terminal is transmitted in the bypass path.
  • the embodiment of the present invention provides a method for switching an anchor gateway.
  • the CP device switches the source anchor gateway
  • the identifier of the terminal and the identifier of the target anchor gateway are sent to the EPC network architecture based on the SDN technology.
  • An SDN controller so that the SDN controller updates the forwarding flow table corresponding to the downlink packet of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway, and the SDN controller sends the updated forwarding flow table to the SDN switch. So that the SDN switch receives the downlink message of the terminal.
  • the downlink packet is directly sent to the target anchor gateway according to the updated forwarding flow table, and the target anchor gateway forwards the downlink packet to the terminal, so that the downlink packet of the terminal does not need to be sourced.
  • the anchor gateway forwards the packet, so that the downlink packet is transmitted in the forwarding path of the downlink packet, and the packet loss rate of the downlink packet during the transmission process is also reduced.
  • the embodiment of the present invention provides a method for switching an anchor gateway.
  • the method may include:
  • the CP device determines a handover source anchor gateway, where the source anchor gateway is an anchor gateway that is currently forwarding the downlink packet of the terminal.
  • the CP device may determine that the source anchor gateway needs to be switched according to different manners. Specifically, the specific manner in which the CP device determines the source switch point gateway is described in detail in the following embodiments, and details are not described herein.
  • the CP device acquires location information of the terminal.
  • the location information of the terminal may be an evolved universal mobile telecommunications system cell global identifier (ECGI) of the terminal, and a Global Positioning System (GPS). Positioning information, etc.
  • ECGI evolved universal mobile telecommunications system cell global identifier
  • GPS Global Positioning System
  • the CP device can perform information interaction with the base station where the terminal is located to obtain location information of the terminal provided by the base station.
  • the CP device determines the target anchor gateway according to the location information.
  • the CP device may select an anchor gateway capable of serving the terminal as the target anchor gateway according to the location information, or select an anchor gateway closest to the network topology of the terminal as the target anchor gateway. .
  • the CP device may acquire the type information of the terminal provided by the base station where the terminal is located, so that the CP device can determine that the device satisfies the location information according to the location information and the type information of the terminal.
  • Type information and an anchor gateway capable of serving the terminal as a target anchor gateway.
  • the type information includes the type of the terminal and the type of the service of the terminal. At least one.
  • the type of the terminal may be a smart terminal or an Internet of Things terminal or the like;
  • the type of the service may be an Access Point Name (APN) type or an application type.
  • API Access Point Name
  • different anchor gateways may provide access services for the services of the terminal, that is, the anchor gateway corresponds to the service of the terminal, and an anchor gateway Access services may only be provided for one or more types of services.
  • the CP device needs to acquire the type of the service of the terminal while acquiring the location information of the terminal. Therefore, the CP device can select an anchor gateway capable of providing services for the terminal and providing an access service for the service of the terminal as the target anchor gateway according to the location information of the terminal and the type of the service.
  • the CP device can select an anchor gateway that can provide access services for the service of the terminal and is closest to the network topology of the terminal as the target anchor gateway.
  • the type of the terminal is different, and the anchor gateway that can be selected is different. Then, the CP device needs to obtain the type of the terminal, for example, the location information of the terminal.
  • the terminal is an intelligent terminal, so that the CP device obtains the location information of the smart terminal, and then selects an anchor gateway that can provide services for the smart terminal and has the closest network topology to the terminal as the target anchor gateway.
  • the information can be exchanged with the target anchor gateway to indicate that the target anchor gateway sets a context corresponding to the downlink packet of the terminal, so that the After receiving the downlink packet, the target anchor gateway may forward the downlink packet according to the context.
  • the CP device indicates that the anchor gateway sets the context for forwarding the packet.
  • the anchor gateway sets the context for forwarding the packet.
  • the CP device sends a modification request message to the SDN controller, where the modification request message includes an identifier of the terminal and an identifier of the target anchor gateway.
  • the modification request message is used to instruct the SDN controller to update the forwarding flow table corresponding to the downlink packet of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway.
  • the CP device passes the identifier of the terminal and the target anchor network.
  • the identifier of the gateway characterizes the correspondence between the terminal and the target anchor gateway, and the CP device carries the correspondence in the modification request message and sends the message to the SDN controller to indicate that the SDN control updates the downlink packet with the terminal according to the correspondence relationship. Corresponding forwarding flow table.
  • the CP device may determine the service information of the terminal before sending the modification request message to the SDN controller, and then the service is performed.
  • the information is also carried in the modification request message, to indicate that the SDN controller updates the forwarding flow table corresponding to the downlink message of the terminal according to the identifier of the terminal, the identifier of the target anchor gateway, and the information of the service. That is, the CP device identifies the correspondence between the service of the terminal and the target anchor gateway by using the identifier of the terminal, the identifier of the target anchor gateway, and the information of the service.
  • the identifier of the terminal may be the IP address of the terminal, the ID of the terminal or other character capable of uniquely characterizing the terminal, and the identifier of the target anchor gateway may be the IP of the target anchor gateway, and the ID of the target anchor gateway. Or other characters pre-configured in the CP device and the SDN controller and capable of uniquely characterizing the target anchor gateway.
  • the information of the service may include the identifier of the terminal and the identifier of the server corresponding to the service, and the information of the service may also be the quintuple information of the service corresponding message or a part of the information of the quintuple information.
  • the quintuple information includes a source IP address, a source port number, a destination IP address, a destination port number, and a transport layer protocol.
  • the SDN controller receives the modification request message sent by the CP device.
  • the SDN controller updates the forwarding flow table corresponding to the downlink packet of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway.
  • the SDN controller may refresh the topology information of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway (that is, the correspondence between the terminal and the target anchor gateway), and generate and generate the topology information according to the new topology information.
  • a new forwarding flow table corresponding to the downlink packet of the terminal to update the forwarding flow table corresponding to the downlink packet.
  • the SDN controller may refresh the topology information of the terminal according to the correspondence between the terminal and the target anchor gateway, and combine the information of the service with the new information.
  • the topology information generates a new forwarding flow table corresponding to the downlink packet of the service of the terminal, to update the forwarding corresponding to the downlink packet. Flow table.
  • the SDN controller sends the updated forwarding flow table to the SDN switch.
  • the SDN switch After receiving the updated forwarding flow table, the SDN switch replaces the original forwarding flow table with the updated forwarding flow table.
  • the SDN controller may send the updated forwarding flow table to the SDN switch in a modify flow entry request message to indicate that the SDN switch forwards the original forwarding flow table (ie, the terminal before the update)
  • the forwarding flow table corresponding to the downlink packet is replaced with the updated forwarding flow table.
  • the SDN switch can directly transmit the downlink packet of the terminal to the target anchor gateway.
  • the SDN switch when receiving the downlink packet sent by the service server, the SDN switch does not need to send the downlink packet to the target anchor gateway through the source anchor gateway, and the SDN switch can directly send the downlink packet to the target anchor gateway.
  • the downlink packet is forwarded by the target anchor gateway. That is, the method for switching the anchor gateway provided by the embodiment of the present invention is based on the SDN technology, so that the downlink packet of the terminal does not need to be transmitted through the source anchor gateway, and the downlink packet is prevented from being transmitted in the forwarding path of the bypass, and is also reduced.
  • the packet loss rate during the retransmission of the downlink packet is based on the SDN technology, so that the downlink packet of the terminal does not need to be transmitted through the source anchor gateway, and the downlink packet is prevented from being transmitted in the forwarding path of the bypass, and is also reduced.
  • the SDN switch sends a response message to the SDN controller.
  • the SDN switch can send a response message to the SDN controller to notify that the forwarding flow table has been updated.
  • the SDN switch when the SDN switch completes updating the forwarding flow table, it indicates that the source anchor gateway has successfully switched to the target anchor gateway.
  • the SND controller may further notify the CP device that the source anchor gateway has successfully switched to the target anchor gateway.
  • the method may further include:
  • the SDN controller After receiving the response message sent by the SDN switch, the SDN controller sends a response message to the CP device, where the response message is used to indicate that the source anchor gateway has successfully switched to the target anchor gateway.
  • the CP device receives a response message sent by the SDN controller.
  • the CP device may determine the target anchor gateway according to the current location information of the terminal, and send the identifier of the terminal and the identifier of the target anchor gateway to the SDN controller, so that the SDN
  • the controller updates the forwarding flow table corresponding to the downlink packet of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway, and the SDN controller sends the updated forwarding flow table to the SDN switch to enable the SDN switch.
  • the downlink packet After receiving the downlink packet of the terminal, the downlink packet can be sent to the target anchor gateway according to the updated forwarding flow table, and the target anchor gateway forwards the downlink packet for the terminal, thereby avoiding the The downlink packet is transmitted in the forwarding path of the bypass, which also reduces the packet loss rate of the downlink packet during transmission.
  • the method for switching the anchor gateway provided by the embodiment of the present invention can be applied to multiple scenarios.
  • the possible application scenarios in FIG. 4 are exemplarily described below.
  • the anchor gateway connected to the target base station and the anchor gateway connected to the source base station may not be the same anchor gateway, which may cause the downlink packet of the terminal to be bypassed.
  • the method of switching the anchor gateway provided by the embodiment of the present invention can be applied to the scenario of base station handover.
  • the X2 based handover process can implement the handover between the base stations, where X2 refers to the interface between the base station and the base station, and then the anchor gateway handover method provided by the embodiment of the present invention can be Applied to processes based on X2 switching.
  • the foregoing S101 may specifically include:
  • the CP device receives a path exchange request message sent by the target base station.
  • the target base station sends a path switch request message to the CP device, where the path switch request message includes the identifier of the target base station and the bearer.
  • the handover information is used to notify the CP device that the terminal has switched to the target base station.
  • the bearer switching information refers to an interface that the target base station receives the downlink packet of the terminal.
  • the CP device may trigger the switching flow of the anchor gateway according to the path exchange request message. Cheng.
  • the CP device determines the handover source anchor gateway according to the path exchange request message.
  • the source anchor gateway may be switched to the target anchor gateway according to the method in S102-S111. Then, the SDN switch can directly transmit the downlink packet of the terminal to the target anchor gateway without forwarding through the source anchor gateway, so that the downlink packet of the terminal does not need to be transmitted in the bypass forwarding path, and the downlink packet is also reduced. The packet loss rate of the downlink packet of the terminal during transmission.
  • the method further includes:
  • the CP device sends a path exchange response message to the target base station, where the path exchange response message is used to indicate that the target base station establishes an uplink interface for performing information interaction with the target anchor gateway.
  • the CP device needs to notify the target base station to establish an uplink interface for performing information interaction with the target anchor gateway, so that the target base station receives the uplink sent by the terminal.
  • the uplink packet can be sent to the target anchor gateway through the uplink interface.
  • the process of the S1 based handover can also implement the handover between the base stations, where S1 refers to an interface between the base station and the MME in the CP device.
  • the method for anchor gateway handover provided by the embodiment of the present invention can be applied to the process based on the S1 handover.
  • the foregoing S101 may specifically include:
  • S101c The CP device receives a handover request message sent by the source base station.
  • the source base station cannot initiate a handover to the target base station, and therefore, the source base station needs to send a handover request message to the CP device, where the handover request message includes the target.
  • the identifier of the base station is used to request the CP device to notify the target base station and determine the target anchor gateway.
  • the CP device may determine that the source anchor gateway needs to be switched when receiving the handover request message.
  • the CP device determines, according to the handover request message, a handover source anchor gateway.
  • the target anchor gateway can be determined according to the location information of the terminal according to the method in S102-S103 above.
  • the forwarding flow table used to indicate that the SDN switch forwards the packet is the binding information of the SDN controller according to the packet and the binding with the anchor gateway currently serving the terminal
  • the relationship is determined, wherein the binding relationship may be represented by a correspondence between the forwarding information and an identifier of the anchor gateway, where the forwarding information may include quintuple information of the packet or a part of information of the quintuple information.
  • the SDN switch cannot determine which service server the packet sent from the target anchor gateway needs to be forwarded to, so, in order to ensure the continuity of the uplink packet transmission of the terminal, the CP After the device determines the target anchor gateway, the SDN controller needs to be instructed to update the forwarding flow table corresponding to the uplink packet of the terminal.
  • the CP device may send the forwarding information of the uplink packet and the identifier of the anchor gateway to the SDN controller in an uplink indication message, and the SDN controller according to the The forwarding information and the identifier of the anchor gateway re-determine the forwarding flow table corresponding to the uplink packet, and send the new forwarding flow table to the SDN switch, so that the SDN switch saves the source and the uplink packet.
  • the corresponding forwarding flow table is replaced with the new forwarding flow table, so that when the SDN switch receives the uplink packet sent by the target anchor gateway, the uplink packet can be forwarded to the corresponding service server.
  • the forwarding flow table used to indicate that the SDN switch forwards the packet is determined by the SDN controller according to the identifier of the terminal and the identifier of the service server, that is, the SDN switch receives the uplink report sent by the target anchor gateway.
  • the SDN switch can forward the uplink packet to the corresponding service server according to the identifier of the terminal, and the CP device does not need to instruct the SDN controller to update the forwarding flow table corresponding to the uplink packet.
  • the CP device notifies the target base station that after the terminal switches to the target base station, because the target base station cannot communicate with the source base station, in order to enable the downlink message that has been buffered in the source base station to be transmitted to the terminal, the CP device, Target base station, source base
  • the downlink forwarding path is established by the information exchange between the station, the target anchor gateway, the source anchor gateway, and the terminal, so that the downlink packets that have been buffered in the source base station can be forwarded to the terminal through the downlink forwarding path, thereby avoiding the downlink being transmitted.
  • the message is interrupted due to the handover of the base station.
  • the downlink forwarding path is: the source base station sends the buffered downlink packet to the source anchor gateway, and the source anchor gateway sends the downlink packet to the target anchor gateway, and the target anchor gateway sends the downlink packet to the destination anchor gateway.
  • the target base station sends the downlink packet to the terminal by the target base station.
  • the method may further include:
  • the target base station sends a handover notification message to the CP device.
  • the CP device After receiving the handover notification message, the CP device sends a modify session request (English: modify session request) message to the target anchor gateway, where the modify session request message is used to indicate that the target anchor gateway establishes information with the target base station.
  • modify session request English: modify session request
  • the target base station After the terminal successfully switches to the target base station, the target base station sends a handover notification message to the CP device to notify the CP device that the source base station has successfully switched to the target base station.
  • the CP device after receiving the handover notification message, the CP device sends a modify session request message to the target anchor gateway to indicate that the target anchor gateway establishes a downlink interface for performing information interaction with the target base station, so that The target anchor gateway receives the downlink packet sent by the service server through the SDN switch, and the target anchor gateway can send the downlink packet to the target base station by using the downlink interface.
  • the forwarding flow table corresponding to the downlink packet of the terminal may be updated according to the method in S104-S111 in the embodiment shown in FIG. 3, so that The SDN switch can directly forward the downlink packet of the terminal to the target anchor gateway, so as to prevent the downlink packet of the terminal from being transmitted in the bypassed forwarding path, and the packet loss rate of the downlink packet during the transmission process is also reduced.
  • the terminal when the terminal in the idle (English: IDLE) state moves, and the TA tracking area of the terminal changes, the terminal sends the tracking area update to the MME through the current base station. : Tracking Area Update (TAU) request message to request the MME to perform update of the TA of the terminal.
  • TAU Tracking Area Update
  • the foregoing S101 may specifically include:
  • the CP device receives the TAU request message sent by the base station.
  • the CP device determines, according to the TAU request message, a handover source anchor gateway.
  • the CP device when the CP device receives the TAU request message sent by the base station, the CP device may determine that the TA of the terminal needs to be updated, and determine, according to the TAU request message, that the handover source anchor gateway is determined, so that the S102 is performed according to the foregoing S102.
  • the method described in S111 switching the source anchor gateway to the target anchor gateway.
  • the service server initiates a service request (English: service request) to the terminal to page the terminal, the SDN switch can
  • the method further includes:
  • S115 The CP device sends a delete session request (English: delete session request) message to the source anchor gateway, where the delete session request message is used to request the source anchor gateway to delete the context corresponding to the downlink packet on the source anchor gateway.
  • a delete session request (English: delete session request) message
  • the CP device may send a delete session request message to the source anchor gateway to indicate the source anchor.
  • the point gateway deletes the context information corresponding to the downlink packet of the terminal, thereby saving connection resources on the source anchor gateway.
  • the terminal may change the anchor gateway of the terminal due to the movement. Then, in the service request process, the handover method of the anchor gateway provided by the embodiment of the present invention may also be introduced.
  • the foregoing S101 may specifically include:
  • S101g The CP device receives a service request message sent by the base station.
  • the base station forwards the service request message to the CP device.
  • the CP device determines, according to the service request message, a handover source anchor gateway.
  • the CP device when the CP device receives the service request message sent by the base station, it may also determine that the anchor point gateway needs to be switched, and performs a handover method of the anchor gateway provided by the embodiment of the present invention.
  • the CP device determines the handover source anchor gateway according to the service request message, and determines the target anchor gateway according to the foregoing method in S102-S103, if the forwarding flow table used to indicate that the SDN switch forwards the packet is SDN control According to the binding information of the packet and the binding relationship of the anchor gateway, the CP device needs to promptly instruct the SDN controller to update the forwarding flow table corresponding to the uplink packet of the terminal, so that the SDN switch receives the target anchor point.
  • the uplink packet is sent by the gateway, the uplink packet can be forwarded to the corresponding service server, so that the uplink packet currently being transmitted is interrupted.
  • the CP device instructs the SDN controller to update the forwarding flow table corresponding to the uplink packet of the terminal.
  • the CP device instructs the SDN controller to update the forwarding corresponding to the uplink packet of the terminal.
  • the specific manner of the flow table will not be described here.
  • the CP device needs to indicate that the source anchor gateway and the target anchor gateway establish a downlink forwarding path, so that the service server has sent the source anchor in the process of initiating the service request.
  • the downlink packet on the gateway can be transmitted to the target anchor gateway through the downlink forwarding path.
  • the CP device may send a path establishment request message to the source anchor gateway and the target anchor gateway respectively, to indicate that the source anchor gateway and the target anchor gateway respectively establish a source anchor A downlink connection between the gateway and the target anchor network, so that the source anchor gateway can send the buffered downlink packet to the target anchor gateway, and the target anchor gateway sends the downlink packet to the terminal through the base station.
  • the source anchor gateway may also send the buffered downlink packet to the CP device, and the CP device sends the buffered downlink data to the target anchor gateway, and then the target sends the buffered downlink data to the base station. To the terminal.
  • the CP device does not need to establish a downlink forwarding path.
  • the CP device after the target device is determined by the target device, if the CP device needs to update the forwarding flow table corresponding to the uplink packet of the terminal, and/or needs to establish a downlink packet forwarding path, the CP device is updated.
  • the downlink of the terminal may be updated according to the method of the target anchor gateway and the terminal according to the method in S104-S111.
  • the forwarding flow table corresponding to the packet is used to successfully switch the source anchor gateway to the target anchor gateway, so that the SDN switch directly forwards the downlink packet to the target anchor gateway when receiving the downlink packet of the terminal.
  • the forwarding of the downlink packet is not required to be performed in the forwarding path of the downlink packet, and the packet loss rate of the downlink packet during the transmission process is also reduced.
  • the method in S104-S111 is directly executed after the CP device determines the target anchor gateway. To successfully switch the source anchor gateway to the target anchor gateway.
  • the method further includes:
  • the CP device sends a delete session request message to the source anchor gateway.
  • the delete session request message is used to request the source anchor gateway to delete the context corresponding to the downlink packet of the terminal on the source anchor gateway.
  • the CP device may indicate the source after the source anchor gateway sends all the buffered downlink packets to the target anchor gateway.
  • Anchor Gateway and Target Anchor Gateway Delete Source Anchor Information about the downstream forwarding path on the gateway and the target anchor gateway.
  • the method for switching the anchor gateway provided by the embodiment of the present invention may also be applied to other scenarios where there may be an anchor gateway handover, which is not described in this application.
  • the base station provided by the terminal is switched.
  • the base station provided by the terminal is switched from the source base station to the target base station, so that the transmission path of the downlink message of the terminal is changed during the transmission.
  • the source anchor point gateway detects the original path (that is, when the source base station provides services for the terminal, the transmission path of the downlink packet of the terminal), the source anchor gateway ends when the packet transmission ends.
  • An end message is sent to the source path to notify other forwarding nodes such as the gateway, the source base station, and the destination base station in the original path, and the path ends the message transmission, so that other gateways, source base stations, and destination base stations on the path forward.
  • a node can delete the context associated with that path.
  • the end message is a GPRS Tunneling Protocol User Plane (GTPU) empty packet carrying an end identifier (English: endmarker), which is a specific tunnel message.
  • GTPU GPRS Tunneling Protocol User Plane
  • the source anchor gateway since the source anchor gateway is also switched during the handover of the base station, the source anchor gateway cannot detect whether the packet transmission on the original path ends, so that the source anchor gateway cannot send the end to the original path.
  • the packet is sent, so the method for triggering the source anchor gateway to send the end message is as shown in FIG. 8.
  • the method may include:
  • the CP device sends a modification request message to the SDN controller, where the modification request message includes an end identifier and an identifier of the source anchor gateway.
  • the CP device sends the correspondence between the terminal and the target anchor gateway to the SDN controller by using a modification request message to indicate that the SDN controller updates the terminal.
  • the forwarding packet corresponding to the downlink packet is also carried in the modification request message and sent to the SDN controller.
  • the SDN controller determines, according to the end identifier and the identifier of the source anchor gateway, a forwarding flow table corresponding to the first ending packet.
  • the forwarding flow table corresponding to the first ending packet is used to instruct the SDN switch to forward the first ending packet to the source anchor gateway.
  • the end flow identifier is included in the forwarding flow table corresponding to the first end message.
  • the SDN controller sends, to the SDN switch, a forwarding flow table corresponding to the first end message.
  • the SDN controller separately sends the forwarding flow table corresponding to the first end message to the plurality of SDN switches.
  • the SDN switch receives and saves a forwarding flow table corresponding to the first end message.
  • the SDN switch After receiving the first downlink packet of the terminal, the SDN switch generates a first end packet according to the first downlink packet and the end identifier.
  • the first downlink packet is the first downlink packet sent by the service server to the terminal after the source anchor gateway switches to the target anchor gateway.
  • the SDN switch After receiving the first downlink packet sent by the service server, the SDN switch needs to copy the downlink packet when forwarding the downlink packet according to the updated forwarding flow table corresponding to the downlink packet of the terminal. And setting the end identifier in the copied downlink packet to generate the first end packet; or, the SDN switch copies the packet header of the downlink packet, and sets the end identifier in the copied packet header to generate the An end message.
  • the SDN switch that directly receives the first downlink packet sent by the service server determines the first end packet according to the first downlink packet and the end identifier.
  • the other SDN switch may forward the packet according to the corresponding forwarding flow table.
  • the SDN switch forwards the first end message to the source anchor gateway according to the forwarding flow table corresponding to the first end message.
  • the source anchor gateway After receiving the first end message, the source anchor gateway sends a second end message.
  • the source anchor gateway is triggered to send the second end message by using the first end message. After receiving the first end packet, the source anchor gateway may send the second end packet and discard the first end packet.
  • the second packet carries the GTPU empty packet with the end identifier.
  • the embodiment of the present invention further provides an SDN domain registration method, and the method for switching the anchor gateway provided by the foregoing embodiment of the present invention may be implemented based on the registration method.
  • the SDN domain registration method includes:
  • S301 The CP device acquires a packet matching result of the first service requested by the terminal.
  • the packet matching result may be a rule (English: rule) identifier of the first service matching, or an application (English: application) identifier.
  • the CP device can obtain the matching result of the packet by using the received event reporting message, where the event reporting message is sent by the anchor gateway accessed by the terminal after the terminal establishes the PDN.
  • the anchor gateway obtains the service matching rule from the CP device in advance, determines the packet matching result corresponding to the first service requested by the terminal, and carries the packet matching result in the event report message and sends the message to the CP device.
  • the event reporting message may also carry the identifier of the terminal, the feature information of the downlink packet of the first service, and the like.
  • the CP device determines, according to the packet matching result, a source anchor gateway corresponding to the packet matching result.
  • the correspondence between the packet matching result and the anchor gateway is pre-stored in the CP device, for example, the correspondence between the rule identifier and the anchor gateway, or the corresponding relationship between the application identifier and the anchor gateway.
  • the CP device can find an anchor gateway corresponding to the matching result of the packet according to the packet matching result of the first service, thereby determining a source anchor gateway of the first service.
  • the CP device sends the correspondence between the first service and the source anchor gateway to the SDN controller.
  • the CP device may use the packet feature information of the first service and the identifier of the source anchor gateway to represent the correspondence between the first service and the source anchor gateway, where the packet feature information of the first service may be
  • the quintuple information of the packet of a service may also be an identifier of the terminal and an identifier of the service server that provides the first service.
  • the CP device may carry the correspondence between the first service and the source anchor gateway in a notification message or a request message to the SDN controller, so that the SDN controller determines and the first according to the correspondence between the first service and the source anchor gateway.
  • the forwarding flow table corresponding to the downlink packet of the service.
  • the SDN controller receives the correspondence sent by the CP device.
  • the SDN controller determines, according to the correspondence, a forwarding flow table corresponding to the downlink packet of the first service.
  • the SDN controller sends, to the SDN switch, a forwarding flow table corresponding to the downlink packet of the first service.
  • the SDN switch When receiving the downlink packet of the first service, the SDN switch forwards the downlink packet of the first service according to the forwarding flow table corresponding to the downlink packet of the first service.
  • the packet of the first service of the terminal can be forwarded in the SDN domain. Therefore, when it is necessary to switch the source anchor gateway for the first service, the source anchor gateway can be switched for the first service by using the method in S101-S111.
  • each network element such as an SDN controller, a CP device, an SDN switch, etc.
  • each network element such as an SDN controller, a CP device, an SDN switch, etc.
  • each network element includes hardware structures and/or software modules corresponding to each function.
  • the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • the function module of the SDN controller, the CP device, the SDN switch, and the like may be divided according to the foregoing method, for example, may be divided into corresponding functions.
  • Each function module can also integrate two or more functions into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 10 is a schematic diagram showing a possible structure of a CP device involved in the foregoing embodiment.
  • the CP device includes: a determining unit 10, an obtaining unit 11, and a sending unit 12. , receiving unit 13.
  • the determining unit 10 is configured to support the CP device to execute S101 and S103 in the process of FIG. 3, processes S101a, S101b and S103 in FIG. 4, processes S101c, S101d and S103 in FIG. 5, and processes S101e, S101f and S103 in FIG. 6, Process S101g, S101h, and S103 in FIG. 7, process S302 in FIG. 9;
  • the obtaining unit 11 is configured to support the CP device to perform the process S102 in FIG. 3-7, the process S301 in FIG.
  • the sending unit 12 is configured to support
  • the CP device performs the process S104 in FIG. 3-7, the process S201 in FIG. 8, and the process S303 in FIG. 9.
  • the receiving unit 13 is configured to support the CP device to perform the process S111 in FIG. 3-7, in the process of FIG. S207. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • FIG. 11 shows a possible structural diagram of the CP device involved in the above embodiment.
  • the CP device includes a processing module 100 and a communication module 101.
  • the processing module 100 is configured to perform control management on the action of the CP device.
  • the processing module 100 is configured to support the CP device to execute S101, S102, S103, S104, and S111 in the process of FIG. 3, and S101a, S101b, and S102 in the process of FIG. S103, S104 and S111, S101c, S101d, S102, S103, S104 and S111 in the process of FIG. 5, S101e, S101f, S102, S103, S104 and S111 in the process of FIG.
  • the communication module 101 is configured to support communication between the CP device and other network entities, such as between the functional modules or network entities shown in Figures 2-9. Communication.
  • the CP device may further include a storage module 102 for storing program codes and data of the CP device.
  • the processing module 100 may be a processor or a controller, and may be, for example, a CPU, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and field programmable. Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module 101 can be a communication interface.
  • the storage module 102 can be a memory.
  • the processing module 100 is a processor
  • the communication module 101 is a communication interface
  • the storage module 102 is a memory
  • the CP device involved in the embodiment of the present invention may be the CP device shown in FIG.
  • the CP device includes a processor 110, a communication interface 111, a memory 112, and a bus 113.
  • the communication interface 111, the processor 110, and the memory 112 are connected to each other through a bus 113.
  • the bus 113 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Wait.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 12, but it does not mean that there is only one bus or one type of bus.
  • FIG. 13 is a schematic diagram showing a possible structure of an SDN controller involved in the foregoing embodiment.
  • the SDN controller includes: a receiving unit 20, a determining unit 21, and a sending unit. Unit 22.
  • the receiving unit 20 is configured to support the SDN controller to perform the process 105 in FIG. 3-7, the process 202 in FIG. 8, the process S304 in FIG. 9, and the determining unit 21 is configured to support the SDN controller to perform the operations in FIG. 3-7.
  • Process 106, S305 in the process of FIG. 9; the transmitting unit 22 is configured to support the SDN controller to perform the process 107, S110 in FIG. 3-7, and the process S203 in FIG. S306 in the process of Fig. 9. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • FIG. 14 shows a possible structural diagram of the SDN controller involved in the above embodiment.
  • the SDN controller includes a processing module 200 and a communication module 201.
  • the processing module 200 is configured to control and manage the actions of the SDN controller.
  • the processing module 200 is configured to support the SDN controller to perform the processes 105, S106, S107, and S110 in FIG. 3-7, the process 202 in FIG. S203, processes S304, S305 and S306 in Figure 9, and/or other processes for the techniques described herein.
  • the communication module 201 is used to support communication between the SDN controller and other network entities, such as communication with the functional modules or network entities shown in Figures 2-9.
  • the SDN controller can also include a storage module 202 for storing program code and data of the SDN controller.
  • the processing module 100 can be a processor or controller, such as a CPU, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module 201 can be a transceiver, a transceiver circuit, a communication interface, or the like.
  • the storage module 202 can be a memory.
  • the SDN controller may be the SDN controller shown in FIG.
  • the SDN controller includes a processor 210, a communication interface 211, a memory 212, and a bus 2113.
  • the communication interface 211, the processor 210, and the memory 212 are connected to each other through a bus 213; the bus 213 may be a PCI bus or an EISA bus or the like.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 12, but it does not mean that there is only one bus or one type of bus.
  • FIG. 16 shows A possible schematic diagram of an SDN switch involved in the foregoing embodiment
  • the SDN switch includes: a receiving unit 30, a generating unit 31, and a sending unit 32.
  • the receiving unit 30 is configured to support the SDN switch to perform the process S108 in FIG. 3-7, the process S204 in FIG. 8, the process S307 in FIG. 9, and the generating unit 31 is configured to support the SDN switch to perform the process S205 in FIG. 8;
  • Unit 32 is for supporting the SDN switch to perform process S109 in Figures 3-7, process S206 in Figure 8. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • FIG. 17 shows a possible structural diagram of the SDN switch involved in the above embodiment.
  • the SDN switch includes: a processing module 300 and a communication module 301.
  • the processing module 300 is configured to control and manage the action of the SDN switch.
  • the processing module 300 is configured to support the SDN switch to perform processes S108 and S109 in FIG. 3-7, processes S204, S205 and S206 in FIG. 8, FIG. Process S307, and/or other processes for the techniques described herein.
  • Communication module 301 is used to support communication between the SDN switch and other network entities, such as with the functional modules or network entities shown in Figures 2-9.
  • the SDN switch may further include a storage module 302 for storing program codes and data of the SDN switch.
  • the processing module 300 can be a processor or a controller, such as a CPU, a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module 301 can be a communication interface or the like.
  • the storage module 302 can be a memory.
  • the SDN switch involved in the embodiment of the present invention may be the SDN switch shown in FIG. 18.
  • the SDN switch includes a processor 310, a communication interface 311, a memory 312, and a bus 313.
  • the memory 312 is connected to each other through a bus 313; the bus 313 may be a PCI bus or an EISA bus or the like.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 18, but it does not mean that there is only one bus or one type of bus.
  • the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware, or may be implemented by a processor executing software instructions.
  • the software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable Programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device.
  • the processor and the storage medium may also exist as discrete components in the core network interface device.
  • an embodiment of the present invention provides a switching network of an anchor network, including the CP device shown in any of the foregoing FIG. 10 to FIG. 12, and any of the foregoing FIG. 13 to FIG.
  • the CP device may determine the target anchor gateway according to the current location information of the terminal, and send the identifier of the terminal and the identifier of the target anchor gateway to the SDN controller, so that the SDN
  • the controller updates the forwarding flow table corresponding to the downlink packet of the terminal according to the identifier of the terminal and the identifier of the target anchor gateway, and the SDN controller sends the updated forwarding flow table to the SDN switch to enable the SDN switch.
  • the downlink packet transmission may be directly sent to the target anchor gateway according to the updated forwarding flow table, and the target anchor gateway forwards the downlink packet for the terminal, thereby
  • the downlink packet of the terminal is not available. It is required to be forwarded by the source anchor gateway to prevent the downlink packet from being transmitted in the bypassed forwarding path, and also reduces the packet loss rate of the downlink packet during transmission.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

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

Abstract

本发明实施例提供一种锚点网关的切换方法、装置及系统,涉及通信技术领域,避免报文在迂回的转发路径中传输。该方法包括:CP设备确定切换源锚点网关;CP设备获取终端的位置信息;CP设备根据位置信息确定目标锚点网关;CP设备向SDN控制器发送修改请求消息,该修改请求消息包括该终端的标识和该目标锚点网关的标识,该修改请求消息用于指示SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该下行报文对应的转发流表,并将更新后的该转发流表发送至SDN交换机,以使得SDN交换机根据该更新后的转发流表将该下行报文转发至该目标锚点网关,由该目标锚点网关为该终端转发该下行报文。该方法应用于锚点网关切换的场景中。

Description

一种锚点网关的切换方法、装置及系统 技术领域
本发明涉及通信技术领域,尤其涉及一种锚点网关的切换方法、装置及系统。
背景技术
演进的分组核心(Evolved Packet Core,EPC)网是一种新型分组核心网,其将网络进一步扁平化,EPC网主要包括移动管理实体(英文:Mobility Management Entity,MME)、服务网关(英文:Serving Gateway,SGW)以及分组数据网关(PDN Gateway,缩写:PGW)。其中,SGW和PGW有时也作为锚点网关,为终端提供移动锚点功能,即终端通过锚点网关访问业务服务器中的APP业务。
在传统的网络中,锚点网关都是通过传统路由设备与业务服务器连接,传统的路由设备会根据已有的路由表将终端的下行报文发送至源锚点网关。若将源锚点网关切换为目标锚点网关,则由于传统的路由设备无法及时更新路由表,传统的路由设备会继续将该终端的下行报文发送至源锚点网关,这样就造成了数据丢失的问题,导致该终端的业务中断,因此,即使在终端的移动过程中,出现更加合适的目标锚点网关,也不会将源锚点网关切换为该目标锚点网关,而是通过源锚点网关和目标锚点网关共同转发该终端的下行报文。例如,如图1所示,当终端从源基站移动到目标基站后,该终端的下行报文的传输路径从图1所示的虚线箭头所表示的路径,变为比较迂回的实线箭头所表示的路径。
如此,虽然能够保证业务的连续性,但是会使得该终端的报文在迂回的路径中传输。
发明内容
本发明的实施例提供一种锚点网关的切换方法、装置及系统,能够在锚点网关发生切换时,降低报文在传输过程中的丢包率,也能够避免报文在迂回的转发路径中传输。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,本发明实施例提供一种锚点网关的切换方法,包括:控制面CP设备确定切换源锚点网关,该源锚点网关为切换前为终端转发该终端的下行报文的锚点网关;该CP设备获取该终端的位置信息;该CP设备根据该位置信息确定目标锚点网关;该CP设备向软件定义网络SDN控制器发送修改请求消息,该修改请求消息包括该终端的标识和该目标锚点网关的标识,该修改请求消息用于指示该SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该下行报文对应的转发流表,并将更新后的该转发流表发送至SDN交换机,以使得该SDN交换机根据该更新后的转发流表将该下行报文转发至该目标锚点网关,由该目标锚点网关为该终端转发该下行报文;可选的,该CP设备还可以接收该SDN控制器发送的应答消息,该应答消息用于指示该源锚点网关已成功切换为该目标锚点网关。
通过本发明实施例提供的锚点网关的切换方法,CP设备可以根据终端当前的位置信息确定目标锚点网关,并向SDN控制器发送终端的标识与该目标锚点网关的标识,以使得SDN控制器根据终端的标识与该目标锚点网关的标识更新与该终端的下行报文对应的转发流表,SDN控制器通过将更新后的转发流表发送至SDN交换机,以使的该SDN交换机在接收到该终端的下行报文后,能够根据该更新后的转发流表将该下行报文发送直接发送至目标锚点网关,由目标锚点网关为该终端转发该下行报文,从而使得该终端的下行报文无需由源锚点网关进行转发,避免了该下行报文在迂回的转发路径中传输,也降低了该下行报文在传输过程中的丢包率。
可选的,CP设备根据位置信息确定目标锚点网关之前,该方法还包括:该CP设备获取类型信息,该类型信息包括该终端的类型和该终端的业务的类型中的至少一项;该CP设备根据该位置信息确定 目标锚点网关,包括:该CP设备根据该位置信息和该类型信息确定该目标锚点网关。
可选的,类型信息包括业务的类型,修改请求消息还包括CP设备确定的业务的信息,该修改请求消息用于指示SDN控制器根据终端的标识、目标锚点网关的标识以及该业务的信息更新转发流表。
可选的,CP设备确定切换源锚点网关,包括:该CP设备接收目标基站发送的路径交换请求消息;该CP设备根据路径交换请求消息确定切换源锚点网关;该CP设备接收SDN控制器发送的应答消息之后,该方法还包括:该CP设备向目标基站发送路径交换应答消息,该路径交换应答消息用于指示该目标基站建立与该目标锚点网关进行信息交互的上行接口,该上行接口用于目标基站将接收到该终端的上行报文发送至该目标锚点网关。
可选的,CP设备确定切换源锚点网关,包括:该CP设备接收基站发送的跟踪区更新TAU请求消息;该CP设备根据该TAU请求消息确定切换该源锚点网关。
可选的,该CP设备确定切换源锚点网关,包括:该CP设备接收源基站发送的切换申请消息;该CP设备根据该切换申请消息确定切换该源锚点网关;该CP设备根据该位置信息确定目标锚点网关之后,该CP设备向SDN控制器发送修改请求消息之前,该方法还包括:该CP设备接收到该目标基站发送的切换通知消息后,向该目标锚点网关发送修改会话请求消息,该修改会话请求消息用于指示该目标锚点网关建立与该目标基站进行信息交互的下行接口,该下行接口用于目标锚点网关将接收到下行报文发送至该目标基站。
可选的,该CP设备确定切换源锚点网关,包括:该CP设备接收基站发送的服务请求消息;该CP设备根据该服务请求消息确定切换该源锚点网关。
通过上述可选方式,能够在不同的场景中实现锚点网关的切换,以避免报文在迂回的转发路径中传输,同时降低报文在传输过程中的丢包率。
可选的,该CP设备根据该位置信息确定目标锚点网关之后,该CP设备向SDN控制器发送修改请求消息之前,该方法还包括:该CP设备指示该源锚点网关和该目标锚点网关建立下行转发路径,以使的该源锚点网通过该下行转发路径将该源锚点网关上缓存的下行报文发送至该基站;该CP设备向SDN控制器发送修改请求消息之后,该方法还包括:该CP设备指示该源锚点网关和该目标锚点网关删除与该下行转发路径对应的信息。
通过这一可选方式,能够在切换锚点网关的过程,及时建立下行转发路径,以使得已经缓存到源锚点网关上的下行报文能够转发至基站,从而保证正在传输的下行报文的连续性。
可选的,该CP设备根据该位置信息确定目标锚点网关之后,该CP设备向SDN控制器发送修改请求消息之前,该方法还包括:该CP设备向该SDN控制器发送上行链路指示消息,该上行链路指示消息包括该CP设备确定的该终端的上行报文的转发信息和目标锚点网关的标识,该上行链路指示消息用于指示该SDN控制器根据该转发信息和该目标锚点网关的标识确定与该上行报文对应的转发流表,以使得该SDN交换机根据与该上行报文对应转发流表转发该上行报文。
通过这一可选方式,能够在切换锚点网关的过程中,及时更新与终端的上行报文对应的转发流表,从而保证正在传输的上行报文的连续性。
可选的,该CP设备确定切换源锚点网关之前,该方法还包括:该CP设备获取该终端请求的第一业务的报文匹配结果;该CP设备根据该报文匹配结果确定与该报文匹配结果对应的源锚点网关;该CP设备将该第一业务和该源锚点网关的对应关系发送至该SDN控制器,以使得该SDN控制器根据该对应关系确定与该第一业务的下行报文对应的转发流表,该修改请求消息具体用于指示该SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该第一业务的下行报文对应的转发流表。
本发明实施例提供的这一可选方式,能够实现SDN域注册,使得该终端的第一业务的报文,在SDN域中进行转发,从而当需要为该第一业务切换源锚点网关时,SDN控制器能够及时更新与该第一业务的下行报文对应的转发流表,实现锚点网关的切换。
第二方面,本发明实施例提供一种锚点网关的切换方法,包括:
软件定义网络SDN控制器接收控制面CP设备发送的修改请求消息,该修改请求消息包括该终端的标识和该目标锚点网关的标识;该SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该终端的下行报文对应的转发流表;该SDN控制器向SDN交换机发送更新后的该转发流表,以使得该SDN交换机根据更新后的该转发流表将该下行报文转发至该目标锚点网关,由该目标锚点网关为该终端转发该下行报文;可选的,该SDN控制器还可以向该CP设备发送应答消息,该应答消息用于指示该目标锚点网关切换成功。
通过本发明实施例提供的锚点网关的切换方法,SDN控制器能够接收CP设备发送的终端的标识,和该CP根据终端当前的位置信息确定目标锚点网关的标识,更新与该终端的下行报文对应的转发流表,SDN控制器通过将更新后的转发流表发送至SDN交换机,以使的该SDN交换机在接收到该终端的下行报文后,能够根据该更新后的转发流表将该下行报文发送直接发送至目标锚点网关,由目标锚点网关为该终端转发该下行报文,从而使得该终端的下行报文无需由源锚点网关进行转发,避免了该下行报文在迂回的转发路径中传输,也降低了该下行报文在传输过程中的丢包率。
可选的,该修改请求消息中还包括该终端的业务的信息;该SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该终端的下行报文对应的转发流表,包括:该SDN控制器根据该终端的标识、该目标锚点网关的标识和该业务的信息更新该转发流表。
可选的,该SDN控制器接收CP设备发送的修改请求消息之前,该方法还包括:该SDN控制器接收该CP设备发送的上行链路指示消息,该上行链路指示消息包括该终端的上行报文的转发信息和目 标锚点网关的标识;该SDN控制器根据该转发信息和该目标锚点网关的标识确定与该上行报文对应的转发流表;该SDN控制器向该SDN交换机发送与该上行报文对应的转发流表,以使得该SDN交换机根据与该上行报文对应转发流表转发该上行报文。
可选的,该修改请求消息还包括结束标识和该源锚点网关的标识,该SDN控制器根据该结束标识和该源锚点网关的标识确定与第一结束报文对应的转发流表,该第一结束报文用于触发该源锚点网关发送第二结束报文;该SDN控制器向该SDN交换机发送与该第一结束报文对应的转发流表,以使得该SDN交换机在获取该第一结束报文后,根据与该第一结束报文对应的转发流表将该第一结束报文转发至该源锚点网关。
可选的,该SDN控制器接收CP设备发送的修改请求消息之前,该方法还包括:该SDN控制器接收该CP设备发送的该终端请求的第一业务和该源锚点网关的对应关系;该SDN控制器根据该对应关系确定与该第一业务的报文对应的转发流表,该下行报文包括该第一业务的报文;该SDN控制器向该SDN交换机发送该与该第一业务的下行报文对应的转发流表,以使得该SDN交换机根据该与该第一业务的下行报文对应的转发流表对该第一业务的报文进行转发;该SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该终端的下行报文对应的转发流表,包括:该SDN控制器根据该终端的标识和该目标锚点网关的标识更新该与该第一业务的下行报文的转发流表。
其中,第二方面的各个可选方式的有益效果可以参见第一方面所述的锚点网关的切换方法中相应的可选方式的有益效果,此处不再赘述。
第三方面,本发明实施例提供一种锚点网关的切换方法,包括:SDN交换机接收SDN控制器发送的与第一结束报文对应的转发流表,该第一结束报文用于触发源锚点网关发送第二结束报文,该转发流表中包括结束标识;该SDN交换机接收到终端第一个下行报文 后,根据该第一个下行报文和结束标识生成该第一结束报文,该第一个下行报文为该源锚点网关切换为目标锚点网关后,业务服务器向该终端关发送的第一个下行报文;该SDN交换机按照该转发流表将该第一结束报文转发至该源锚点网关,以触发该源锚点网关发送第二结束报文。
本发明实施例提供一种结束报文的触发方法,能够在本发明提供的锚点网关的切换方法中,通过SDN交换机发送的第一结束报文,触发源锚点网关发送第二结束报文。
第四方面,本发明实施例提供一种CP设备,包括:确定单元,用于确定切换源锚点网关,该源锚点网关为切换前为终端转发该终端的下行报文的锚点网关;获取单元,用于获取终端的位置信息;该确定单元,还用于根据该获取单元获取的该位置信息确定目标锚点网关,该目标锚点网关与该终端的距离小于该源锚点网关与该终端的距离;发送单元,用于向软件定义网络SDN控制器发送修改请求消息,该修改请求消息包括该确定单元确定的该终端的标识和该目标锚点网关的标识,该修改请求消息用于指示该SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该下行报文对应的转发流表,并将更新后的该转发流表发送至SDN交换机,以使得该SDN交换机根据该更新后的转发流表将该下行报文转发至该目标锚点网关,由该目标锚点网关为该终端转发该下行报文。
可选的,该CP设备还可以包括接收单元,用于接收该SDN控制器发送的应答消息,该应答消息用于指示该源锚点网关已成功切换为该目标锚点网关。
可选的,该获取单元,还用于在该确定单元根据该位置信息确定目标锚点网关之前,获取类型信息,该类型信息包括该终端的类型和该终端的业务的类型中的至少一项;该确定单元,具体用于根据该位置信息和该类型信息确定该目标锚点网关,该目标锚点网关与该终端的距离小于该源锚点网关与该终端的距离,且满足该类型信息。
可选的,该获取单元获取的该类型信息包括该业务的类型或者包括该业务的类型和终端的类型,该发送单元发送的该修改请求消息还包括该确定单元确定的该业务的信息,该修改请求消息用于指示该SDN控制器根据该终端的标识、该目标锚点网关的标识以及该业务的信息更新该转发流表。
可选的,该确定单元,具体用于接收目标基站发送的路径交换请求消息,并根据路径交换请求消息确定切换该源锚点网关;该发送单元,还用于在向SDN控制器发送修改请求消息之后,向该目标基站发送路径交换应答消息,该路径交换应答消息用于指示该目标基站建立与该目标锚点网关进行信息交互的上行接口,该上行接口用于该目标基站将接收到所述终端的上行报文发送至所述目标锚点网关。
可选的,该确定单元,具体用于接收基站发送的跟踪区更新TAU请求消息,并根据该TAU请求消息确定切换该源锚点网关。
可选的,该确定单元,具体用于该CP设备接收源基站发送的切换申请消息,并根据该切换申请消息确定切换该源锚点网关;该发送单元,还用于所在接收到目标基站发送的切换通知消息后,向该目标锚点网关发送修改会话请求消息,该修改会话请求消息用于指示该目标锚点网关建立与该目标基站进行信息交互的下行接口,该下行接口用于该目标锚点网关将接收到该下行报文发送至该目标基站。
可选的,该确定单元,具体用于该CP设备接收基站发送的服务请求消息,并根据该服务请求消息确定切换该源锚点网关。
可选的,该发送单元,还用于在确定单元根据该位置信息确定目标锚点网关之后,向SDN控制器发送修改请求消息之前,指示该源锚点网关和该目标锚点网关建立下行转发路径,以使得该源锚点网通过该下行转发路径将该源锚点网关上缓存的下行报文发送至该基站;该发送单元,还用于在向SDN控制器发送修改请求消息之后,指示该源锚点网关和该目标锚点网关删除与该下行转发路径对应的 信息。
可选的,该发送单元,还用于在确定单元根据该位置信息确定目标锚点网关之后,向SDN控制器发送修改请求消息之前,向该SDN控制器发送上行链路指示消息,该上行链路指示消息包括该确定单元确定的该终端的上行报文的转发信息和目标锚点网关的标识,该上行链路指示消息用于指示该SDN控制器根据该转发信息和该目标锚点网关的标识确定与该上行报文对应的转发流表,以使得该SDN交换机根据与该上行报文对应转发流表转发该上行报文。
可选的,该获取单元,还用于在该确定单元确定切换源锚点网关之前,获取该终端的第一业务的报文匹配结果;该确定单元,还用于根据该报文匹配结果确定与该报文匹配结果对应的源锚点网关;该发送单元,还用于将该第一业务和该源锚点网关的对应关系发送至该SDN控制器,以使得该SDN控制器根据该对应关系确定与该第一业务的报文对应的转发流表,该发送单元发送的该修改请求消息具体用于指示该SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该第一业务的下行报文对应的转发流表。
本发明实施例提供的CP设备的技术效果可以参见上述第一方面或第一方面的各个可选方式的技术效果,此处不再赘述。
第五方面,本发明实施例提供一种SDN控制器,包括:接收单元,用于接收控制面CP设备发送的修改请求消息,该修改请求消息包括该终端的标识和该目标锚点网关的标识;确定单元,用于根据该接收单元接收的该终端的标识和该目标锚点网关的标识更新与该终端的下行报文对应的转发流表;发送单元,用于向SDN交换机发送该确定单元更新的更新后的该转发流表,以使得该SDN交换机根据更新后的该转发流表将该下行报文转发至该目标锚点网关,由该目标锚点网关为该终端转发该下行报文;可选的,该发送单元,还用于向该CP设备发送应答消息,该应答消息用于指示该目标锚点网关切换成功。
可选的,该接收单元接收到的该修改请求消息中还包括该终端 的业务的信息;该确定单元,具体用于根据该终端的标识、该目标锚点网关的标识和该业务的信息更新该转发流表。
可选的,该接收单元,还用于在接收CP设备发送的修改请求消息之前,接收该CP设备发送的上行链路指示消息,该上行链路指示消息包括该终端的上行报文的转发信息和目标锚点网关的标识;该确定单元,还用于根据该接收单元接收的该转发信息和该目标锚点网关的标识确定与该上行报文对应的转发流表;该发送单元,还用于向该SDN交换机发送与该上行报文对应的转发流表,以使得该SDN交换机根据与该上行报文对应转发流表转发该上行报文。
可选的,该接收单元接收到的该修改请求消息还包括结束标识和该源锚点网关的标识,该确定单元,还用于根据该结束标识和该源锚点网关的标识确定与第一结束报文对应的转发流表,该第一结束报文用于触发该源锚点网关发送第二结束报文;该发送单元,还用于向该SDN交换机发送与该第一结束报文对应的转发流表,以使得该SDN交换机在获取该第一结束报文后,根据与该第一结束报文对应的转发流表将该第一结束报文转发至该源锚点网关。
可选的,该接收单元,还用于接收该CP设备发送的该终端请求的第一业务和该源锚点网关的对应关系;该确定单元,还用于根据该对应关系确定与该第一业务的报文对应的转发流表,该下行报文包括该第一业务的报文;该发送单元,还用于向该SDN交换机发送该与该第一业务的报文对应的转发流表,以使得该SDN交换机根据该与该第一业务的报文对应的转发流表对该第一业务的报文进行转发;该确定单元,具体用于根据该终端的标识和该目标锚点网关的标识更新该与该第一业务的下行报文的转发流表。
本发明实施例提供的SDN控制器的技术效果可以参见上述第二方面或第二方面的各个可选方式的技术效果,此处不再赘述。
第六方面,本发明实施例提供一种SDN交换机,包括:接收单元,用于接收SDN控制器发送的第一结束报文的转发流表,该第一结束报文用于触发源锚点网关发送第二结束报文,该转发流表中包 括结束标识;生成单元,用于在该接收单元接收到第一个下行报文后,根据该第一个下行报文和结束标识生成该第一结束报文,该第一个下行报文为该源锚点网关切换为目标锚点网关后,业务服务器向终端关发送的第一个下行报文;发送单元,用于按照该生成单元生成的该转发流表将该第一结束报文转发至该源锚点网关,以触发该源锚点网关发送第二结束报文。
本发明实施例提供一种SDN交换机,能够根据下行报文和结束标识生成第一结束报文,通过该第一结束报文触发源锚点网关发送第二结束报文。
第七方面,本发明实施例提供一种CP设备,包括处理器、存储器、系统总线和通信接口。
所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述CP设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述CP设备执行如第一方面或第一方面的任一可选方式所述的锚点网关的切换方法。
第八方面,本发明实施例提供一种可读介质,包括计算机执行指令,当CP设备的处理器执行所述计算机执行指令时,所述CP设备执行如上述第一方面或第一方面的任意一种实现方式中所述的锚点网关的切换方法。
第九方面,本发明实施例提供一种软件定义网络SDN控制器,包括处理器、存储器、系统总线和通信接口。
所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述SDN控制器运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述SDN控制器执行第二方面或第二方面的任一可选方式所述的锚点网关的切换方法。
第十方面,本发明实施例提供一种可读介质,包括计算机执行指令,当SDN控制器的处理器执行所述计算机执行指令时,所述SDN控制器执行如上述第二方面或第二方面的任意一种实现方式中所述 的锚点网关的切换方法。
第十一方面,本发明实施例提供一种软件定义网络SDN交换机,包括处理器、存储器、系统总线和通信接口。
所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述SDN交换机运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述SDN交换机执行第三方面所述的锚点网关的切换方法。
第十二方面,本发明实施例提供一种可读介质,包括计算机执行指令,当SDN交换机的处理器执行所述计算机执行指令时,所述SDN交换机执行如上述第三方面所述的锚点网关的切换方法。
第十三方面,本发明实施例提供一种锚点网的切换系统,包括:如上述第四方面或第四方面的任一可选方式所述的CP设备,如上述第五方面或第五方面的任一可选方式所述的SDN控制器,如上述第六方面所述的SDN交换机,源锚点网关以及目标锚点网关;或者,如上述第七方面所述的CP设备,如上述第九方面所述的SDN控制器,如上述第十一方面所述的SDN交换机,源锚点网关以及目标锚点网关。
通过本发明实施例提供的锚点网关的切换系统,CP设备可以根据终端当前的位置信息确定目标锚点网关,并向SDN控制器发送终端的标识与该目标锚点网关的标识,以使得SDN控制器根据终端的标识与该目标锚点网关的标识更新与该终端的下行报文对应的转发流表,SDN控制器通过将更新后的转发流表发送至SDN交换机,以使的该SDN交换机在接收到该终端的下行报文后,能够根据该更新后的转发流表将该下行报文发送直接发送至目标锚点网关,由目标锚点网关为该终端转发该下行报文,从而使得该终端的下行报文无需由源锚点网关进行转发,避免了该下行报文在迂回的转发路径中传输,也降低了该下行报文在传输过程中的丢包率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例。
图1为现有技术提供的一种下行报文传输的通信示意图;
图2为本发明实施例提供的一种基于SDN技术的EPC网络架构示意图;
图3为本发明实施例提供一种锚点网关的切换方法的通信示意图一;
图4为本发明实施例提供一种锚点网关的切换方法的通信示意图二;
图5为本发明实施例提供一种锚点网关的切换方法的通信示意图三;
图6为本发明实施例提供一种锚点网关的切换方法的通信示意图四;
图7为本发明实施例提供一种锚点网关的切换方法的通信示意图五;
图8为本发明实施例提供一种触发源锚点网关发送结束报文的方法的通信示意图;
图9为本发明实施例提供一种SDN域注册方法的通信示意图;
图10为本发明实施例提供一种CP设备的结构示意图;
图11为本发明实施例提供另一种CP设备的结构示意图;
图12为本发明实施例提供又一种CP设备的结构示意图;
图13为本发明实施例提供一种SDN控制器的结构示意图;
图14为本发明实施例提供另一种SDN控制器的结构示意图;
图15为本发明实施例提供又一种SDN控制器的结构示意图;
图16为本发明实施例提供一种SDN交换机的结构示意图;
图17为本发明实施例提供另一种SDN交换机的结构示意图;
图18为本发明实施例提供又一种SDN交换机的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行详细地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。
本发明实施例提供的锚点网关的切换方法可以应用于基于软件定义网络(software defined network,SDN)技术的EPC网络架构中,锚点网关与和业务服务器之间通过SDN连接。
在本发明实施例中,EPC设备分为控制面(Control Plane,CP)设备和转发面(:User Plane,UP)网关,转发面网关作为锚点网关,负责处理数据报文的转发,而CP设备则负责控制锚点网关完成处理数据报文的转发。
其中,CP设备可以为EPC网络中的MME,锚点网关即为EPC网络中的S-PGW。
可选的,EPC设备中的网关分为网关控制面(Gateway control plane,GW-C)和网关转发面(Gateway user plane,GW-U),那么,CP设备可以包括GW-C、MME以及EPC设备中的功能模块,锚点网关即为GW-U,有时,GW-U也称为分布式网关(Distributed gateway,DGW),或者直接称为UP。
可选的,EPC也可以根据实际需要进行功能模块划分,确定CP设备和锚点网关。
基于SDN技术的网络架构是一种将控制与转发分离并直接可编程的网络架构。在基于SDN技术的网络架构中,每一个数据报文在网络中的具体转发路径以及转发策略均由SDN控制器(英文:controller)控制,由SDN控制器将数据报文的转发流表通过Open Flow协议,发送至SDN域,由SND域按照相应的转发流表对接收到的数据报文进行转发。
其中,SDN域可以包括SDN交换机群,基于SDN技术的网络架构中的SDN交换机负责根据数据报文的转发流表对数据报文进行转发。
可选的,SDN域也可以由SDN交换设备叠加(overlay)在底 层其它传输网络上实现,SDN交换设备间的数据传输通过底层传输网络提供的传输隧道进行。
示例性的,如图2所示,为本发明实施例提供的一种基于SDN技术的EPC网络架构,包括业务服务器,源锚点网关、目标锚点网关,CP设备,SDN控制器,SDN交换机,源基站以及目标基站。其中,源基站与源锚点网关和CP设备连接,目标基站与目标锚点网关和CP设备连接,CP设备分别与源锚点网关、目标锚点网关以及SDN控制器连接,SDN控制器与SDN域中的SDN交换机连接,源锚点网关和目标锚点网关分别通过SDN域中的SDN交换机连接到业务服务器。
需要说明的是,本发明实施例描述的网络架构以及业务场景是为了更加清楚的说明本发明实施例的技术方案,并不构成对本发明实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本发明实施例提供的技术方案对于类似的技术问题,同样适用。
目前,锚点网关都是通过传统路由设备与业务服务器连接,传统的路由设备会根据已有的路由表将终端的下行报文发送至源锚点网关,若切换了源锚点网关,由于传统的路由设备无法及时更新路由表,传统的路由设备继续将该终端的下行报文发送至源锚点网关,这样就造成的丢包,导致该终端的业务中断,因此,即使出现更加合适的目标锚点网关,也不会切换源锚点网关,而是通过源锚点网关和目标锚点网关共同转发该终端的报文。如此,虽然能够保证业务的连续性,但是会使得该终端的报文在迂回的路径中传输。
为此,本发明实施例提供一种锚点网关的切换方法,通过基于SDN技术的EPC网络架构,在CP设备切换源锚点网关时,通过将终端的标识和目标锚点网关的标识发送至SDN控制器,以使得SDN控制器根据终端的标识和目标锚点网关的标识,更新与该终端的下行报文对应的转发流表,SDN控制器通过将更新后的转发流表发送至SDN交换机,以使得该SDN交换机在接收到该终端的下行报文 后,能够根据该更新后的转发流表将该下行报文发送直接发送至目标锚点网关,由目标锚点网关为该终端转发该下行报文,从而使得该终端的下行报文无需由源锚点网关进行转发,避免了该下行报文在迂回的转发路径中传输,也降低了该下行报文在传输过程中的丢包率。
具体的,基于图2所示的网络架构,本发明实施例提供一种锚点网关的切换方法,如图3所示,该方法可以包括:
S101、CP设备确定切换源锚点网关,该源锚点网关为当前为终端转发该终端的下行报文的锚点网关。
需要说明的是,当本发明实施例提供的锚点网关的切换方法应用于不同的场景时,CP设备可以根据不同的方式确定需要对源锚点网关进行切换。具体的,CP设备确定切换源锚点网关的具体方式,将在下述实施例中结合具体应用场景进行详细描述,此处不再赘述。
S102、CP设备获取终端的位置信息。
其中,终端的位置信息可以为该终端的演进型-通用移动通信系统陆地无线接入网小区全局标识符(evolved universal mobile telecommunications system cell global identifier,ECGI)、通过全球定位系统(Global Positioning System,GPS)定位的位置信息等。
在本发明实施例中,CP设备可以通过与该终端所在的基站进行信息交互,以获取由该基站提供的该终端的位置信息。
S103、CP设备根据该位置信息确定目标锚点网关。
在一个示例中,CP设备可以根据该位置信息选择一个能够为该终端提供服务的锚点网关作为目标锚点网关,或者选择一个与该终端的网络拓扑距离最近的锚点网关作为目标锚点网关。
进一步的,CP设备还可以在获取终端的位置信息的同时,获取由该终端所在的基站提供的该终端的类型信息,从而CP设备即可根据该终端的位置信息和类型信息,确定一个满足该类型信息,且能够为该终端提供服务的锚点网关作为目标锚点网关。
其中,类型信息包括该终端的类型和该终端的业务的类型中的 至少一项。示例性的,该终端的类型可以为智能终端或者物联网终端等;业务的类型可以为接入点(Access Point Name,APN)的类型或者应用(application)类型等。
示例性的,在一种可能的场景,当终端请求不同的业务时,可能由不同的锚点网关为该终端的业务提供接入服务,即锚点网关与终端的业务对应,一个锚点网关可能仅为一种或者多种类型的业务提供接入服务。在这种场景下,CP设备在获取终端的位置信息的同时,还需要获取该终端的业务的类型。从而CP设备即可以根据该终端的位置信息和业务的类型,选择能够为该终端提供服务,且能够为该终端的业务提供接入服务的锚点网关作为目标锚点网关。
优选的,CP设备可以选择一个能够为该终端的业务提供接入服务的,且与该终端的网络拓扑距离最近的锚点网关作为目标锚点网关。
可选的,在一种可能的场景中,终端的类型不同,能够选择的锚点网关也不同,那么,CP设备在获取终端的位置信息的同时,还需要获取该终端的类型,例如,该终端为智能终端,从而CP设备获取该智能终端的位置信息后,即可选择一个能够为智能终端提供服务,且与该终端的网络拓扑距离最近的锚点网关作为目标锚点网关。
可以理解的是,当CP设备确定目标锚点网关后,即可通过与该目标锚点网关进行信息交互,以指示该目标锚点网关设置与该终端的下行报文对应的上下文,从而使得该目标锚点网关接收到该下行报文后,可以根据该上下文对该下行报文进行转发。
其中,CP设备指示锚点网关设置用于转发报文的上下文的具体方法,可以参见现有技术中的相关流程,此处不再赘述。
S104、CP设备向SDN控制器发送修改请求消息,该修改请求消息包括该终端的标识和该目标锚点网关的标识。
其中,该修改请求消息用于指示SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该终端的下行报文对应的转发流表。在本发明实施例中,CP设备通过该终端的标识和该目标锚点网 关的标识表征该终端和目标锚点网关的对应关系,CP设备将该对应关系携带在修改请求消息中发送至SDN控制器,以指示该SDN控制根据该对应关系更新与该终端的下行报文对应的转发流表。
进一步的,若CP设备是根据该终端的位置信息和业务的类型确定目标锚点网关,则CP设备向SDN控制器发送修改请求消息前,可以先确定该终端的业务的信息,再将该业务的信息也携带在该修改请求消息中,以指示SDN控制器根据该终端的标识、该目标锚点网关的标识和该业务的信息更新与该终端的下行报文对应的转发流表。即CP设备通过该终端的标识、该目标锚点网关的标识和该业务的信息表征该终端的业务与目标锚点网关的对应关系。
其中,终端的标识可以为该终端的IP地址,该终端的ID或者其他能够唯一表征该终端的字符,目标锚点网关的标识可以为该目标锚点网关的IP,该目标锚点网关的ID或者为其他预先配置在CP设备和SDN控制器中的,且能够唯一表征该目标锚点网关的字符。该业务的信息可以包括该终端的标识和该业务对应的服务器的标识,该业务的信息也可以为该业务对应报文的五元组信息或该五元组信息中的一部分信息。其中,五元组信息包括源IP地址,源端口号,目的IP地址,目的端口号和传输层协议。
S105、SDN控制器接收CP设备发送的修改请求消息。
S106、SDN控制器根据该终端的标识和该目标锚点网关的标识更新与该终端的下行报文对应的转发流表。
具体的,SDN控制器可以根据该终端的标识和该目标锚点网关的标识(即终端与目标锚点网关的对应关系),刷新该终端的拓扑信息,并根据该新的拓扑信息生成与该终端的下行报文对应的新的转发流表,以更新与该下行报文对应的转发流表。
可选的,若该修改请求消息中还包括业务的信息,SDN控制器即可以根据该终端与目标锚点网关的对应关系,刷新该终端的拓扑信息,并结合该业务的信息和该新的拓扑信息生成与该终端的业务的下行报文对应的新的转发流表,以更新与该下行报文对应的转发 流表。
S107、SDN控制器向SDN交换机发送更新后的转发流表。
S108、SDN交换机接收该更新后的转发流表后,将原有的转发流表替换为该更新后的转发流表。
示例性的,SDN控制器可以将更新后的转发流表携带在修改流项目(modify flow entry)请求消息中发送至SDN交换机,以指示SDN交换机将原有的转发流表(即更新前该终端的下行报文对应的转发流表)替换为更新后的转发流表。
在本发明实施例中,SDN交换机保存该更新后的转发流表后,SDN交换机可以直接与目标锚点网关传输该终端的下行报文。具体的,SDN交换机接收到业务服务器发送的下行报文时,无需将该下行报文通过源锚点网关发送至目标锚点网关,SDN交换机可以直接将该下行报文发送至目标锚点网关,以由该目标锚点网关对该下行报文进行转发。即通过本发明实施例提供的锚点网关的切换方法,基于SDN技术,使得终端的下行报文无需经过源锚点网关进行传输,避免了该下行报文在迂回的转发路径中传输,也降低了该下行报文再转发过程中的丢包率。
S109、SDN交换机向SDN控制器发送响应消息。
当SDN交换机完成更新转发流表后,SDN交换机即可向SDN控制器发送响应消息,以通知转发流表已更新完成。在本发明实施例中,当SDN交换机完成更新转发流表时表示源锚点网关已成功切换为目标锚点网关。
可选的,在本发明实施例中,SND控制器还可以进一步通知CP设备,源锚点网关已成功切换为目标锚点网关。示例性的,在上述S109之后,该方法还可以包括:
S110、SDN控制器接收SDN交换机发送的响应消息后,SDN控制器向该CP设备发送应答消息,该应答消息用于指示源锚点网关已成功切换为目标锚点网关。
S111、CP设备接收SDN控制器发送的应答消息。
通过本发明实施例提供的锚点网关的切换方法,CP设备可以根据终端当前的位置信息确定目标锚点网关,并向SDN控制器发送终端的标识与该目标锚点网关的标识,以使得SDN控制器根据终端的标识与该目标锚点网关的标识更新与该终端的下行报文对应的转发流表,SDN控制器通过将更新后的转发流表发送至SDN交换机,以使的该SDN交换机在接收到该终端的下行报文后,能够根据该更新后的转发流表将该下行报文发送至目标锚点网关,由目标锚点网关为该终端转发该下行报文,从而避免了该下行报文在迂回的转发路径中传输,也降低了该下行报文在传输过程中的丢包率。
值得说明的是,本发明实施例提供的锚点网关的切换方法,可以应用于多种场景中,下面将列举4中可能的应用场景进行示例性的说明。
示例性的,当为终端提供服务的基站发生切换时,由于与目标基站连接的锚点网关和与源基站连接的锚点网关可能不是同一锚点网关,会导致终端的下行报文在迂回的路径中传输,因此,本发明实施例提供的锚点网关的切换方法可以应用于基站切换的场景中。
示例性的,基于X2切换(英文:X2based handover)的流程能够实现基站间的切换,其中,X2是指基站与基站之间的接口,那么,本发明实施例提供的锚点网关切换的方法可以应用于基于X2切换的流程中。
具体的,结合图3,如图4所示,在本发明实施例中,上述S101具体可以包括:
S101a、CP设备接收目标基站发送的路径交换请求消息。
可以理解的是,当终端从源基站切换到目标基站后,目标基站会向CP设备发送路径交换请求(英文:path switch request)消息,该路径切换请求消息中包括该目标基站的标识,以及承载切换信息,用于通知CP设备,该终端已经切换到目标基站。其中,承载切换信息即指该目标基站接收该终端的下行报文的接口。在本发明实施例中,CP设备可以根据该路径交换请求消息触发锚点网关的切换流 程。
S101b、CP设备根据路径交换请求消息确定切换源锚点网关。
进一步的,CP设备根据路径交换请求消息确定切换源锚点网关之后,即可按照上述S102-S111中的方法,将源锚点网关切换为目标锚点网关。然后,SDN交换机即可直接与目标锚点网关传输该终端的下行报文,而无需通过源锚点网关的转发,从而使得该终端的下行报文无需在迂回的转发路径中传输,也降低了该终端的下行报文在传输过程中的丢包率。
进一步的,在上述S111之后,该方法还包括:
S112、CP设备向目标基站发送路径交换应答消息,该路径交换应答消息用于指示目标基站建立与该目标锚点网关进行信息交互的上行接口。
在一个示例中,当源锚点网关切换为目标锚点网关后,CP设备需要通知目标基站建立与该目标锚点网关进行信息交互的上行接口,以使得目标基站接收到该终端发送的上行报文时,能够通过该上行接口将该上行报文发送至目标锚点网关。
可选的,基于S1切换(英文:S1 based handover)的流程也能够实现基站间的切换,其中,S1是指基站与CP设备中的MME之间的接口。那么,本发明实施例提供的锚点网关切换的方法可以应用于基于S1切换的流程中。
具体的,结合上述图3,如图5所示,在本发明实施例中,上述S101具体可以包括:
S101c、CP设备接收源基站发送的切换申请消息。
需要说明的是,在基于X2切换的流程中,由于源基站无法直接向目标基站发起切换,因此,源基站需要向CP设备发送切换申请(英文:handover required)消息,该切换申请消息中包括目标基站的标识,用于请求CP设备通知目标基站并确定目标锚点网关。在本发明实施例中,CP设备可以在接收到该切换申请消息时,确定需要切换源锚点网关。
S101d、CP设备根据切换申请消息确定切换源锚点网关。
可以理解的是,CP设备确定切换源锚点网关后,即可按照上述S102-S103中的方法,根据终端的位置信息确定目标锚点网关。
进一步的,CP设备确定目标锚点网关之后,若用于指示SDN交换机转发报文的转发流表是SDN控制器根据报文的转发信息和与当前为该终端提供服务的锚点网关的绑定关系确定的,其中,该绑定关系可以采用该转发信息和锚点网关的标识的对应关系表征,该转发信息可以包括报文的五元组信息或者五元组信息中的一部分信息。那么当源锚点网关切换为目标锚点网关之后,由于SDN交换机无法确定从目标锚点网关发送的报文需要转发给哪个业务服务器,因此,为了保证终端的上行报文传输的连续性,CP设备确定目标锚点网关之后,需要指示SDN控制器更新与该终端的上行报文对应的转发流表。
在一个示例中,CP设备确定目标锚点网关之后,CP设备可以将上行报文的转发信息和该锚点网关的标识携带在上行链路指示消息中发送至SDN控制器,SDN控制器根据该转发信息和该锚点网关的标识重新确定与该上行报文对应的转发流表,并将该新的转发流表发送至SDN交换机,以使的SDN交换机将源本保存的与该上行报文对应的转发流表替换为该新的转发流表,从而当SDN交换机接收到目标锚点网关发送的上行报文时,即可将该上行报文转发至对应的业务服务器。在一个示例中,若用于指示SDN交换机转发报文的转发流表是SDN控制器根据终端的标识和业务服务器的标识确定的,即SDN交换机接收到目标锚点网关发送的该终端的上行报文时,SDN交换机能根据该终端的标识将该上行报文转发到对应的业务服务器,则CP设备无需指示SDN控制器更新与该上行报文对应的转发流表。
进一步的,CP设备通知目标基站,终端切换至该目标基站之后,由于目标基站与源基站之间无法进行通信,为了使得已经缓存在源基站中的下行报文能够传输至终端,需要CP设备、目标基站、源基 站、目标锚点网关、源锚点网关以及终端之间通过信息交互建立下行转发路径,使得已经缓存在源基站中的下行报文能够通过该下行转发路径转发至终端,从而避免正在传输的下行报文由于基站的切换而被中断。其中,下行转发路径为:源基站将已经缓存的下行报文发送至源锚点网关,源锚点网关将该下行报文发送至目标锚点网关,目标锚点网关将该下行报文发送至目标基站,由目标基站将该下行报文发送至终端。
具体的,该下行转发路径的建立可以参见现有的基于S1切换的流程中的相关描述,此处不再赘述。
进一步的,当下行转发路径建立成功后,该方法还可以包括:
S113、目标基站向CP设备发送切换通知消息。
S114、CP设备接收到切换通知消息后,向该目标锚点网关发送修改会话请求(英文:modify session request)消息,该修改会话请求消息用于指示该目标锚点网关建立与该目标基站进行信息交互的下行接口。
当终端向目标基站切换成功后,目标基站会向CP设备发送切换通知消息,以通知CP设备,该源基站已成功切换为该目标基站。在本发明实施例中,CP设备接收到该切换通知消息后,会向目标锚点网关发送修改会话请求消息,以指示目标锚点网关建立与该目标基站进行信息交互的下行接口,从而当该目标锚点网关接收到业务服务器通过SDN交换机发送的下行报文,该目标锚点网关能够通过该下行接口将该下行报文发送至该目标基站。
进一步的,当该目标锚点网关成功建立该下行接口后,即可按照如图3所示实施例中S104-S111中的方法,更新与该终端的下行报文对应的转发流表,以使得SDN交换机能够将该终端的下行报文直接转发至目标锚点网关,以避免该终端的下行报文在迂回的转发路径中传输,也降低了该下行报文在传输过程中的丢包率。
可以理解的是,当源锚点网关成功切换为目标锚点网关,且源基站上缓存的下行报文完全传输至终端后,即可释放已经建立的下 行转发路径。
具体的,释放下行转发路径的具体过程可以参见现有的基于S1切换的流程中的相关描述,此处不再赘述。
可选的,当处于空闲(英文:IDLE)态的终端发生移动,而导致该终端的TA跟踪区(英文:Tracking Area)发生改变时,终端通过其当前所在基站向MME发送跟踪区更新(英文:Tracking Area Update,TAU)请求消息,以请求MME进行对该终端的TA进行更新。可以理解的是,终端的TA改变时,为该终端提供服务的锚点网关也可能发送改变,因此,本发明实施例提供的锚点网关的切换方法还可以应用于TAU流程中。
具体的,结合上述图3,如图6所示,上述S101具体可以包括:
S101e、CP设备接收基站发送的TAU请求消息。
S101f、CP设备根据该TAU请求消息确定切换源锚点网关。
在本发明实施例中,当CP设备接收到基站发送的TAU请求消息时,CP设备可以确定需要对终端的TA进行更新,同时根据该TAU请求消息确定确定切换源锚点网关,从而按照上述S102-S111所述的方法,将源锚点网关切换为目标锚点网关。进而当业务服务器向终端发起服务请求(英文:service request),以对该终端进行寻呼时,SDN交换机能够将
进一步的,在上述S111之后,该方法还包括:
S115、CP设备向源锚点网关发送删除会话请求(英文:delete session request)消息,该删除会话请求消息用于请求源锚点网关删除该源锚点网关上与该下行报文对应的上下文。
在本发明实施例中,当通过S102-S111中所述的方法,将源锚点网关成功切换为目标锚点网关后,CP设备可以向源锚点网关发送删除会话请求消息,以指示源锚点网关删除与该终端的下行报文对应的上下文信息,从而节省源锚点网关上的连接资源。
可选的,若终端的TA没有重新设计,导致不同的锚点网关下的基站拥有相同的TA,从而导致基站不能及时发起TAU流程,因 此,当终端处于空闲态时,即使基站没有发起TAU流程,终端也有可能由于移动而使得终端的锚点网关发生改变。那么,在服务请求流程中,也可以引入本发明实施例提供的锚点网关的切换方法。
具体的,结合上述图3,如图7所示,上述S101具体可以包括:
S101g、CP设备接收基站发送的服务请求消息。
需要说明的是,该服务请求消息终端发送的,基站接收到终端发送的该服务请求消息后,将该服务请求消息转发至CP设备。
S101h、CP设备根据该服务请求消息确定切换源锚点网关。
在本发明实施例中,当CP设备接收到基站发送的服务请求消息时,也可以确定需要切换锚点网关,并执行发本发明实施例提供的锚点网关的切换方法。
可选的,当CP设备根据服务请求消息确定切换源锚点网关,并根据上述S102-S103中的方法确定目标锚点网关之后,若用于指示SDN交换机转发报文的转发流表是SDN控制器根据报文的转发信息和锚点网关的绑定关系确定的,那么CP设备需要及时指示SDN控制器更新与该终端的上行报文对应的转发流表,以使得SDN交换机接收到目标锚点网关发送的上行报文时,能够将该上行报文转发至对应的业务服务器,从而避免当前正在传输的上行报文被中断传输。
其中,CP设备指示SDN控制器更新与终端的上行报文对应的转发流表的具体方式,可以参见如图5所示实施例中CP设备指示SDN控制器更新与终端的上行报文对应的转发流表的具体方式,此处不再赘述。
可选的,若服务请求是由业务服务器发起的,则CP设备需要指示源锚点网关和目标锚点网关建立下行转发路径,以使得业务服务器在发起服务请求的过程中,已经发送到源锚点网关上的下行报文,能够通过该下行转发路径传输至目标锚点网关。
具体的,CP设备可以分别向源锚点网关和目标锚点网关发送路径建立请求消息,以指示源锚点网关和目标锚点网关分别建立源锚 点网关和目标锚点网之间的下行连接,从而使得源锚点网关能够将已经缓存的下行报文发送至目标锚点网关,由目标锚点网关将该下行报文通过基站发送至终端。
可选的,源锚点网关也可以将已经缓存的下行报文发送至CP设备,由CP设备将该缓存的下行数据发送至目标锚点网关,再由目标将该缓存的下行数据通过基站发送至终端。
需要说明的是,若服务请求是由终端发起的,CP设备则无需建立下行转发路径。
进一步的,在本发明实施例中,CP设备确定目标锚点网关后,若需要更新与终端的上行报文对应的转发流表,和/或需要建立下行报文转发路径,则在更新了与终端的上行报文对应的转发流表,和/或许成功建立下行报文转发路径后,即可按照上述S104-S111中的方法,根据目标锚点网关和终端的标识,更新与该终端的下行报文对应的转发流表,以将源锚点网关成功切换为目标锚点网关,使得SDN交换机在后续接收到该终端的下行报文时,直接将该下行报文转发至目标锚点网关,而无需经过源锚点网关的转发,从而避免该下行报文在迂回的转发路径中传输,也降低该下行报文在传输过程中的丢包率。
可以理解的是,若不需要更新与终端的上行报文对应的转发流表,也不需要建立下行报文转发路径,则在CP设备确定目标锚点网关后,直接执行S104-S111中的方法以将源锚点网关成功切换为目标锚点网关。
进一步的,在上述S111之后,该方法还包括:
S116、CP设备向源锚点网关发送删除会话请求消息。
其中,删除会话请求消息用于请求源锚点网关删除该源锚点网关上与该终端的下行报文对应的上下文。
可选的,若CP设备指示源锚点网关和目标锚点网关建立了下行转发路径,则当源锚点网关将缓存的下行报文全部发送至目标锚点网关后,CP设备即可指示源锚点网关和目标锚点网关删除源锚点 网关和目标锚点网关上的该下行转发路径的信息。
值得说明的是,除上述4种可能的场景外,本发明实施例提供的锚点网关的切换方法,还可以应用于其他可能存在锚点网关切换的场景中,本申请不再一一阐述。
需要说明的是,当终端处于活跃(英文:active)态时,为终端提供的基站发生切换,例如,在上述基于S1切换的流程,或者基于X2切换的流程中,终端处于活跃态时,为终端提供的基站从源基站切换为目标基站,从而导致该终端的下行报文在传输的过程中,传输路径发生改变。源基站切换为目标基站后,若源锚点网关检测到原路径(即由源基站为该终端提供服务时,该终端的下行报文的传输路径)上报文传输结束时,源锚点网关则会向源路径发送结束报文,以通知原路径上的其他网关、源基站以及目的基站等转发节点,该路径结束报文传输,从而该路径上的其他网关、源基站以及目的基站等转发节点即可删除与该路径相关的上下文。其中,结束报文为携带结束标识(英文:endmarker)的GPRS隧道协议用户面(GPRS Tunneling Protocol User Plane,GTPU)空报文,是一种特定的隧道报文。
在本发明实施例中,由于在基站切换的过程中,源锚点网关也被切换,导致源锚点网关无法检测原路径上报文传输是否结束,从而使得源锚点网关无法向原路径发送结束报文,因此本发明实施例还提供一种触发源锚点网关发送结束报文的方法,如图8所示,该方法可以包括:
S201、CP设备向SDN控制器发送修改请求消息,该修改请求消息包括结束标识和源锚点网关的标识。
可以理解的是,在发明实施例提供的锚点网关的切换方法中,CP设备将终端和目标锚点网关的对应关系通过修改请求消息发送至SDN控制器,以指示SDN控制器更新与该终端的下行报文对应的转发流表的同时,还将结束标识和源锚点网关的标识携带在该修改请求消息中,发送至SDN控制器。
S202、SDN控制器根据该结束标识和源锚点网关的标识确定与第一结束报文对应的转发流表。
其中,与第一结束报文对应的转发流表用于指示SDN交换机将第一结束报文转发至源锚点网关。与该第一结束报文对应的转发流表中包括该结束标识。
S203、SDN控制器向SDN交换机发送与第一结束报文对应的转发流表。
可以理解的是,若用于转发该终端的下行报文的SDN交换机有多个,则SDN控制器将与该第一结束报文对应的转发流表分别发送至该多个SDN交换机。
S204、SDN交换机接收并保存与该第一结束报文对应的转发流表。
S205、SDN交换机接收到终端的第一个下行报文后,根据该第一个下行报文和该结束标识生成第一结束报文。
其中,第一个下行报文为业务服务器在源锚点网关切换为目标锚点网关之后向该终端发送的第一个下行报文。SDN交换机接收到业务服务器发送的第一个下行报文后,在按照更新后的与该终端的下行报文对应的转发流表对该下行报文进行转发时,还需复制该下行报文,并将结束标识设置在复制的下行报文中以生成第一结束报文;或者,SDN交换机复制该下行报文的报文头,并将该结束标识设置在复制的报文头中以生成第一结束报文。
需要说明的是,当有多个SDN交换机时,只需直接接收到业务服务器发送的该第一个下行报文的SDN交换机根据该第一个下行报文和结束标识确定第一结束报文,其他SDN交换机在接收到该第一个下行报文和该第一结束报文时,按照对应的转发流表进行转发即可。
S206、SDN交换机按照与第一结束报文对应的转发流表将该第一结束报文转发至源锚点网关。
S207、源锚点网关接收到第一结束报文后,发送第二结束报文。
在本发明实施例中,通过第一结束报文触发源锚点网关发送第二结束报文。当源锚点网关接收到第一结束报文后,即可发送第二结束报文并将第一结束报文丢弃。其中,第二报文即携带结束标识的GTPU空报文。
进一步的,本发明实施例还提供一种SDN域注册方法,基于这种注册方法,可以实现上述本发明实施例提供的锚点网关的切换方法。具体的,如图9所示,该SDN域注册方法包括:
S301、CP设备获取终端请求的第一业务的报文匹配结果。
其中,报文匹配结果可以为第一业务匹配的规则(英文:rule)标识,或者应用程序(英文:application)标识。
具体的,CP设备可以通过接收的事件上报消息,获取该报文匹配结果,该事件上报消息为终端建立PDN之后,该终端所接入的锚点网关发送的。该锚点网关预先从CP设备中获取业务匹配规则,确定该终端请求的第一业务对应的报文匹配结果,并将该报文匹配结果携带在事件上报消息中发送至CP设备。该事件上报消息中还可以携带该终端的标识,该第一业务的下行报文的特征信息等。
S302、CP设备根据该报文匹配结果确定与该报文匹配结果对应的源锚点网关。
需要说明的是,CP设备中预先保存报文匹配结果与锚点网关的对应关系,例如,规则标识与锚点网关的对应关系,或者应用程序标识和锚点网关的对应的关系。CP设备可以根据第一业务的报文匹配结果,查找与该报文匹配结果对应的锚点网关,从而确定第一业务的源锚点网关。
S303、CP设备将第一业务和源锚点网关的对应关系发送至SDN控制器。
具体的,CP设备可以采用第一业务的报文特征信息和该源锚点网关的标识表征第一业务与该源锚点网关的对应关系,其中,第一业务的报文特征信息可以为第一业务的报文的五元组信息,也可以为该终端的标识和提供第一业务的业务服务器的标识。
CP设备可以将第一业务和源锚点网关的对应关系携带在通知消息或者请求消息中发送至SDN控制器,以使得SDN控制器根据第一业务和源锚点网关的对应关系确定与第一业务的下行报文对应的转发流表。
S304、SDN控制器接收CP设备发送的该对应关系。
S305、SDN控制器根据该对应关系确定与该第一业务的下行报文对应的转发流表。
S306、SDN控制器向SDN交换机发送与该第一业务的下行报文对应的转发流表。
S307、SDN交换机接收到该第一业务的下行报文时,按照与该第一业务的下行报文对应的转发流表对该第一业务的下行报文进行转发。
可以理解的是,通过本发明实施例提供的SDN域注册方法,能够使得该终端的第一业务的报文,在SDN域中进行转发。从而当需要为该第一业务切换源锚点网关时,能够通过上述S101-S111中的方法,为该第一业务切换源锚点网关。
上述主要从各个网元之间交互的角度对本发明实施例提供的方案进行了介绍。可以理解的是,各个网元,例如SDN控制器,CP设备、SDN交换机等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本发明实施例可以根据上述方法示例对SDN控制器,CP设备、SDN交换机等进行功能模块的划分,例如,可以对应各个功能划分 各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图10示出了上述实施例中所涉及的CP设备的一种可能的结构示意图,CP设备包括:确定单元10,获取单元11,发送单元12,接收单元13。确定单元10用于支持CP设备执行图3过程中S101和S103,图4中的过程S101a、S101b和S103,图5中的过程S101c、S101d和S103,图6中的过程S101e、S101f和S103,图7中的过程S101g、S101h和S103,图9中的过程S302;获取单元11用于支持CP设备执行图3-图7中的过程S102,图9中的过程S301;发送单元12用于支持CP设备执行图3-图7中的过程S104,图8中的过程S201,图9中的过程S303;接收单元13用于支持CP设备执行图3-图7中的过程S111,图8过程中的S207。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,图11示出了上述实施例中所涉及的CP设备的一种可能的结构示意图。CP设备包括:处理模块100和通信模块101。处理模块100用于对CP设备的动作进行控制管理,例如,处理模块100用于支持CP设备执行图3过程中S101,S102,S103,S104和S111,图4过程中的S101a、S101b,S102,S103,S104和S111,图5过程中的S101c、S101d,S102,S103,S104和S111,图6过程中的S101e、S101f,S102,S103,S104和S111,图7过程中的S101g、S101h,S102,S103,S104和S111,图8过程中的S201,图9中的过程S301、S302和S303;和/或用于本文所描述的技术的其它过程。通信模块101用于支持CP设备与其他网络实体的通信,例如与图2-图9中示出的功能模块或网络实体之间 的通信。CP设备还可以包括存储模块102,用于存储CP设备的程序代码和数据。
其中,处理模块100可以是处理器或控制器,例如可以是CPU,通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块101可以是通信接口。存储模块102可以是存储器。
当处理模块100为处理器,通信模块101为通信接口,存储模块102为存储器时,本发明实施例所涉及的CP设备可以为图12所示的CP设备。
参阅图12所示,该CP设备包括:处理器110、通信接口111、存储器112以及总线113。其中,通信接口111、处理器110以及存储器112通过总线113相互连接;总线113可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
在采用对应各个功能划分各个功能模块的情况下,图13示出了上述实施例中所涉及的SDN控制器的一种可能的结构示意图,SDN控制器包括:接收单元20,确定单元21,发送单元22。接收单元20用于支持SDN控制器执行图3-图7中的过程105,图8中的过程202,图9中的过程S304;确定单元21用于支持SDN控制器执行图3-图7中的过程106,图9过程中的S305;发送单元22用于支持SDN控制器执行执行图3-图7中的过程107,S110,图8中的过程S203, 图9过程中的S306。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,图14示出了上述实施例中所涉及的SDN控制器的一种可能的结构示意图。SDN控制器包括:处理模块200和通信模块201。处理模块200用于对SDN控制器的动作进行控制管理,例如,处理模块200用于支持SDN控制器执行图3-图7中的过程105,S106,S107和S110,图8中的过程202和S203,图9中的过程S304,S305和S306,和/或用于本文所描述的技术的其它过程。通信模块201用于支持SDN控制器与其他网络实体的通信,例如与图2-图9中示出的功能模块或网络实体之间的通信。SDN控制器还可以包括存储模块202,用于存储SDN控制器的程序代码和数据。
其中,处理模块100可以是处理器或控制器,例如CPU,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块201可以是收发器、收发电路或通信接口等。存储模块202可以是存储器。
当处理模块200为处理器,通信模块201为通信接口,存储模块202为存储器时,本发明实施例所涉及的SDN控制器可以为图15所示的SDN控制器。
参阅图12所示,该SDN控制器包括:处理器210、通信接口211、存储器212以及总线2113。其中,通信接口211、处理器210以及存储器212通过总线213相互连接;总线213可以是PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
在采用对应各个功能划分各个功能模块的情况下,图16示出了 上述实施例中所涉及的SDN交换机的一种可能的结构示意图,SDN交换机包括:接收单元30,生成单元31和发送单元32。接收单元30用于支持SDN交换机执行图3-图7中的过程S108,图8中的过程S204,图9中的过程S307;生成单元31用于支持SDN交换机执行图8中的过程S205;发送单元32用于支持SDN交换机执行图3-图7中的过程S109,图8中的过程S206。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,图17示出了上述实施例中所涉及的SDN交换机的一种可能的结构示意图。SDN交换机包括:处理模块300和通信模块301。处理模块300用于对SDN交换机的动作进行控制管理,例如,处理模块300用于支持SDN交换机执行图3-图7中的过程S108和S109,图8中的过程S204,S205和S206,图9中的过程S307,和/或用于本文所描述的技术的其它过程。通信模块301用于支持SDN交换机与其他网络实体的通信,例如与图2-图9中示出的功能模块或网络实体之间的通信。SDN交换机还可以包括存储模块302,用于存储SDN交换机的程序代码和数据。
其中,处理模块300可以是处理器或控制器,例如可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块301可以是通信接口等。存储模块302可以是存储器。
当处理模块300为处理器,通信模块301为通信接口,存储模块302为存储器时,本发明实施例所涉及的SDN交换机可以为图18所示的SDN交换机。
参阅图18所示,该SDN交换机包括:处理器310、通信接口311、存储器312以及总线313。其中,通信接口311、处理器310 以及存储器312通过总线313相互连接;总线313可以是PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图18中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
结合本发明公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。
示例性的,如图2所示,本发明实施例提供一种锚点网的切换系统,包括上述图10-图12任一所示的CP设备、上述图13-图15任一所示的SDN控制器、上述图16-图18任一所示的SDN交换机、源锚点网关以及目标锚点网关。
通过本发明实施例提供的锚点网关的切换系统,CP设备可以根据终端当前的位置信息确定目标锚点网关,并向SDN控制器发送终端的标识与该目标锚点网关的标识,以使得SDN控制器根据终端的标识与该目标锚点网关的标识更新与该终端的下行报文对应的转发流表,SDN控制器通过将更新后的转发流表发送至SDN交换机,以使的该SDN交换机在接收到该终端的下行报文后,能够根据该更新后的转发流表将该下行报文发送直接发送至目标锚点网关,由目标锚点网关为该终端转发该下行报文,从而使得该终端的下行报文无 需由源锚点网关进行转发,避免了该下行报文在迂回的转发路径中传输,也降低了该下行报文在传输过程中的丢包率。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。

Claims (36)

  1. 一种锚点网关的切换方法,其特征在于,包括:
    控制面CP设备确定切换源锚点网关,所述源锚点网关为切换前为终端转发所述终端的下行报文的锚点网关;
    所述CP设备获取所述终端的位置信息;
    所述CP设备根据所述位置信息确定目标锚点网关;
    所述CP设备向软件定义网络SDN控制器发送修改请求消息,所述修改请求消息包括所述终端的标识和所述目标锚点网关的标识,所述修改请求消息用于指示所述SDN控制器根据所述终端的标识和所述目标锚点网关的标识更新与所述下行报文对应的转发流表,并将更新后的所述转发流表发送至SDN交换机,以使得所述SDN交换机根据所述更新后的转发流表将所述下行报文转发至所述目标锚点网关,由所述目标锚点网关为所述终端转发所述下行报文。
  2. 根据权利要求1所述的方法,其特征在于,所述CP设备根据所述位置信息确定目标锚点网关之前,所述方法还包括:
    所述CP设备获取类型信息,所述类型信息包括所述终端的类型和所述终端的业务的类型中的至少一项;
    所述CP设备根据所述位置信息确定目标锚点网关,包括:
    所述CP设备根据所述位置信息和所述类型信息确定所述目标锚点网关。
  3. 根据权利要求2所述的方法,其特征在于,所述类型信息包括所述业务的类型或者包括所述业务的类型和所述终端的类型,所述修改请求消息还包括所述CP设备确定的所述业务的信息,所述修改请求消息用于指示所述SDN控制器根据所述终端的标识、所述目标锚点网关的标识以及所述业务的信息更新所述转发流表。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述CP设备确定切换源锚点网关,包括:
    所述CP设备接收目标基站发送的路径交换请求消息;
    所述CP设备根据路径交换请求消息确定切换所述源锚点网关;
    所述CP设备向SDN控制器发送修改请求消息之后,所述方法还包括:
    所述CP设备向所述目标基站发送路径交换应答消息,所述路径交换应答消息用于指示所述目标基站建立与所述目标锚点网关进行信息交互的上行接口,所述上行接口用于所述目标基站将接收到所述终端的上行报文发送至所述目标锚点网关。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述CP设备确定切换对源锚点网关,包括:
    所述CP设备接收基站发送的跟踪区更新TAU请求消息;
    所述CP设备根据所述TAU请求消息确定切换所述源锚点网关。
  6. 根据权利要求1-3任一项所述的方法,其特征在于,所述CP设备确定切换对源锚点网关,包括:
    所述CP设备接收源基站发送的切换申请消息;
    所述CP设备根据所述切换申请消息确定切换所述源锚点网关;
    所述CP设备根据所述位置信息确定目标锚点网关之后,所述CP设备向SDN控制器发送修改请求消息之前,所述方法还包括:
    所述CP设备接收到目标基站发送的切换通知消息后,向所述目标锚点网关发送修改会话请求消息,所述修改会话请求消息用于指示所述目标锚点网关建立与所述目标基站进行信息交互的下行接口,所述下行接口用于所述目标锚点网关将接收到所述下行报文发送至所述目标基站。
  7. 根据权利要求1-3任一项所述的方法,其特征在于,所述CP设备确定切换对源锚点网关,包括:
    所述CP设备接收基站发送的服务请求消息;
    所述CP设备根据所述服务请求消息确定切换所述源锚点网关。
  8. 根据权利要求7所述的方法,其特征在于,所述CP设备根据所述位置信息确定目标锚点网关之后,所述CP设备向SDN控制器发送修改请求消息之前,所述方法还包括:
    所述CP设备指示所述源锚点网关和所述目标锚点网关建立下行 转发路径,以使得所述源锚点网通过所述下行转发路径将所述源锚点网关上缓存的下行报文发送至所述基站;
    所述CP设备向SDN控制器发送修改请求消息之后,所述方法还包括:
    所述CP设备指示所述源锚点网关和所述目标锚点网关删除与所述下行转发路径对应的信息。
  9. 根据权利要求6-8任一项所述的方法,其特征在于,所述CP设备根据所述位置信息确定目标锚点网关之后,所述CP设备向SDN控制器发送修改请求消息之前,所述方法还包括:
    所述CP设备向所述SDN控制器发送上行链路指示消息,所述上行链路指示消息包括所述终端的上行报文的转发信息和所述目标锚点网关的标识,所述上行链路指示消息用于指示所述SDN控制器根据所述转发信息和所述目标锚点网关的标识确定与所述上行报文对应的转发流表,以使得所述SDN交换机根据与所述上行报文对应转发流表转发所述上行报文。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述CP设备确定切换源锚点网关之前,所述方法还包括:
    所述CP设备获取所述终端的第一业务的报文匹配结果;
    所述CP设备根据所述报文匹配结果确定与所述报文匹配结果对应的源锚点网关;
    所述CP设备将所述第一业务和所述源锚点网关的对应关系发送至所述SDN控制器,以使得所述SDN控制器根据所述对应关系确定与所述第一业务的下行报文对应的转发流表;
    所述修改请求消息具体用于指示所述SDN控制器根据所述终端的标识和所述目标锚点网关的标识更新与所述第一业务的下行报文对应的转发流表。
  11. 一种锚点网关的切换方法,其特征在于,包括:
    软件定义网络SDN控制器接收控制面CP设备发送的修改请求消息,所述修改请求消息包括终端的标识和目标锚点网关的标识;
    所述SDN控制器根据所述终端的标识和所述目标锚点网关的标识更新与所述终端的下行报文对应的转发流表;
    所述SDN控制器向SDN交换机发送更新后的所述转发流表,以使得所述SDN交换机根据更新后的所述转发流表将所述下行报文转发至所述目标锚点网关,由所述目标锚点网关为所述终端转发所述下行报文。
  12. 根据权利要求11所述的方法,其特征在于,所述修改请求消息中还包括所述终端的业务的信息;
    所述SDN控制器根据所述终端的标识和所述目标锚点网关的标识更新与所述终端的下行报文对应的转发流表,包括:
    所述SDN控制器根据所述终端的标识、所述目标锚点网关的标识和所述业务的信息更新所述转发流表。
  13. 根据权利要求11或12所述的方法,其特征在于,所述SDN控制器接收CP设备发送的修改请求消息之前,所述方法还包括:
    所述SDN控制器接收所述CP设备发送的上行链路指示消息,所述上行链路指示消息包括所述终端的上行报文的转发信息和所述目标锚点网关的标识;
    所述SDN控制器根据所述转发信息和所述目标锚点网关的标识确定与所述上行报文对应的转发流表;
    所述SDN控制器向所述SDN交换机发送与所述上行报文对应的转发流表,以使得所述SDN交换机根据与所述上行报文对应转发流表转发所述上行报文。
  14. 根据权利要求11-13任一项所述的方法,其特征在于,所述修改请求消息还包括结束标识和源锚点网关的标识,
    所述SDN控制器根据所述结束标识和所述源锚点网关的标识确定与第一结束报文对应的转发流表,所述第一结束报文用于触发所述源锚点网关发送第二结束报文;
    所述SDN控制器向所述SDN交换机发送所述与所述第一结束报文对应的转发流表,以使得所述SDN交换机在获取所述第一结束报 文后,根据所述与所述第一结束报文对应的转发流表将所述第一结束报文转发至所述源锚点网关。
  15. 根据权利要求11-14任一项所述的方法,其特征在于,所述SDN控制器接收CP设备发送的修改请求消息之前,所述方法还包括:
    所述SDN控制器接收所述CP设备发送的所述终端的第一业务和源锚点网关的对应关系;
    所述SDN控制器根据所述对应关系确定与所述第一业务的下行报文对应的转发流表;
    所述SDN控制器向所述SDN交换机发送所述与所述第一业务的下行报文对应的转发流表,以使得所述SDN交换机根据所述与所述第一业务的下行报文对应的转发流表对所述第一业务的报文进行转发;
    所述SDN控制器根据所述终端的标识和所述目标锚点网关的标识更新与所述终端的下行报文对应的转发流表,包括:
    所述SDN控制器根据所述终端的标识和所述目标锚点网关的标识更新所述与所述第一业务的下行报文的转发流表。
  16. 一种锚点网关的切换方法,其特征在于,包括:
    软件定义网络SDN交换机接收SDN控制器发送的与第一结束报文对应的转发流表,所述第一结束报文用于触发源锚点网关发送第二结束报文,所述转发流表中包括结束标识;
    所述SDN交换机接收到终端的第一个下行报文后,根据所述第一个下行报文和结束标识生成所述第一结束报文,所述第一个下行报文为所述源锚点网关切换为目标锚点网关后,业务服务器向所述终端关发送的第一个下行报文;
    所述SDN交换机按照所述转发流表将所述第一结束报文转发至所述源锚点网关,以触发所述源锚点网关发送所述第二结束报文。
  17. 一种控制面CP设备,其特征在于,包括:
    确定单元,用于确定切换源锚点网关,所述源锚点网关为切换前为终端转发所述终端的下行报文的锚点网关;
    获取单元,用于获取终端的位置信息;
    所述确定单元,还用于根据所述获取单元获取的所述位置信息确定目标锚点网关;
    发送单元,用于向软件定义网络SDN控制器发送修改请求消息,所述修改请求消息包括所述确定单元确定的所述终端的标识和所述目标锚点网关的标识,所述修改请求消息用于指示所述SDN控制器根据所述终端的标识和所述目标锚点网关的标识更新与所述下行报文对应的转发流表,并将更新后的所述转发流表发送至SDN交换机,以使得所述SDN交换机根据所述更新后的转发流表将所述下行报文转发至所述目标锚点网关,由所述目标锚点网关为所述终端转发所述下行报文。
  18. 根据权利要求17所述的CP设备,其特征在于,
    所述获取单元,还用于在所述确定单元根据所述位置信息确定目标锚点网关之前,获取类型信息,所述类型信息包括所述终端的类型和所述终端的业务的类型中的至少一项;
    所述确定单元,具体用于根据所述位置信息和所述类型信息确定所述目标锚点网关。
  19. 根据权利要求18所述的CP设备,其特征在于,所述获取单元获取的所述类型信息包括所述业务的类型或者包括所述业务的类型和所述终端的类型,
    所述发送单元发送的所述修改请求消息还包括所述确定单元确定的所述业务的信息,所述修改请求消息用于指示所述SDN控制器根据所述终端的标识、所述目标锚点网关的标识以及所述业务的信息更新所述转发流表。
  20. 根据权利要求17-19任一项所述的CP设备,其特征在于,
    所述确定单元,具体用于接收目标基站发送的路径交换请求消息,并根据路径交换请求消息确定切换所述源锚点网关;
    所述发送单元,还用于向SDN控制器发送修改请求消息之后,向所述目标基站发送路径交换应答消息,所述路径交换应答消息用于 指示所述目标基站建立与所述目标锚点网关进行信息交互的上行接口,所述上行接口用于所述目标基站将接收到所述终端的上行报文发送至所述目标锚点网关。
  21. 根据权利要求17-19任一项所述的CP设备,其特征在于,
    所述确定单元,具体用于接收基站发送的跟踪区更新TAU请求消息,并根据所述TAU请求消息确定切换所述源锚点网关。
  22. 根据权利要求17-19任一项所述的CP设备,其特征在于,
    所述确定单元,具体用于所述CP设备接收源基站发送的切换申请消息,并根据所述切换申请消息确定切换所述源锚点网关;
    所述发送单元,还用于所在接收到目标基站发送的切换通知消息后,向所述目标锚点网关发送修改会话请求消息,所述修改会话请求消息用于指示所述目标锚点网关建立与所述目标基站进行信息交互的下行接口,所述下行接口用于所述目标锚点网关将接收到所述下行报文发送至所述目标基站。
  23. 根据权利要求17-19任一项所述的CP设备,其特征在于,
    所述确定单元,具体用于所述CP设备接收基站发送的服务请求消息,并根据所述服务请求消息确定切换所述源锚点网关。
  24. 根据权利要求23所述的CP设备,其特征在于,
    所述发送单元,还用于在确定单元根据所述位置信息确定目标锚点网关之后,向SDN控制器发送修改请求消息之前,指示所述源锚点网关和所述目标锚点网关建立下行转发路径,以使得所述源锚点网通过所述下行转发路径将所述源锚点网关上缓存的下行报文发送至所述基站;
    所述发送单元,还用于在向SDN控制器发送修改请求消息之后,指示所述源锚点网关和所述目标锚点网关删除与所述下行转发路径对应的信息。
  25. 根据权利要求22-24任一项所述的CP设备,其特征在于,
    所述发送单元,还用于在确定单元根据所述位置信息确定目标锚点网关之后,向SDN控制器发送修改请求消息之前,向所述SDN控 制器发送上行链路指示消息,所述上行链路指示消息包括所述确定单元确定的所述终端的上行报文的转发信息和所述目标锚点网关的标识,所述上行链路指示消息用于指示所述SDN控制器根据所述转发信息和所述目标锚点网关的标识确定与所述上行报文对应的转发流表,以使得所述SDN交换机根据与所述上行报文对应转发流表转发所述上行报文。
  26. 根据权利要求17-25任一项所述的CP设备,其特征在于,
    所述获取单元,还用于在所述确定单元确定切换源锚点网关之前,获取所述终端请求的第一业务的报文匹配结果;
    所述确定单元,还用于根据所述报文匹配结果确定与所述报文匹配结果对应的源锚点网关;
    所述发送单元,还用于将所述第一业务和所述源锚点网关的对应关系发送至所述SDN控制器,以使得所述SDN控制器根据所述对应关系确定与所述第一业务的报文对应的转发流表;
    所述发送单元发送的所述修改请求消息具体用于指示所述SDN控制器根据所述终端的标识和所述目标锚点网关的标识更新与所述第一业务的下行报文对应的转发流表。
  27. 一种软件定义网络SDN控制器,其特征在于,包括:
    接收单元,用于接收控制面CP设备发送的修改请求消息,所述修改请求消息包括所述终端的标识和所述目标锚点网关的标识;
    确定单元,用于根据所述接收单元接收的所述终端的标识和所述目标锚点网关的标识更新与所述终端的下行报文对应的转发流表;
    发送单元,用于向SDN交换机发送所述确定单元更新后的所述转发流表,以使得所述SDN交换机根据更新后的所述转发流表将所述下行报文转发至所述目标锚点网关,由所述目标锚点网关为所述终端转发所述下行报文。
  28. 根据权利要求27所述的SDN控制器,其特征在于,所述接收单元接收到的所述修改请求消息中还包括所述终端的业务的信息;
    所述确定单元,具体用于根据所述终端的标识、所述目标锚点网 关的标识和所述业务的信息更新所述下行报文对应的转发流表。
  29. 根据权利要求27或28所述的SDN控制器,其特征在于,
    所述接收单元,还用于在接收CP设备发送的修改请求消息之前,接收所述CP设备发送的上行链路指示消息,所述上行链路指示消息包括所述终端的上行报文的转发信息和所述目标锚点网关的标识;
    所述确定单元,还用于根据所述接收单元接收的所述转发信息和所述目标锚点网关的标识确定与所述上行报文对应的转发流表;
    所述发送单元,还用于向所述SDN交换机发送与所述上行报文对应的转发流表,以使得所述SDN交换机根据与所述上行报文对应转发流表转发所述上行报文。
  30. 根据权利要求27-29任一项所述的SDN控制器,其特征在于,所述接收单元接收到的所述修改请求消息还包括结束标识和源锚点网关的标识,
    所述确定单元,还用于根据所述结束标识和所述源锚点网关的标识确定与第一结束报文对应的转发流表,所述第一结束报文用于触发所述源锚点网关发送第二结束报文;
    所述发送单元,还用于向所述SDN交换机发送所述与所述第一结束报文对应的转发流表,以使得所述SDN交换机在获取所述第一结束报文后,根据所述与所述第一结束报文对应的转发流表将所述第一结束报文转发至所述源锚点网关。
  31. 根据权利要求27-30任一项所述的SDN控制器,其特征在于,
    所述接收单元,还用于接收所述CP设备发送的所述终端的第一业务和所述源锚点网关的对应关系;
    所述确定单元,还用于根据所述对应关系确定与所述第一业务的下行报文对应的转发流表;
    所述发送单元,还用于向所述SDN交换机发送所述与所述第一业务的下行报文对应的转发流表,以使得所述SDN交换机根据所述与所述第一业务的下行报文对应的转发流表对所述第一业务的报文 进行转发;
    所述确定单元,具体用于根据所述终端的标识和所述目标锚点网关的标识更新所述与所述第一业务的下行报文的转发流表。
  32. 一种软件定义网络SDN交换机,其特征在于,包括:
    接收单元,用于接收SDN控制器发送的与第一结束报文对应的转发流表,所述第一结束报文用于触发源锚点网关发送第二结束报文,所述转发流表中包括结束标识;
    生成单元,用于在所述接收单元接收到终端的第一个下行报文后,根据所述第一个下行报文和结束标识生成所述第一结束报文,所述第一个下行报文为所述源锚点网关切换为目标锚点网关后,业务服务器向所述终端关发送的第一个下行报文;
    发送单元,用于按照所述接收单元接收的所述转发流表将所述生成单元生成的所述第一结束报文转发至所述源锚点网关,以触发所述源锚点网关发送所述第二结束报文。
  33. 一种控制面CP设备,其特征在于,包括处理器、存储器、系统总线和通信接口;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述CP设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述CP设备执行如权利要求1-10任意一项所述的锚点网关的切换方法。
  34. 一种软件定义网络SDN控制器,其特征在于,包括处理器、存储器、系统总线和通信接口;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述SDN控制器运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述SDN控制器执行如权利要求11-15任意一项所述的锚点网关的切换方法。
  35. 一种软件定义网络SDN交换机,其特征在于,包括处理器、存储器、系统总线和通信接口;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器 通过所述系统总线连接,当所述SDN交换机运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述SDN交换机执行如权利要求16所述的锚点网关的切换方法。
  36. 一种锚点网的切换系统,其特征在于,包括:
    如权利要求17-26任一项所述的控制面CP设备,如权利要求27-31任一项所述的SDN控制器,如权利要求32所述的SDN交换机,源锚点网关以及目标锚点网关;或者,
    如权利要求33所述的CP设备,如权利要求34所述的SDN控制器,如权利要求35所述的SDN交换机,源锚点网关以及目标锚点网关。
PCT/CN2016/092421 2016-07-29 2016-07-29 一种锚点网关的切换方法、装置及系统 WO2018018631A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201680086431.1A CN109314909B (zh) 2016-07-29 2016-07-29 一种锚点网关的切换方法、装置及系统
EP16910211.8A EP3481132B1 (en) 2016-07-29 2016-07-29 Anchor gateway switching method, apparatus and system
PCT/CN2016/092421 WO2018018631A1 (zh) 2016-07-29 2016-07-29 一种锚点网关的切换方法、装置及系统
US16/254,207 US10813036B2 (en) 2016-07-29 2019-01-22 Anchor gateway switching method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/092421 WO2018018631A1 (zh) 2016-07-29 2016-07-29 一种锚点网关的切换方法、装置及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/254,207 Continuation US10813036B2 (en) 2016-07-29 2019-01-22 Anchor gateway switching method, apparatus, and system

Publications (1)

Publication Number Publication Date
WO2018018631A1 true WO2018018631A1 (zh) 2018-02-01

Family

ID=61016140

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092421 WO2018018631A1 (zh) 2016-07-29 2016-07-29 一种锚点网关的切换方法、装置及系统

Country Status (4)

Country Link
US (1) US10813036B2 (zh)
EP (1) EP3481132B1 (zh)
CN (1) CN109314909B (zh)
WO (1) WO2018018631A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073317A (zh) * 2019-06-10 2020-12-11 华为技术有限公司 一种发送报文流量的方法和装置
CN112654071A (zh) * 2020-12-31 2021-04-13 广州技象科技有限公司 基于物联网的下行数据传输方法、装置、设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10548062B2 (en) 2018-03-05 2020-01-28 At&T Intellectual Property I, L.P. Systems and methods for processing packet traffic without an explicit connection oriented signaling protocol
US11252083B2 (en) * 2019-02-07 2022-02-15 Lockheed Martin Corporation Data packet forwarding in an NGSO satellite network
CN112134866B (zh) * 2020-09-15 2024-06-14 腾讯云计算(北京)有限责任公司 业务访问控制方法、装置、系统及计算机可读存储介质
CN112398954B (zh) * 2021-01-18 2021-05-04 广州技象科技有限公司 一种基于窄带物联网的连接管理方法及装置
CN115484286A (zh) * 2022-09-08 2022-12-16 西部科学城智能网联汽车创新中心(重庆)有限公司 网联汽车在多个边缘云网关进行软切换的方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103857004A (zh) * 2012-12-03 2014-06-11 华为技术有限公司 处理无线网络用户接入的方法、装置及系统
CN104065764A (zh) * 2014-07-05 2014-09-24 中国科学技术大学 一种软件定义网络中基于地址替换的移动管理系统
WO2014209007A1 (ko) * 2013-06-25 2014-12-31 삼성전자 주식회사 Sdn 기반 lte network 구조 및 동작 방안
CN104684044A (zh) * 2013-11-29 2015-06-03 中兴通讯股份有限公司 一种路径建立的方法、控制器及移动性管理实体
CN105282803A (zh) * 2014-07-25 2016-01-27 中兴通讯股份有限公司 通讯接口和基于通讯接口的信息传递方法及系统

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1871069A1 (en) * 2006-05-25 2007-12-26 Samsung Electronics Co., Ltd. Apparatus and method for controlling layer 3 handover of mobile node
JP4858690B2 (ja) * 2006-06-14 2012-01-18 日本電気株式会社 移動体通信システムおよびハンドオーバ時のデータ伝送方法
JP5032582B2 (ja) * 2006-11-16 2012-09-26 テレフオンアクチーボラゲット エル エム エリクソン(パブル) ゲートウェイ選択機構
US8902852B2 (en) * 2011-05-19 2014-12-02 Telefonaktiebolaget L M Ericsson (Publ) Inter-rat handover control using empty GRE packets
CN102761965B (zh) * 2012-04-25 2016-03-30 中兴通讯股份有限公司 跟踪区域更新后保持用户设备业务连续性的方法及装置
US8867367B2 (en) * 2012-05-10 2014-10-21 Telefonaktiebolaget L M Ericsson (Publ) 802.1aq support over IETF EVPN
US9998967B2 (en) * 2013-07-17 2018-06-12 Interdigital Patent Holdings, Inc. Software defined networking distributed and dynamic mobility management
EP3050325A4 (en) * 2013-10-14 2016-11-02 Huawei Tech Co Ltd METHOD, APPARATUS AND SYSTEM FOR IMPLEMENTING PDN CONNECTIONS
CN104869660A (zh) * 2014-02-21 2015-08-26 中兴通讯股份有限公司 保证业务数据连续性的方法、控制器及网关
EP3114874B1 (en) * 2014-03-04 2020-02-26 Nokia Solutions and Networks GmbH & Co. KG Ran based gateway functions
US9338694B2 (en) * 2014-06-16 2016-05-10 Freescale Semiconductor, Inc. Wireless communication system with SIPTO continuity
KR101608593B1 (ko) * 2014-10-07 2016-04-01 숭실대학교산학협력단 Sdn 기반 분산형 모바일 네트워크에서의 이동 단말의 이동성을 지원하는 방법 및 그 장치
KR102233645B1 (ko) * 2014-11-11 2021-03-30 한국전자통신연구원 가상 네트워크 기반 분산 다중 도메인 라우팅 제어 시스템 및 라우팅 제어 방법
CN105357119A (zh) * 2015-10-28 2016-02-24 蓝盾信息安全技术股份有限公司 一种sdn网络中准确转发数据包的方法
CN105430116B (zh) * 2015-11-30 2019-03-01 北京邮电大学 一种建立控制信道的方法及装置
EP3419334B1 (en) * 2016-02-17 2019-09-25 NTT Docomo, Inc. Gateway changeover method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103857004A (zh) * 2012-12-03 2014-06-11 华为技术有限公司 处理无线网络用户接入的方法、装置及系统
WO2014209007A1 (ko) * 2013-06-25 2014-12-31 삼성전자 주식회사 Sdn 기반 lte network 구조 및 동작 방안
CN104684044A (zh) * 2013-11-29 2015-06-03 中兴通讯股份有限公司 一种路径建立的方法、控制器及移动性管理实体
CN104065764A (zh) * 2014-07-05 2014-09-24 中国科学技术大学 一种软件定义网络中基于地址替换的移动管理系统
CN105282803A (zh) * 2014-07-25 2016-01-27 中兴通讯股份有限公司 通讯接口和基于通讯接口的信息传递方法及系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073317A (zh) * 2019-06-10 2020-12-11 华为技术有限公司 一种发送报文流量的方法和装置
CN112073317B (zh) * 2019-06-10 2022-01-07 华为技术有限公司 一种发送报文流量的方法和装置
US12095727B2 (en) 2019-06-10 2024-09-17 Huawei Technologies Co., Ltd. Method for sending packet traffic and apparatus
CN112654071A (zh) * 2020-12-31 2021-04-13 广州技象科技有限公司 基于物联网的下行数据传输方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN109314909A (zh) 2019-02-05
EP3481132B1 (en) 2020-07-15
EP3481132A1 (en) 2019-05-08
CN109314909B (zh) 2020-11-06
US10813036B2 (en) 2020-10-20
EP3481132A4 (en) 2019-05-22
US20190159106A1 (en) 2019-05-23

Similar Documents

Publication Publication Date Title
WO2018018631A1 (zh) 一种锚点网关的切换方法、装置及系统
US20200366525A1 (en) Method, device, and system for controlling tunnel identifier allocation
EP3461071B1 (en) Communication control method, and related network element
EP3783862A1 (en) Session management method and session management function network element
JP2019530363A (ja) 通信のための方法、装置、システム、端末、およびアクセス・ネットワーク・デバイス
WO2019185062A1 (zh) 一种通信方法及装置
WO2020001128A1 (zh) 一种终端位置服务的确定方法、设备及可读存储介质
WO2017054178A1 (zh) 保持业务连续性的方法、控制面网关和移动管理网元
US11825356B2 (en) Policy control method and system, network element, and storage medium
JP2017520212A (ja) Pdn接続再確立方法、リセット中央サーバ、モビリティ管理ネットワーク要素、およびデータゲートウェイ
EP3962164A1 (en) Bearer modification method and access network device
JP2019514244A (ja) データサービス制御方法および関連するデバイス
WO2019134464A1 (zh) 一种传输下行数据的方法及设备
EP2850912B1 (en) Efficient distribution of signaling messages in a mobility access gateway or local mobility anchor
WO2018127231A1 (zh) 一种终端空闲态的处理方法及装置
WO2020034802A1 (zh) 一种激活pdu会话的方法及设备
US9602440B2 (en) Re-establishing a direct tunnel between an access node and a gateway router
WO2018006359A1 (zh) 一种本地网关之间建立隧道的方法及网关
WO2022099484A1 (zh) 标识发送方法和通信装置
WO2011137715A1 (zh) 单信道语音连续性实现方法及系统
CN104869575A (zh) 最优路径的建立方法、mme及网关
WO2018137216A1 (zh) 一种信息传输方法、设备及系统
WO2018058324A1 (zh) 一种移动性管理方法、设备及通信系统
WO2024001544A1 (zh) 数据连续传输方法及装置
US20240129974A1 (en) Local breakout for customer premise equipment in a 5g wireless wireline convergence at an access gateway function

Legal Events

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

Ref document number: 16910211

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2016910211

Country of ref document: EP

Effective date: 20190130