WO2017215656A1 - 会话建立的方法、装置及系统 - Google Patents

会话建立的方法、装置及系统 Download PDF

Info

Publication number
WO2017215656A1
WO2017215656A1 PCT/CN2017/088752 CN2017088752W WO2017215656A1 WO 2017215656 A1 WO2017215656 A1 WO 2017215656A1 CN 2017088752 W CN2017088752 W CN 2017088752W WO 2017215656 A1 WO2017215656 A1 WO 2017215656A1
Authority
WO
WIPO (PCT)
Prior art keywords
local
session
terminal
uplink data
data packet
Prior art date
Application number
PCT/CN2017/088752
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 中兴通讯股份有限公司
Publication of WO2017215656A1 publication Critical patent/WO2017215656A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control

Definitions

  • the present invention relates to the field of communications, and in particular to a method, apparatus, and system for session establishment.
  • each network element in the network architecture includes: a user equipment (UE), which accesses a 4G network through a wireless air interface and obtains a service.
  • UE user equipment
  • the information is exchanged between the air interface and the base station, and the non-access stratum signaling (Non Access Stratum, abbreviated as NAS) and the mobility management unit of the core network exchange information.
  • NAS non-access stratum signaling
  • the radio access network (Radio Access Network, hereinafter referred to as RAN) is responsible for the air interface resource scheduling and the air interface connection management of the terminal access network, and is also responsible for detecting the uplink and downlink rate of the user, so as to ensure that the maximum uplink and downlink rates allowed by the user cannot be exceeded.
  • RAN Radio Access Network
  • the core network control plane unit is mainly responsible for authentication, authorization and contract checking of users to ensure that users are legitimate users; user mobility management, including location registration and temporary identification allocation; maintaining IDLE and CONNECT status and status Migration; switching in the CONNECT state; packet data network (PDN) connection and bearer maintenance, including session management functions such as creation, modification, and deletion; and paging in the IDLE state.
  • PDN packet data network
  • the Service Gateway Serving GW The core network user plane functional unit, which is mainly responsible for the interaction with the PDN GW in the roaming situation; receiving the downlink data packet for buffering and notifying the MME to page the user in the IDLE state; the user plane anchor point and the cross-base station 2G/3G/4G mobility user plane anchor and other functions.
  • Packet data gateway PDN GW The core network user plane function unit is the access point of the terminal accessing the PDN network, responsible for allocating the user IP address, and the network triggered bearer establishment, modification and deletion. In addition, it also has the functions of QoS control and accounting, and is an anchor point for the user to switch between the 3GPP system and the non-3GPP system, thereby ensuring the IP address unchanged and ensuring business continuity.
  • the packet data gateway is also responsible for detecting the session uplink and downlink rate to ensure that the maximum uplink and downlink rate allowed by the user session cannot be exceeded.
  • the PDN connection refers to the data transmission channel from the UE to the PDN GW.
  • the PDN GW allocates an IP address to the user. The address is bound to the PDN connection. The user is allowed to use the assigned address to pass the PDN connection and external application bound to the address. Or the user communicates.
  • the session management function is the management of the PDN connection.
  • FIG. 2 is a schematic structural diagram of local offloading in the related art.
  • a local offload function is deployed on the base station, and the function detects, by DPI, which data packets need to be offloaded to the local data network 2, which are Need to route to data network 1.
  • the advantage of this scheme is that the local offload function is not visible to the UE, so from the perspective of the UE, there is still only one PDN connection.
  • the problem is that the local offload function increases the cost of the base station and the data transmission delay, and because the base station does not support the maximum flow control based on the session, the support for Quality of Service (QoS) is not ideal.
  • QoS Quality of Service
  • Figure 3 is a schematic diagram 2 of the structure of the local offloading in the related art.
  • the terminal creates a PDN connection for the service that needs to be offloaded.
  • the advantage of this approach is that if the local data network gateway can be controlled by the network side, it can well support the QoS of the service.
  • the problem is that the UE needs to support two PDN connections and two IP addresses.
  • the application on the terminal has certain requirements, and it is necessary to select an appropriate IP address among the two IP addresses.
  • the embodiment of the present invention provides a method, a device, and a system for establishing a session, so as to solve at least one function of deploying a local offloading at a base station when a local offloading is performed in the related art, or a new PDN connection is established for a service that needs to be offloaded. problem.
  • a method for session establishment including: in a process of establishing a session between a terminal and a network side base station, the terminal receives a session establishment response sent by a network side control plane function unit, where The session establishment response carries an indication for indicating whether the session allows local offloading; the terminal obtains an APP list from a network-side local offload data network, where the APP recorded in the APP list supports local offloading; In the case that the session is allowed to be locally offloaded, and the APP that generates the uplink data is in the APP list, the terminal adds a label indicating the local offload to the uplink data packet; the terminal will indicate the local offloading The uplink data packet of the tag is sent to the network side base station.
  • the method further includes: when the indication that the session does not allow local offloading, or the APP that generates uplink data is not in the APP list, the terminal prohibits the indication of the uplink data packet a local offloaded label, or the terminal instructs the uplink data packet to indicate that the local offload label is not required; the terminal will not indicate the local offload label, or send an uplink data packet indicating that the local offload label is not required to be sent to the The network side base station.
  • the method further includes: before the network side control plane function unit establishes a session with the terminal, the terminal notifies the network side of information for supporting the capability of locally offloading the uplink data packet Control surface function unit.
  • the indication for indicating whether the session allows local offloading is determined by the network side control plane function unit according to the user subscription and whether the terminal supports the local offload labeling capability of the uplink data packet.
  • a method for establishing a session is provided, which is applied to a base station side of a network side device, where the method includes: the base station receiving an uplink data packet sent by a terminal; Whether the uplink data packet carries a label, where the label is used to indicate whether the current is offloaded; the label is carried in the uplink data packet, and the label is In the case of local offloading, the base station forwards the uplink data packet to a local offload data network gateway of the network side device; does not carry the local offload label in the uplink data packet, or the label indication The base station forwards the uplink data packet to a default data network gateway of the network side device without local offloading.
  • the local offload data network locally stores an APP list, where the APP recorded in the APP list supports local offloading.
  • the method further includes: acquiring, by the base station, the local offload data network gateway address and a service area range corresponding to the local offload data gateway; Forwarding the local offload data network gateway address and the service area range corresponding to the local offload data gateway to the control plane function unit of the network side device.
  • a method for session establishment is provided, which is applied to a control plane function unit side of a network side device, where the method includes: in a process of establishing a session between a base station and a terminal, the control plane The function unit determines whether to allow the session local offload according to the user subscription and whether the terminal supports the local offload labeling function of the uplink data packet; in the case of determining that the session local traffic distribution is allowed, the control plane function unit sends a session establishment response to the terminal, where The session establishment response carries an indication that the session is locally offloaded.
  • the method further includes: before the control plane function unit establishes a session with the terminal, the control plane function unit receives information notified by the terminal for supporting the ability to locally tap the upstream data packet.
  • the method further includes: the control plane function unit receives and stores a local offload data network gateway address sent by the base station and a service area range corresponding to the local offload data gateway; and the control plane function unit is configured according to the local The offload data gateway address is a forwarding path between the base station and the local offload data gateway data.
  • the list of registered locations allocated by the control plane function unit for the user does not exceed the service area range of the local offload data gateway.
  • a method for session establishment including: In the process of establishing a session between the terminal and the network side device, the terminal acquires a session establishment response sent by the network side device, where the session establishment response carries an indication for indicating whether the session allows local offloading; The terminal obtains an APP list from the network side device, where the APP recorded in the APP list supports local offloading; in the indication that the session allows local offloading, and the APP that generates uplink data is in the APP list. In the case, the terminal sends a label indicating the local offload to the uplink data packet; the terminal sends an uplink data packet indicating the local offload label to the network side device.
  • the method further includes: when the indication that the session does not allow local offloading, or the APP that generates uplink data is not in the APP list, the terminal prohibits the indication of the uplink data packet a local offloaded label, or the terminal instructs the uplink data packet to indicate that the local offload label is not required; the terminal will not indicate the local offload label, or send an uplink data packet indicating that the local offload label is not required to be sent to the The network side device.
  • the method further includes: before the terminal initiates the establishment of the session, the terminal notifies the network side device of information for supporting the capability of locally offloading the uplink data packet.
  • the indication for indicating whether the session allows local offloading is determined by the network side device according to the user subscription and whether the terminal supports local tapping of the uplink data packet.
  • a method for establishing a session includes: receiving, by a network side device, an uplink data packet sent by a terminal; and determining, by the network side device, whether the uplink data packet carries a label, where The label is used to indicate whether the current is offloaded; if the label is carried in the uplink data packet, and the label indicates the local offload, the network side device forwards the uplink data packet to the local offload data.
  • the network gateway; the local data distribution gateway to which the uplink data packet is forwarded to the network data device is not carried in the uplink data packet, or the label indicates that the local uplink traffic is not required.
  • the method further includes: the network side device acquiring and saving the local offload data network gateway address and the service area range corresponding to the local offload data gateway, where The local offload data network locally stores an APP list, and the APP recorded in the APP list supports local offloading; the network side device uses the local offload data gateway address as the session establishment and the local offload data gateway data. The forwarding path.
  • the list of registered locations allocated by the network side device for the user does not exceed the service area range of the local offload data gateway.
  • the method further includes: the network side device receiving, by the terminal, information for supporting the capability of locally offloading the uplink data packet; The network side device determines, according to the user subscription and whether the terminal supports the local offload labeling function of the uplink data packet, whether to allow the session local offloading; the network side device sends a session establishment response to the terminal, where The session establishment response carries an indication that the session is locally offloaded.
  • a device for session establishment which is applied to a terminal side, including: a processor; a memory for storing the processor executable instructions; and receiving or transmitting the processor And a transmission device for transmitting data between the network; wherein the transmission device is configured to acquire a session establishment response sent by the network side device during a session between the terminal and the network side device, and to use the network side from the network side
  • the device obtains an APP list, where the session establishment response carries an indication for indicating whether the session allows local offloading; the APP recorded in the APP list supports local offloading; the processor is configured to use the indication
  • the session allows the local offloading, and in the case that the APP that generates the uplink data is in the APP list, the uplink data packet is marked with a label indicating the local offloading; the transmitting device is further configured to indicate the local offload label.
  • the uplink data packet is sent to the network side device.
  • the processor is further configured to: when the indication that the session does not allow local offloading, or the APP that generates uplink data is not in the APP list, prohibiting to indicate the uplink data packet to the local The offloaded label, or the uplink data packet is marked with a label that does not require local offloading; the transmitting device is further configured to disable the indication of the local offload label, or send an uplink data packet indicating that the local offload label is not required to be sent to The network side device.
  • the transmitting device is further configured to: before the terminal initiates establishing a session, The terminal will notify the network side device of information for supporting the capability of locally offloading the uplink data packet.
  • a device for establishing a session which is applied to a base station side of a network side device, where the device includes: a first receiving module, configured to receive an uplink data packet sent by the terminal; a determining module, configured to determine whether the uplink data packet carries a label, where the label is used to indicate whether the current is offloaded, and the first forwarding module is configured to carry the label in the uplink data packet, and the If the label indicates the local offload, the uplink data packet is forwarded to the local offload data network gateway of the network side device, and the second forwarding module is configured to not carry the local offload label in the uplink data packet. Or the label indicates that the uplink data packet is forwarded to the default data network gateway of the network side device without local offloading.
  • the local offload data network locally stores an APP list, where the APP recorded in the APP list supports local offloading.
  • the device further includes: an obtaining module, configured to acquire, before the receiving module receives the uplink data packet sent by the terminal, the local offload data network gateway address and the service area range corresponding to the local offload data gateway; And a forwarding module, configured to forward the local offload data network gateway address and the service area range corresponding to the local offload data gateway to a control plane function unit of the network side device.
  • a device for session establishment which is applied to a control plane function unit side of a network side device, and includes: a second determining module, configured to establish a session between the base station and the terminal, Determining whether to allow the session local offload according to the user subscription and whether the terminal supports the local offload labeling function of the uplink data packet; and the sending module, configured to send a session establishment response to the terminal, where the session is allowed to be locally offloaded, where the session is The setup response carries an indication that the session is allowed to be offloaded locally.
  • the device further includes: a second receiving module, configured to receive, by the terminal, information for supporting a capability of locally offloading the uplink data packet before the base station establishes a session with the terminal.
  • the device further includes: a processing module, configured to receive and save a local offload data network gateway address sent by the base station and a service area range corresponding to the local offload data gateway; and an establishing module, configured to use the local offload data according to the The gateway address is a forwarding path between the base station and the local offload data gateway data.
  • a processing module configured to receive and save a local offload data network gateway address sent by the base station and a service area range corresponding to the local offload data gateway
  • an establishing module configured to use the local offload data according to the The gateway address is a forwarding path between the base station and the local offload data gateway data.
  • the list of registered locations allocated by the control plane function unit for the user does not exceed the service area range of the local offload data gateway.
  • a system for session establishment including: the foregoing apparatus for establishing side session establishment of a terminal, the foregoing apparatus for establishing session establishment on a base station side, and the foregoing application to a functional unit side of a control plane The device for session establishment.
  • the terminal when the terminal instructs the session to allow local offloading, and the APP that generates the uplink data is in the APP list, the terminal adds a label indicating the local offload to the uplink data packet, and sends the labeled uplink data packet to the It can be seen that the APP does not need to care about local offloading, which reduces the impact on the application.
  • the UE knows the application of the uplink data packet and puts the label of the offloading, the base station does not need to perform packet detection, thereby reducing the base station. Cost and processing delay; solves the problem that a local offloading needs to be deployed at the base station when the local offloading is performed in the related art, or the terminal creates a new PDN connection for the service that needs to be offloaded.
  • FIG. 1 is a schematic structural diagram of a 4G network in the related art
  • FIG. 2 is a schematic structural diagram 1 of a local shunt in the related art
  • FIG. 3 is a schematic structural diagram 2 of local shunting in the related art
  • FIG. 4 is a block diagram showing the hardware structure of a terminal of a method for establishing a session according to an embodiment of the present invention
  • FIG. 5 is a flowchart 1 of a method for establishing a session according to an embodiment of the present invention.
  • FIG. 6 is a second flowchart of a method for establishing a session according to an embodiment of the present invention.
  • FIG. 7 is a third flowchart of a method for session establishment according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram 1 of an apparatus for establishing a session according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram 2 of an apparatus for establishing a session according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a session establishment system according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of forwarding address information of a local offload data gateway according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of a session establishment method according to an embodiment of the present invention.
  • FIG. 13 is a flowchart of a user location update method according to an embodiment of the present invention.
  • FIG. 14 is a flowchart of a service request method for a user to actively initiate a service from an idle state according to an embodiment of the present invention
  • FIG. 15 is a flowchart of a method for a terminal to obtain a shunt APP list from an APP management unit and to shunt labels for uplink data according to an embodiment of the present invention.
  • FIG. 4 is a hardware structural block diagram of a terminal of a method for establishing a session according to an embodiment of the present invention.
  • the mobile terminal 10 may include one or more (only one of which is shown in FIG. 4) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA. ), A memory 104 for storing data, and a transmission device 106 for communication functions.
  • the structure shown in FIG. 4 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 4, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the method of session establishment in the embodiment of the present invention, and the processor 102 executes each by running a software program and a module stored in the memory 104.
  • a functional application and data processing, that is, the above method is implemented.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 5 is a flowchart 1 of a method for establishing a session according to an embodiment of the present invention. As shown in FIG. 5, the process includes the following steps:
  • Step S502 In the process of establishing a session between the terminal and the network side base station, the terminal receives a session establishment response sent by the network side control plane function unit, where the session establishment response carries an indication for indicating whether the session allows local offloading;
  • Step S504 The terminal obtains an APP list from the network-side local offload data network, where the APP recorded in the APP list supports local offloading;
  • Step S506 In the case that the indication session allows local offloading, and the APP that generates the uplink data is in the APP list, the terminal puts a label indicating the local offload on the uplink data packet;
  • Step S508 The terminal sends an uplink data packet indicating the local offload label to the network side base station.
  • the terminal may mark the uplink data packet and label the uplink data packet when the APP indicates that the session is allowed to be locally offloaded and the APP that generates the uplink data is in the APP list.
  • the uplink data packet is sent to the base station; it can be seen that the APP does not need to care about local offloading, which reduces the impact on the application; in addition, because the UE knows which application the uplink data packet is from, and puts a label on whether or not to be offloaded, the base station does not need to perform a packet.
  • the method in this embodiment further includes:
  • Step S510 In the case that the indication session does not allow local offloading, or the APP that generates the uplink data is not in the APP list, the terminal prohibits the labeling of the uplink data packet by the terminal, or the terminal does not need to localize the uplink data packet. Diverted label;
  • Step S512 The terminal will not indicate the local offload label, or send an uplink data packet indicating that the local offload label is not needed to the network side base station.
  • the method in this embodiment may further include: before the network side control plane function unit establishes a session with the terminal, the terminal is configured to support the capability of locally offloading the uplink data packet. The information is notified to the network side control plane function unit. The indication for indicating whether the session is allowed to be locally offloaded is determined by the network side control plane function unit according to the capability of the user to sign the contract and whether the terminal supports the local offload labeling of the uplink data packet.
  • FIG. 6 is a flowchart of a method for establishing a session according to an embodiment of the present invention. The method is applied to a base station side of a network side device. As shown in FIG. 6, the steps of the method include:
  • Step S602 The base station receives an uplink data packet sent by the terminal.
  • Step S604 The base station determines whether the uplink data packet carries a label, where the label is used to indicate whether the local data is offloaded.
  • Step S606 When the uplink data packet carries the label, and the label indicates the local offload, the base station forwards the uplink data packet to the local offload data network gateway of the network side device;
  • Step S608 The base station forwards the uplink data packet to the default data network gateway of the network side device if the local data distribution label is not carried in the uplink data packet, or the label indicates that the local data distribution is not required.
  • the local offload data network locally stores an APP list, wherein the APP recorded in the APP list supports local offloading.
  • the method in this embodiment may further include:
  • Step S610 The base station acquires a local offload data network gateway address and a service area range corresponding to the local offload data gateway.
  • Step S612 The base station forwards the local offload data network gateway address and the service area range corresponding to the local offload data gateway to the control plane function unit of the network side device.
  • FIG. 7 is a flowchart 3 of a method for establishing a session according to an embodiment of the present invention. The method is applied to a control unit functional unit side of a network side device. As shown in FIG. 7, the steps of the method include:
  • Step S702 In the process of establishing a session between the base station and the terminal, the control plane function unit determines whether to allow the session local offload according to the user subscription and whether the terminal supports the local offload labeling function of the uplink data packet.
  • Step S704 In the case that it is determined that the session local offload is allowed, the control plane function unit sends a session establishment response to the terminal, where the session establishment response carries the session local shunt. Instructions.
  • control plane function unit item has the capability to send an indication of allowing the session local offload to the terminal that performs the local offload label on the uplink data packet.
  • the method in this embodiment may further include:
  • Step S706 Before the control plane function unit establishes a session with the terminal, the control plane function unit receives the information notified by the terminal for supporting the ability to locally tap the upstream data packet.
  • Step S708 The control plane function unit receives and stores the local offload data network gateway address sent by the base station and the service area range corresponding to the local offload data gateway.
  • Step S710 The control plane function unit establishes a forwarding path between the base station and the local offload data gateway data for the session according to the local offload data gateway address.
  • the list of registered locations allocated by the control plane function unit for the user does not exceed the service area range of the local offload data gateway.
  • Embodiments 1 to 3 are descriptions respectively performed by the terminal, the base station, and the control plane function unit.
  • the base station and the control plane function unit are used as a whole (network side device) to interact with the terminal.
  • the method steps of the session establishment in this embodiment include:
  • Step S802 In the process of establishing a session between the terminal and the network side device, the terminal acquires a session establishment response sent by the network side device, where the session establishment response carries an indication for indicating whether the session allows local offloading;
  • Step S804 The terminal acquires an APP list from the network side device, where the APP recorded in the APP list supports local offloading;
  • Step S806 In the case that the indication session allows local offloading, and the APP that generates the uplink data is in the APP list, the terminal puts a label indicating the local offload on the uplink data packet;
  • Step S808 The terminal sends an uplink data packet indicating the local offload label to the network side device.
  • the terminal prohibits the uplink data packet from being marked with a local offload label, or the terminal indicates the uplink data packet without local shunting.
  • the label will not be marked with a local offload label, or an uplink packet indicating that the local offload label is not required to be sent to the network side device.
  • the method in this embodiment may further include: before the terminal initiates the establishment of the session, the terminal notifies the network side device of information for supporting the capability of locally offloading the uplink data packet.
  • the indication for indicating whether the session is allowed to be locally offloaded is determined by the network side device according to the capability of the user to sign the contract and whether the terminal supports the local offloading of the uplink data packet.
  • the method steps of the session establishment in this embodiment include:
  • Step S902 The network side device receives the uplink data packet sent by the terminal.
  • Step S904 The network side device determines whether the uplink data packet carries a label, where the label is used to indicate whether the current data is offloaded.
  • Step S906 When the uplink data packet carries the label, and the label indicates the local offload, the network side device forwards the uplink data packet to the local offload data network gateway.
  • Step S908 The local data distribution gateway does not carry the local offload label, or the label indicates that the network side device forwards the uplink data packet to the default data network gateway without local offloading.
  • the method in this embodiment may further include:
  • Step S910 The network side device acquires and saves the local offload data network gateway address and the service area range corresponding to the local offload data gateway, where the local offload data network locally stores the APP list, and the APP recorded in the APP list supports local offloading;
  • Step S912 The network side device establishes a forwarding path between the session and the local offload data gateway data according to the local offload data gateway address.
  • the list of registered locations allocated by the network side device for the user does not exceed the service area range of the local offload data gateway.
  • Step S914 Before the network side device receives the uplink data packet sent by the terminal, the network side device receives, by the terminal, information for supporting the capability of locally tapping the uplink data packet.
  • Step S916 The network side device determines whether to allow the session local offload according to the user subscription and whether the terminal supports the local offload labeling function of the uplink data packet.
  • Step S918 In the case that it is determined that the session local offloading is allowed, the network side device sends a session establishment response to the terminal, where the session establishment response carries an indication that the session local offload is allowed.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the embodiment provides a device for session establishment, and the device is applied to a terminal side, corresponding to the terminal shown in FIG. 4, the device includes: a processor; a memory for storing processor executable instructions; and receiving Or a transmitting device that transmits data between the processor and the network; wherein the transmitting device is configured to acquire a session establishment response sent by the network side device, and is used to acquire the session establishment response sent by the network side device during the process of establishing a session between the terminal and the network side device
  • the APP list where the session establishment response carries an indication for indicating whether the session allows local offloading; the APP recorded in the APP list supports local offloading; the processor is configured to indicate that the session allows local offloading, and the APP that generates the uplink data is in the APP
  • the uplink data packet is marked with a local offload label; the transmission device is further configured to send the uplink data packet indicating the local offload label to the network side device.
  • the processor is further configured to: when the indication session does not allow local offloading, or the APP that generates the uplink data is not in the APP list, prohibit the uplink data packet from being marked with a local offload label, or the uplink data packet. Put a label indicating that there is no need for local shunting; the transmission device, It is also used to disable the indication of the local offload label, or to send an uplink data packet indicating that the local offload label is not required to be sent to the network side device.
  • the transmitting device is further configured to: before the terminal initiates the establishment of the session, the terminal notifies the network side device of information for supporting the capability of locally offloading the uplink data packet.
  • FIG. 8 is a structural block diagram of a device for establishing a session according to an embodiment of the present invention.
  • the device is applied to a base station side of a network side device.
  • the device includes: a first receiving module 82, configured to send by the receiving terminal.
  • the first determining module 84 is coupled to the first receiving module 82, and is configured to determine whether the uplink data packet carries a label, where the label is used to indicate whether the current is offloaded; the first forwarding module 86, and the first The determining module 84 is coupled and configured to carry the label in the uplink data packet, and if the label indicates the local offload, forward the uplink data packet to the local offload data network gateway of the network side device; the second forwarding module 88, and the first The forwarding module 86 is coupled and configured to forward the uplink data packet to the default data network gateway of the network side device without carrying the local traffic distribution label in the uplink data packet or the label indicating that the local data distribution is not required.
  • the local offload data network locally stores an APP list, where the APP recorded in the APP list supports local offloading.
  • the device further includes: an obtaining module, configured to obtain a local offload data network gateway address and a service area range corresponding to the local offload data gateway before the receiving module receives the uplink data packet sent by the terminal; and the third forwarding module is set to The local offloaded data network gateway address and the service area corresponding to the local offload data gateway are forwarded to the control plane functional unit of the network side device.
  • an obtaining module configured to obtain a local offload data network gateway address and a service area range corresponding to the local offload data gateway before the receiving module receives the uplink data packet sent by the terminal.
  • the third forwarding module is set to The local offloaded data network gateway address and the service area corresponding to the local offload data gateway are forwarded to the control plane functional unit of the network side device.
  • FIG. 9 is a structural block diagram 2 of a device for establishing a session according to an embodiment of the present invention.
  • the device is applied to a control plane function unit side of a network side device.
  • the device includes: a second determining module 92, configured to In the process of establishing a session between the base station and the terminal, determining whether to allow the session to be localized according to the user subscription and whether the terminal supports the local offload labeling function of the uplink data packet.
  • the sending module 94 is coupled to the second determining module 92, and is configured to send a session establishment response to the terminal in the case that it is determined that the session local shunting is allowed, wherein the session establishing response carries an indication that the session local shunt is allowed.
  • the device further includes: a second receiving module, configured to receive, by the terminal, information for supporting the capability of locally offloading the uplink data packet before the base station establishes a session with the terminal.
  • a second receiving module configured to receive, by the terminal, information for supporting the capability of locally offloading the uplink data packet before the base station establishes a session with the terminal.
  • the processing module is configured to receive and save the local offload data network gateway address sent by the base station and the service area range corresponding to the local offload data gateway; the establishing module is configured to establish a base station and a local offload data gateway according to the local offload data gateway address The forwarding path between data.
  • the list of registered locations allocated by the control plane function unit for the user does not exceed the service area range of the local offload data gateway.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • the embodiment further provides a system for session establishment, which includes the apparatus for side session establishment applied to the terminal in Embodiment 5, the apparatus applied to base station side session establishment in Embodiment 6, and the application in Embodiment 7.
  • FIG. 10 is a schematic structural diagram of a session establishment system according to an embodiment of the present invention.
  • a PDN connection can support a default data gateway and a local offload data gateway.
  • the default data network gateway is located on the network side. Its function is similar to that of a traditional packet data gateway. It assigns an IP address to the user.
  • the gateway is related to the service and has nothing to do with the location of the deployment. Session continuity is provided by the default data network gateway as the user moves.
  • the local offload packet data gateway is located close to the base station and provides a local offload function without assigning an IP address to the user.
  • the local offload data gateway is related to the location of the deployment, each The local offload data network gateways correspond to at least one service area. After the user moves out of the service area, a new local offload data gateway needs to be reselected to provide a local offload function.
  • an application APP management service unit in the local data network for managing a list of applications that can provide local offloading.
  • the APP management unit in the local data network sends a list of APPs that can be locally offloaded to the UE.
  • the terminal determines whether the uplink data is from the APP that needs to be locally offloaded, and whether the current session allows the offloading, and then carries a label in the uplink data packet to indicate whether local offloading is required.
  • the base station forwards to the local offload data gateway if it indicates that local offloading is required, and forwards to the default data gateway if it indicates that local offloading is not required.
  • control plane function unit in this embodiment may be a mobility management function and/or a session management function
  • the mobility management function handles mobility management
  • the session management function is used for session management, that is, maintenance of a PDN connection.
  • the local offload data gateway and the default data gateway can also support a scenario in which the control plane and the user plane are separated, so that the control plane function unit can include the control plane of the gateway.
  • a PDN connection can support two data gateways, one is a service service that requires session continuity, and one needs to be a local service service, and the terminal decides whether to divert according to the information provided by the network, and The uplink data packet is marked with a label indicating whether the traffic is offloaded, thereby avoiding the flow detection on the base station in the related art, reducing the base station cost and processing delay, and reducing the impact on the application because only one IP address is used in one session. .
  • the terminal application only one IP address allocated by the default data gateway needs to be acquired, and the APP does not need to care about local offloading, which reduces the impact on the application; in addition, because the UE knows which application the uplink data packet is from. And the label is not shunted, so that the base station does not need to perform packet detection, which reduces the cost and processing delay of the base station; when there is no local network near the base station, the terminal can still access the service by using the original default data gateway. It also provides session continuity to provide good system compatibility.
  • the base station When the user is registering, the base station sends the address information of the local offload data gateway to the core network control plane function unit for storage. If the control plane function unit is further decomposed into the mobility management unit and the session management unit, the mobility management unit in this embodiment refers specifically to the mobility management unit; FIG. 11 is the address information of the local offload data gateway according to the embodiment of the present invention.
  • the forwarding flowchart is as shown in FIG. 11, and the steps of the method include:
  • Step S1101 A radio resource connection (Radio Resource Connection, RRC for short) connection is established between the terminal and the base station;
  • RRC Radio Resource Connection
  • An air interface signaling connection is established between the UE and the base station, and information exchange between the subsequent UE and the base station passes through the connection.
  • Step S1102 The terminal initiates a registration request to the base station by using an RRC connection, where the message carries a user permanent identification of an International Mobile Subscriber Identification Number (IMSI), and capability information of the terminal, where the capability information includes Whether the terminal supports the ability to locally distribute the upstream data to the upstream data.
  • IMSI International Mobile Subscriber Identification Number
  • Step S1103 The base station selects a control plane function unit according to the load sharing manner, and forwards the registration request message to the selected control plane function unit, and carries the current location information of the user.
  • the base station If the base station supports the local network offload, the base station brings the address information of the local offload data gateway to the mobility management unit. Optionally, the base station also brings the service area of the local offload data gateway to the control plane function unit.
  • Step S1104 The control plane function unit saves the local offload data network gateway address information and the corresponding service area information.
  • the key is obtained from the authentication center according to the IMSI, and the authentication request information is calculated according to the authentication algorithm, and then the authentication request is initiated to the terminal.
  • step S1105 the terminal first authenticates the network. After the success, the terminal calculates the authentication response information and sends it to the control plane function unit.
  • the control plane function unit receives the authentication response information returned by the terminal, and checks whether the terminal is legal. After the authentication succeeds, the control plane function unit initiates a security mode command to the base station, and the air interface information is encrypted and integrity protected between the base station and the UE, and the NAS signaling between the UE and the control plane functional unit is also integrity protected.
  • Step S1106 the control plane functional unit is from the home subscriber server (Home Subscriber Server (referred to as HSS) obtains contract information and conducts contract check, mainly checking whether the user is allowed to access at the current location.
  • HSS Home Subscriber Server
  • Step S1107 If the subscription check passes, the control plane function unit allocates a user registration location list according to the current cell information of the user, and allocates a temporary identifier, and returns a registration accept message to the terminal through the base station, with the assigned registration location list and the temporary identifier.
  • the assigned temporary identifier uniquely specifies the control plane functional unit to which the temporary identifier is assigned.
  • Step S1108 The terminal saves the registration location list and the temporary identifier, and returns a registration completion message to the control plane function unit. Subsequent terminals will use the temporary identity to access the network, avoiding the use of permanent identity IMSI, thereby improving security.
  • the terminal moves in the area in the registration location list, there is no need to notify the network.
  • the location update process needs to be initiated to notify the network of the latest location information, and the network re-allocates the registration according to the latest location information in the process.
  • Location list and temporary identification When the terminal moves in the area in the registration location list, it also needs to periodically initiate a location update notification network, so that the network detection terminal is unreachable.
  • FIG. 12 is a flowchart of a session establishment method according to an embodiment of the present invention. As shown in FIG. 12, the steps of the method include:
  • Step S1201 an RRC connection is established between the terminal and the base station
  • An air interface signaling connection is established between the UE and the base station, and information exchange between the subsequent UE and the base station passes through the connection.
  • Step S1202 The terminal initiates a session establishment request to the base station by using an RRC connection.
  • the session establishment request carries the user temporary identifier, and the type of the session connection (IPv4, IPv6, non-IP, etc.) and the data network name.
  • Step S1203 The base station sends the session establishment request message to the control plane function unit that allocates the temporary identifier according to the user temporary identifier.
  • Step S1204 the control plane function unit performs a contract check to confirm whether the user allows to establish the requested session
  • control plane function unit selects a default session connection type and data network name according to the subscription.
  • Step S1205 The control plane function unit searches for a corresponding default data gateway address through the DNS according to the default session connection type and the data network name requested by the terminal.
  • Step S1206 The control plane function unit sends a session establishment request to the selected default data network gateway address, where the message carries an IMSI, a session connection type, and a data network name.
  • Step S1207 The default data network gateway determines the QoS information of the session according to the local policy according to the received information, and establishes a context related to the session.
  • the default data gateway may further interact with a Policy and Charging Rule Function (PCRF) to further determine the required QoS and charging policies.
  • PCRF Policy and Charging Rule Function
  • the default data network gateway returns a setup session response message to the control plane function unit, where the uplink and downlink QoS parameters related to the session, such as the uplink and downlink data flow description, the corresponding QoS priority/tag, and the session-related uplink and downlink maximum Rate, etc.
  • the default data network gateway allocates session related information and returns the session information to the control plane functional unit.
  • Step S1208 If the data network name selected by the control plane function unit is allowed to be locally shunted in the user subscription, the control plane function unit determines that the session allows the traffic off, and the control plane function unit may also consider whether the capability of the terminal supports the pair in the decision process.
  • the upstream data is labeled as a local offload. If the session allows offloading and the control plane functional unit maintains the local data network gateway address of the user's current access location, the control plane functional unit initiates a setup session request to the local data network gateway with the IMSI and the default data network Session QoS parameters received by the gateway, such as downlink data flow description, QoS priority/tag, and session-related uplink and downlink maximum rate. If there is no need to establish a session with the local data network gateway, step S1210 is performed.
  • Step S1209 The local data network gateway establishes the context related to the user session, saves information such as the IMSI and the session QoS, and returns a control plane function unit to establish a session response.
  • Local offload data The network gateway allocates session related information and returns the session information to the control plane functional unit.
  • Step S1210 The control plane function unit initiates a radio resource setup request to the base station, where the QoS-related information and the session information of the default data network gateway are also provided with a local offload if a session to the local offload data gateway is established. Session-related information assigned by the data network gateway.
  • Step S1211 The terminal and the base station perform radio resource configuration.
  • step S1212 the base station and the UE perform information exchange, allocate air interface resources for the session, establish an air interface wireless channel, and then the base station allocates session related information, and returns a radio resource establishment response to the control plane function unit, with the session information allocated by the base station.
  • Step S1213 The control plane function unit sends an update session request to the default data gateway, and sends the session information allocated by the base station to the default data gateway.
  • step S1214 the default data gateway returns an update session response to the control plane function unit.
  • step S1215 if a session to the local offload data gateway is established, the control plane function unit sends an update session request to the local offload data gateway, and sends the session information allocated by the base station to the local offload data gateway. If a session to the local offload data gateway is not established, steps S1215 and S1216 are ignored.
  • step S1216 the local offload data gateway returns an update session response to the control plane function unit.
  • step S1217 the control plane function unit returns a session establishment response to the terminal. If it is determined in step S1208 that the session allows local offloading, the local shunt indication is allowed in the session establishment response.
  • the terminal may use the DHCP connection to apply for an IP address from the network through the session connection.
  • the terminal does not tap the offload label on the uplink DHCP packet, thereby ensuring that the IP address comes from the default data gateway instead of the local offload data gateway.
  • the control plane function unit needs to synchronize to the local offload data network gateway in time.
  • the local offload data network gateway needs to save multiple session context information of the user.
  • the control plane function unit needs to notify the local offload data network gateway to delete the corresponding session context information in time.
  • FIG. 13 is a flowchart of a user location update method according to an embodiment of the present invention, as shown in FIG. The steps include:
  • Step S1301 An RRC connection is established between the terminal and the base station.
  • An air interface signaling connection is established between the UE and the base station, and information exchange between the subsequent UE and the base station passes through the connection.
  • Step S1302 The terminal initiates a location update request to the base station by using an RRC connection, where the request carries a user temporary identifier.
  • Step S1303 The base station selects a new control plane function unit according to the current location of the user, and then sends the session establishment request message to the new control plane function unit, and carries the current location information of the user.
  • the base station If the base station supports local network offloading and is configured with local offload data network gateway address information, the base station brings the address information of the local offload data gateway to the new control plane function unit. Optionally, the base station also divides the local offload data gateway. The service area information is brought together to the control plane functional unit.
  • step S1304 the new control plane function unit saves the local offload data network gateway address information and/or the corresponding service area information. Based on the provisional identification provided, the new control plane unit retrieves the user context from the old control plane unit.
  • the optional control plane function unit may initiate an authentication process for the UE, and update the security key of the base station after the success.
  • the new control plane functional unit also obtains contract information from the HSS and performs a contract check to mainly check whether the user is allowed to access at the current location.
  • step S1305 the new control plane function unit initiates a session update request to the default data network gateway.
  • step S1306 the default data network gateway saves the new control plane function unit information and returns a session update response.
  • Step S1307 If the user has a session to allow local offloading, and the new control plane function unit receives the new local data network gateway address sent by the base station, initiate a session establishment request to the new local data network gateway;
  • the request carries the IMSI and the saved session QoS parameters, such as the downlink data flow description, the QoS priority/tag, and the session-related uplink and downlink maximum rate. If no session allows local offloading, or the base station does not send new local data network gateway information, step S1309 is performed.
  • Step S1308 The local data network gateway establishes the relevant context of the user, saves information such as IMSI and session QoS, and returns a control plane function unit to establish a session response.
  • the local offload data network gateway allocates session related information and returns the session information to the control plane functional unit.
  • the new control plane functional unit needs to establish multiple sessions to the new local data network gateway.
  • Step S1309 If the current location of the user has moved out of the service area of the old local data network gateway, the control plane function unit initiates a delete session request with the user IMSI to the old data network gateway.
  • Step S1310 After receiving the delete session request, the old data network gateway deletes the context of the user, and returns to the control plane function unit to delete the session response.
  • Step S1311 The control plane function unit allocates a user registration location list according to the current cell information of the user, and allocates a temporary identifier, and returns a location update accept message to the terminal through the base station, with the assigned registration location list and the temporary identifier.
  • the assigned temporary identifier uniquely specifies the control plane functional unit to which the temporary identifier is assigned.
  • Step S1312 the terminal saves the registration location list and the temporary identifier, and sends a control function list to the control plane.
  • the meta returns a location update completion message.
  • FIG. 14 is a flowchart of a service request method for a user to actively initiate a service from an idle state according to an embodiment of the present invention. As shown in FIG. 14, the steps of the method include:
  • Step S1401 An RRC connection is established between the terminal and the base station.
  • An air interface signaling connection is established between the UE and the base station, and information exchange between the subsequent UE and the base station passes through the connection.
  • the specific establishment process is not the content of this patent and is therefore ignored.
  • Step S1402 The terminal initiates a service request message to the base station by using an RRC connection, where the request message carries a user temporary identifier.
  • Step S1403 The base station temporary identifier sends the session establishment request message to the control plane function unit that allocates the temporary identifier.
  • Step S1404 The control plane function unit initiates a radio resource establishment request to the base station.
  • the request carries the QoS-related information and the session information of the default data network gateway. If the session to the local data network gateway is established, the request also carries the session-related allocation of the local offload data network gateway. information.
  • Step S1405 The base station and the terminal perform radio resource configuration.
  • Step S1406 The information exchange between the base station and the UE is performed, the air interface resource is allocated for the session, the air interface wireless channel is established, and then the base station allocates session related information, and returns a radio resource establishment response to the control plane function unit, with the session information allocated by the base station.
  • Step S1407 The control plane function unit sends an update session request to the default data gateway, and sends the session information allocated by the base station to the default data gateway.
  • step S1408 the default data gateway returns an update session response to the control plane function unit.
  • Step S1409 If a session to the local offload data network gateway is established, the control plane function unit sends an update session request to the local offload data gateway, and sends the session information allocated by the base station to the local offload data gateway. If there is no session to the local offload data network gateway, then Steps S1409 and S1410 are omitted.
  • step S1410 the local offload data gateway returns an update session response to the control plane function unit.
  • step S1411 the control plane function unit returns a service request receiving message to the terminal.
  • the terminal acquires the offload APP list from the APP management unit and the offload data label, and the APP management unit maintains the APP related information in the local network.
  • FIG. 15 is a flowchart of a method for a terminal to obtain a shunt APP list from an APP management unit and a shunt label for uplink data according to an embodiment of the present invention.
  • an APP management unit to send a shunt APP list information to a terminal.
  • the UE actively requests to send, as shown in step S1501; one is the local offload data network gateway notification transmission, as shown in step S1502; and the other is that the APP management unit actively transmits as shown in step S1503.
  • the terminal may initiate a configuration request message to the APP management unit, which has the terminal operating system information, optionally with the application list on the terminal, after the timer of the local offload APP information expires.
  • the terminal puts a shunt flag on the message, and the base station forwards the message to the local offload data network gateway, and the local offload data network gateway recognizes the message and forwards the message to the local APP management unit.
  • the terminal can also use the message to ask the APP management unit whether the specific APP supports local offloading.
  • step S1502 when the local offload data network gateway detects that a new user accesses, the APP management unit is actively notified to deliver the offload APP list information.
  • Step S1503 When the APP management unit detects that a new APP is loaded or deleted in the local network, the offload APP configuration information on the terminal needs to be updated.
  • step S1504 the APP management unit delivers the offloading APP list information to the UE.
  • the terminal When the terminal satisfies the following conditions, the terminal instructs the uplink data packet to be offloaded: in the session establishment response, there is an indication that the traffic is allowed to be offloaded, and the APP that generates the uplink data is in the traffic distribution APP list.
  • the base station forwards the uplink packet with the offload label to the local offload data network gateway, and forwards the uplink packet without the offload label to the default data network gateway.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • Step S1 In the process of establishing a session between the terminal and the network side base station, the terminal receives a session establishment response sent by the network side control plane function unit, where the session establishment response carries an indication for indicating whether the session allows local offloading;
  • Step S2 The terminal obtains an APP list from the network-side local offload data network, where the APP recorded in the APP list supports local offloading;
  • Step S3 In the case that the indication session allows local offloading, and the APP that generates the uplink data is in the APP list, the terminal puts a label indicating the local offload on the uplink data packet;
  • Step S4 The terminal sends an uplink data packet indicating the local offload label to the network side base station.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • Step S1 The base station receives an uplink data packet sent by the terminal.
  • Step S2 The base station determines whether the uplink data packet carries a label, where the label is used to indicate whether the local data is offloaded.
  • Step S3 When the uplink data packet carries the label, and the label indicates the local offload, the base station forwards the uplink data packet to the local offload data network gateway of the network side device;
  • Step S4 The base station forwards the uplink data packet to the default data network gateway of the network side device if the local data distribution label is not carried in the uplink data packet, or the label indicates that the local data distribution is not required.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • Step S1 In the process of establishing a session between the base station and the terminal, the control plane function unit determines whether to allow the session local offload according to the user subscription and whether the terminal supports the local offload labeling function of the uplink data packet;
  • Step S2 In the case that it is determined that the session local offload is allowed, the control plane function unit sends a session establishment response to the terminal, where the session establishment response carries an indication that the session local offload is allowed.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供了一种会话建立的方法、装置及系统,其中,该方法包括:在终端与网络侧基站建立会话的过程中,终端接收网络侧控制面功能单元发送的会话建立响应,其中,会话建立响应中携带有用于指示会话是否允许本地分流的指示;终端从网络侧本地分流数据网获取APP列表,其中,APP列表中记录的APP支持本地分流;在指示会话允许本地分流,且产生上行数据的APP在APP列表内的情况下,终端对上行数据包打上指示本地分流的标签;终端将打上指示本地分流标签的上行数据包发送到网络侧基站。通过本发明,解决了相关技术中在进行本地分流时需要在基站部署一个本地分流的功能,或终端为需要分流的业务新建一个PDN连接的问题。

Description

会话建立的方法、装置及系统 技术领域
本发明涉及通信领域,具体而言,涉及一种会话建立的方法、装置及系统。
背景技术
图1是相关技术中4G网络的架构示意图,如图1所示,该网络架构中各网元包括:终端(User Equipment,简称为UE),主要通过无线空口接入4G网络并获得服务,终端通过空口和基站交互信息,通过非接入层信令(Non Access Stratum,简称为NAS)和核心网的移动性管理单元交互信息。
基站(Radio Access Network,简称为RAN),负责终端接入网络的空口资源调度和以及空口的连接管理,还负责检测用户上下行速率,以保证不能超过该用户允许的最大上下行速率。
移动管理单元:核心网控制面单元,主要负责对用户的鉴权、授权以及签约检查,以保证用户是合法用户;用户移动性管理,包括位置注册和临时标识分配;维护IDLE和CONNECT状态以及状态迁移;在CONNECT状态下的切换;分组数据网(Packet Data Network,简称为PDN)连接以及承载的维护,包括创建、修改和删除等会话管理的功能;用户IDLE状态下触发寻呼等功能。
服务网关Serving GW:核心网用户面功能单元,主要负责漫游情况下和PDN GW的交互;用户IDLE状态下收到下行数据包进行缓存并通知MME寻呼用户;跨基站的用户面锚点以及跨2G/3G/4G移动性的用户面锚点等功能。
分组数据网关PDN GW:核心网用户面功能单元,是终端接入PDN网络的接入点,负责分配用户IP地址,网络触发的承载建立、修改和删 除,还具有QoS控制计费等功能,是用户在3GPP系统内以及和非3GPP系统之间切换的锚点,从而保证IP地址不变,保证业务连续性。分组数据网关还负责检测会话上下行速率,以保证不能超过该用户会话所允许的最大上下行速率。
PDN连接指的是UE到PDN GW的数据传输通道,PDN GW为用户分配IP地址,该地址和PDN连接绑定,用户允许利用所分配的地址,通过和该地址绑定的PDN连接和外部应用或者用户进行通讯。在4G中,一个PDN连接只有一个PDN GW。本专利中,会话管理功能即对PDN连接的管理。
随着移动互联网的技术发展,一部分业务由于对时延要求比较敏感,需要部署在靠近用户附近。一些本地业务比如校园网也需要部署在靠近用户位置。为了支持上述业务,通讯网络需要支持本地分流。目前有两种分流方式;
方式1:图2是相关技术中本地分流的结构示意图一,如图2所示在基站上部署一个本地分流功能,该功能通过DPI检测,哪些数据包是需要分流到本地数据网2,哪些是需要路由到数据网1。这种方案的好处是本地分流功能对UE不可见,因此从UE来看,仍然只有一个PDN连接。存在的问题是本地分流功能增加了基站的成本以及数据传输时延,同时因为基站不支持基于会话的最大流量控制,因此对服务质量(Quality of Service,简称为QoS)的支持不够理想。
方式2:图3是相关技术中本地分流的结构示意图二,如图3所示,终端为需要分流的业务新建一个PDN连接。这种方式的好处是如果本地数据网网关能够被网络侧控制,则可以很好的支持业务的QoS。存在的问题是UE需要支持2个PDN连接以及两个IP地址,终端上的应用有一定的要求,需要在两个IP地址中选择一个合适的IP地址。
针对相关技术中的上述问题,目前尚未存在有效的解决方案。
发明内容
本发明实施例提供了一种会话建立的方法、装置及系统,以至少解决相关技术中在进行本地分流时需要在基站部署一个本地分流的功能,或终端为需要分流的业务新建一个PDN连接的问题。
根据本发明实施例的另一个方面,提供了一种会话建立的方法,包括:在终端与网络侧基站建立会话的过程中,所述终端接收网络侧控制面功能单元发送的会话建立响应,其中,所述会话建立响应中携带有用于指示所述会话是否允许本地分流的指示;所述终端从网络侧本地分流数据网获取APP列表,其中,所述APP列表中记录的APP支持本地分流;在所述指示所述会话允许本地分流,且产生上行数据的APP在所述APP列表内的情况下,所述终端对所述上行数据包打上指示本地分流的标签;所述终端将打上指示本地分流标签的上行数据包发送到所述网络侧基站。
进一步地,所述方法还包括:在所述指示所述会话不允许本地分流,或产生上行数据的APP未在所述APP列表内的情况下,所述终端禁止对所述上行数据包打上指示本地分流的标签,或,所述终端对所述上行数据包打上指示无需本地分流的标签;所述终端将未打上指示本地分流标签,或,打上指示无需本地分流标签的上行数据包发送到所述网络侧基站。
进一步地,所述方法还包括:在所述网络侧控制面功能单元与所述终端建立会话之前,所述终端将用于支持对上行数据包打本地分流标签能力的信息通知到所述网络侧控制面功能单元。
进一步地,用于指示所述会话是否允许本地分流的指示为所述网络侧控制面功能单元根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定的。
根据本发明实施例的另一个方面,提供了一种会话建立的方法,应用于网络侧设备的基站侧,所述方法包括:所述基站接收终端发送的上行数据包;所述基站确定所述上行数据包是否携带有标签,其中,所述标签用于指示是否本地分流;在所述上行数据包中携带所述标签,且所述标签指 示本地分流的情况下,所述基站将所述上行数据包转发到所述网络侧设备的本地分流数据网网关;在所述上行数据包中未携带所述本地分流标签,或所述标签指示无需本地分流的情况下,所述基站将所述上行数据包转发到所述网络侧设备的缺省数据网网关。
进一步地,所述本地分流数据网本地存储有APP列表,其中,所述APP列表中记录的APP支持本地分流。
进一步地,在所述基站接收终端发送的上行数据包之前,所述方法还包括:所述基站获取所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围;所述基站将所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围转发到网络侧设备的控制面功能单元。
根据本发明实施例的再一个方面,提供了一种会话建立的方法,应用于网络侧设备的控制面功能单元侧,所述方法包括:在基站与终端建立会话的过程中,所述控制面功能单元根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分流;在确定允许会话本地分流的情况下,所述控制面功能单元向终端发送会话建立响应,其中,所述会话建立响应中携带有允许会话本地分流的指示。
进一步地,所述方法还包括:在控制面功能单元与终端建立会话之前,所述控制面功能单元接收终端通知的用于支持对上行数据包打本地分流标签能力的信息。
进一步地,所述方法还包括:所述控制面功能单元接收并保存基站发送的本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围;所述控制面功能单元根据所述本地分流数据网关地址为所述会话建立基站与本地分流数据网关数据之间的转发路径。
进一步地,所述控制面功能单元为用户分配的注册位置列表不超过所述本地分流数据网关的服务区域范围。
根据本发明实施例的再一个方面,提供了一种会话建立的方法,包括: 在终端与网络侧设备建立会话的过程中,所述终端获取所述网络侧设备发送的会话建立响应,其中,所述会话建立响应中携带有用于指示所述会话是否允许本地分流的指示;所述终端从所述网络侧设备获取APP列表,其中,所述APP列表中记录的APP支持本地分流;在所述指示所述会话允许本地分流,且产生上行数据的APP在所述APP列表内的情况下,所述终端对所述上行数据包打上指示本地分流的标签;所述终端将打上指示本地分流标签的上行数据包发送到所述网络侧设备。
进一步地,所述方法还包括:在所述指示所述会话不允许本地分流,或产生上行数据的APP未在所述APP列表内的情况下,所述终端禁止对所述上行数据包打上指示本地分流的标签,或,所述终端对所述上行数据包打上指示无需本地分流的标签;所述终端将未打上指示本地分流标签,或,打上指示无需本地分流标签的上行数据包发送到所述网络侧设备。
进一步地,所述方法还包括:在所述终端发起建立会话之前,所述终端将用于支持对上行数据包打本地分流标签能力的信息通知到所述网络侧设备。
进一步地,用于指示所述会话是否允许本地分流的指示为所述网络侧设备根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定的。
根据本发明的又一个方面,提供了一种会话建立的方法,所述方法包括:网络侧设备接收终端发送的上行数据包;所述网络侧设备确定所述上行数据包是否携带有标签,其中,所述标签用于指示是否本地分流;在所述上行数据包中携带所述标签,且所述标签指示本地分流的情况下,所述网络侧设备将所述上行数据包转发到本地分流数据网网关;在所述上行数据包中未携带所述本地分流标签,或所述标签指示无需本地分流的情况下,所述网络侧设备将所述上行数据包转发到的缺省数据网网关。
进一步地,所述方法还包括:所述网络侧设备获取并保存所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围,其中, 所述本地分流数据网本地存储有APP列表,所述APP列表中记录的APP支持本地分流;所述网络侧设备根据所述本地分流数据网关地址为所述会话建立与本地分流数据网关数据之间的转发路径。
进一步地,所述网络侧设备为用户分配的注册位置列表不超过所述本地分流数据网关的服务区域范围。
进一步地,在网络侧设备接收终端发送的上行数据包之前,所述方法还包括:所述网络侧设备接收所述终端通知的用于支持对上行数据包打本地分流标签能力的信息;所述网络侧设备根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分流;在确定允许会话本地分流的情况下,所述网络侧设备向终端发送会话建立响应,其中,所述会话建立响应中携带有允许会话本地分流的指示。
根据本发明实施例又一个方面,提供了一种会话建立的装置,应用于终端侧,包括:处理器;用于存储所述处理器可执行指令的存储器;用于接收或者发送所述处理器与网络之间传输数据的传输装置;其中,所述传输装置用于在终端与网络侧设备建立会话的过程中,获取所述网络侧设备发送的会话建立响应,以及用于从所述网络侧设备获取APP列表,其中,所述会话建立响应中携带有用于指示所述会话是否允许本地分流的指示;所述APP列表中记录的APP支持本地分流;所述处理器,用于在所述指示所述会话允许本地分流,且产生上行数据的APP在所述APP列表内的情况下,对所述上行数据包打上指示本地分流的标签;所述传输装置,还用于将打上指示本地分流标签的上行数据包发送到所述网络侧设备。
进一步地,所述处理器,还用于在所述指示所述会话不允许本地分流,或产生上行数据的APP未在所述APP列表内的情况下,禁止对所述上行数据包打上指示本地分流的标签,或,对所述上行数据包打上指示无需本地分流的标签;所述传输装置,还用于将禁止打上指示本地分流标签,或,打上指示无需本地分流标签的上行数据包发送到所述网络侧设备。
进一步地,所述传输装置,还用于在所述终端发起建立会话之前,所 述终端将用于支持对上行数据包打本地分流标签能力的信息通知到所述网络侧设备。
根据本发明实施例的又一个方面,提供了一种会话建立的装置,应用于网络侧设备的基站侧,所述装置包括:第一接收模块,用于接收终端发送的上行数据包;第一确定模块,用于确定所述上行数据包是否携带有标签,其中,所述标签用于指示是否本地分流;第一转发模块,用于在所述上行数据包中携带所述标签,且所述标签指示本地分流的情况下,将所述上行数据包转发到所述网络侧设备的本地分流数据网网关;第二转发模块,用于在所述上行数据包中未携带所述本地分流标签,或所述标签指示无需本地分流的情况下,将所述上行数据包转发到所述网络侧设备的缺省数据网网关。
进一步地,所述本地分流数据网本地存储有APP列表,其中,所述APP列表中记录的APP支持本地分流。
进一步地,所述装置还包括:获取模块,用于在接收模块接收终端发送的上行数据包之前,获取所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围;第三转发模块,用于将所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围转发到网络侧设备的控制面功能单元。
根据本发明实施例的又一个方面,提供了一种会话建立的装置,应用于网络侧设备的控制面功能单元侧,包括:第二确定模块,用于在基站与终端建立会话的过程中,根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分流;发送模块,用于在确定允许会话本地分流的情况下,向终端发送会话建立响应,其中,所述会话建立响应中携带有允许会话本地分流的指示。
进一步地,所述装置还包括:第二接收模块,用于在基站与终端建立会话之前,接收终端通知的用于支持对上行数据包打本地分流标签能力的信息。
进一步地,所述装置还包括:处理模块,用于接收并保存基站发送的本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围;建立模块,用于根据所述本地分流数据网关地址为所述会话建立基站与本地分流数据网关数据之间的转发路径。
进一步地,所述控制面功能单元为用户分配的注册位置列表不超过所述本地分流数据网关的服务区域范围。
根据本发明实施例的又一个方面,提供了一种会话建立的系统,包括:上述应用于终端的侧会话建立的装置、上述应用于基站侧会话建立的装置、上述应用于控制面功能单元侧的会话建立的装置。
通过本发明实施例,终端会在指示会话允许本地分流,且产生上行数据的APP在APP列表内的情况下,对上行数据包打上指示本地分流的标签,并将打上标签的上行数据包发送到基站;可见,APP无需关心是否本地分流,减少了对应用的影响;另外,因为UE知道上行数据报文来自什么应用,并打上是否分流的标签,从而基站无需做报文检测,减少了基站的成本和处理时延;解决了相关技术中在进行本地分流时需要在基站部署一个本地分流的功能,或终端为需要分流的业务新建一个PDN连接的问题。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是相关技术中4G网络的架构示意图;
图2是相关技术中本地分流的结构示意图一;
图3是相关技术中本地分流的结构示意图二;
图4是根据本发明实施例的会话建立的方法的终端的硬件结构框图;
图5是根据本发明实施例的会话建立的方法的流程图一;
图6是根据本发明实施例的会话建立的方法的流程图二;
图7是根据本发明实施例的会话建立的方法的流程图三;
图8是根据本发明实施例的会话建立的装置的结构框图一;
图9是根据本发明实施例的会话建立的装置的结构框图二;
图10是根据本发明实施例的会话建立系统的结构示意图;
图11是根据本发明实施例的本地分流数据网关的地址信息的转发流程图;
图12是根据本发明实施例的会话建立方法的流程图;
图13是根据本发明实施例的用户位置更新方法的流程图;
图14是根据本发明实施例的用户从空闲态主动发起业务的业务请求方法的流程图;
图15是根据本发明实施例的终端从APP管理单元获取分流APP列表以及对上行数据打分流标签的方法流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在终端上为例,图4是根据本发明实施例的会话建立的方法的终端的硬件结构框图。如图4所示,移动终端10可以包括一个或多个(图4中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、 用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图4所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图4中所示更多或者更少的组件,或者具有与图4所示不同的配置。
存储器104可用于存储应用软件的软件程序以及模块,如本发明实施例中的会话建立的方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
在本实施例中提供了一种运行于上述终端的会话建立的方法,图5是根据本发明实施例的会话建立的方法的流程图一,如图5所示,该流程包括如下步骤:
步骤S502:在终端与网络侧基站建立会话的过程中,终端接收网络侧控制面功能单元发送的会话建立响应,其中,会话建立响应中携带有用于指示会话是否允许本地分流的指示;
步骤S504:终端从网络侧本地分流数据网获取APP列表,其中,APP列表中记录的APP支持本地分流;
步骤S506:在指示会话允许本地分流,且产生上行数据的APP在APP列表内的情况下,终端对上行数据包打上指示本地分流的标签;
步骤S508:终端将打上指示本地分流标签的上行数据包发送到网络侧基站。
通过本实施例的上述步骤S502至步骤S508,终端会在指示会话允许本地分流,且产生上行数据的APP在APP列表内的情况下,对上行数据包打上指示本地分流的标签,并将打上标签的上行数据包发送到基站;可见,APP无需关心是否本地分流,减少了对应用的影响;另外,因为UE知道上行数据报文来自什么应用,并打上是否分流的标签,从而基站无需做报文检测,减少了基站的成本和处理时延;解决了相关技术中在进行本地分流时需要在基站部署一个本地分流的功能,或终端为需要分流的业务新建一个PDN连接的问题。
在本实施例的另一个可选实施例中,本实施例的方法还包括:
步骤S510:在指示会话不允许本地分流,或产生上行数据的APP未在APP列表内的情况下,终端禁止对上行数据包打上指示本地分流的标签,或,终端对上行数据包打上指示无需本地分流的标签;
步骤S512:终端将未打上指示本地分流标签,或,打上指示无需本地分流标签的上行数据包发送到网络侧基站。
在本实施例的另一个可选实施方式中,本实施例的方法还可以包括:在网络侧控制面功能单元与终端建立会话之前,终端将用于支持对上行数据包打本地分流标签能力的信息通知到网络侧控制面功能单元。其中,用于指示会话是否允许本地分流的指示为网络侧控制面功能单元根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定的。
实施例2
图6是根据本发明实施例的会话建立的方法的流程图二,该方法应用于网络侧设备的基站侧,如图6所示,该方法的步骤包括:
步骤S602:基站接收终端发送的上行数据包;
步骤S604:基站确定上行数据包是否携带有标签,其中,标签用于指示是否本地分流;
步骤S606:在上行数据包中携带标签,且标签指示本地分流的情况下,基站将上行数据包转发到网络侧设备的本地分流数据网网关;
步骤S608:在上行数据包中未携带本地分流标签,或标签指示无需本地分流的情况下,基站将上行数据包转发到网络侧设备的缺省数据网网关。
通过上述步骤S602至步骤S608,由于UE确定发送上行数据报文APP是否在APP列表中,并打上是否分流的标签,从而基站无需做报文检测,减少了基站的成本和处理时延。
需要说明的是,本地分流数据网本地存储有APP列表,其中,APP列表中记录的APP支持本地分流。
在本实施例的一个可选实施例中,在基站接收终端发送的上行数据包之前,本实施例的方法还可以包括:
步骤S610:基站获取本地分流数据网网关地址和本地分流数据网关对应的服务区域范围;
步骤S612:基站将本地分流数据网网关地址和本地分流数据网关对应的服务区域范围转发到网络侧设备的控制面功能单元。
实施例3
图7是根据本发明实施例的会话建立的方法的流程图三,该方法应用于网络侧设备的控制面功能单元侧,如图7所示,该方法的步骤包括:
步骤S702:在基站与终端建立会话的过程中,控制面功能单元根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分流;
步骤S704:在确定允许会话本地分流的情况下,控制面功能单元向终端发送会话建立响应,其中,会话建立响应中携带有允许会话本地分流 的指示。
通过上述步骤S702和步骤S704,控制面功能单元项有能力对上行数据包打本地分流标签的终端发送允许会话本地分流的指示。
此外,本实施例的方法还可以包括:
步骤S706:在控制面功能单元与终端建立会话之前,控制面功能单元接收终端通知的用于支持对上行数据包打本地分流标签能力的信息。
步骤S708:控制面功能单元接收并保存基站发送的本地分流数据网网关地址和本地分流数据网关对应的服务区域范围;
步骤S710:控制面功能单元根据本地分流数据网关地址为会话建立基站与本地分流数据网关数据之间的转发路径。
其中,控制面功能单元为用户分配的注册位置列表不超过本地分流数据网关的服务区域范围。
实施例4
上述实施例1至实施例3是分别从终端、基站、控制面功能单元进行的描述,本实施例将基站、控制面功能单元作为一个整体(网络侧设备),与终端进行交互的描述。
对于终端侧而言,本实施例会话建立的的方法步骤包括:
步骤S802:在终端与网络侧设备建立会话的过程中,终端获取网络侧设备发送的会话建立响应,其中,会话建立响应中携带有用于指示会话是否允许本地分流的指示;
步骤S804:终端从网络侧设备获取APP列表,其中,APP列表中记录的APP支持本地分流;
步骤S806:在指示会话允许本地分流,且产生上行数据的APP在APP列表内的情况下,终端对上行数据包打上指示本地分流的标签;
步骤S808:终端将打上指示本地分流标签的上行数据包发送到网络侧设备。
其中,在指示会话不允许本地分流,或产生上行数据的APP未在APP列表内的情况下,终端禁止对上行数据包打上指示本地分流的标签,或,终端对上行数据包打上指示无需本地分流的标签;终端将未打上指示本地分流标签,或,打上指示无需本地分流标签的上行数据包发送到网络侧设备。
此外,本实施例的方法还可以包括:在终端发起建立会话之前,终端将用于支持对上行数据包打本地分流标签能力的信息通知到网络侧设备。其中,用于指示会话是否允许本地分流的指示为网络侧设备根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定的。
对于网络侧设备而言,本实施例会话建立的方法步骤包括:
步骤S902:网络侧设备接收终端发送的上行数据包;
步骤S904:网络侧设备确定上行数据包是否携带有标签,其中,标签用于指示是否本地分流;
步骤S906:在上行数据包中携带标签,且标签指示本地分流的情况下,网络侧设备将上行数据包转发到本地分流数据网网关;
步骤S908:在上行数据包中未携带本地分流标签,或标签指示无需本地分流的情况下,网络侧设备将上行数据包转发到的缺省数据网网关。
此外,本实施例的方法还可以包括:
步骤S910:网络侧设备获取并保存本地分流数据网网关地址和本地分流数据网关对应的服务区域范围,其中,本地分流数据网本地存储有APP列表,APP列表中记录的APP支持本地分流;
步骤S912:网络侧设备根据本地分流数据网关地址为会话建立与本地分流数据网关数据之间的转发路径。其中,网络侧设备为用户分配的注册位置列表不超过本地分流数据网关的服务区域范围。
步骤S914:在网络侧设备接收终端发送的上行数据包之前,网络侧设备接收终端通知的用于支持对上行数据包打本地分流标签能力的信息;
步骤S916:网络侧设备根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分流;
步骤S918:在确定允许会话本地分流的情况下,网络侧设备向终端发送会话建立响应,其中,会话建立响应中携带有允许会话本地分流的指示。
实施例5
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
本实施例提供了一种会话建立的装置的,该装置应用于终端侧,与图4所示的终端对应,该装置包括:处理器;用于存储处理器可执行指令的存储器;用于接收或者发送处理器与网络之间传输数据的传输装置;其中,传输装置用于在终端与网络侧设备建立会话的过程中,获取网络侧设备发送的会话建立响应,以及用于从网络侧设备获取APP列表,其中,会话建立响应中携带有用于指示会话是否允许本地分流的指示;APP列表中记录的APP支持本地分流;处理器,用于在指示会话允许本地分流,且产生上行数据的APP在APP列表内的情况下,对上行数据包打上指示本地分流的标签;传输装置,还用于将打上指示本地分流标签的上行数据包发送到网络侧设备。
其中,该处理器,还用于在指示会话不允许本地分流,或产生上行数据的APP未在APP列表内的情况下,禁止对上行数据包打上指示本地分流的标签,或,对上行数据包打上指示无需本地分流的标签;传输装置, 还用于将禁止打上指示本地分流标签,或,打上指示无需本地分流标签的上行数据包发送到网络侧设备。
此外,该传输装置,还用于在终端发起建立会话之前,终端将用于支持对上行数据包打本地分流标签能力的信息通知到网络侧设备。
实施例6
图8是根据本发明实施例的会话建立的装置的结构框图一,该装置应用于网络侧设备的基站侧,如图8所示,该装置包括:第一接收模块82,设置为接收终端发送的上行数据包;第一确定模块84,与第一接收模块82耦合连接,设置为确定上行数据包是否携带有标签,其中,标签用于指示是否本地分流;第一转发模块86,与第一确定模块84耦合连接,设置为在上行数据包中携带标签,且标签指示本地分流的情况下,将上行数据包转发到网络侧设备的本地分流数据网网关;第二转发模块88,与第一转发模块86耦合连接,设置为在上行数据包中未携带本地分流标签,或标签指示无需本地分流的情况下,将上行数据包转发到网络侧设备的缺省数据网网关。
可选地,本地分流数据网本地存储有APP列表,其中,APP列表中记录的APP支持本地分流。
可选地,装置还包括:获取模块,设置为在接收模块接收终端发送的上行数据包之前,获取本地分流数据网网关地址和本地分流数据网关对应的服务区域范围;第三转发模块,设置为将本地分流数据网网关地址和本地分流数据网关对应的服务区域范围转发到网络侧设备的控制面功能单元。
实施例7
图9是根据本发明实施例的会话建立的装置的结构框图二,该装置应用于网络侧设备的控制面功能单元侧,如图9所示,该装置包括:第二确定模块92,设置为在基站与终端建立会话的过程中,根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分 流;发送模块94,与第二确定模块92耦合连接,设置为在确定允许会话本地分流的情况下,向终端发送会话建立响应,其中,会话建立响应中携带有允许会话本地分流的指示。
可选地,该装置还包括:第二接收模块,设置为在基站与终端建立会话之前,接收终端通知的用于支持对上行数据包打本地分流标签能力的信息。
以及,处理模块,设置为接收并保存基站发送的本地分流数据网网关地址和本地分流数据网关对应的服务区域范围;建立模块,设置为根据本地分流数据网关地址为会话建立基站与本地分流数据网关数据之间的转发路径。
其中,控制面功能单元为用户分配的注册位置列表不超过本地分流数据网关的服务区域范围。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例8
本实施例还提供了一种会话建立的系统,其中,包括实施例5中应用于终端的侧会话建立的装置、实施例6中应用于基站侧会话建立的装置、以及实施例7中应用于控制面功能单元侧的会话建立的装置。
实施例9
图10是根据本发明实施例的会话建立系统的结构示意图,如图10所示,一个PDN连接能够支持一个缺省数据网关和一个本地分流数据网关。缺省数据网网关位于网络侧,功能和传统分组数据网关类似,为用户分配IP地址,该网关和业务相关,和部署的位置无关。当用户移动的时候,通过该缺省数据网网关提供会话连续性。
本地分流分组数据网关位于靠近基站的附近,提供本地分流功能,不需要为用户分配IP地址。本地分流数据网关和部署的位置相关,每个本 地分流数据网网关均至少和一个服务区域对应。当用户移动出该服务区域之后,需要重新选择一个新的本地分流数据网关以提供本地分流功能。
其中,在本地数据网中有一个应用APP管理服务单元,用于管理能够提供本地分流的应用列表。在终端建立PDN连接之后,本地数据网中的APP管理单元向UE发送能够本地分流的APP列表。终端判断上行数据是否来自需要本地分流的APP,以及当前的会话是否允许分流,则在上行数据包中带上一个标签,指示是否需要本地分流。当基站收到上行数据包后,如果指示需要本地分流,则转发给本地分流数据网关,如果指示不需要本地分流,则转发给缺省数据网关。
需要说明的是,本实施例中的控制面功能单元可以是移动性管理功能和/或会话管理功能,移动性管理功能处理移动性管理,会话管理功能用于会话管理即PDN连接的维护。本地分流数据网关和缺省数据网关也可以支持控制面和用户面分离的场景,这样控制面功能单元可以包括网关的控制面。
可见,在本实施例中,一个PDN连接能够支持2个数据网关,一个为需要会话连续性的业务服务,一个需要为本地分流的业务服务,由终端根据网络提供的信息自己决策是否分流,并在上行数据包中打上指示是否分流的标签,从而避免了相关技术中在基站上做流检测,减少了基站成本和处理时延,同时因为一个会话只有一个IP地址,从而减少了对应用的影响。
也就是说,对终端应用而言,只需要获取一个由缺省数据网关分配的IP地址,APP无需关心是否本地分流,减少了对应用的影响;另外,因为UE知道上行数据报文来自什么应用,并打上是否分流的标签,从而基站无需做报文检测,减少了基站的成本和处理时延;当基站附近没有本地网络的时候,终端仍然能够使用原有的缺省数据网关接入业务,并且提供会话连续性,从而提供很好的系统兼容。
实施例10
在用户在注册时,基站将本地分流数据网关的地址信息发送给核心网控制面功能单元进行保存。如果控制面功能单元进一步分解为移动性管理单元和会话管理单元,则本实施例中的移动管理单元特指移动性管理单元;图11是根据本发明实施例的本地分流数据网关的地址信息的转发流程图,如图11所示,该方法的步骤包括:
步骤S1101,终端和基站之间建立无线资源连接(Radio Resource Connection,简称为RRC)连接;
其中,UE和基站之间建立一个空口的信令连接,后续UE和基站之间的信息交互都通过该连接。
步骤S1102,终端通过RRC连接,向基站发起注册请求,该消息中带有用户永久标识国际移动用户识别码(International Mobile Subscriber Identification Number,简称为IMSI),以及终端的能力信息,该能力信息中包含本终端是否支持对上行数据打本地分流标签的能力。
步骤S1103,基站根据负荷分担的方式选择一个控制面功能单元,并向所选择的控制面功能单元转发注册请求消息,带上用户当前位置信息。
其中,如果基站支持本地网分流,则基站将本地分流数据网关的地址信息带给移动管理单元,可选的,基站还将该本地分流数据网关的服务区域一起带给控制面功能单元。
步骤S1104,控制面功能单元保存本地分流数据网网关地址信息和对应的服务区域信息。根据IMSI从鉴权中心获取密钥,并按照认证算法计算鉴权请求信息,然后向终端发起鉴权请求。
步骤S1105,终端首先对网络进行鉴权,成功之后,终端计算鉴权响应信息,并发送给控制面功能单元,控制面功能单元接收终端返回的鉴权响应信息,检查终端是否合法。鉴权成功之后,控制面功能单元向基站发起安全模式命令,基站和UE之间对空口信息进行加密和完整性保护,UE和控制面功能单元之间的NAS信令也进行完整性保护。
步骤S1106,控制面功能单元从归属用户服务器(Home Subscriber  Server,简称为HSS)获取签约信息并进行签约检查,主要检查是否允许用户在当前位置接入。
步骤S1107,如果签约检查通过,控制面功能单元根据用户当前小区信息分配用户注册位置列表,并分配临时标识,通过基站向终端返回注册接受消息,带有分配的注册位置列表以及临时标识。
其中,如果基站提供了本地分流数据网关地址和对应的服务区域信息,则该注册位置列不能超过本地分流网关的服务区域。分配的临时标识能够唯一指定分配该临时标识的控制面功能单元。
步骤S1108,终端保存注册位置列表和临时标识,并向控制面功能单元返回注册完成消息。后续终端将使用临时标识接入网络,避免使用永久标识IMSI,从而提高安全性。当终端在注册位置列表中的区域移动的时候,无需通知网络,当终端移出注册位置列表的时候,需要发起位置更新过程,通知网络最新位置信息,网络在该过程中根据最新位置信息重新分配注册位置列表和临时标识。终端在注册位置列表中的区域内移动的时候,还需要周期性的发起位置更新通知网络,以便于网络检测终端不可达。
实施例11
图12是根据本发明实施例的会话建立方法的流程图,如图12所示,该方法的步骤包括:
步骤S1201,终端和基站之间建立RRC连接,
其中,UE和基站之间建立一个空口的信令连接,后续UE和基站之间的信息交互都通过该连接。
步骤S1202,终端通过RRC连接,向基站发起会话建立请求;
其中,该会话建立请求中带有用户临时标识,以及会话连接的类型(IPv4、IPv6、非IP等)以及数据网名字。
步骤S1203,基站根据用户临时标识将该会话建立请求消息发送给分配临时标识的控制面功能单元。
步骤S1204,控制面功能单元进行签约检查,以确认用户是否允许建立所请求的会话;
其中,例如检查请求的会话连接类型和数据网名字是否签约等。如果用户没有带上请求的会话连接类型和数据网名字,则控制面功能单元根据签约选择一个缺省的会话连接类型和数据网名字。
步骤S1205,控制面功能单元根据终端请求的或者是缺省的会话连接类型和数据网名字,通过DNS查找对应的缺省数据网关地址。
步骤S1206,控制面功能单元向选择的缺省数据网网关地址发送会话建立请求,消息中带有IMSI、会话连接类型和数据网名字。
步骤S1207,缺省数据网网关根据收到信息,根据本地策略确定该会话的QoS信息,建立该会话相关的上下文。
其中,缺省数据网关还可能进一步和策略计费中心(Policy and Charging Rule Function,简称为PCRF)交互,进一步确定所需的QoS和计费策略。该缺省数据网网关向控制面功能单元返回建立会话响应消息,其中带有本会话相关的上下行QoS参数,例如上下行数据流描述、对应的QoS优先级/标签、和会话相关上下行最大速率等。缺省数据网网关分配会话相关信息,并将该会话信息返回控制面功能单元。
步骤S1208,如果所控制面功能单元选择的数据网名字相关用户签约中允许本地分流,则控制面功能单元判断该会话允许分流,控制面功能单元在决策过程中还可能考虑终端的能力是否支持对上行数据打本地分流标签。如果该会话允许分流且控制面功能单元保存有用户当前接入位置的本地数据网网关地址,则控制面功能单元向本地数据网网关发起建立会话请求,消息中带有IMSI和从缺省数据网网关收到的会话QoS参数,例如下行数据流描述,QoS优先级/标签、会话相关上下行最大速率等信息。如果无需向本地数据网网关建立会话,则执行步骤S1210。
步骤S1209,本地数据网网关建立该用户会话相关上下文,保存IMSI和会话QoS等信息,并返回控制面功能单元建立会话响应。本地分流数据 网网关分配会话相关信息,并将该会话信息返回控制面功能单元。
步骤S1210,控制面功能单元向基站发起无线资源建立请求,其中,带有QoS相关信息,以及缺省数据网网关的会话信息,如果建立了到本地分流数据网关的会话,则还带有本地分流数据网网关所分配的会话相关信息。
步骤S1211,终端与基站进行无线资源配置;
步骤S1212,基站和UE之间进行信息交互,为该会话分配空口资源,建立空口无线通道,然后基站分配会话相关信息,并向控制面功能单元返回无线资源建立响应,带有基站分配的会话信息。
步骤S1213,控制面功能单元向缺省数据网关发送更新会话请求,将基站分配的会话信息发送给缺省数据网关。
步骤S1214,缺省数据网关向控制面功能单元返回更新会话响应。
步骤S1215,如果建立了到本地分流数据网关的会话,控制面功能单元向本地分流数据网关发送更新会话请求,将基站分配的会话信息发送给本地分流数据网关。如果没有建立到本地分流数据网关的会话,则忽略步骤S1215和S1216。
步骤S1216,本地分流数据网关向控制面功能单元返回更新会话响应。
步骤S1217,控制面功能单元向终端返回会话建立响应。如果在步骤S1208中判断本会话允许本地分流,则在会话建立响应中带上允许本地分流指示。
在会话建立之后,终端可能利用DHCP方式通过该会话连接向网络申请IP地址。相关的过程中,终端在上行DHCP数据包上不打分流标签,从而保证IP地址来自于缺省数据网关,而不是本地分流数据网关。
当该会话相关的QoS信息被缺省数据网关修改的时候,控制面功能单元需要及时同步给本地分流数据网网关。当用户建立多个会话的时候,本地分流数据网网关需要保存该用户的多个会话上下文信息。当会话被删除 之后,控制面功能单元需要及时通知本地分流数据网网关删除相应的会话上下文信息。
实施例12
在本实施例中当用户移出控制面功能单元分配的位置区列表的时候,发起位置更新,图13是根据本发明实施例的用户位置更新方法的流程图,如图13所示,该方法的步骤包括:
步骤S1301,终端和基站之间建立RRC连接;
其中,UE和基站之间建立一个空口的信令连接,后续UE和基站之间的信息交互都通过该连接。
步骤S1302,终端通过RRC连接,向基站发起位置更新请求,该请求中带有用户临时标识。
步骤S1303,基站根据用户当前位置选择新的控制面功能单元,然后将该会话建立请求消息发送给新的控制面功能单元,带上用户当前位置信息。
其中,如果基站支持本地网分流且配置有本地分流数据网网关地址信息,则基站将本地分流数据网关的地址信息带给新的控制面功能单元,可选的,基站还将该本地分流数据网关的服务区域信息一起带给控制面功能单元。
步骤S1304,新的控制面功能单元保存本地分流数据网网关地址信息和/或对应的服务区域信息。根据用提供的临时标识,新的控制面单元从旧的控制面单元获取用户上下文。
其中,可选的控制面功能单元可以发起对UE的鉴权过程,成功之后更新基站的安全密钥。此外,该新控制面功能单元还从HSS获取签约信息并进行签约检查,主要检查是否允许用户在当前位置接入。
步骤S1305,新的控制面功能单元向缺省数据网网关发起会话更新请求。
步骤S1306,缺省数据网网关保存新的控制面功能单元信息,并返回会话更新响应。
步骤S1307,如果该用户有会话允许本地分流,且新控制面功能单元收到基站发送的新本地数据网网关地址,则向新的本地数据网网关发起建立会话请求;
其中,该请求中带有IMSI和保存的会话QoS参数,例如下行数据流描述,QoS优先级/标签、会话相关上下行最大速率等信息。如果没有会话允许本地分流,或者基站没有发送新本地数据网网关信息,则执行步骤S1309。
步骤S1308,本地数据网网关建立该用户相关上下文,保存IMSI和会话QoS等信息,并返回控制面功能单元建立会话响应。本地分流数据网网关分配会话相关信息,并将该会话信息返回控制面功能单元。
其中,如果有多个会话允许本地分流,则新控制面功能单元需要建立多个到新本地数据网网关的会话。
步骤S1309,如果用户当前位置已经移出了旧的本地数据网网关的服务区域,则控制面功能单元向旧的数据网网关发起删除会话请求,带有用户IMSI。
步骤S1310,旧的数据网网关收到删除会话请求之后,删除该用户的上下文,并返回控制面功能单元删除会话响应。
步骤S1311,控制面功能单元根据用户当前小区信息分配用户注册位置列表,并分配临时标识,通过基站向终端返回位置更新接受消息,带有分配的注册位置列表以及临时标识。
其中,如果基站提供了本地分流数据网关和对应的服务区域,则分配注册位置列表的时候,需要注意分配的注册位置列表不能超过本地分流网关的服务区域。分配的临时标识能够唯一指定分配该临时标识的控制面功能单元。
步骤S1312,终端保存注册位置列表和临时标识,并向控制面功能单 元返回位置更新完成消息。
实施例12
图14是根据本发明实施例的用户从空闲态主动发起业务的业务请求方法的流程图,如图14所示,该方法的步骤包括:
步骤S1401,终端和基站之间建立RRC连接;
其中,UE和基站之间建立一个空口的信令连接,后续UE和基站之间的信息交互都通过该连接。具体的建立过程不是本专利发明内容因此忽略。
步骤S1402,终端通过RRC连接,向基站发起业务请求消息,该请求消息中带有用户临时标识。
步骤S1403,基站临时标识将该会话建立请求消息发送给分配该临时标识的控制面功能单元。
步骤S1404,控制面功能单元向基站发起无线资源建立请求;
其中,该请求中携带有QoS相关信息,以及缺省数据网网关的会话信息,如果建立了到本地分流数据网网关的会话,则该请求中还携带有本地分流数据网网关所分配的会话相关信息。
步骤S1405,基站与终端进行无线资源配置;
步骤S1406,基站和UE之间进行信息交互,为该会话分配空口资源,建立空口无线通道,然后基站分配会话相关信息,并向控制面功能单元返回无线资源建立响应,带有基站分配的会话信息。
步骤S1407,控制面功能单元向缺省数据网关发送更新会话请求,将基站分配的会话信息发送给缺省数据网关。
步骤S1408,缺省数据网关向控制面功能单元返回更新会话响应。
步骤S1409,如果建立了到本地分流数据网网关的会话,控制面功能单元向本地分流数据网关发送更新会话请求,将基站分配的会话信息发送给本地分流数据网关。如果没有建立到本地分流数据网网关的会话,则忽 略步骤S1409和S1410。
步骤S1410,本地分流数据网关向控制面功能单元返回更新会话响应。
步骤S1411,控制面功能单元向终端返回业务请求接收消息。
实施例14
在本实施例中终端从APP管理单元获取分流APP列表以及对上行数据打分流标签,该APP管理单元维护本地网中APP相关信息。
图15是根据本发明实施例的终端从APP管理单元获取分流APP列表以及对上行数据打分流标签的方法流程图,如图15所示,有三种方式触发APP管理单元向终端发送分流APP列表信息:一种是UE主动请求发送,如步骤S1501所示;一种是本地分流数据网网关通知发送,如步骤S1502所示;一种是APP管理单元主动发送如步骤S1503所示。
步骤S1501,终端可以根据需要,比如本地分流APP信息的定时器超时之后,主动向APP管理单元发起配置请求消息,该消息中带有终端操作系统信息,可选的还带有终端上应用列表。终端在对该消息打上分流标记,基站将该消息转发给本地分流数据网网关,本地分流数据网网关识别出该消息并转发给本地的APP管理单元。终端也可以利用该消息向APP管理单元询问特定APP是否支持本地分流。
步骤S1502,当本地分流数据网网关检测到有新用户接入的时,主动通知APP管理单元下发分流APP列表信息。
步骤S1503,当APP管理单元检测到在本地网中有新APP加载或者删除的时候,需要更新终端上的分流APP配置信息。
步骤S1504,APP管理单元向UE下发分流APP列表信息。
其中,终端在下述条件都满足的时,对上行数据包打指示分流的标签:在会话建立响应中有允许分流的指示,产生上行数据的APP在分流APP列表内。基站将带有分流标签的上行数据包转发到本地分流数据网网关,将没有带分流标签的上行包转发到缺省数据网网关。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
步骤S1:在终端与网络侧基站建立会话的过程中,终端接收网络侧控制面功能单元发送的会话建立响应,其中,会话建立响应中携带有用于指示会话是否允许本地分流的指示;
步骤S2:终端从网络侧本地分流数据网获取APP列表,其中,APP列表中记录的APP支持本地分流;
步骤S3:在指示会话允许本地分流,且产生上行数据的APP在APP列表内的情况下,终端对上行数据包打上指示本地分流的标签;
步骤S4:终端将打上指示本地分流标签的上行数据包发送到网络侧基站。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
步骤S1:基站接收终端发送的上行数据包;
步骤S2:基站确定上行数据包是否携带有标签,其中,标签用于指示是否本地分流;
步骤S3:在上行数据包中携带标签,且标签指示本地分流的情况下,基站将上行数据包转发到网络侧设备的本地分流数据网网关;
步骤S4:在上行数据包中未携带本地分流标签,或标签指示无需本地分流的情况下,基站将上行数据包转发到网络侧设备的缺省数据网网关。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
步骤S1:在基站与终端建立会话的过程中,控制面功能单元根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分流;
步骤S2:在确定允许会话本地分流的情况下,控制面功能单元向终端发送会话建立响应,其中,会话建立响应中携带有允许会话本地分流的指示。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (31)

  1. 一种会话建立的方法,包括:
    在终端与网络侧基站建立会话的过程中,所述终端接收网络侧控制面功能单元发送的会话建立响应,其中,所述会话建立响应中携带有用于指示所述会话是否允许本地分流的指示;
    所述终端从网络侧本地分流数据网获取APP列表,其中,所述APP列表中记录的APP支持本地分流;
    在所述指示所述会话允许本地分流,且产生上行数据的APP在所述APP列表内的情况下,所述终端对所述上行数据包打上指示本地分流的标签;
    所述终端将打上指示本地分流标签的上行数据包发送到所述网络侧基站。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    在所述指示所述会话不允许本地分流,或产生上行数据的APP未在所述APP列表内的情况下,所述终端禁止对所述上行数据包打上指示本地分流的标签,或,所述终端对所述上行数据包打上指示无需本地分流的标签;
    所述终端将未打上指示本地分流标签,或,打上指示无需本地分流标签的上行数据包发送到所述网络侧基站。
  3. 根据权利要求1所述的方法,其中,所述方法还包括:
    在所述网络侧控制面功能单元与所述终端建立会话之前,所述终端将用于支持对上行数据包打本地分流标签能力的信息通知到所述网络侧控制面功能单元。
  4. 根据权利要求3所述的方法,其中,用于指示所述会话是否允许本地分流的指示为所述网络侧控制面功能单元根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定的。
  5. 一种会话建立的方法,应用于网络侧设备的基站侧,所述方法包括:
    所述基站接收终端发送的上行数据包;
    所述基站确定所述上行数据包是否携带有标签,其中,所述标签用于指示是否本地分流;
    在所述上行数据包中携带所述标签,且所述标签指示本地分流的情况下,所述基站将所述上行数据包转发到所述网络侧设备的本地分流数据网网关;
    在所述上行数据包中未携带所述本地分流标签,或所述标签指示无需本地分流的情况下,所述基站将所述上行数据包转发到所述网络侧设备的缺省数据网网关。
  6. 根据权利要求5所述的方法,其中,所述本地分流数据网本地存储有APP列表,其中,所述APP列表中记录的APP支持本地分流。
  7. 根据权利要求5所述的方法,其中,在所述基站接收终端发送的上行数据包之前,所述方法还包括:
    所述基站获取所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围;
    所述基站将所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围转发到网络侧设备的控制面功能单元。
  8. 一种会话建立的方法,应用于网络侧设备的控制面功能单元侧,所述方法包括:
    在基站与终端建立会话的过程中,所述控制面功能单元根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分流;
    在确定允许会话本地分流的情况下,所述控制面功能单元向终端 发送会话建立响应,其中,所述会话建立响应中携带有允许会话本地分流的指示。
  9. 根据权利要求8所述的方法,其中,所述方法还包括:
    在控制面功能单元与终端建立会话之前,所述控制面功能单元接收终端通知的用于支持对上行数据包打本地分流标签能力的信息。
  10. 根据权利要求8所述的方法,其中,所述方法还包括:
    所述控制面功能单元接收并保存基站发送的本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围;
    所述控制面功能单元根据所述本地分流数据网关地址为所述会话建立基站与本地分流数据网关数据之间的转发路径。
  11. 根据权利要求10所述的方法,其中,所述控制面功能单元为用户分配的注册位置列表不超过所述本地分流数据网关的服务区域范围。
  12. 一种会话建立的方法,包括:
    在终端与网络侧设备建立会话的过程中,所述终端获取所述网络侧设备发送的会话建立响应,其中,所述会话建立响应中携带有用于指示所述会话是否允许本地分流的指示;
    所述终端从所述网络侧设备获取APP列表,其中,所述APP列表中记录的APP支持本地分流;
    在所述指示所述会话允许本地分流,且产生上行数据的APP在所述APP列表内的情况下,所述终端对所述上行数据包打上指示本地分流的标签;
    所述终端将打上指示本地分流标签的上行数据包发送到所述网络侧设备。
  13. 根据权利要求12所述的方法,其中,所述方法还包括:
    在所述指示所述会话不允许本地分流,或产生上行数据的APP未在所述APP列表内的情况下,所述终端禁止对所述上行数据包打上指示本地分流的标签,或,所述终端对所述上行数据包打上指示无需本地分流的标签;
    所述终端将未打上指示本地分流标签,或,打上指示无需本地分流标签的上行数据包发送到所述网络侧设备。
  14. 根据权利要求12所述的方法,其中,所述方法还包括:
    在所述终端发起建立会话之前,所述终端将用于支持对上行数据包打本地分流标签能力的信息通知到所述网络侧设备。
  15. 根据权利要求14所述的方法,其中,用于指示所述会话是否允许本地分流的指示为所述网络侧设备根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定的。
  16. 一种会话建立的方法,包括:
    网络侧设备接收终端发送的上行数据包;
    所述网络侧设备确定所述上行数据包是否携带有标签,其中,所述标签用于指示是否本地分流;
    在所述上行数据包中携带所述标签,且所述标签指示本地分流的情况下,所述网络侧设备将所述上行数据包转发到本地分流数据网网关;
    在所述上行数据包中未携带所述本地分流标签,或所述标签指示无需本地分流的情况下,所述网络侧设备将所述上行数据包转发到的缺省数据网网关。
  17. 根据权利要求16所述的方法,其中,所述方法还包括:
    所述网络侧设备获取并保存所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围,其中,所述本地分流数据 网本地存储有APP列表,所述APP列表中记录的APP支持本地分流;
    所述网络侧设备根据所述本地分流数据网关地址为所述会话建立与本地分流数据网关数据之间的转发路径。
  18. 根据权利要求17所述的方法,其中,所述网络侧设备为用户分配的注册位置列表不超过所述本地分流数据网关的服务区域范围。
  19. 根据权利要求16所述的方法,其中,在网络侧设备接收终端发送的上行数据包之前,所述方法还包括:
    所述网络侧设备接收所述终端通知的用于支持对上行数据包打本地分流标签能力的信息;
    所述网络侧设备根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分流;
    在确定允许会话本地分流的情况下,所述网络侧设备向终端发送会话建立响应,其中,所述会话建立响应中携带有允许会话本地分流的指示。
  20. 一种会话建立的装置,应用于终端侧,包括:
    处理器;
    设置为存储所述处理器可执行指令的存储器;
    设置为接收或者发送所述处理器与网络之间传输数据的传输装置;
    其中,所述传输装置用于在终端与网络侧设备建立会话的过程中,获取所述网络侧设备发送的会话建立响应,以及用于从所述网络侧设备获取APP列表,其中,所述会话建立响应中携带有用于指示所述会话是否允许本地分流的指示;所述APP列表中记录的APP支持本地分流;
    所述处理器,设置为在所述指示所述会话允许本地分流,且产生上行数据的APP在所述APP列表内的情况下,对所述上行数据包打上 指示本地分流的标签;
    所述传输装置,还设置为将打上指示本地分流标签的上行数据包发送到所述网络侧设备。
  21. 根据权利要求20所述的装置,其中,
    所述处理器,还设置为在所述指示所述会话不允许本地分流,或产生上行数据的APP未在所述APP列表内的情况下,禁止对所述上行数据包打上指示本地分流的标签,或,对所述上行数据包打上指示无需本地分流的标签;
    所述传输装置,还设置为将禁止打上指示本地分流标签,或,打上指示无需本地分流标签的上行数据包发送到所述网络侧设备。
  22. 根据权利要求20所述的装置,其中,
    所述传输装置,还设置为在所述终端发起建立会话之前,所述终端将用于支持对上行数据包打本地分流标签能力的信息通知到所述网络侧设备。
  23. 一种会话建立的装置,应用于网络侧设备的基站侧,所述装置包括:
    第一接收模块,设置为接收终端发送的上行数据包;
    第一确定模块,设置为确定所述上行数据包是否携带有标签,其中,所述标签用于指示是否本地分流;
    第一转发模块,设置为在所述上行数据包中携带所述标签,且所述标签指示本地分流的情况下,将所述上行数据包转发到所述网络侧设备的本地分流数据网网关;
    第二转发模块,设置为在所述上行数据包中未携带所述本地分流标签,或所述标签指示无需本地分流的情况下,将所述上行数据包转 发到所述网络侧设备的缺省数据网网关。
  24. 根据权利要求23所述的装置,其中,所述本地分流数据网本地存储有APP列表,其中,所述APP列表中记录的APP支持本地分流。
  25. 根据权利要求23所述的装置,其中,所述装置还包括:
    获取模块,设置为在接收模块接收终端发送的上行数据包之前,获取所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围;
    第三转发模块,设置为将所述本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围转发到网络侧设备的控制面功能单元。
  26. 一种会话建立的装置,应用于网络侧设备的控制面功能单元侧,包括:
    第二确定模块,设置为在基站与终端建立会话的过程中,根据用户签约以及终端是否支持对上行数据包打本地分流标签能力确定是否允许会话本地分流;
    发送模块,设置为在确定允许会话本地分流的情况下,向终端发送会话建立响应,其中,所述会话建立响应中携带有允许会话本地分流的指示。
  27. 根据权利要求26所述的装置,其中,所述装置还包括:
    第二接收模块,设置为在基站与终端建立会话之前,接收终端通知的用于支持对上行数据包打本地分流标签能力的信息。
  28. 根据权利要求26所述的装置,其中,所述装置还包括:
    处理模块,设置为接收并保存基站发送的本地分流数据网网关地址和所述本地分流数据网关对应的服务区域范围;
    建立模块,设置为根据所述本地分流数据网关地址为所述会话建立基站与本地分流数据网关数据之间的转发路径。
  29. 根据权利要求28所述的装置,其中,所述控制面功能单元为用户分配的注册位置列表不超过所述本地分流数据网关的服务区域范围。
  30. 一种会话建立的系统,包括:权利要求20至22应用于终端的侧会话建立的装置、权利要求23至25应用于基站侧会话建立的装置、以及权利要求26至29应用于控制面功能单元侧的会话建立的装置。
  31. 一种计算机可读存储介质,存储有计算机程序,当所述计算机程序被运行时,执行权利要求1至19中任一项所述的方法。
PCT/CN2017/088752 2016-06-16 2017-06-16 会话建立的方法、装置及系统 WO2017215656A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610431089.6A CN107517480A (zh) 2016-06-16 2016-06-16 会话建立的方法、装置及系统
CN201610431089.6 2016-06-16

Publications (1)

Publication Number Publication Date
WO2017215656A1 true WO2017215656A1 (zh) 2017-12-21

Family

ID=60664039

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/088752 WO2017215656A1 (zh) 2016-06-16 2017-06-16 会话建立的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN107517480A (zh)
WO (1) WO2017215656A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257775A (zh) * 2018-11-05 2019-01-22 温州职业技术学院 一种5g网络用户标签的分流系统和方法

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882305A (zh) * 2017-05-09 2018-11-23 中国移动通信有限公司研究院 一种数据包的分流方法及装置
CN110049504B (zh) 2018-01-15 2021-06-22 华为技术有限公司 一种会话管理方法及装置
CN110519840B (zh) * 2018-05-21 2021-01-15 中国移动通信有限公司研究院 会话处理方法及装置、网元及存储介质
CN110611937B (zh) * 2018-06-14 2023-04-07 中国电信股份有限公司 数据分流方法、装置、边缘数据中心和可读存储介质
CN112770359B (zh) * 2019-11-05 2023-10-27 中国移动通信有限公司研究院 一种数据分流方法及设备
CN113316098B (zh) * 2021-04-20 2022-10-21 新华三技术有限公司 一种建立业务通道、公网对讲的方法和公网对讲设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438328A (zh) * 2010-09-29 2012-05-02 中兴通讯股份有限公司 一种用户参与本地访问连接建立的方法及系统
CN102487530A (zh) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 数据分流方法及系统
WO2015028090A1 (en) * 2013-08-30 2015-03-05 Nokia Solutions And Networks Oy Methods and apparatus
US20150319642A1 (en) * 2011-04-04 2015-11-05 Interdigital Patent Holdings, Inc. Method and apparatus for controlling the application of selected ip traffic offload and local ip access

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438328A (zh) * 2010-09-29 2012-05-02 中兴通讯股份有限公司 一种用户参与本地访问连接建立的方法及系统
CN102487530A (zh) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 数据分流方法及系统
US20150319642A1 (en) * 2011-04-04 2015-11-05 Interdigital Patent Holdings, Inc. Method and apparatus for controlling the application of selected ip traffic offload and local ip access
WO2015028090A1 (en) * 2013-08-30 2015-03-05 Nokia Solutions And Networks Oy Methods and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Use Cases and Requirements for Local Cache and Local Breakout in RAN", 3GPP TSG RAN WG3 #91BIS, R3-160813, 15 April 2016 (2016-04-15), XP051083047 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257775A (zh) * 2018-11-05 2019-01-22 温州职业技术学院 一种5g网络用户标签的分流系统和方法

Also Published As

Publication number Publication date
CN107517480A (zh) 2017-12-26

Similar Documents

Publication Publication Date Title
WO2017215656A1 (zh) 会话建立的方法、装置及系统
CN107592331B (zh) 会话连续的实现方法、装置及系统
US10645007B2 (en) Quality of service (QOS) management in wireless networks
CN108811016B (zh) 一种支持切换的方法
JP7046487B2 (ja) Ue、コアネットワーク装置及びueの通信制御方法
WO2018145669A1 (zh) 一种业务分流实现方法及装置
RU2727184C1 (ru) Способ обработки процедуры установления сеанса связи pdu и узел amf
US9351146B2 (en) Technique for providing support for a plurality of mobility management protocols
JP2020523936A (ja) QoSをサポートする方法及びSMF
US9854554B2 (en) IP address assignment apparatus, system, and method
US20110007748A1 (en) Method, system and apparatus for optimizing routes
KR102510545B1 (ko) 5g 네트워크 등록 방법 및 pdu 세션 앵커 재배치하는 방법
US20160286600A1 (en) Multiple concurrent contexts virtual evolved session management (virtual esm)
CN108886758A (zh) 终端装置、基站装置、移动性管理实体mme以及通信控制方法
CN114390618B (zh) 一种支持切换的方法
WO2018014539A1 (zh) 一种信息传输方法、融合网关及系统
CN110650468B (zh) 一种小小区架构中支持业务本地分流的方法、系统和设备
JP2004519179A (ja) 無線アクセスネットワーク間のハンドオーバーをサポートする方法
WO2017008252A1 (zh) 一种ip地址分配的方法和装置
US10932151B2 (en) Distinguishing ICN from non-ICN traffic in a mobile network
WO2010031353A1 (zh) 服务请求的处理方法、装置及系统
WO2017167153A1 (zh) 移动通讯系统及寻呼方法
WO2014166294A1 (zh) 临近业务服务器的选择方法及装置、用户注册方法及装置
CN107404715B (zh) 位置信息提供方法及装置
EP2299748B1 (en) Method and system for supporting mobility security in the next generation network

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17812767

Country of ref document: EP

Kind code of ref document: A1