WO2018090800A1 - 连接建立方法、设备及*** - Google Patents

连接建立方法、设备及*** Download PDF

Info

Publication number
WO2018090800A1
WO2018090800A1 PCT/CN2017/107698 CN2017107698W WO2018090800A1 WO 2018090800 A1 WO2018090800 A1 WO 2018090800A1 CN 2017107698 W CN2017107698 W CN 2017107698W WO 2018090800 A1 WO2018090800 A1 WO 2018090800A1
Authority
WO
WIPO (PCT)
Prior art keywords
local
service
function entity
indication
address
Prior art date
Application number
PCT/CN2017/107698
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 WO2018090800A1 publication Critical patent/WO2018090800A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a connection establishment method, device, and system.
  • the 3GPP standards group developed the next generation mobile communication system (next generation system) network architecture at the end of 2016. It is a fifth generation (5rd generation, 5G) network architecture.
  • the architecture not only supports the wireless technology defined by the 3GPP standard group to access the 5G core network, but also supports the non-3GPP (non-3GPP) access technology to access the 5G core network.
  • the core network function of the 5G core network is divided into a user plane (UP) function and a control plane (CP) function.
  • the UP function entity is mainly responsible for packet data packet forwarding, quality of service (QoS) control, and accounting information statistics.
  • the CP function entity is responsible for delivering data packet forwarding policies and QoS control policies to the UP.
  • the established connection is a connection for a mobile service, and there is no connection establishment scheme for other services.
  • connection establishment method for the other services except the mobile service is not currently in the prior art.
  • the embodiment of the present application provides the following technical solutions:
  • the embodiment of the present application provides a connection establishment method, including: when a user equipment UE accesses a non-3rd generation partnership plan non-3GPP network, the control plane CP function entity acquires the service of the UE. And an authorization indication, the service authorization indication includes a local service authorization indication; the CP function entity acquires a local network protocol IP address of the UE according to the local service authorization indication; and the CP function entity sends the local IP address of the UE to the UE.
  • the problem of the connection establishment scheme for the services other than the mobile service in the prior art can be solved, and the connection establishment of the local service is implemented.
  • the CP function entity acquires the local network protocol IP address of the UE according to the local service authorization indication, including: the CP function entity sends a non-3GPP access gateway N3G according to the local service authorization indication. At least one of the local service authorization indication, the local IP address request of the UE, or the local service policy information, the local service authorization indication, the local IP address request of the UE, or the local service policy information. For the N3G-GW to obtain the local IP address of the UE; the CP function entity receives the UE sent by the N3G-GW Local IP address.
  • the CP function entity may display the N3G-GW to allocate a local IP address to the UE, for example, send a local service authorization indication or a local IP address request of the UE to the N3G-GW, or implicitly indicate the N3G-GW.
  • the local IP address is allocated to the UE, for example, the local service policy information is sent to the N3G-GW, which is not specifically limited in this embodiment.
  • the local service policy information may include at least one of a local offload policy, a local service charging policy, or a local service QoS policy.
  • the local service charging policy may include a time-based charging statistics reporting policy or a traffic-based threshold class statistical information reporting policy;
  • the local service QoS policy may include a local service maximum bit rate MBR information or a local service guaranteed bit rate. GBR information.
  • the service authorization indication further includes a mobile service authorization indication; after the CP function entity obtains the service authorization indication of the UE, the method further includes: the CP function entity selects the UP function entity, and establishes for the UE The packet data unit PDU between the N3G-GW and the UP functional entity is connected. That is, the embodiment of the present application can not only establish the connection establishment of the local service, but also realize the connection establishment of the mobile service at the same time.
  • the CP function entity establishes a PDU connection between the N3G-GW and the UP function entity for the UE, including: the CP function entity acquires the full tunnel end identifier F-TEID of the UP function entity.
  • the F-TEID of the UP function entity includes an IP address of the UP function entity and a tunnel end point identifier TEID of the UP function entity; the CP function entity acquires an IP address of the UE; the CP function entity sends the UE to the UE And the F-TEID of the UP function entity is sent by the CP function entity to the N3G-GW, and the F-TEID of the UP function entity is stored by the N3G-GW; the CP function entity acquires the F of the N3G-GW - TEID, the F-TEID of the N3G-GW includes the IP address of the N3G-GW and the TEID of the N3G-GW; the CP function entity sends a PDU session update request message to the UP function entity, and the PDU session update request message carries The F-TEID of the N3G-GW is stored by the UP function entity for the F-TEID of the N3G-GW; the CP function entity receives the PDU session
  • the UE's IP address and mobile service indicate binding.
  • the local IP address of the UE is bound to the local service indication.
  • the embodiment of the present application does not specifically limit the binding form of the local IP address of the UE to the local service indication, and the binding form of the IP address of the UE and the mobile service indication, for example, two parameters may be defined in the attach response message.
  • One parameter is defined as the IP address of the mobile service, and one parameter is defined as the IP address of the local service; or, for example, it may be: four parameters are defined in the attach response message, one parameter is defined as the local IP address of the UE, and one parameter is used for The local IP address of the UE is indicated as the IP address of the local service; one parameter is defined as the IP address of the UE, and one parameter is used to indicate that the IP address of the UE is the IP address of the mobile service.
  • the method further includes: the CP function entity receiving the subscription data of the UE sent by the database entity, where the subscription data of the UE is used by the UE Access authorization and service authorization; the CP function entity obtains the service authorization indication of the UE, and the CP function entity determines the access authorization and service authorization of the UE according to the subscription data of the UE, and obtains the service authorization indication of the UE.
  • the service authorization indication of the UE may be obtained by the CP function entity according to the subscription data of the UE.
  • the CP function entity obtains the service authorization indication of the UE
  • the method includes: the CP function entity receives a service authorization indication of the UE sent by the database entity, where the service authorization indication of the UE is The subscription data of the UE is obtained after determining the access authorization and the service authorization of the UE, and the subscription data of the UE is used for the access authorization and service authorization of the UE. That is, in the embodiment of the present application, the database entity may obtain the service authorization indication of the UE according to the subscription data of the UE, and then send the service authorization indication of the UE to the CP function entity.
  • the subscription data of the UE is used for the access authorization and service authorization of the UE, and the method includes: the subscription data includes a network access mode parameter, where the network access mode parameter is set to a packet.
  • the switching domain or if the network access mode parameter is set to a packet switched domain or a voice service domain, or when there is non-3GPP subscription data, it indicates that the UE is allowed to access the core network from the currently accessed network, and the UE is allowed Use mobile and local businesses.
  • the subscription data of the UE is used for the access authorization and service authorization of the UE, and the method includes: the subscription data includes a network access mode parameter, where the network access mode parameter is set to a packet.
  • the switching domain or if the network access mode parameter is set to a packet switched domain or a voice service domain, or when there is non-3GPP subscription data, it indicates that the UE is allowed to access the core network from the currently accessed network, and the UE is allowed
  • the subscription service data further includes a local service authorization indication, it indicates that the UE is also allowed to use the local service; or if the subscription data does not include the local service unauthorized indication, the UE is also allowed to use the local service. .
  • the method further includes: the CP function entity receiving the current access type indication of the UE sent by the N3G-GW; the subscription data of the UE is used for access authorization and service authorization of the UE,
  • the method includes: the subscription data includes an access type indication, when the current access type indication is included in the access type indication, indicating that the UE is allowed to access the core network from the currently accessed network, and allowing the UE to use the mobile And the service data and the local service; or the subscription data includes an access type indication, when the current access type indication is included in the access type indication, indicating that the UE is allowed to access the core network from the currently accessed network, and Allowing the UE to use the mobile service, if the subscription data further includes a local service authorization indication, indicating that the UE is also allowed to use the local service; or if the subscription data does not include the local service unauthorized indication, indicating that the UE is also allowed Use local business.
  • the current access type indication is implemented by defining an access type parameter, or defining a transmission type parameter, or defining an access mode parameter, wherein the access type parameter or the parameter of the transmission type parameter
  • the value can be set to non-3GPP access, wireless fidelity WiFi access, local access, local home access, local enterprise access, or local public access; the parameter value of the access mode parameter can be set to be locally open. Mode, local closed mode, or local mixed mode.
  • the method before the CP function entity obtains the service authorization indication of the UE, the method further includes: the CP function entity receiving the local service request indication sent by the UE.
  • the CP function entity can send local service policy information or other information to the N3G-GW based on the local service request indication. That is to say, the CP functional entity sends the local service policy information or other information to the N3G-GW only after receiving the local service request indication.
  • the CP function entity can directly send the service policy information or other information to the N3G-GW, regardless of whether the UE needs local service policy information or other information, which can save the CP functional entity and the N3G.
  • the local service in the embodiment of the present application includes a fixed network service or a non-seamless wireless local area network WLAN offload service.
  • the embodiment of the present application provides a CP function entity, where the CP function entity has a function of implementing a CP function entity behavior in the foregoing method embodiment.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • an embodiment of the present application provides a CP functional entity, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer execution instruction, and the processor is connected to the memory through the bus, when the CP When the functional entity is running, the processor executes the computer execution instruction stored in the memory to enable the CP function entity to execute A method of establishing a connection as in any one of the above first aspects.
  • an embodiment of the present application provides a computer storage medium for storing computer software instructions used by the CP functional entity, which includes a program designed to execute the foregoing aspects as a CP functional entity.
  • an embodiment of the present application provides a computer program, the computer program comprising instructions, when the computer program is executed by a computer, to cause a computer to perform the flow in the connection establishment method of any one of the above first aspects.
  • the embodiment of the present application provides a connection establishment method, including: when a user equipment UE accesses from a non-3rd generation partnership plan non-3GPP network, the non-3GPP access gateway N3G-GW receives Controlling at least one of a local service authorization indication of the UE, a local network protocol IP address request of the UE, or local service policy information sent by the CP function entity; the N3G-GW according to the local service authorization indication of the UE, the UE The at least one of the local IP address request or the local service policy information acquires a local IP address of the UE; the N3G-GW sends the local IP address of the UE to the CP function entity. Based on the solution, the problem of the connection establishment scheme for the services other than the mobile service in the prior art can be solved, and the connection establishment of the local service is implemented.
  • the method further includes: receiving, by the N3G-GW, the local IP address of the UE sent by the CP function entity and a local service indication bound to the local IP address of the UE, and an IP address of the UE and a mobile service indication bound to the IP address of the UE; the N3G-GW sends the UE's local IP address to the UE and the UE The local service indication of the local IP address binding, and the IP address of the UE and the mobile service indication bound to the IP address of the UE.
  • the method further includes: receiving, by the N3G-GW, a service data packet sent by the UE, where the service data packet includes a source IP address; and determining, by the N3G-GW, the service data packet according to the source IP address. a mobile service data packet or a local service data packet; if the service data packet is a mobile service data packet, the N3G-GW sends the service data packet to the user plane UP functional entity; or, if the service data packet is a local service data packet, The N3G-GW sends the service data packet to the local service server.
  • the local service and the mobile service can be simultaneously provided for the UE, and a reasonable split between the two can be realized.
  • the method further includes: the N3G-GW receiving the IP address of the UE sent by the CP function entity; the N3G- The GW sends the IP address of the UE to the UE.
  • the method further includes: receiving, by the N3G-GW, a service data packet sent by the UE, where the service data packet includes an IP address of the UE, and a destination IP address, a destination port number, or a protocol type. At least one of the N3G-GW determines that the service data packet is mobile according to at least one of the destination IP address, the destination port number, or the protocol type, and the local configuration information or the local service policy information.
  • the N3G-GW sends the service data packet to the user plane UP functional entity; or, if the service data packet is a local service data packet, After the N3G-GW replaces the IP address of the UE with the local IP address of the UE, the service data packet is sent to the local service server; and the N3G-GW stores the correspondence between the IP address of the UE and the local IP address of the UE. relationship.
  • the UE obtains the IP address of the UE, whether the local service authorization or the mobile service authorization, and the UE does not need to perceive the service type.
  • the service data packet is sent to the N3G-GW, the source IP address of the service data packet is the same, which is the IP address of the UE, and the N3G-GW distinguishes the mobile service from the local service based on the destination IP address, the port number, or the protocol type. Data shunting is implemented, which simplifies the operation of the UE.
  • the method further includes: the N3G-GW receiving a downlink service data packet, where the downlink service data packet includes a local IP address of the destination UE; and the N3G-GW replaces the local IP address of the destination UE with After the IP address of the destination UE, the downlink service data packet is sent to the target UE.
  • the embodiment of the present application provides a non-3rd generation partnership plan non-3GPP access gateway N3G-GW, and the N3G-GW has a function of implementing the N3G-GW behavior in the foregoing method embodiment.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the embodiment of the present application provides a non-3rd generation partnership plan non-3GPP access gateway N3G-GW, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer execution instruction, The processor is connected to the memory through the bus, and when the N3G-GW is running, the processor executes the computer-executed instruction stored in the memory, so that the N3G-GW performs the connection establishment according to any one of the foregoing sixth aspects. method.
  • the embodiment of the present application provides a computer storage medium for storing computer software instructions used by the non-3rd Generation Partnership Project non-3GPP access gateway N3G-GW, which is configured to execute the foregoing The program designed for the N3G-GW.
  • the embodiment of the present application provides a computer program, the computer program comprising instructions, when the computer program is executed by a computer, causing the computer to perform the flow in the connection establishment method of any one of the sixth aspects.
  • the embodiment of the present application provides a service establishment system, where the service establishment system includes a control plane CP function entity and a database entity; wherein, when the user equipment UE is connected from a non-3rd generation partnership program non-3GPP network In the case of the entry, the database entity obtains the subscription data of the UE, determines the access authorization and the service authorization of the UE according to the subscription data of the UE, and obtains the service authorization indication of the UE, and then sends the service of the UE to the CP function entity.
  • An authorization indication where the service authorization indication includes a local service authorization indication; the CP function entity receives a service authorization indication of the UE sent by the database entity, and obtains a local network protocol IP address of the UE according to the local service authorization indication, and obtains the UE Send the IP address of the UE.
  • FIG. 1 is a schematic diagram of a 5G network architecture provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a computer device according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram 1 of interaction of a connection establishment method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram 2 of interaction of a connection establishment method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram 3 of interaction of a connection establishment method according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram 4 of interaction of a connection establishment method according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram 1 of a CP functional entity according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram 2 of a CP functional entity according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram 1 of an N3G-GW according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram 2 of an N3G-GW according to an embodiment of the present application.
  • FIG. 1 it is a 5G network architecture provided by an embodiment of the present application.
  • the architecture not only supports the wireless technology defined by the 3GPP standard group to access the 5G core network, but also supports the non-3GPP access technology to access the 5G core network.
  • the access point accesses the 5G core network through a radio access network (RAN) access point.
  • the RAN access point communicates with the CP functional entity of the 5G core network through the next generation network interface (NG) 2, and communicates with the UP functional entity of the 5G core network through the NG3;
  • the 5G core network is accessed through a non-3GPP access gateway (N-3G-GW).
  • the N3G-GW includes an N3G-GW control plane (N3G-GW-C) and an N3G-GW user plane (N3G-GW-U).
  • the N3G-GW-C communicates with the CP functional entity of the 5G core network through the NG2, N3G-GW.
  • -U communicates with the UP functional entity of the 5G core network through NG3.
  • the CP function entity communicates with the application function (AF) entity of the 5G core network through the NG5, and sends a packet forwarding policy, a QoS control policy, and the like to the UP function entity through the NG4; the UP function entity passes the NG6. It communicates with the data network (DN) entity of the 5G core network, and is responsible for packet data packet forwarding, QoS control, and accounting information statistics.
  • AF application function
  • DN data network
  • the above 5G network architecture may further include a database entity for supporting the main body of an internet protocol (IP) multimedia subsystem (IP) network entity that processes or invokes the session.
  • IP internet protocol
  • IP internet protocol
  • User database It includes user profiles, performs user authentication and authorization, and provides information about the user's physical location, similar to the global system for mobile communication (GSM) home location register.
  • GSM global system for mobile communication
  • the functions provided by the database entity include the IP multimedia function, or the home location register (HLR) function required for the packet switched (PS) domain, and/or the HLR required for the call service (CS) domain.
  • the information that the database entity can process includes one or more of the following information: user identification, numbering and address information; user security information, ie network access control information for authentication and authorization; user positioning information, ie database entity support User registration, storage location information; user list information, etc.
  • the database entity is mainly used to provide the subscription data of the UE when the UE accesses from the non-3GPP network, and is used by the CP function entity or the database entity to determine the access authorization of the UE according to the subscription data.
  • Business authorization is mainly used to provide the subscription data of the UE when the UE accesses from the non-3GPP network, and is used by the CP function entity or the database entity to determine the access authorization of the UE according to the subscription data.
  • modules or network entities may be included in the foregoing 5G network architecture, which is not specifically limited in this embodiment of the present application.
  • the UE involved in the present application may include various handheld devices with wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms.
  • UE mobile station
  • terminal terminal equipment
  • soft terminal terminal
  • the devices mentioned above are collectively referred to as user equipments or UEs.
  • the N3G-GW may also be replaced by a next generation packet data gateway (NG-PDG) or a non-3GPP interworking function (N3IWF) entity; It may be replaced with a home subscriber server (HSS) or a user subscription database (USD); the CP functional entity may also be replaced with a CP function, and the UP functional entity may be replaced with a UP. Function; or, the CP functional entity may be replaced by a CP, the UP functional entity may also be replaced by UP, etc., which are uniformly described herein, and will not be described below.
  • NG-PDG next generation packet data gateway
  • N3IWF non-3GPP interworking function
  • HSS home subscriber server
  • USD user subscription database
  • the CP functional entity may also be replaced with a CP function
  • the UP functional entity may be replaced with a UP. Function
  • the CP functional entity may be replaced by a CP
  • the UP functional entity may also be replaced by UP, etc.,
  • non-3GPP access may also be defined as a non-next Gen RAN access technology, that is, an access other than the next Gen RAN. It is not specifically limited in itself, and a unified description will be made here, and will not be described below.
  • any one of the above-mentioned 5G network architectures may be implemented by one physical device or multiple physical devices;
  • the functional nodes or network elements, such as the CP functional entity and the UP functional entity may be implemented by different physical devices, or may be implemented by the same physical device, which is not specifically limited in this embodiment of the present application. That is, it can be understood that any one of the above-mentioned 5G network architectures, such as a CP function entity or an UP function entity, may be a logical function module or a plurality of entities in the entity device.
  • a logical function module of the device is not specifically limited in this embodiment of the present application.
  • the CP functional entity and the N3G-GW in FIG. 1 can be implemented by the computer device (or system) in FIG. 2.
  • FIG. 2 is a schematic diagram of a computer device according to an embodiment of the present application.
  • the computer device 200 includes at least one processor 201, a communication bus 202, a memory 203, and at least one communication interface 204.
  • the processor 201 can be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more for controlling the execution of the program of the present application. integrated circuit.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Communication bus 202 can include a path for communicating information between the components described above.
  • the communication interface 204 uses devices such as any transceiver for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
  • devices such as any transceiver for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
  • RAN radio access network
  • WLAN wireless local area networks
  • the memory 203 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
  • the memory can exist independently and be connected to the processor via a bus.
  • the memory can also be integrated with the processor.
  • the memory 203 is used to store application code for executing the solution of the present application, and is controlled by the processor 201 for execution.
  • the processor 201 is configured to execute application code stored in the memory 203 to implement connection establishment of the present application.
  • processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
  • computer device 200 can include multiple processors, such as processor 201 and processor 208 in FIG. Each of these processors can be a single-CPU processor or a multi-core processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
  • computer device 200 may also include an output device 205 and an input device 206.
  • Output device 205 is in communication with processor 201 and can display information in a variety of ways.
  • the output device 205 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector.
  • Input device 206 is in communication with processor 201 and can accept user input in a variety of ways.
  • input device 206 can be a mouse, keyboard, touch screen device or sensing device, and the like.
  • the computer device 200 described above can be a general purpose computer device or a special purpose computer device.
  • the computer device 200 can be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, an embedded device, or have FIG. A device of similar structure.
  • PDA personal digital assistant
  • the embodiment of the present application does not limit the type of computer device 200.
  • FIG. 3 is a schematic flowchart of a connection method provided by an embodiment of the present application. The description is based on the case where the UE accesses the non-3GPP network in the 5G network architecture shown in FIG. 1 , and relates to interaction between the UE, the N3G-GW, the UP functional entity, the CP functional entity, and the database entity. Including the following steps:
  • the UE establishes a connection with the non-3GPP access point, and sends an attach request message or an authentication request message (such as an extended authentication protocol (EAP) to the N3G-GW through the non-3GPP access point. a message) to cause the N3G-GW to receive the attach request message or the authentication request message.
  • an attach request message or an authentication request message such as an extended authentication protocol (EAP)
  • EAP extended authentication protocol
  • the N3G access point may be, for example, a wireless-fidelity (WiFi) access point (AP) or a WiFi access controller (Access Control, AC).
  • WiFi wireless-fidelity
  • AP access point
  • AC WiFi access controller
  • the foregoing attach request message or the authentication request message includes a UE identifier, where the UE identifier is an identity identifier when the UE accesses the network, that is, a network access identifier (NAI) of the UE.
  • NAI network access identifier
  • the UE identifier includes a UE temporary identifier or a UE permanent identifier.
  • the UE permanent identifier may be an international mobile subscriber identification number (IMSI).
  • the attach request message or the authentication request message may further include a local service request indication, where the local service request indication is used to request a local service.
  • the CP function entity can send local service policy information or other information to the N3G-GW based on the local service request indication. That is to say, the CP functional entity sends the local service policy information or other information to the N3G-GW only after receiving the local service request indication.
  • the CP function entity can directly send the service policy information or other information to the N3G-GW, regardless of whether the UE needs local service policy information or other information, which can save the CP functional entity and the N3G.
  • the local service in the embodiment of the present application includes but is not limited to a fixed network service or a non-seamless WLAN offload service. It can be understood by those skilled in the art that, in the embodiment of the present application, when the local service is specifically a fixed network service, the following “local” may be replaced by “fixed network”, for example, when the local service is specifically a fixed network service.
  • the local access described below is actually a fixed network access.
  • the following local home access is actually a fixed network home access, etc.; when the local service is specifically a non-seamless WLAN offload service (non-seamless WLAN) Offload), the following "local” can be replaced with "non-seamless WLAN offload”.
  • the local service is specifically a non-seamless WLAN offload service
  • the following local access actually For the non-seamless WLAN offload service access
  • the following local home access is actually a non-seamless WLAN offload service home access, and so on, which is uniformly described herein, and will not be described below.
  • the above-mentioned local service may also be defined as a non-seamless service.
  • the name of the application itself is not specifically limited, and is uniformly described herein, and details are not described herein again.
  • the following steps in the embodiment of the present application will be described by taking an example that the message sent by the UE to the N3G-GW is an attach request message.
  • the attachment request message may be replaced with an authentication request message, such as an EAP message, which is uniformly described herein, and is not described here.
  • the N3G-GW identifies an access identifier of the UE, and generates an indication of a current access type of the UE according to the access identifier.
  • the N3G-GW-U in the N3G-GW identifies the access identifier of the UE, and the access identifier may be, for example, an access point identifier or a circuit ID.
  • the N3G-GW-U also identifies the attach request message and sends the attach request message and the access identifier of the UE to the N3G-GW-C.
  • the N3G-GW-C receives the attach request message and the access identifier sent by the N3G-GW-U, and generates a corresponding access type indication based on the access identifier.
  • the embodiment of the present application does not specifically limit how the N3G-GW-C generates the access type indication, and the possible implementation manner may be, for example, the mapping between the access identifier and the access type indication configured in the N3G-GW, the N3G - GW-C generates a corresponding access type indication based on the access identifier and the corresponding relationship.
  • the implementation manner of the access type indication includes, but is not limited to, the following definition manners:
  • the access type indication is implemented by defining an access type parameter or defining a transmission type parameter.
  • the parameter value of the access type parameter or the transmission type parameter may be set to non-3GPP access, WiFi access, local access, local home access, local enterprise access, or local public access.
  • the access type indication is implemented by defining an access mode parameter.
  • the parameter value of the access mode parameter may be set to a local open mode, a local closed mode, or a local mixed mode.
  • the N3G-GW sends an NG2 interface message to the CP function entity, so that the CP function entity receives the NG2 interface message.
  • the NG2 interface message carries an attach request message sent by the UE and a current access type indication of the UE obtained in step S302.
  • the NG2 interface message may be, for example, a connection setup request message, or an NG2 message or an NG2 authentication (AUTH) request message or an uplink non-access stratum (NAS) transport (uplink NAS transport) request message, and the like. This embodiment of the present application does not specifically limit this.
  • the NG2 AUTH request message sent by the N3G-GW to the CP function entity in FIG. 3 is taken as an example of the NG2 AUTH request message.
  • the NG2 AUTH request message may be replaced by a connection establishment request message or an NG2 message or an uplink NAS transmission request message or other NG2 interface message, which is uniformly described herein, and details are not described herein again.
  • the CP function entity sends an authentication request to the database entity, so that the database entity receives the authentication request.
  • the authentication request may be a subscription data acquisition message or a update location request message, which is not specifically limited in this embodiment of the present application.
  • the above message includes the UE permanent identity.
  • the UE permanent identifier may be obtained by using the attach request message in step S301, or may be obtained according to the UE temporary identifier carried in the attach request message in step S301, which is not specifically limited in this embodiment of the present application.
  • the above-mentioned message may also carry an access type indication, which is not specifically limited in this embodiment of the present application.
  • the database entity acquires subscription data of the UE according to the permanent identifier of the UE, where the subscription data is used for access authorization and service authorization of the UE.
  • the subscription data is used for the access authorization and the service authorization of the UE, and specifically includes:
  • the subscription data includes a network access mode parameter, wherein if the network access mode parameter is set to a PS domain, or if the network access mode parameter is set to a packet switched domain (PS domain) Or a voice service domain (CS domain), or when there is non-3GPP subscription data, it means that the UE is allowed to access the core network from the currently accessed network, and allows the UE to use the mobile service and the local service.
  • PS domain packet switched domain
  • CS domain voice service domain
  • the subscription data is used for the access authorization and the service authorization of the UE, and specifically includes:
  • the subscription data includes a network access mode parameter, wherein if the network access mode parameter is set to a PS domain, or if the network access mode parameter is set to a PS domain Or the voice service domain (CS domain), or the presence of non-3GPP subscription data, indicates that the UE is allowed to access the core network from the currently accessed network, and allows the UE to use the mobile service. If the local service authorization indication is also included in the subscription, it indicates that the UE is also allowed to use the local service; or if the local service non-authorization indication is not included in the subscription, it indicates that the UE is also allowed to use the local service.
  • the subscription data is used for the access authorization and the service authorization of the UE, which may include:
  • the subscription data includes an access type indication, and when the access type indication includes the current access type indication of the UE carried in the authentication request in step S304, the user is allowed to access the core network from the currently accessed network. And allow the UE to use mobile services and local services.
  • the subscription data is used for the access authorization and the service authorization of the UE, which may include:
  • the subscription data includes an access type indication, and when the access type indication includes the current access type indication of the UE carried in the authentication request in step S304, the user is allowed to access the core network from the currently accessed network. And allow the UE to use the mobile service. If the local service authorization indication is also included in the subscription, it indicates that the UE is also allowed to use the local service; or if the local service non-authorization indication is not included in the subscription, it indicates that the UE is also allowed to use the local service.
  • the mobile service in the embodiment of the present application specifically refers to a service provided by a mobile operator
  • the local service specifically refers to a service provided by a local service operator or a fixed network operator, and is uniformly described herein. No longer.
  • the database entity sends an authentication response to the CP function entity, so that the CP function entity receives the authentication response.
  • the authentication response here may specifically be a subscription data response message; if the authentication request in step S304 is specifically an update location request (update location request)
  • the authentication response here may be an update location response message, which is not specifically limited in this embodiment of the present application. Among them, the above message includes subscription data.
  • the CP function entity determines, according to the subscription data of the UE, the access authorization and service authorization of the UE, and obtains a service authorization indication.
  • the service authorization indication in the embodiment of the present application may be at least one of a local service authorization indication or a mobile service authorization indication, that is, may be a local service authorization indication, may be a mobile service authorization indication, or may be a local service.
  • the authorization indication and the mobile service authorization indication are not specifically limited in this embodiment of the present application.
  • the CP function entity After the CP function entity obtains the service authorization indication, the CP function entity performs the following processing according to the service authorization indication:
  • the CP function entity sends an NG2 interface message to the N3G-GW according to the local service authorization indication, so that the N3G-GW receives the NG2 interface message.
  • the NG2 interface message includes at least one of local service policy information, a local IP address request of the UE, or a local service authorization indication.
  • the local service policy information may include at least one of a local offload policy, a local service charging policy, or a local service QoS policy.
  • the local service charging policy may include a time-based charging statistics reporting policy or a traffic-based threshold class statistical information reporting policy;
  • the local service QoS policy may include a local service maximum bit rate (MBR) information, or Local service guarantee bit rate (GBR) information.
  • MLR local service maximum bit rate
  • GRR Local service guarantee bit rate
  • the NG2 interface message in step S303 is a connection establishment request message
  • the NG2 interface message in step S308a may be, for example, a connection establishment response message
  • the NG2 interface message in step S303 is an NG2 message
  • the NG2 in step S308a The interface message may be, for example, an NG2 message; if the NG2 interface message in step S303 is an NG2 authentication (AUTH) request message, the NG2 interface message in step S308a may be, for example, an NG2 AUTH response message; if NG2 in step S303
  • the interface message is an uplink NAS transmission request message, and the NG2 interface message in step S308a may be, for example, an uplink NAS transmission response message.
  • the S309a and the N3G-GW obtain at least one of the local service policy information, the local IP address request of the UE, or the local service authorization indication from the NG2 interface message, and according to the local service policy information, the local IP address request of the UE, or the local service authorization indication. At least one of the UEs obtains the local IP address of the UE.
  • the local IP address of the UE may be allocated by the N3G-GW to the UE.
  • the local IP address of the UE may be requested by the N3G-GW to the dynamic host configuration protocol (DHCP) server. This is not specifically limited.
  • DHCP dynamic host configuration protocol
  • the N3G-GW may store at least one of the local service policy information or the local service authorization indication; or If the NG2 interface message in the step S308a includes the local IP address request of the UE, the N3G-GW may generate a local service authorization indication according to the local IP address request of the UE and store the local service authorization indication, which is not specifically limited in this embodiment of the present application.
  • the N3G-GW sends an NG2 interface message to the CP function entity, so that the CP function entity receives the NG2 interface message.
  • the NG2 interface message carries the local IP address of the UE.
  • the NG2 interface message may be, for example, a connection setup request message, or an NG2 message or an NG2 AUTH request message or an uplink NAS transport request message, which is not specifically limited in this embodiment of the present application.
  • the NG2 AUTH request message sent by the N3G-GW to the CP function entity in FIG. 3 is taken as an example of the NG2 AUTH request message.
  • the NG2 AUTH request message may be replaced by a connection establishment request message or an NG2 message or an uplink NAS transmission request message or other NG2 interface message, which is uniformly described herein, and details are not described herein again.
  • the S311a, the CP function entity sends an NG2 interface message to the N3G-GW, so that the N3G-GW receives the NG2 interface message.
  • the NG2 interface message encapsulates an attach response message.
  • the attachment response message includes the local IP address of the UE.
  • the NG2 interface message in step S308a may be, for example, a connection establishment response message; if the NG2 interface message in step S303 is an NG2 message, NG2 in step S308a
  • the interface message may be, for example, an NG2 message; if the NG2 interface message in step S303 is an NG2 authentication (AUTH) request message, the NG2 interface message in step S308a may be, for example, an NG2 AUTH response message; if NG2 in step S303
  • the interface message is an uplink NAS transmission request message, and the NG2 interface message in step S308a may be, for example, an uplink NAS transmission response message.
  • the N3G-GW obtains an attach response message from the NG2 interface message, and sends an attach response message to the UE, so that the UE receives the attach response message.
  • connection establishment process in the scenario where the service authorization indication includes only the local service authorization indication ends.
  • the embodiment of the present application provides a method for establishing a connection of a local service. Based on the solution, the problem of the connection establishment scheme for the service other than the mobile service in the prior art can be solved, and the connection establishment of the local service is implemented.
  • the UE sends a local service data packet to the N3G-GW, so that the N3G-GW receives the local service data packet.
  • the local service data packet may include other information such as a local IP address, a destination IP address, a source port number, a destination port number, or a protocol type of the UE.
  • a local IP address a local IP address
  • a destination IP address a source port number
  • a destination port number a protocol type of the UE.
  • the S314a and the N3G-GW parse the local service data packet, perform policy control on the local service data packet based on the stored local service policy information, and send the local service data packet to the local service server.
  • routing of local service data packets can be implemented.
  • Scenario B When the service authorization indication includes the local service authorization indication and the mobile service authorization indication, perform the following steps:
  • the S308b and the CP functional entity select the UP functional entity.
  • the CP function entity may select the UP function entity based on factors such as the current load status of the UP function entity, the service type supported by the UP function entity, and the location information of the UP function entity, and the location information of the UP function entity. No specific limitation.
  • the CP function entity sends a packet data unit (PDU) session establishment request message to the UP function entity, so that the UP function entity receives the PDU session establishment request message.
  • PDU packet data unit
  • the PDU session establishment request message may include a fully qualified tunnel endpoint identifier (F-TEID) of the UP function entity allocated by the CP function entity to the UP function entity, where the F-TEID includes the UP function entity.
  • F-TEID fully qualified tunnel endpoint identifier
  • IP address and tunnel endpoint ID of the UP functional entity tunnel endpoint Identifier, TEID).
  • the F-TEID of the UP function entity is used to search for the user context, that is, the specific processing board (the board corresponding to the TEID) of the specific device (the device corresponding to the IP address) where the user context information is located.
  • the F-TEID of the UP function entity may be the F-TEID of the device granularity, that is, the IP address of the UP functional entity is the IP address of the device granularity, and the TEID of the UP functional entity is the TEID of the device granularity;
  • the TEID may also be the F-TEID of the session granularity, that is, the IP address of the UP functional entity is the IP address of the session granularity, and the TEID of the UP functional entity is the TEID of the session granularity, which is not specifically limited in this embodiment of the present application.
  • the PDU session establishment request message may include an IP address of a UE allocated by the CP function entity for the UE, where the IP address of the UE is used for performing a mobile service.
  • the PDU session establishment request message may further include a UE identifier, where the UE identifier is used by the UP function entity to identify the UE, and performs UE-level session management.
  • the UP function entity sends a PDU session establishment response message to the CP function entity, so that the CP function entity receives the PDU session establishment response message.
  • the PDU session establishment response message in the step S310b includes the UP function entity as the UP function.
  • the F-TEID of the UP function entity assigned by the entity That is to say, in the embodiment of the present application, the F-TEID of the UP function entity may be allocated by the CP function entity, or may be allocated by the UP function entity itself, which is not specifically limited in this embodiment of the present application.
  • the PDU session establishment response message in the step S310b includes the UP function entity being allocated to the UP function entity.
  • the IP address of the UE may be allocated by the CP function entity, or may be allocated by the UP function entity, which is not specifically limited in this embodiment of the present application.
  • the CP function entity sends an NG2 interface message to the N3G-GW, so that the N3G-GW receives the NG2 interface message.
  • the NG2 interface message includes an F-TEID of the UP function entity, and the NG2 interface message includes at least one of local service policy information, a local IP address request of the UE, or a local service authorization indication.
  • the content of the local service policy information is not specifically limited in the embodiment of the present application. For an exemplary reference, refer to the description in step S308a.
  • the NG2 interface message may further include a mobile service authorization indication.
  • the NG2 interface message in step S303 is a connection establishment request message
  • the NG2 interface message in step S311b may be, for example, a connection establishment response message
  • the NG2 interface message in step S303 is an NG2 message
  • NG2 in step S311b The interface message may be, for example, an NG2 message; if the NG2 interface message in step S303 is an NG2 authentication (AUTH) request message, the NG2 interface message in step S311b may be, for example, an NG2 AUTH response message; if NG2 in step S303
  • the interface message is an uplink NAS transmission request message, and the NG2 interface message in step S311b may be, for example, an uplink NAS transmission response message.
  • the N3G-GW obtains at least one of local service policy information, a local IP address request of the UE, or a local service authorization indication from the NG2 interface message, and according to local service policy information, a local IP address request of the UE, or a local service authorization indication. And obtaining, by the N3G-GW, the F-TEID of the UP function entity from the NG2 interface message, and storing the F-TEID of the UP function entity.
  • the local IP address of the UE may be allocated by the N3G-GW to the UE; or the local IP address of the UE may be requested by the N3G-GW to the dynamic host configuration protocol (DHCP) server.
  • DHCP dynamic host configuration protocol
  • the N3G-GW may store at least one of the local service policy information or the local service authorization indication; or If the NG2 interface message in the step S311b includes the local IP address request of the UE, the N3G-GW may generate a local service authorization indication according to the local IP address request of the UE and store the local service authorization indication, which is not specifically limited in this embodiment of the present application.
  • the N3G-GW sends an NG2 interface message to the CP function entity, so that the CP function entity receives the NG2 interface message.
  • the NG2 interface message carries the local IP address of the UE.
  • the NG2 interface message may be, for example, a connection setup request message, or an NG2 message or an NG2 AUTH request message or an uplink NAS transport request message, which is not specifically limited in this embodiment of the present application.
  • the NG2 AUTH request message sent by the N3G-GW to the CP function entity in FIG. 3 is taken as an example of the NG2 AUTH request message.
  • the NG2 AUTH request message may be replaced by a connection establishment request message or an NG2 message or an uplink NAS transmission request message or other NG2 interface message, which is uniformly described herein, and details are not described herein again.
  • the N3G-GW may allocate N3G to the N3G-GW based on the mobile service authorization indication or the F-TEID of the UP function entity.
  • the F-TEID of the GW, the F-TEID of the N3G-GW includes the IP address of the N3G-GW and the TEID of the N3G-GW.
  • the NG2 interface message in the step S313b may include the F-TEID of the N3G-GW.
  • the F-TEID of the N3G-GW is used to search for the user context, that is, the specific processing board (the board corresponding to the TEID) of the specific device (the device corresponding to the IP address) where the user context information is located.
  • the F-TEID of the N3G-GW may be the F-TEID of the device granularity, that is, the IP address of the N3G-GW is the IP address of the device granularity, and the TEID of the N3G-GW is the TEID of the device granularity; the N3G-GW
  • the F-TEID may also be the F-TEID of the session granularity, that is, the IP address of the N3G-GW is the IP address of the session granularity, and the TEID of the N3G-GW is the TEID of the session granularity, which is not specifically limited in this embodiment of the present application. .
  • the CP function entity sends a PDU session modification request message to the UP function entity, so that the UP function entity receives the PDU session update request message.
  • the PDU session update request message carries the F-TEID of the N3G-GW.
  • the F-TEID of the N3G-GW may be the F-TEID of the N3G-GW included in the NG2 interface message in the step S313b, or may be the F-TEID of the N3G-GW allocated by the CP function entity to the N3G-GW.
  • the application examples are not specifically limited thereto.
  • the UP function entity sends a PDU session modification response message to the CP function entity, so that the CP function entity receives the PDU session update response message.
  • the CP function entity sends an NG2 interface message to the N3G-GW, so that the N3G-GW receives the NG2 interface message.
  • the NG2 interface message encapsulates an attach response message.
  • the attach response message includes a local IP address of the UE and a local service indication bound to the local IP address of the UE, and an IP address of the UE and a mobile service indication bound to the IP address of the UE.
  • the local service indication may be, for example, a local service identity, which may be, for example, access point name (APN) information.
  • the embodiment of the present application does not specifically limit the binding form of the local IP address of the UE to the local service indication, and the binding form of the IP address of the UE and the mobile service indication, for example, two parameters may be defined in the attach response message.
  • One parameter is defined as the IP address of the mobile service, and one parameter is defined as the IP address of the local service; or, for example, Therefore, four parameters are defined in the attach response message, one parameter is defined as the local IP address of the UE, and one parameter is used to indicate that the local IP address of the UE is the IP address of the local service; one parameter is defined as the IP address of the UE, one The parameter is used to indicate that the IP address of the UE is an IP address of the mobile service.
  • the NG2 interface message in step S316b may be, for example, a connection establishment response message; if the NG2 interface message in step S313b is an NG2 message, NG2 in step S316b
  • the interface message may be, for example, an NG2 message; if the NG2 interface message in step S313b is an NG2 authentication (AUTH) request message, the NG2 interface message in step S316b may be, for example, an NG2AUTH response message; if the NG2 interface in step S313b
  • the message is an uplink NAS transmission request message, and the NG2 interface message in step S316b may be, for example, an uplink NAS transmission response message.
  • the N3G-GW obtains an attach response message from the NG2 interface message, and sends an attach response message to the UE, so that the UE receives the attach response message.
  • steps S314b-S315b and steps S316b-S317b there is no necessary sequence of execution between steps S314b-S315b and steps S316b-S317b in the embodiment of the present application, and steps S314b-S315b may be performed first, and then steps S316b-S317b may be performed; Steps S316b-S317b, and then steps S314b-S315b are performed; steps S314b-S315b and steps S316b-S317b are also performed at the same time, which is not specifically limited in this embodiment of the present application.
  • connection establishment process in the scenario where the service authorization indication includes the local service authorization indication and the mobile service authorization indication ends.
  • the method for establishing a connection between a mobile service and a local service is provided by the embodiment of the present application. Based on the solution, the problem that the connection establishment solution for other services except the mobile service is not currently implemented in the prior art can be solved, and the connection establishment of the local service is implemented. And the connection establishment of the mobile service.
  • S318b The UE sends a service data packet to the N3G-GW, so that the N3G-GW receives the service data packet.
  • the service data packet includes a source IP address.
  • the source IP address may be the IP address of the UE or the local IP address of the UE.
  • the service data packet may further include other information such as a destination IP address, a source port number, a destination port number, or a protocol type.
  • a destination IP address e.g., a IP address
  • a source port number e.g., a source port number
  • a destination port number e.g., a protocol type
  • the S319b and the N3G-GW parse the service data packet, obtain the source IP address, and determine the service data packet as the mobile service data packet or the local service data packet according to the source IP address.
  • the N3G-GW sends the service data packet to the UP function entity; or if the service data packet is the local service data packet, the N3G-GW uses the stored local service policy information to the local service data.
  • the packet performs policy control and sends a service packet to the local service server.
  • the local service and the mobile service can be simultaneously provided for the UE, and a reasonable split between the two can be realized.
  • the service authorization indication only includes the mobile service authorization indication
  • the connection establishment process may refer to the existing solution, and details are not repeatedly described herein.
  • connection establishment process when the service authorization indication includes the local service authorization indication and the mobile service authorization indication includes the connection establishment process when only the local service authorization indication is included in scenario A, and only the scenario C is included.
  • the connection establishment process at the time of the mobile service authorization indication is different from the connection establishment process when only the local service authorization indication is included and the existing connection establishment process including only the mobile service authorization indication.
  • the actions of the CP functional entities in the foregoing S304, S307, S308a, S311a, S308b, S309b, S311b, S314b, and S316b may be invoked by the processor 201 in the computer device 200 shown in FIG. 2 to call the application code stored in the memory 203.
  • the embodiment of the present application does not impose any limitation on this.
  • the actions of the N3G-GW in the foregoing S302, S303, S309a, S310a, S312a, S314a, S312b, S313b, S317b, and S319b may be invoked by the processor 201 in the computer device 200 shown in FIG. 2 to store the application stored in the memory 203.
  • the program code is executed, and the embodiment of the present application does not impose any limitation on this.
  • FIG. 4 it is a schematic flowchart of another connection method provided by an embodiment of the present application. The description is based on the case where the UE accesses the non-3GPP network in the 5G network architecture shown in FIG. 1 , and relates to interaction between the UE, the N3G-GW, the UP functional entity, the CP functional entity, and the database entity. Including the following steps:
  • the database entity determines, according to the subscription data of the UE, an access authorization and a service authorization of the UE, and obtains a service authorization indication.
  • the service authorization indication in the embodiment of the present application may be at least one of a local service authorization indication or a mobile service authorization indication, that is, may be a local service authorization indication, may be a mobile service authorization indication, or may be a local service.
  • the authorization indication and the mobile service authorization indication are not specifically limited in this embodiment of the present application.
  • the database entity sends an authentication response to the CP function entity, so that the CP function entity receives the authentication response.
  • the authentication response here may specifically be a subscription data response message; if the authentication request in step S404 is specifically an update location request (update location request)
  • the authentication response here may be an update location response message, which is not specifically limited in this embodiment of the present application.
  • the above message includes a service authorization indication.
  • the CP function entity After the CP function entity obtains the service authorization indication, the CP function entity performs the following processing according to the service authorization indication:
  • connection establishment process in the scenario where the service authorization indication includes only the local service authorization indication ends.
  • the embodiment of the present application provides a method for establishing a connection of a local service. Based on the solution, the problem of the connection establishment scheme for the service other than the mobile service in the prior art can be solved, and the connection establishment of the local service is implemented.
  • routing of local service data packets can be implemented.
  • Scenario B When the service authorization indication includes the local service authorization indication and the mobile service authorization indication, perform the following steps:
  • connection establishment process in the scenario where the service authorization indication includes the local service authorization indication and the mobile service authorization indication ends.
  • the method for establishing a connection between a mobile service and a local service is provided by the embodiment of the present application. Based on the solution, the problem that the connection establishment solution for other services except the mobile service is not currently implemented in the prior art can be solved, and the connection establishment of the local service is implemented. And the connection establishment of the mobile service.
  • the local service and the mobile service can be simultaneously provided for the UE, and a reasonable split between the two can be realized.
  • the service authorization indication only includes the mobile service authorization indication
  • the connection establishment process may refer to the existing solution, and details are not repeatedly described herein.
  • the actions of the CP functional entities in the above S404, S408a, S411a, S408b, S409b, S411b, S414b, and S416b may be performed by the processor 201 in the computer device 200 shown in FIG. 2 calling the application code stored in the memory 203.
  • the embodiment of the present application does not impose any limitation on this.
  • the actions of the N3G-GW in the above S402, S403, S409a, S410a, S412a, S414a, S412b, S413b, S417b, and S419b may be invoked by the processor 201 in the computer device 200 shown in FIG. 2 to store the application stored in the memory 203.
  • the program code is executed, and the embodiment of the present application does not impose any limitation on this.
  • the database entity determines the access authorization and service authorization of the UE based on the subscription data of the UE, and obtains a service authorization indication. Further, the database entity sends an authentication response to the CP function entity, so that the CP function entity receives the authentication response, where the authentication response carries the service authorization indication.
  • the authentication response sent by the database entity to the CP function entity carries the subscription data of the UE, and the CP function entity determines the access authorization and service authorization of the UE based on the subscription data of the UE, and obtains the service authorization. Instructions. This application does not specifically limit the manner in which the business authorization instructions are obtained.
  • FIG. 5 it is a schematic flowchart of another connection method provided by an embodiment of the present application. The description is based on the case where the UE accesses the non-3GPP network in the 5G network architecture shown in FIG. 1 , and relates to interaction between the UE, the N3G-GW, the UP functional entity, the CP functional entity, and the database entity. Including the following steps:
  • the CP function entity After the CP function entity obtains the service authorization indication, the CP function entity performs the following processing according to the service authorization indication:
  • connection establishment process in the scenario where the service authorization indication includes only the local service authorization indication ends.
  • the embodiment of the present application provides a method for establishing a connection of a local service. Based on the solution, the problem of the connection establishment scheme for the service other than the mobile service in the prior art can be solved, and the connection establishment of the local service is implemented.
  • routing of local service data packets can be implemented.
  • Scenario B When the service authorization indication includes the local service authorization indication and the mobile service authorization indication, perform the following steps:
  • the S508b-S515b is similar to the S308b-S315b except that the local IP address of the UE that the N3G-GW sends to the CP functional entity in the step S513a may not carry the local IP address of the UE, and may not carry the local IP address of the UE. This example does not specifically limit this.
  • the CP function entity sends an NG2 interface message to the N3G-GW, so that the N3G-GW receives the NG2 interface message.
  • the NG2 interface message encapsulates an attach response message.
  • the attachment response message includes the IP address of the UE.
  • the NG2 interface message in step S513b is a connection establishment request message
  • the NG2 interface message in step S516b may be, for example, a connection establishment response message; if the NG2 interface message in step S513b is an NG2 message, NG2 in step S516b.
  • the interface message may be, for example, an NG2 message; if the NG2 interface message in step S513b is an NG2 authentication (AUTH) request message, the NG2 interface message in step S516b may be, for example, an NG2AUTH response message; if the NG2 interface in step S513b
  • the message is an uplink NAS transmission request message, and the NG2 interface message in step S516b may be, for example, an uplink NAS transmission response message.
  • the N3G-GW obtains an attach response message from the NG2 interface message, and sends an attach response message to the UE, so that the UE receives the attach response message.
  • steps S514b-S515b and steps S516b-S517b there is no necessary execution sequence between steps S514b-S515b and steps S516b-S517b in the embodiment of the present application, and steps S514b-S515b may be performed first, and then steps S516b-S517b may be performed; Steps S516b-S517b, and then steps S514b-S515b are performed; steps S514b-S515b and steps S516b-S517b are also performed at the same time, which is not specifically limited in this embodiment of the present application.
  • connection establishment process in the scenario where the service authorization indication includes the local service authorization indication and the mobile service authorization indication ends.
  • the method for establishing a connection between a mobile service and a local service is provided by the embodiment of the present application. Based on the solution, the problem that the connection establishment solution for other services except the mobile service is not currently implemented in the prior art can be solved, and the connection establishment of the local service is implemented. And the connection establishment of the mobile service.
  • S518b The UE sends a service data packet to the N3G-GW, so that the N3G-GW receives the service data packet.
  • the service data packet includes at least one of an IP address of the UE, and a destination IP address, a destination port number, or a protocol type.
  • the S519b and the N3G-GW parse the service data packet, and obtain at least one of an IP address of the UE, and a destination IP address, a destination port number, or a protocol type. Further, the N3G-GW determines that the service data packet is a mobile service data packet or a local service data packet according to at least one of a destination IP address, a destination port number, or a protocol type, and at least one of local configuration information or local service policy information. .
  • the local configuration information is not specifically limited in the embodiment of the present application.
  • the local configuration information includes the correspondence between the service type (including the mobile service or the local service) and the service server IP address or the service port number, the protocol number, and the like.
  • the N3G-GW sends a service data packet to the UP function entity; or, if the service data packet is a local service data packet, the N3G-GW performs network address translation on the local service data packet (network The address translation, NAT) is converted and sent to the local server.
  • network The address translation, NAT network The address translation
  • the above NAT forwarding scheme includes the N3G-GW assigning each UE a different local IP address.
  • the N3G-GW replaces the source address of the local service data packet (in the embodiment of the present application, the source address of the local service data packet is the IP address of the UE) into the N3G.
  • the local IP address of the UE allocated by the GW, and the correspondence between the IP address of the UE and the local IP address of the UE is stored.
  • the N3G-GW replaces the destination address of the downlink service data packet with the original IP address of the destination UE. In this embodiment, the local IP address of the destination UE is replaced with the destination UE. IP address), and then send the downlink service data packet to the destination UE.
  • Another NAT conversion scheme is that the N3G-GW allocates the same local IP address to multiple UEs, but assigns a different port number to each UE.
  • the N3G-GW replaces the source address of the local service data packet (in the embodiment of the present application, the source address of the local service data packet is the IP address of the UE) into the N3G.
  • the local IP address of the UE allocated by the GW, the source port number is replaced with the unique port number allocated by the GW, and the correspondence between the IP address of the UE and the local IP address of the UE and the correspondence between the port numbers before and after the replacement are stored.
  • the N3G-GW After the N3G-GW receives the downlink service data packet, the N3G-GW replaces the destination address of the downlink service data packet with the original IP address of the destination UE according to the correspondence between the port numbers before and after the replacement (in the embodiment of the present application, the purpose is The local IP address of the UE is replaced with the IP address of the destination UE, and then the downlink service data packet is sent to the destination UE.
  • the local service and the mobile service can be simultaneously provided for the UE, and a reasonable split between the two can be realized.
  • the service authorization indication only includes the mobile service authorization indication
  • the connection establishment process may refer to the existing solution, and details are not repeatedly described herein.
  • the actions of the CP functional entities in the above S504, S507, S508a, S511a, S508b, S509b, S511b, S514b, and S516b may be invoked by the processor 201 in the computer device 200 shown in FIG. 2 to call the application code stored in the memory 203.
  • the embodiment of the present application does not impose any limitation on this.
  • the actions of the N3G-GW in the foregoing S502, S503, S509a, S510a, S512a, S514a, S512b, S513b, S517b, and S519b may be invoked by the processor 201 in the computer device 200 shown in FIG. 2 to call the application stored in the memory 203.
  • the program code is executed, and the embodiment of the present application does not impose any limitation on this.
  • connection establishment method in the scenario B of the embodiment shown in FIG. 5 and the process after the establishment of the service connection may also be referred to.
  • the embodiment shown in FIG. 5 refers to the embodiment shown in FIG. 5.
  • the difference from the scenario B of the embodiment shown in FIG. 3 or FIG. 4 is that, in the embodiment of the present application, whether the local service authorization or the mobile service authorization, the UE obtains the IP address of the UE, and the UE does not need to perceive the service type.
  • the service data packet is sent to the N3G-GW, the source IP address of the service data packet is the same, both are the IP addresses of the UE, and the N3G-GW distinguishes the mobile service from the local service based on the destination IP address, the port number, or the protocol type.
  • the data is offloaded, which simplifies the operation of the UE.
  • FIG. 6 a schematic flowchart of another connection method provided by an embodiment of the present application is shown. The description is based on the case where the UE accesses the non-3GPP network in the 5G network architecture shown in FIG. 1 , and relates to interaction between the UE, the N3G-GW, the UP functional entity, the CP functional entity, and the database entity. Including the following steps:
  • the CP function entity sends an NG2 interface message to the N3G-GW, so that the N3G-GW receives the NG2 interface message.
  • the NG2 interface message encapsulates an attach response message.
  • the NG2 interface message in step S608 may be, for example, a connection establishment response message; if the NG2 interface message in step S603 is an NG2 message, NG2 in step S608.
  • the interface message may be, for example, an NG2 message; if the NG2 interface message in step S603 is an NG2 AUTH request message, the NG2 interface message in step S608 may be, for example, an NG2 AUTH response message; if the NG2 interface message in step S603 is an uplink NAS transmission If the message is requested, the NG2 interface message in step S608 may be, for example, an uplink NAS transmission response message.
  • the N3G-GW obtains an attach response message from the NG2 interface message, and sends an attach response message to the UE, so that the UE receives the attach response message.
  • the UE After completing the attach procedure, the UE sends the NAS signaling to the CP function entity, so that the CP function entity receives the NAS signaling.
  • the NAS signaling may include, for example, a PDU session establishment request message, where the PDU session establishment request message includes a UE identifier, where the UE identifier is used by the UP function entity to identify the UE, and performs UE granular session management.
  • the PDU session establishment request message may further include a local service request indication, where the local service request indication is used to request the local service.
  • the CP function entity After the CP function entity receives the NAS signaling, the CP function entity performs the service authorization indication obtained according to the above steps. Processing as follows:
  • the S611a-S 615a is similar to the S308a-S 312a. The only difference is that the attachment response message is replaced with the NAS message, which is not described herein again.
  • connection establishment process in the scenario where the service authorization indication includes only the local service authorization indication ends.
  • the embodiment of the present application provides a method for establishing a connection of a local service. Based on the solution, the problem of the connection establishment scheme for the service other than the mobile service in the prior art can be solved, and the connection establishment of the local service is implemented.
  • the method may further include the following steps:
  • routing of local service data packets can be implemented.
  • Scenario B When the service authorization indication includes the local service authorization indication and the mobile service authorization indication, perform the following steps:
  • the S611b-S620b is similar to the S308b-S317b. The only difference is that the attachment response message is replaced with the NAS message, which is not described herein again.
  • connection establishment process in the scenario where the service authorization indication includes the local service authorization indication and the mobile service authorization indication ends.
  • the method for establishing a connection between a mobile service and a local service is provided by the embodiment of the present application. Based on the solution, the problem that the connection establishment solution for other services except the mobile service is not currently implemented in the prior art can be solved, and the connection establishment of the local service is implemented. And the connection establishment of the mobile service.
  • the method may further include the following steps:
  • the local service and the mobile service can be simultaneously provided for the UE, and a reasonable split between the two can be realized.
  • the service authorization indication only includes the mobile service authorization indication
  • the connection establishment process may refer to the existing solution, and details are not repeatedly described herein.
  • the actions of the CP functional entities in the above S604, S607, S608, S611a, S614a, S611b, S612b, S614b, S617b, and S619b may be invoked by the processor 201 in the computer device 200 shown in FIG. 2 to store the application stored in the memory 203.
  • the program code is executed, and the embodiment of the present application does not impose any limitation on this.
  • the actions of the N3G-GW in the foregoing S602, S603, S609, S612a, S613a, S615a, S617a, S615b, S616b, S620b, and S622b may be stored in the memory 203 by the processor 201 in the computer device 200 shown in FIG.
  • the application code is executed, and the embodiment of the present application does not impose any limitation on this.
  • connection establishment may be performed by referring to the connection establishment manner of the embodiment shown in FIG. 6.
  • the embodiment of the present application is not described herein again.
  • the CP function entity establishes a service connection for the UE, and after the UE is attached to the network, the NAS message sent by the UE triggers the connection establishment of the service.
  • the connection establishment of the service occurs in the process of the UE attaching to the network.
  • the solution provided by the embodiment of the present application is mainly introduced from the perspective of interaction between the network elements.
  • the foregoing CP functional entity and the N3G-GW include corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above functions.
  • CP functional entity and the N3G-GW include corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above functions.
  • Those skilled in the art will readily recognize that the embodiments disclosed herein are described in connection with the embodiments disclosed herein.
  • the elements and algorithm steps of the various examples described herein can be implemented in a combination of hardware or hardware and computer software. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
  • the embodiment of the present application may divide the function modules of the CP function entity and the N3G-GW according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 7 shows a possible structural diagram of the CP functional entity involved in the foregoing embodiment
  • the CP functional entity 700 includes: an obtaining module 701 and sending Module 702.
  • the obtaining module 701 is configured to acquire, when the UE accesses from the non-3GPP network, a service authorization indication of the UE, where the service authorization indication includes a local service authorization indication.
  • the obtaining module 701 is further configured to obtain a local IP address of the UE according to the local service authorization indication.
  • the sending module 702 is configured to send a local IP address of the UE to the UE.
  • the acquiring module 701 acquiring the local IP address of the UE, including: sending the local service authorization indication, the local IP address request of the UE, or the UE to the N3G-GW according to the local service authorization indication, or At least one of the local service policy information, the local service authorization indication, the local IP address request of the UE, or the local service policy information is used by the N3G-GW to obtain the local IP address of the UE; receiving the N3G- The local IP address of the UE sent by the GW.
  • the service authorization indication further includes a mobile service authorization indication.
  • the CP functional entity 700 further includes a selection module 704 and an establishment module 705.
  • the selecting module 704 is configured to select an UP function entity after the acquiring module acquires the service authorization indication of the UE.
  • the establishing module 705 is configured to establish, for the UE, a PDU connection between the N3G-GW and the UP functional entity.
  • the establishing module 705 establishes a PDU connection between the N3G-GW and the UP functional entity for the UE, including: acquiring an F-TEID of the UP functional entity, where the F-TEID of the UP functional entity includes the UP function.
  • the N3G-GW stores the F-TEID of the UP function entity, and obtains the F-TEID of the N3G-GW, where the F-TEID of the N3G-GW includes the IP address of the N3G-GW and the TEID of the N3G-GW;
  • the UP function entity sends a PDU session update request message, the PDU session update request message carries the F-TEID of the N3G-GW, the UP function entity stores the F-TEID of the N3G-GW, and receives the PDU session sent by the UP function entity. Update the response message.
  • IP address of the UE and the mobile service indication are bound.
  • the local IP address of the UE is bound to the local service indication.
  • the CP functional entity further includes a receiving module 706.
  • the receiving module 706 is configured to receive the subscription data of the UE sent by the database entity before the acquiring module 701 obtains the service authorization indication of the UE, where the subscription data of the UE is used for the access authorization and service authorization of the UE.
  • the acquiring module 701 is configured to obtain the service authorization indication of the UE, and includes: determining, according to the subscription data of the UE, an access authorization and a service authorization of the UE, and obtaining a service authorization indication of the UE.
  • the obtaining, by the obtaining module 701, the service authorization indication of the UE includes: receiving, by the database entity, a service authorization indication of the UE, where the service authorization indication of the UE is that the database entity determines the UE according to the subscription data of the UE. After the access authorization and the service authorization are obtained, the subscription data of the UE is used for the access authorization and service authorization of the UE.
  • the CP functional entity further includes a receiving module 706.
  • the receiving module 706 is configured to receive a current access type indication of the UE that is sent by the N3G-GW.
  • the CP functional entity further includes a receiving module 706.
  • the receiving module 706 is configured to receive the local service request indication sent by the UE before the obtaining module 701 obtains the service authorization indication of the UE.
  • the local service includes a fixed network service or a non-seamless WLAN offload service.
  • FIG. 8 shows a possible structural diagram of the CP functional entity involved in the above embodiment, and the CP functional entity 800 includes: a processing module 801 and a communication module 802. .
  • the processing module 801 can be used to perform the operations that can be performed by the obtaining module 701, the selecting module 704, and the establishing module 705 of FIG. 7.
  • the communications module 802 can be used to perform the processing performed by the receiving module 706 and the sending module 702 in FIG. For details, refer to the embodiment shown in FIG. 7 , and details are not described herein again.
  • the CP functional entity is presented in the form of dividing each functional module corresponding to each function, or the CP functional entity is presented in the form of dividing each functional module in an integrated manner.
  • a “module” herein may refer to an application-specific integrated circuit (ASIC), circuitry, a processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other functions that provide the functionality described above. Device.
  • ASIC application-specific integrated circuit
  • the CP functional entity 700 or the CP functional entity 800 can take the form shown in FIG.
  • the obtaining module 701, the selecting module 704, the establishing module 705, the receiving module 706, and the sending module 702 in FIG. 7 can be implemented by the processor 201 and the memory 203 of FIG.
  • the selection module 704, the establishing module 705, and the receiving module 706 can be executed by the processor 201 to call the application code stored in the memory 203, which is not limited in this embodiment.
  • the processing module 801 and the communication module 802 in FIG. 8 may be implemented by the processor 201 and the memory 203 of FIG. 2.
  • the processing module 801 and the communication module 802 may be called by the processor 201 in the memory 203.
  • the stored application code is executed, and the embodiment of the present application does not impose any limitation on this.
  • the embodiment of the present application further provides a computer storage medium for storing computer software instructions used by the CP functional entity, which includes a program designed to execute the foregoing method embodiments. By executing the stored program, the connection establishment of the service can be realized.
  • FIG. 9 shows the above embodiment.
  • the N3G-GW 900 includes: a receiving module 901, an obtaining module 902, and a sending module 903.
  • the receiving module 901 is configured to: when the UE accesses from the non-3GPP network, receive the local service authorization indication of the UE sent by the CP function entity, the local network protocol IP address request of the UE, or the local service policy information. at least one.
  • the obtaining module 902 is configured to obtain a local IP address of the UE according to at least one of a local service authorization indication of the UE, a local IP address request of the UE, or the local service policy information.
  • the sending module 903 is configured to send the local IP address of the UE to the CP function entity.
  • the receiving module 901 is further configured to: after the sending module 903 sends the local IP address of the UE to the CP function entity, receive the local IP address of the UE sent by the CP function entity, and bind to the local IP address of the UE.
  • the sending module is further configured to send, by the UE, a local IP address of the UE and a local service indication bound to the local IP address of the UE, and an IP address of the UE and a mobile service indication bound to an IP address of the UE.
  • the N3G-GW 900 further includes a determining module 904.
  • the receiving module 901 is further configured to receive a service data packet sent by the UE, where the service data packet includes a source IP address.
  • the determining module 904 is configured to determine, according to the source IP address, the service data packet as a mobile service data packet or a local service data packet.
  • the sending module 903 is configured to send the service data packet to the UP function entity if the service data packet is a mobile service data packet, or send the service data packet to the local service server if the service data packet is a local service data packet. .
  • the receiving module 901 is further configured to: after the sending module 903 sends the local IP address of the UE to the CP function entity, receive the IP address of the UE sent by the CP function entity; the sending module 903 is further configured to: The IP address of the UE is sent to the UE.
  • the N3G-GW 900 further includes a determining module 904 and a replacement module 905.
  • the receiving module 901 is configured to receive a service data packet sent by the UE, where the service data packet includes an IP address of the UE, and at least one of a destination IP address, a destination port number, or a protocol type.
  • the determining module 904 is configured to determine, according to at least one of the destination IP address, the destination port number, or the protocol type, and the local configuration information or the local service policy information, the service data packet is mobile service data. Package or local business data package.
  • the sending module 903 is configured to: if the service data packet is a mobile service data packet, send the service data packet to the UP function entity; or, if the service data packet is a local service data packet, the replacement module 905 replaces the IP address of the UE After being the local IP address of the UE, the sending module 903 sends the service data packet to the local service server.
  • the storage module 906 is configured to store a correspondence between an IP address of the UE and a local IP address of the UE.
  • the receiving module 901 is further configured to receive a downlink service data packet, where the downlink service data packet includes a local IP address of the target UE.
  • the replacement module 905 is further configured to replace the local IP address of the destination UE with the IP address of the destination UE.
  • the sending module 903 is further configured to send the downlink service data packet to the destination UE.
  • FIG. 10 is a schematic diagram showing a possible structure of the N3G-GW involved in the foregoing embodiment, where the N3G-GW 1000 includes: a processing module 1001, a communication module 1002, and The storage module 1003.
  • the processing module 1001 can be used to perform the operations that can be performed by the obtaining module 902, the determining module 904, and the replacing module 905 in FIG. 9.
  • the communication module 1002 can be used to perform the processing performed by the receiving module 901 and the sending module 903 in FIG.
  • the storage module 1003 can be used to perform the operations that can be performed by the storage module 906 in FIG. 9.
  • FIG. 10 is a schematic diagram showing a possible structure of the N3G-GW involved in the foregoing embodiment, where the N3G-GW 1000 includes: a processing module 1001, a communication module 1002, and The storage module 1003.
  • the processing module 1001 can be used to perform the operations that can be performed by the obtaining module 902, the determining module 904, and the replacing module 905 in FIG. 9.
  • the N3G-GW is presented in the form of dividing each functional module corresponding to each function, or the N3G-GW is presented in a form that divides each functional module in an integrated manner.
  • a “module” herein may refer to an application-specific integrated circuit (ASIC), circuitry, a processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other functions that provide the functionality described above. Device.
  • ASIC application-specific integrated circuit
  • the N3G-GW 900 or N3G-GW 1000 may take the form shown in FIG.
  • the processing module 1001, the communication module 1002, and the storage module 1003 in FIG. 10 may be implemented by the processor 201 and the memory 203 of FIG. 2.
  • the processing module 1001, the communication module 1002, and the storage module 1003 may pass
  • the processor 201 is configured to execute the application code stored in the memory 203, and the embodiment of the present application does not impose any limitation thereon.
  • the embodiment of the present application further provides a computer storage medium for storing computer software instructions used by the N3G-GW, which includes a program designed to execute the foregoing method embodiments. By executing the stored program, the connection establishment of the service can be realized.
  • the embodiment of the present application further provides a computer program, which includes instructions, when the computer program is executed by a computer, to enable the computer to execute the flow of the foregoing method embodiment.
  • embodiments of the present application can be provided as a method, apparatus (device), or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program is stored/distributed in a suitable medium, provided with other hardware or as part of the hardware, or in other distributed forms, such as over the Internet or other wired or wireless telecommunication systems.
  • These computer program instructions can also be stored in a specific manner capable of booting a computer or other programmable data processing device Working in a computer readable memory, causing instructions stored in the computer readable memory to produce an article of manufacture comprising instruction means implemented in a block or a flow of a flow or a flow and/or block diagram of the flowchart The function specified in the box.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

本申请实施例提供连接建立方法、设备及***,以至少解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题。方法包括:当用户设备UE从非-第三代合作伙伴计划non-3GPP网络接入的情况下,控制面CP功能实体获取该UE的业务授权指示,该业务授权指示包括本地业务授权指示;该CP功能实体根据该本地业务授权指示,获取该UE的本地网络协议IP地址;该CP功能实体向该UE发送该UE的本地IP地址。本申请适用于通信技术领域。

Description

连接建立方法、设备及***
本申请要求于2016年11月21日提交中国专利局、申请号为201611041130.5、发明名称为“连接建立方法、设备及***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及连接建立方法、设备及***。
背景技术
为了应对无线宽带技术的挑战,保持第三代合作伙伴计划(3rd generation partnership project,3GPP)网络的领先优势,3GPP标准组在2016年底制定了下一代移动通信***(next generation system)网络架构,称为第五代(5rd generation,5G)网络架构。该架构不但支持3GPP标准组定义的无线技术接入5G核心网络(5G core network),而且支持非3GPP(non-3GPP)接入技术接入5G核心网络。其中5G核心网络的核心网功能分为用户面(user plane,UP)功能与控制面(control plane,CP)功能。UP功能实体主要负责分组数据包的转发、服务质量(quality of service,QoS)控制、计费信息统计等;CP功能实体主要负责向UP下发数据包转发策略、QoS控制策略等。
目前,现有技术中,当UE从3GPP接入技术或者non-3GPP接入技术接入5G核心网时,建立的连接都是针对移动业务的连接,并没有针对其他业务的连接建立方案。
发明内容
本申请实施例提供连接建立方法、设备及***,以至少解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题。
为达到上述目的,本申请实施例提供如下技术方案:
第一方面,本申请实施例提供一种连接建立方法,包括:当用户设备UE从非-第三代合作伙伴计划non-3GPP网络接入的情况下,控制面CP功能实体获取该UE的业务授权指示,该业务授权指示包括本地业务授权指示;该CP功能实体根据该本地业务授权指示,获取该UE的本地网络协议IP地址;该CP功能实体向该UE发送该UE的本地IP地址。基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立。
在一种可能的设计中,该CP功能实体根据该本地业务授权指示,获取该UE的本地网络协议IP地址,包括:该CP功能实体根据该本地业务授权指示,向non-3GPP接入网关N3G-GW发送该本地业务授权指示、该UE的本地IP地址请求、或者本地业务策略信息中的至少一个,该本地业务授权指示、该UE的本地IP地址请求、或者本地业务策略信息中的至少一个用于该N3G-GW获取该UE的本地IP地址;该CP功能实体接收该N3G-GW发送的该UE的 本地IP地址。即,本申请实施例中,CP功能实体可以显示指示N3G-GW为UE分配本地IP地址,比如向N3G-GW发送本地业务授权指示或者UE的本地IP地址请求;也可以隐式指示N3G-GW为UE分配本地IP地址,比如向N3G-GW发送本地业务策略信息,本申请实施例对此不作具体限定。
示例性的,本地业务策略信息可以包括本地分流策略、本地业务计费策略、或者本地业务QoS策略中的至少一个。其中,本地业务计费策略可以包括基于时长的计费统计信息上报策略、或者基于流量的阈值类统计信息上报策略;本地业务QoS策略可以包括本地业务最大比特率MBR信息、或者本地业务保障比特率GBR信息。
在一种可能的设计中,该业务授权指示还包括移动业务授权指示;在该CP功能实体获取该UE的业务授权指示之后,还包括:该CP功能实体选择UP功能实体,并为该UE建立该N3G-GW和该UP功能实体之间的分组数据单元PDU连接。即,本申请实施例不仅可以实现本地业务的连接建立,还可以同时实现移动业务的连接建立。
在一种可能的设计中,该CP功能实体为该UE建立该N3G-GW和该UP功能实体之间的PDU连接,包括:该CP功能实体获取该UP功能实体的全量隧道端点标识F-TEID,该UP功能实体的F-TEID包括该UP功能实体的IP地址和该UP功能实体的隧道端点标识TEID;该CP功能实体获取该UE的IP地址;该CP功能实体向该UE发送该UE的IP地址;以及,该CP功能实体向该N3G-GW发送该UP功能实体的F-TEID,由该N3G-GW存储该UP功能实体的F-TEID;该CP功能实体获取该N3G-GW的F-TEID,该N3G-GW的F-TEID包括该N3G-GW的IP地址和该N3G-GW的TEID;该CP功能实体向该UP功能实体发送PDU会话更新请求消息,该PDU会话更新请求消息携带该N3G-GW的F-TEID,由该UP功能实体存储该N3G-GW的F-TEID;该CP功能实体接收该UP功能实体发送的PDU会话更新响应消息。
在一种可能的设计中,该UE的IP地址和移动业务指示绑定。
在一种可能的设计中,该UE的本地IP地址和本地业务指示绑定。
本申请实施例不对UE的本地IP地址与本地业务指示的绑定形式、以及UE的IP地址与移动业务指示的绑定形式做具体限定,例如可以是:在附着响应消息中定义2个参数,一个参数定义为移动业务的IP地址,一个参数定义为本地业务的IP地址;或者,例如可以是:在附着响应消息中定义4个参数,一个参数定义为UE的本地IP地址,一个参数用于指示UE的本地IP地址为本地业务的IP地址;一个参数定义为UE的IP地址,一个参数用于指示UE的IP地址为移动业务的IP地址。
在一种可能的设计中,在该CP功能实体获取该UE的业务授权指示之前,还包括:该CP功能实体接收数据库实体发送的该UE的签约数据,该UE的签约数据用于该UE的接入授权和业务授权;该CP功能实体获取该UE的业务授权指示,包括:该CP功能实体根据该UE的签约数据,确定该UE的接入授权和业务授权,获得该UE的业务授权指示。即,本申请实施例中,可以由CP功能实体根据UE的签约数据来获得该UE的业务授权指示。
在一种可能的设计中,该CP功能实体获取该UE的业务授权指示,包括:该CP功能实体接收数据库实体发送的该UE的业务授权指示,该UE的业务授权指示为该数据库实体根据该UE的签约数据,确定该UE的接入授权和业务授权后获得的,该UE的签约数据用于该UE的接入授权和业务授权。即,本申请实施例中,可以由数据库实体根据UE的签约数据来获得该UE的业务授权指示,进而将该UE的业务授权指示发送给CP功能实体。
在一种可能的设计中,该UE的签约数据用于该UE的接入授权和业务授权,包括:该签约数据中包括网络接入模式参数,其中,若该网络接入模式参数设置为分组交换域、或者若该网络接入模式参数设置为分组交换域或者语音服务域、或者存在non-3GPP签约数据时,则表示允许该UE从当前接入的网络接入核心网,并允许该UE使用移动业务和本地业务。
在一种可能的设计中,该UE的签约数据用于该UE的接入授权和业务授权,包括:该签约数据中包括网络接入模式参数,其中,若该网络接入模式参数设置为分组交换域、或者若该网络接入模式参数设置为分组交换域或者语音服务域、或者存在non-3GPP签约数据时,则表示允许该UE从当前接入的网络接入核心网,并允许该UE使用移动业务;若该签约数据中还包括本地业务授权指示,则表示还允许该UE使用本地业务;或者,若该签约数据中不包括本地业务非授权指示,则表示还允许该UE使用本地业务。
在一种可能的设计中,该方法还包括:该CP功能实体接收该N3G-GW发送的该UE的当前接入类型指示;该UE的签约数据用于该UE的接入授权和业务授权,包括:该签约数据中包括接入类型指示,当该接入类型指示中包括该当前接入类型指示时,则表示允许该UE从当前接入的网络接入核心网,并允许该UE使用移动业务和本地业务;或者,该签约数据中包括接入类型指示,当该接入类型指示中包括该当前接入类型指示时,则表示允许该UE从当前接入的网络接入核心网,并允许该UE使用移动业务,若该签约数据中还包括本地业务授权指示,则表示还允许该UE使用本地业务;或者,若该签约数据中不包括本地业务非授权指示,则表示还允许该UE使用本地业务。
在一种可能的设计中,该当前接入类型指示通过定义接入类型参数、或者定义传输类型参数、或者定义接入模式参数来实现,其中,该接入类型参数或者该传输类型参数的参数值可设置为non-3GPP接入、无线保真WiFi接入、本地接入、本地家庭接入、本地企业接入、或者本地公共接入;该接入模式参数的参数值可设置为本地开放模式、本地闭合模式、或者本地混合模式。
在一种可能的设计中,在该CP功能实体获取该UE的业务授权指示之前,还包括:该CP功能实体接收该UE发送的本地业务请求指示。这样,在业务授权和接入授权之后,CP功能实体可以基于该本地业务请求指示向N3G-GW发送本地业务策略信息或者其他信息。也就是说,CP功能实体只有在接收到本地业务请求指示之后,才向N3G-GW发送本地业务策略信息或者其他信息。相对于在业务授权和接入授权之后,无论UE是否需要本地业务策略信息或者其他信息,CP功能实体均可以直接向N3G-GW发送业务策略信息或者其他信息的场景,可以节省CP功能实体与N3G-GW之间的传输资源。
在一种可能的设计中,本申请实施例中的本地业务包括固网业务或者非无缝无线局域网WLAN分流业务。
第二方面,本申请实施例提供一种CP功能实体,该CP功能实体具有实现上述方法实施例中CP功能实体行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第三方面,本申请实施例提供一种CP功能实体,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当该CP功能实体运行时,该处理器执行该存储器存储的该计算机执行指令,以使该CP功能实体执 行如上述第一方面任意一项的连接建立方法。
第四方面,本申请实施例提供了一种计算机存储介质,用于储存为上述CP功能实体所用的计算机软件指令,其包含用于执行上述方面为CP功能实体所设计的程序。
第五方面,本申请实施例提供了一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行上述第一方面中任意一项的连接建立方法中的流程。
另外,第二方面至第五方面中任一种设计方式所带来的技术效果可参见第一方面中不同设计方式所带来的技术效果,此处不再赘述。
第六方面,本申请实施例提供一种连接建立方法,包括:当用户设备UE从非-第三代合作伙伴计划non-3GPP网络接入的情况下,non-3GPP接入网关N3G-GW接收控制面CP功能实体发送的该UE的本地业务授权指示、该UE的本地网络协议IP地址请求、或者本地业务策略信息中的至少一个;该N3G-GW根据该UE的本地业务授权指示、该UE的本地IP地址请求、或者该本地业务策略信息中的至少一个,获取该UE的本地IP地址;该N3G-GW向该CP功能实体发送该UE的本地IP地址。基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立。
在一种可能的设计中,在该N3G-GW向该CP功能实体发送该UE的本地IP地址之后,还包括:该N3G-GW接收该CP功能实体发送的该UE的本地IP地址和与该UE的本地IP地址绑定的本地业务指示,以及该UE的IP地址和与该UE的IP地址绑定的移动业务指示;该N3G-GW向该UE发送该UE的本地IP地址和与该UE的本地IP地址绑定的本地业务指示,以及该UE的IP地址和与该UE的IP地址绑定的移动业务指示。
在一种可能的设计中,该方法还包括:该N3G-GW接收该UE发送的业务数据包,该业务数据包包括源IP地址;该N3G-GW根据该源IP地址确定该业务数据包为移动业务数据包或者本地业务数据包;若该业务数据包为移动业务数据包,该N3G-GW向用户面UP功能实体发送该业务数据包;或者,若该业务数据包为本地业务数据包,该N3G-GW向本地业务服务器发送该业务数据包。通过该方案,可以为UE同时提供本地业务与移动业务,并实现两者的合理分流。
在一种可能的设计中,在该N3G-GW向该CP功能实体发送该UE的本地IP地址之后,还包括:该N3G-GW接收该CP功能实体发送的该UE的IP地址;该N3G-GW向该UE发送该UE的IP地址。
在一种可能的设计中,该方法还包括:该N3G-GW接收该UE发送的业务数据包,该业务数据包包括该UE的IP地址,以及目的IP地址、目的端口号、或者协议类型中的至少一个;该N3G-GW根据该目的IP地址、该目的端口号、或者该协议类型中的至少一个,以及本地配置信息或者该本地业务策略信息中的至少一个,确定该业务数据包为移动业务数据包或者本地业务数据包;若该业务数据包为移动业务数据包,该N3G-GW向用户面UP功能实体发送该业务数据包;或者,若该业务数据包为本地业务数据包,该N3G-GW将该UE的IP地址替换为该UE的本地IP地址之后,向本地业务服务器发送该业务数据包;以及,该N3G-GW存储该UE的IP地址与该UE的本地IP地址的对应关系。通过该方案,可以为UE同时提供本地业务与移动业务,并实现两者的合理分流。同时,由于本申请实施例中,无论是本地业务授权还是移动业务授权,UE获到的均是UE的IP地址,UE无需感知业务类型, 在向N3G-GW发送业务数据包时,业务数据包的源IP地址相同,均是UE的IP地址,由N3G-GW基于目的IP地址、端口号、或协议类型等区分移动业务与本地业务,实现数据分流,从而简化了UE的操作。
在一种可能的设计中,该方法还包括:该N3G-GW接收下行业务数据包,该下行业务数据包包括目的UE的本地IP地址;该N3G-GW将该目的UE的本地IP地址替换成该目的UE的IP地址之后,向该目的UE发送该下行业务数据包。
第七方面,本申请实施例提供一种非-第三代合作伙伴计划non-3GPP接入网关N3G-GW,该N3G-GW具有实现上述方法实施例中N3G-GW行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第八方面,本申请实施例提供一种非-第三代合作伙伴计划non-3GPP接入网关N3G-GW,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当该N3G-GW运行时,该处理器执行该存储器存储的该计算机执行指令,以使该N3G-GW执行如上述第六方面任意一项的连接建立方法。
第九方面,本申请实施例提供了一种计算机存储介质,用于储存为上述非-第三代合作伙伴计划non-3GPP接入网关N3G-GW所用的计算机软件指令,其包含用于执行上述方面为N3G-GW所设计的程序。
第十方面,本申请实施例提供了一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行上述第六方面中任意一项的连接建立方法中的流程。
另外,第七方面至第十方面中任一种设计方式所带来的技术效果可参见第六方面中不同设计方式所带来的技术效果,此处不再赘述。
第十一方面,本申请实施例提供一种业务建立***,该业务建立***包括控制面CP功能实体和数据库实体;其中,当用户设备UE从非-第三代合作伙伴计划non-3GPP网络接入的情况下,该数据库实体获取UE的签约数据,根据该UE的签约数据,确定该UE的接入授权和业务授权,获得该UE的业务授权指示之后,向CP功能实体发送该UE的业务授权指示,其中,该业务授权指示包括本地业务授权指示;该CP功能实体接收数据库实体发送的该UE的业务授权指示,并根据本地业务授权指示,获取UE的本地网络协议IP地址,并向UE发送该UE的IP地址。基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立。
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。
附图说明
图1为本申请实施例提供的5G网络架构示意图;
图2为本申请实施例提供的计算机设备示意图;
图3为本申请实施例提供的连接建立方法的交互示意图一;
图4为本申请实施例提供的连接建立方法的交互示意图二;
图5为本申请实施例提供的连接建立方法的交互示意图三;
图6为本申请实施例提供的连接建立方法的交互示意图四;
图7为本申请实施例提供的CP功能实体的结构示意图一;
图8为本申请实施例提供的CP功能实体的结构示意图二;
图9为本申请实施例提供的N3G-GW的结构示意图一;
图10为本申请实施例提供的N3G-GW的结构示意图二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。
如图1所示,为本申请实施例提供的5G网络架构。该架构不但支持3GPP标准组定义的无线技术接入5G核心网络,而且支持non-3GPP接入技术接入5G核心网络。
其中,如图1所示,UE从3GPP网络接入时,通过无线接入网络(radio access network,RAN)接入点接入5G核心网络。其中,RAN接入点通过下一代网络接口(next generation,NG)2与5G核心网络的CP功能实体通信,通过NG3与5G核心网络的UP功能实体通信;UE从non-3GPP网络接入时,通过non-3GPP接入网关(non-3GPP gateway,N3G-GW)接入5G核心网络。N3G-GW包括N3G-GW控制面(N3G-GW-C)和N3G-GW用户面(N3G-GW-U),N3G-GW-C通过NG2与5G核心网络的CP功能实体通信,N3G-GW-U通过NG3与5G核心网络的UP功能实体通信。
另外,上述的CP功能实体通过NG5与5G核心网络的应用功能(application function,AF)实体通信,通过NG4向UP功能实体下发数据包转发策略、QoS控制策略等;上述的UP功能实体通过NG6与5G核心网络的数据网络(data network,DN)实体通信,负责分组数据包的转发、QoS控制、计费信息统计等。
虽然未示出,上述的5G网络架构中还可以包括数据库实体,该数据库实体用于支持处理或调用会话的网络协议(internet protocol,IP)多媒体子***(IP multimedia subsystem,IMS)网络实体的主要用户数据库。它包括用户配置文件,执行用户的身份验证和授权,并可提供有关用户物理位置的信息,类似于全球移动通信***(global system for mobile communication,GSM)归属位置寄存器(home location register)。数据库实体所提供的功能包括IP多媒体功能、或分组交换(packet switched,PS)域必需的归属位置寄存器(home location register,HLR)功能,和/或语音服务(call Service,CS)域必需的HLR功能。数据库实体可处理的信息包括如下信息中的一种或多种:用户识别、编号和地址信息;用户安全信息,即针对鉴权和授权的网络接入控制信息;用户定位信息,即数据库实体支持用户登记、存储位置信息;用户清单信息等。本申请实施例中,数据库实体主要用于UE从non-3GPP网络接入的情况下,提供UE的签约数据,以用于CP功能实体或该数据库实体根据该签约数据确定UE的接入授权和业务授权。
当然,上述的5G网络架构中还可能包括其他模块或者网络实体,本申请实施例对此不作具体限定。
需要说明的是,本申请所涉及到的UE可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式 的UE,移动台(Mobile station,MS),终端(terminal),终端设备(Terminal Equipment),软终端等等。为方便描述,本申请中,上面提到的设备统称为用户设备或UE。
需要说明的是,上述的N3G-GW、数据库实体、CP功能实体和UP功能实体仅是一个名字,名字本身对设备不构成限定。例如,该N3G-GW还有可能被替换为下一代分组数据网关(next generation packet data gateway,NG-PDG)或者non-3GPP交互功能(non-3GPP interworking function,N3IWF)实体;该数据库实体还有可能被替换为用户归属服务器(home subscriber server,HSS)或者用户签约数据库(user subscription database,USD);该CP功能实体还有可能被替换为CP功能,该UP功能实体还有可能被替换为UP功能;或者,该CP功能实体还有可能被替换为CP,该UP功能实体还有可能被替换为UP,等等,在此进行统一说明,以下不再赘述。
需要说明的是,上述的non-3GPP接入也可以定义为非下一代无线接入网络(non–next Gen RAN)接入技术,即next Gen RAN之外的接入,本申请实施例对名字本身不作具体限定,在此进行统一说明,以下不再赘述。
另外,上述5G网络架构中的任意一种功能节点或网元,例如CP功能实体或者UP功能实体,可能由一个实体设备实现,也可能由多个实体设备共同实现;上述5G网络架构中的多个功能节点或网元,例如CP功能实体和UP功能实体可能分别由不同的实体设备实现,也可能都由同一个实体设备实现,本申请实施例对此不作具体限定。即,可以理解的是,上述5G网络架构中的任意一种功能节点或者网元,例如CP功能实体或者UP功能实体,都可能是实体设备内的一个逻辑功能模块,也可能是由多个实体设备组成的一个逻辑功能模块,本申请实施例对此不作具体限定。
例如,如图2所示,图1中的CP功能实体和N3G-GW可以通过图2中的计算机设备(或***)来实现。
图2所示为本申请实施例提供的计算机设备示意图。计算机设备200包括至少一个处理器201,通信总线202,存储器203以及至少一个通信接口204。
处理器201可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。
通信总线202可包括一通路,在上述组件之间传送信息。
通信接口204,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。
存储器203可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。
其中,存储器203用于存储执行本申请方案的应用程序代码,并由处理器201来控制执行。处理器201用于执行存储器203中存储的应用程序代码,从而实现本申请的连接建立。
在具体实现中,作为一种实施例,处理器201可以包括一个或多个CPU,例如图2中的CPU0和CPU1。
在具体实现中,作为一种实施例,计算机设备200可以包括多个处理器,例如图2中的处理器201和处理器208。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
在具体实现中,作为一种实施例,计算机设备200还可以包括输出设备205和输入设备206。输出设备205和处理器201通信,可以以多种方式来显示信息。例如,输出设备205可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备206和处理器201通信,可以以多种方式接受用户的输入。例如,输入设备206可以是鼠标、键盘、触摸屏设备或传感设备等。
上述的计算机设备200可以是一个通用计算机设备或者是一个专用计算机设备。在具体实现中,计算机设备200可以是台式机、便携式电脑、网络服务器、掌上电脑(personal digital assistant,PDA)、移动手机、平板电脑、无线终端设备、通信设备、嵌入式设备或有图2中类似结构的设备。本申请实施例不限定计算机设备200的类型。
如图3所示,为本申请实施例提供的连接方法流程示意图。是以UE从图1所示的5G网络架构中的non-3GPP网络接入的情况为例进行说明,涉及到UE、N3G-GW、UP功能实体、CP功能实体和数据库实体之间的交互,包括如下步骤:
S301、UE与non-3GPP接入点建立连接,通过non-3GPP接入点向N3G-GW发送附着请求(attach request)消息或鉴权请求消息(如扩展的鉴权协议(extensible authentication protocol,EAP)消息),以使得N3G-GW接收该附着请求(attach request)消息或鉴权请求消息。
其中,N3G接入点例如可以是无线保真(wireless-fidelity,WiFi)接入点(Access Point,AP)或WiFi接入控制器(Access Control,AC)。
其中,上述附着请求消息或鉴权请求消息中包括UE标识,该UE标识为UE接入网络时的身份标识,即UE的网络接入标识(network access identifier,NAI)。具体的,该UE标识包括UE临时标识或者UE永久标识,比如UE永久标识可以为国际移动用户识别码(international mobile subscriber identification number,IMSI)。
可选的,该附着请求消息或鉴权请求消息中还可以包括本地业务请求指示,该本地业务请求指示用于请求本地业务。这样,在业务授权和接入授权之后,CP功能实体可以基于该本地业务请求指示向N3G-GW发送本地业务策略信息或者其他信息。也就是说,CP功能实体只有在接收到本地业务请求指示之后,才向N3G-GW发送本地业务策略信息或者其他信息。相对于在业务授权和接入授权之后,无论UE是否需要本地业务策略信息或者其他信息,CP功能实体均可以直接向N3G-GW发送业务策略信息或者其他信息的场景,可以节省CP功能实体与N3G-GW之间的传输资源。
其中,本申请实施例中的本地业务包括但不限于固网业务或者非无缝(non-seamless)WLAN分流业务。本领域普通技术人员可以理解的是,本申请实施例中,当本地业务具体为固网业务时,下述的“本地”可以替换为“固网”,例如当本地业务具体为固网业务时,下述的本地接入实际上是固网接入,下述的本地家庭接入实际上是固网家庭接入,等等;当本地业务具体为非无缝WLAN分流业务(non-seamless WLAN offload)时,下述的“本地”可以替换为“非无缝WLAN分流(non-seamless WLAN offload)”,例如当本地业务具体为非无缝WLAN分流业务时,下述的本地接入实际上是非无缝WLAN分流业务接入,下述的本地家庭接入实际上是非无缝WLAN分流业务家庭接入,等等,在此进行统一说明,以下不再赘述。
需要说明的是,上述的本地业务也可以定义为非无缝(non-seamless)业务,本申请实施例对名字本身不作具体限定,在此进行统一说明,以下不再赘述。
本申请实施例中的下述步骤将以UE向N3G-GW发送的消息为附着请求消息为例进行说明。其中,该附着请求消息可以替换为鉴权请求消息,比如EAP消息,在此进行统一说明,以下不再赘述。
S302、N3G-GW识别UE的接入标识,并根据该接入标识生成UE的当前接入类型指示。
具体的,N3G-GW中的N3G-GW-U识别UE的接入标识,该接入标识例如可以是接入点标识或线路标识(circuit ID)。此外,N3G-GW-U还识别附着请求消息,并将附着请求消息以及UE的接入标识发送给N3G-GW-C。N3G-GW-C接收到N3G-GW-U发送的附着请求消息以及接入标识,基于该接入标识生成相应的接入类型指示。
其中,本申请实施例不对N3G-GW-C如何生成接入类型指示的方案做具体限定,可能的实现方式例如可以是N3G-GW中配置了接入标识与接入类型指示的对应关系,N3G-GW-C基于接入标识以及该对应关系生成相应的接入类型指示。
具体的,接入类型指示的实现方案包括但不限于如下几种定义方式:
方案一,接入类型指示通过定义接入类型参数、或者定义传输类型参数来实现。其中,接入类型参数或者传输类型参数的参数值可设置为non-3GPP接入、WiFi接入、本地接入、本地家庭接入、本地企业接入、或者本地公共接入。
方案二,接入类型指示通过定义接入模式参数来实现。其中,接入模式参数的参数值可设置为本地开放模式、本地闭合模式、或者本地混合模式。
S303、N3G-GW向CP功能实体发送NG2接口消息,以使得CP功能实体接收该NG2接口消息。
其中,该NG2接口消息携带UE发送的附着请求消息以及步骤S302中获得的UE的当前接入类型指示。
该NG2接口消息例如可以是连接建立请求消息、或者NG2消息或者NG2鉴权(authentication,AUTH)请求消息或上行非接入层(non-access stratum,NAS)传输(uplink NAS transport)请求消息等,本申请实施例对此不作具体限定。
其中,图3中以N3G-GW向CP功能实体发送的NG2接口消息为NG2 AUTH请求消息为例进行说明。其中,该NG2 AUTH请求消息可以替换为连接建立请求消息或者NG2消息或者上行NAS传输请求消息或者其他NG2接口消息,在此进行统一说明,以下不再赘述。
S304、CP功能实体向数据库实体发送鉴权请求,以使得数据库实体接收该鉴权请求。
其中,该鉴权请求具体可以是签约数据获取消息,或更新位置请求(update location request)消息,本申请实施例对此不作具体限定。上述消息中包括UE永久标识。该UE永久标识可能是通过步骤S301中的附着请求消息携带过来的,也可能是根据步骤S301中的附着请求消息携带过来的UE临时标识获取的,本申请实施例对此不作具体限定。可选的,上述消息中也可能携带接入类型指示,本申请实施例对此不作具体限定。
S305、数据库实体根据UE永久标识获取UE的签约数据,该签约数据用于UE的接入授权和业务授权。
其中,一种可能的实现方式中,签约数据用于UE的接入授权和业务授权,具体可以包括:
签约数据中包括网络接入模式(network access mode)参数,其中,若该网络接入模式参数设置为分组交换域(PS domain)、或者若该网络接入模式参数设置为分组交换域(PS domain)或者语音服务域(CS domain)、或者存在non-3GPP签约数据时,则表示允许UE从当前接入的网络接入核心网,并允许UE使用移动业务和本地业务。
或者,可选的,一种可能的实现方式中,签约数据用于UE的接入授权和业务授权,具体可以包括:
签约数据中包括网络接入模式(network access mode)参数,其中,若网络接入模式参数设置为分组交换域(PS domain)、或者若该网络接入模式参数设置为分组交换域(PS domain)或者语音服务域(CS domain)、或者存在non-3GPP签约数据时,则表示允许UE从当前接入的网络接入核心网,并允许UE使用移动业务。若签约中还包括本地业务授权指示,则表示还允许UE使用本地业务;或者,若签约中不包括本地业务非授权指示,则表示还允许UE使用本地业务。
或者,当步骤S304中的鉴权请求中携带UE的当前接入类型指示时,可选的,一种可能的实现方式中,签约数据用于UE的接入授权和业务授权,具体可以包括:
签约数据中包括接入类型指示,当该接入类型指示中包括步骤S304中的鉴权请求中携带的UE的当前接入类型指示时,则表示允许UE从当前接入的网络接入核心网,并允许UE使用移动业务和本地业务。
或者,当步骤S304中的鉴权请求中携带UE的当前接入类型指示时,可选的,一种可能的实现方式中,签约数据用于UE的接入授权和业务授权,具体可以包括:
签约数据中包括接入类型指示,当该接入类型指示中包括步骤S304中的鉴权请求中携带的UE的当前接入类型指示时,则表示允许UE从当前接入的网络接入核心网,并允许UE使用移动业务。若签约中还包括本地业务授权指示,则表示还允许UE使用本地业务;或者,若签约中不包括本地业务非授权指示,则表示还允许UE使用本地业务。
需要说明的是,上述仅是示例性的提供了几种签约数据用于UE的接入授权和业务授权的具体实现,当然,还可能存在其他的实现方式,本申请实施例不对签约数据及接入类型与移动业务和本地业务的对应关系做具体限定。
另外,需要说明的是,本申请实施例中的移动业务具体是指移动运营商提供的服务,本地业务具体是指本地业务运营商或者固网运营商提供的服务,在此进行统一说明,以下不再赘述。
S306、数据库实体向CP功能实体发送鉴权响应,以使得CP功能实体接收该鉴权响应。
其中,若步骤S304中的鉴权请求具体是签约数据获取消息,则此处的鉴权响应具体可以是签约数据响应消息;若步骤S304中的鉴权请求具体是更新位置请求(update location request)消息,则此处的鉴权响应具体可以是更新位置响应(update location response)消息,本申请实施例对此不作具体限定。其中,上述消息中包括签约数据。
S307、CP功能实体根据UE的签约数据,确定UE的接入授权和业务授权,获得业务授权指示。
其中,本申请实施例中的业务授权指示可以是本地业务授权指示或移动业务授权指示中的至少一个,也就是说,可以为本地业务授权指示,可以为移动业务授权指示,还可以为本地业务授权指示和移动业务授权指示,本申请实施例对此不作具体限定。
在CP功能实体获得业务授权指示之后,CP功能实体根据该业务授权指示做如下处理:
场景A、业务授权指示仅包括本地业务授权指示时,执行如下步骤:
S308a、CP功能实体根据本地业务授权指示,向N3G-GW发送NG2接口消息,以使得N3G-GW接收该NG2接口消息。
其中,该NG2接口消息中包括本地业务策略信息、UE的本地IP地址请求或者本地业务授权指示中的至少一个。
本申请实施例对本地业务策略信息的内容不作具体限定。示例性的,本地业务策略信息可以包括本地分流策略、本地业务计费策略、或者本地业务QoS策略中的至少一个。其中,本地业务计费策略可以包括基于时长的计费统计信息上报策略、或者基于流量的阈值类统计信息上报策略;本地业务QoS策略可以包括本地业务最大比特率(maximum bitrate,MBR)信息、或者本地业务保障比特率(guarantee bitrate,GBR)信息。
其中,若步骤S303中的NG2接口消息为连接建立请求消息,则步骤S308a中的NG2接口消息例如可以是连接建立响应消息;若步骤S303中的NG2接口消息为NG2消息,则步骤S308a中的NG2接口消息例如可以是NG2消息;若步骤S303中的NG2接口消息为NG2鉴权(authentication,AUTH)请求消息,则步骤S308a中的NG2接口消息例如可以是NG2 AUTH响应消息;若步骤S303中的NG2接口消息为上行NAS传输请求消息,则步骤S308a中的NG2接口消息例如可以是上行NAS传输响应消息。
S309a、N3G-GW从NG2接口消息中获得本地业务策略信息、UE的本地IP地址请求或者本地业务授权指示中的至少一个,并根据本地业务策略信息、UE的本地IP地址请求或者本地业务授权指示中的至少一个,获取UE的本地IP地址。
其中,可以是由N3G-GW为UE分配UE的本地IP地址;也可以是由N3G-GW向动态主机配置协议((dynamic host configuration protocol,DHCP)服务器请求UE的本地IP地址,本申请实施例对此不作具体限定。
可选的,若步骤S308a中的NG2接口消息中包括本地业务策略信息或者本地业务授权指示中的至少一个,则N3G-GW可以存储本地业务策略信息或者本地业务授权指示中的至少一个;或者,若步骤S308a中的NG2接口消息中包括UE的本地IP地址请求,则N3G-GW可以根据该UE的本地IP地址请求生成本地业务授权指示并存储,本申请实施例对此不作具体限定。
S310a、N3G-GW向CP功能实体发送NG2接口消息,以使得CP功能实体接收该NG2接口消息。
其中,该NG2接口消息携带UE的本地IP地址。
该NG2接口消息例如可以是连接建立请求消息、或者NG2消息或者NG2 AUTH请求消息或上行NAS传输(uplink NAS transport)请求消息等,本申请实施例对此不作具体限定。
其中,图3中以N3G-GW向CP功能实体发送的NG2接口消息为NG2 AUTH请求消息为例进行说明。其中,该NG2 AUTH请求消息可以替换为连接建立请求消息或者NG2消息或者上行NAS传输请求消息或者其他NG2接口消息,在此进行统一说明,以下不再赘述。
S311a、CP功能实体向N3G-GW发送NG2接口消息,以使得N3G-GW接收该NG2接口消息。
其中,该NG2接口消息中封装附着响应消息。该附着响应消息中包括UE的本地IP地址。
其中,若步骤S310a中的NG2接口消息为连接建立请求消息,则步骤S308a中的NG2接口消息例如可以是连接建立响应消息;若步骤S303中的NG2接口消息为NG2消息,则步骤S308a中的NG2接口消息例如可以是NG2消息;若步骤S303中的NG2接口消息为NG2鉴权(authentication,AUTH)请求消息,则步骤S308a中的NG2接口消息例如可以是NG2 AUTH响应消息;若步骤S303中的NG2接口消息为上行NAS传输请求消息,则步骤S308a中的NG2接口消息例如可以是上行NAS传输响应消息。
S312a、N3G-GW从NG2接口消息中获得附着响应消息,并向UE发送附着响应消息,以使得UE接收该附着响应消息。
至此,在业务授权指示仅包括本地业务授权指示的场景下的连接建立过程结束。
本申请实施例提供了本地业务的连接建立方法,基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立。
可选的,在上述业务连接建立之后,如图3所示,还可以包括如下步骤:
S313a、UE向N3G-GW发送本地业务数据包,以使得N3G-GW接收该本地业务数据包。
其中,该本地业务数据包可以包括UE的本地IP地址、目的IP地址、源端口号、目的端口号、或者协议类型等其他信息,具体可参考现有的数据包封装协议,本申请实施例对此不作具体限定。
S314a、N3G-GW解析该本地业务数据包,基于存储的本地业务策略信息对本地业务数据包进行策略控制,并向本地业务服务器发送该本地业务数据包。
通过上述方案,可以实现本地业务数据包的路由。
场景B、业务授权指示包括本地业务授权指示和移动业务授权指示时,执行如下步骤:
S308b、CP功能实体选择UP功能实体。
其中,CP功能实体可以基于UP功能实体当前的负载情况、UP功能实体支持的业务类型与请求业务的匹配情况、或者UP功能实体的位置信息等因素来选择UP功能实体,本申请实施例对此不作具体限定。
S309b、CP功能实体向UP功能实体发送分组数据单元(packet data unit,PDU)会话建立请求(session establishment request)消息,以使得UP功能实体接收该PDU会话建立请求消息。
可选的,该PDU会话建立请求消息中可以包括CP功能实体为UP功能实体分配的UP功能实体的全量隧道端点标识(fully qualified tunnel endpoint identifier,F-TEID),该F-TEID包括UP功能实体的IP地址和UP功能实体的隧道端点标识(tunnel endpoint  identifier,TEID)。
其中,该UP功能实体的F-TEID用于设备内部查找用户上下文,即用户上下文信息所在的具体设备(IP地址对应的设备)的具体处理单板(TEID对应的单板)标识。该UP功能实体的F-TEID可以为设备粒度的F-TEID,即,UP功能实体的IP地址为设备粒度的IP地址,UP功能实体的TEID为设备粒度的TEID;该UP功能实体的F-TEID也可以为会话粒度的F-TEID,即,UP功能实体的IP地址为会话粒度的IP地址,UP功能实体的TEID为会话粒度的TEID,本申请实施例对此不作具体限定。
可选的,该PDU会话建立请求消息中可以包括CP功能实体为UE分配的UE的IP地址,该UE的IP地址用于进行移动业务。
可选的,该PDU会话建立请求消息中还可以包括UE标识,该UE标识用于UP功能实体识别UE,进行UE粒度的会话管理。
S310b、UP功能实体向CP功能实体发送PDU会话建立响应(session establishment response)消息,以使得CP功能实体接收该PDU会话建立响应消息。
其中,若步骤S309b中的PDU会话建立请求消息中不包括CP功能实体为UP功能实体分配的UP功能实体的F-TEID,则步骤S310b中的PDU会话建立响应消息中包括UP功能实体为UP功能实体分配的UP功能实体的F-TEID。也就是说,本申请实施例中,UP功能实体的F-TEID可以是由CP功能实体分配的,也可以是由UP功能实体自身分配的,本申请实施例对此不作具体限定。
其中,若步骤S309b中的PDU会话建立请求消息中不包括CP功能实体为UP功能实体分配的UE的IP地址,则步骤S310b中的PDU会话建立响应消息中包括UP功能实体为UP功能实体分配的UE的IP地址。也就是说,本申请实施例中,UE的IP地址可以是由CP功能实体分配的,也可以是由UP功能实体分配的,本申请实施例对此不作具体限定。
S311b、CP功能实体向N3G-GW发送NG2接口消息,以使得N3G-GW接收该NG2接口消息。
其中,该NG2接口消息包括UP功能实体的F-TEID;以及,该NG2接口消息中包括本地业务策略信息、UE的本地IP地址请求或者本地业务授权指示中的至少一个。本申请实施例对本地业务策略信息的内容不作具体限定,示例性的可参考步骤S308a中的描述。
可选的,该NG2接口消息中还可以包括移动业务授权指示。
其中,若步骤S303中的NG2接口消息为连接建立请求消息,则步骤S311b中的NG2接口消息例如可以是连接建立响应消息;若步骤S303中的NG2接口消息为NG2消息,则步骤S311b中的NG2接口消息例如可以是NG2消息;若步骤S303中的NG2接口消息为NG2鉴权(authentication,AUTH)请求消息,则步骤S311b中的NG2接口消息例如可以是NG2 AUTH响应消息;若步骤S303中的NG2接口消息为上行NAS传输请求消息,则步骤S311b中的NG2接口消息例如可以是上行NAS传输响应消息。
S312b、N3G-GW从NG2接口消息中获得本地业务策略信息、UE的本地IP地址请求或者本地业务授权指示中的至少一个,并根据本地业务策略信息、UE的本地IP地址请求或者本地业务授权指示中的至少一个,获取UE的本地IP地址;以及,N3G-GW从NG2接口消息中获得UP功能实体的F-TEID,并存储该UP功能实体的F-TEID。
其中,可以是由N3G-GW为UE分配UE的本地IP地址;也可以是由N3G-GW向动态主机配置协议((dynamic host configuration protocol,DHCP)服务器请求UE的本地IP地 址,本申请实施例对此不作具体限定。
可选的,若步骤S311b中的NG2接口消息中包括本地业务策略信息或者本地业务授权指示中的至少一个,则N3G-GW可以存储本地业务策略信息或者本地业务授权指示中的至少一个;或者,若步骤S311b中的NG2接口消息中包括UE的本地IP地址请求,则N3G-GW可以根据该UE的本地IP地址请求生成本地业务授权指示并存储,本申请实施例对此不作具体限定。
S313b、N3G-GW向CP功能实体发送NG2接口消息,以使得CP功能实体接收该NG2接口消息。
其中,该NG2接口消息携带UE的本地IP地址。
该NG2接口消息例如可以是连接建立请求消息、或者NG2消息或者NG2 AUTH请求消息或上行NAS传输(uplink NAS transport)请求消息等,本申请实施例对此不作具体限定。
其中,图3中以N3G-GW向CP功能实体发送的NG2接口消息为NG2 AUTH请求消息为例进行说明。其中,该NG2 AUTH请求消息可以替换为连接建立请求消息或者NG2消息或者上行NAS传输请求消息或者其他NG2接口消息,在此进行统一说明,以下不再赘述。
可选的,若步骤S311b中的NG2接口消息中还包括移动业务授权指示,则N3G-GW可以基于该移动业务授权指示或者UP功能实体的F-TEID中的至少一个为N3G-GW分配N3G-GW的F-TEID,该N3G-GW的F-TEID包括该N3G-GW的IP地址和该N3G-GW的TEID。进而,该步骤S313b中的NG2接口消息中可以包括该N3G-GW的F-TEID。
其中,该N3G-GW的F-TEID用于设备内部查找用户上下文,即用户上下文信息所在的具体设备(IP地址对应的设备)的具体处理单板(TEID对应的单板)标识。该N3G-GW的F-TEID可以为设备粒度的F-TEID,即,该N3G-GW的IP地址为设备粒度的IP地址,该N3G-GW的TEID为设备粒度的TEID;该N3G-GW的F-TEID也可以为会话粒度的F-TEID,即,该N3G-GW的IP地址为会话粒度的IP地址,该N3G-GW的TEID为会话粒度的TEID,本申请实施例对此不作具体限定。
S314b、CP功能实体向UP功能实体发送PDU会话更新请求(session modification request)消息,以使得UP功能实体接收该PDU会话更新请求消息。
其中,该PDU会话更新请求消息携带N3G-GW的F-TEID。该N3G-GW的F-TEID可以是步骤S313b中的NG2接口消息中包括的N3G-GW的F-TEID,也可以是由CP功能实体为N3G-GW分配的N3G-GW的F-TEID,本申请实施例对此不作具体限定。
S315b、UP功能实体向CP功能实体发送PDU会话更新响应(session modification response)消息,以使得CP功能实体接收该PDU会话更新响应消息。
S316b、CP功能实体向N3G-GW发送NG2接口消息,以使得N3G-GW接收该NG2接口消息。
其中,该NG2接口消息中封装附着响应消息。该附着响应消息中包括UE的本地IP地址和与UE的本地IP地址绑定的本地业务指示、以及UE的IP地址和与UE的IP地址绑定的移动业务指示。该本地业务指示例如可以是本地业务标识,该移动业务指示例如可以是接入点名称(access point name,APN)信息。
本申请实施例不对UE的本地IP地址与本地业务指示的绑定形式、以及UE的IP地址与移动业务指示的绑定形式做具体限定,例如可以是:在附着响应消息中定义2个参数,一个参数定义为移动业务的IP地址,一个参数定义为本地业务的IP地址;或者,例如可 以是:在附着响应消息中定义4个参数,一个参数定义为UE的本地IP地址,一个参数用于指示UE的本地IP地址为本地业务的IP地址;一个参数定义为UE的IP地址,一个参数用于指示UE的IP地址为移动业务的IP地址。
其中,若步骤S313b中的NG2接口消息为连接建立请求消息,则步骤S316b中的NG2接口消息例如可以是连接建立响应消息;若步骤S313b中的NG2接口消息为NG2消息,则步骤S316b中的NG2接口消息例如可以是NG2消息;若步骤S313b中的NG2接口消息为NG2鉴权(authentication,AUTH)请求消息,则步骤S316b中的NG2接口消息例如可以是NG2AUTH响应消息;若步骤S313b中的NG2接口消息为上行NAS传输请求消息,则步骤S316b中的NG2接口消息例如可以是上行NAS传输响应消息。
S317b、N3G-GW从NG2接口消息中获得附着响应消息,并向UE发送附着响应消息,以使得UE接收该附着响应消息。
需要说明的是,本申请实施例中的步骤S314b-S315b与步骤S316b-S317b之间没有必然的执行先后顺序,可以是先执行步骤S314b-S315b,再执行步骤S316b-S317b;也可以是先执行步骤S316b-S317b,再执行步骤S314b-S315b;还可以是同时执行步骤S314b-S315b和步骤S316b-S317b,本申请实施例对此不作具体限定。
至此,在业务授权指示包括本地业务授权指示和移动业务授权指示的场景下的连接建立过程结束。
本申请实施例提供了移动业务和本地业务的连接建立方法,基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立以及移动业务的连接建立。
可选的,在上述业务连接建立之后,如图3所示,还可以包括如下步骤:
S318b、UE向N3G-GW发送业务数据包,以使得N3G-GW接收该业务数据包。
其中,该业务数据包包括源IP地址。该源IP地址可以是UE的IP地址或者UE的本地IP地址。
当然,该业务数据包还可以包括目的IP地址、源端口号、目的端口号、或者协议类型等其他信息,具体可参考现有的数据包封装协议,本申请实施例对此不作具体限定。
S319b、N3G-GW解析业务数据包,获得源IP地址,根据该源IP地址确定业务数据包为移动业务数据包或者本地业务数据包。
其中,若业务数据包为移动业务数据包,N3G-GW向UP功能实体发送业务数据包;或者,若业务数据包为本地业务数据包,N3G-GW基于存储的本地业务策略信息对本地业务数据包进行策略控制,并向本地业务服务器发送业务数据包。
通过上述方案,可以为UE同时提供本地业务与移动业务,并实现两者的合理分流。
场景C、业务授权指示仅包括移动业务授权指示时的连接建立流程可参考现有的方案,本申请实施例在此不再赘述。
可以看出,在场景B中,业务授权指示包括本地业务授权指示和移动业务授权指示时的连接建立过程同时包括了场景A下仅包括本地业务授权指示时的连接建立过程以及场景C下仅包括移动业务授权指示时的连接建立流程,相对于仅包括本地业务授权指示时的连接建立过程以及现有的仅包括移动业务授权指示时的连接建立流程,仅是消息中包括的具体信息不同。
其中,上述S304、S307、S308a、S311a、S308b、S309b、S311b、S314b和S316b中CP功能实体的动作可以由图2所示的计算机设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
其中,上述S302、S303、S309a、S310a、S312a、S314a、S312b、S313b、S317b和S319b中N3G-GW的动作可以由图2所示的计算机设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
在另一种可能的实现方式中,如图4所示,为本申请实施例提供的另一种连接方法流程示意图。是以UE从图1所示的5G网络架构中的non-3GPP网络接入的情况为例进行说明,涉及到UE、N3G-GW、UP功能实体、CP功能实体和数据库实体之间的交互,包括如下步骤:
S401-S405、同S301-S305。
S406、数据库实体根据UE的签约数据,确定UE的接入授权和业务授权,获得业务授权指示。
其中,本申请实施例中的业务授权指示可以是本地业务授权指示或移动业务授权指示中的至少一个,也就是说,可以为本地业务授权指示,可以为移动业务授权指示,还可以为本地业务授权指示和移动业务授权指示,本申请实施例对此不作具体限定。
S407、数据库实体向CP功能实体发送鉴权响应,以使得CP功能实体接收该鉴权响应。
其中,若步骤S404中的鉴权请求具体是签约数据获取消息,则此处的鉴权响应具体可以是签约数据响应消息;若步骤S404中的鉴权请求具体是更新位置请求(update location request)消息,则此处的鉴权响应具体可以是更新位置响应(update location response)消息,本申请实施例对此不作具体限定。其中,上述消息中包括业务授权指示。
在CP功能实体获得业务授权指示之后,CP功能实体根据该业务授权指示做如下处理:
场景A、业务授权指示仅包括本地业务授权指示时,执行如下步骤:
S408a-S412a、同S308a-S312a。
至此,在业务授权指示仅包括本地业务授权指示的场景下的连接建立过程结束。
本申请实施例提供了本地业务的连接建立方法,基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立。
可选的,在上述业务连接建立之后,如图4所示,还可以包括如下步骤:
S413a-S414a、同S313a-S314a。
通过上述方案,可以实现本地业务数据包的路由。
场景B、业务授权指示包括本地业务授权指示和移动业务授权指示时,执行如下步骤:
S408b-S417b、同S308b-S317b。
至此,在业务授权指示包括本地业务授权指示和移动业务授权指示的场景下的连接建立过程结束。
本申请实施例提供了移动业务和本地业务的连接建立方法,基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立以及移动业务的连接建立。
可选的,在上述业务连接建立之后,如图4所示,还可以包括如下步骤:
S418b-S419b、同S318b-S319b。
通过上述方案,可以为UE同时提供本地业务与移动业务,并实现两者的合理分流。
场景C、业务授权指示仅包括移动业务授权指示时的连接建立流程可参考现有的方案,本申请实施例在此不再赘述。
其中,上述S404、S408a、S411a、S408b、S409b、S411b、S414b和S416b中CP功能实体的动作可以由图2所示的计算机设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
其中,上述S402、S403、S409a、S410a、S412a、S414a、S412b、S413b、S417b和S419b中N3G-GW的动作可以由图2所示的计算机设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
同图3所示的实施例的差别在于,本申请实施例中,由数据库实体基于UE的签约数据确定UE的接入授权和业务授权,获得业务授权指示。进而,数据库实体向CP功能实体发送鉴权响应,以使得CP功能实体接收该鉴权响应,其中,该鉴权响应中携带业务授权指示。而图3所示的实施例中,数据库实体向CP功能实体发送的鉴权响应中携带UE的签约数据,由CP功能实体基于UE的签约数据确定UE的接入授权和业务授权,获得业务授权指示。本申请对业务授权指示的获得方式不作具体限定。
在另一种可能的实现方式中,如图5所示,为本申请实施例提供的另一种连接方法流程示意图。是以UE从图1所示的5G网络架构中的non-3GPP网络接入的情况为例进行说明,涉及到UE、N3G-GW、UP功能实体、CP功能实体和数据库实体之间的交互,包括如下步骤:
S501-S505、同S301-S307。
在CP功能实体获得业务授权指示之后,CP功能实体根据该业务授权指示做如下处理:
场景A、业务授权指示仅包括本地业务授权指示时,执行如下步骤:
S508a-S512a、同S308a-S312a。
至此,在业务授权指示仅包括本地业务授权指示的场景下的连接建立过程结束。
本申请实施例提供了本地业务的连接建立方法,基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立。
可选的,在上述业务连接建立之后,如图5所示,还可以包括如下步骤:
S513a-S514a、同S313a-S314a。
通过上述方案,可以实现本地业务数据包的路由。
场景B、业务授权指示包括本地业务授权指示和移动业务授权指示时,执行如下步骤:
S508b-S515b、与S308b-S315b类似,区别仅在于步骤S513a中N3G-GW向CP功能实体发送的NG2接口消息中可以携带UE的本地IP地址,也可以不携带UE的本地IP地址,本申请实施例对此不作具体限定。
S516b、CP功能实体向N3G-GW发送NG2接口消息,以使得N3G-GW接收该NG2接口消息。
其中,该NG2接口消息中封装附着响应消息。该附着响应消息中包括UE的IP地址。
其中,若步骤S513b中的NG2接口消息为连接建立请求消息,则步骤S516b中的NG2接口消息例如可以是连接建立响应消息;若步骤S513b中的NG2接口消息为NG2消息,则步骤S516b中的NG2接口消息例如可以是NG2消息;若步骤S513b中的NG2接口消息为NG2鉴权(authentication,AUTH)请求消息,则步骤S516b中的NG2接口消息例如可以是NG2AUTH响应消息;若步骤S513b中的NG2接口消息为上行NAS传输请求消息,则步骤S516b中的NG2接口消息例如可以是上行NAS传输响应消息。
S517b、N3G-GW从NG2接口消息中获得附着响应消息,并向UE发送附着响应消息,以使得UE接收该附着响应消息。
需要说明的是,本申请实施例中的步骤S514b-S515b与步骤S516b-S517b之间没有必然的执行先后顺序,可以是先执行步骤S514b-S515b,再执行步骤S516b-S517b;也可以是先执行步骤S516b-S517b,再执行步骤S514b-S515b;还可以是同时执行步骤S514b-S515b和步骤S516b-S517b,本申请实施例对此不作具体限定。
至此,在业务授权指示包括本地业务授权指示和移动业务授权指示的场景下的连接建立过程结束。
本申请实施例提供了移动业务和本地业务的连接建立方法,基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立以及移动业务的连接建立。
可选的,在上述业务连接建立之后,如图5所示,还可以包括如下步骤:
S518b、UE向N3G-GW发送业务数据包,以使得N3G-GW接收该业务数据包。
其中,该业务数据包包括UE的IP地址、以及目的IP地址、目的端口号、或者协议类型中的至少一个。
S519b、N3G-GW解析业务数据包,获得UE的IP地址、以及目的IP地址、目的端口号、或者协议类型中的至少一个。进而,N3G-GW根据目的IP地址、目的端口号、或者协议类型中的至少一个,以及本地配置信息或者本地业务策略信息中的至少一个,确定业务数据包为移动业务数据包或者本地业务数据包。
本申请实施例不对本地配置信息做具体限定,可能的方案例如本地配置信息包括业务类型(包括移动业务或者本地业务)与业务服务器IP地址或业务端口号、协议号等的对应关系。
其中,若业务数据包为移动业务数据包,N3G-GW向UP功能实体发送业务数据包;或者,若业务数据包为本地业务数据包,N3G-GW将本地业务数据包进行网络地址转换(network address translation,NAT)转换后发给本地服务器。
上述NAT转发方案包括N3G-GW为每个UE分配不同的本地IP地址。当N3G-GW接收到UE发送的本地业务数据包时,N3G-GW将本地业务数据包的源地址(本申请实施例中,该本地业务数据包的源地址为UE的IP地址)替换成N3G-GW分配的UE的本地IP地址,并存储UE的IP地址和UE的本地IP地址的对应关系。当N3G-GW接收到下行业务数据包后,N3G-GW将下行业务数据包的目的地址替换成目的UE原来的IP地址(本申请实施例中,是将目的UE的本地IP地址替换成目的UE的IP地址),然后向目的UE发送该下行业务数据包。
另一种NAT转换方案为N3G-GW为多个UE分配相同的本地IP地址,但为每个UE分配不同的端口号。当N3G-GW接收到UE发送的本地业务数据包时,N3G-GW将本地业务数据包的源地址(本申请实施例中,该本地业务数据包的源地址为UE的IP地址)替换成N3G-GW分配的UE的本地IP地址,将源端口号替换成本地分配的唯一端口号,并存储UE的IP地址和UE的本地IP地址的对应关系、以及替换前后端口号的对应关系。当N3G-GW接收到下行业务数据包后,N3G-GW根据替换前后端口号的对应关系,将下行业务数据包的目的地址替换成目的UE原来的IP地址(本申请实施例中,是将目的UE的本地IP地址替换成目的UE的IP地址),然后向目的UE发送该下行业务数据包。
通过上述方案,可以为UE同时提供本地业务与移动业务,并实现两者的合理分流。
场景C、业务授权指示仅包括移动业务授权指示时的连接建立流程可参考现有的方案,本申请实施例在此不再赘述。
其中,上述S504、S507、S508a、S511a、S508b、S509b、S511b、S514b和S516b中CP功能实体的动作可以由图2所示的计算机设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
其中,上述S502、S503、S509a、S510a、S512a、S514a、S512b、S513b、S517b和S519b中N3G-GW的动作可以由图2所示的计算机设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
当然,在图4所示的实施例的场景B中,也可以参照图5所示的实施例的场景B中的连接建立方法、以及业务连接建立之后的流程,本申请实施例在此不再赘述,具体可参考图5所示的实施例。
同图3或者图4所示的实施例的场景B的差别在于,本申请实施例中,无论是本地业务授权还是移动业务授权,UE获到的均是UE的IP地址,UE无需感知业务类型,在向N3G-GW发送业务数据包时,业务数据包的源IP地址相同,均是UE的IP地址,由N3G-GW基于目的IP地址、端口号、或协议类型等区分移动业务与本地业务,实现数据分流,从而简化了UE的操作。
在另一种可能的实现方式中,如图6所示,为本申请实施例提供的另一种连接方法流程示意图。是以UE从图1所示的5G网络架构中的non-3GPP网络接入的情况为例进行说明,涉及到UE、N3G-GW、UP功能实体、CP功能实体和数据库实体之间的交互,包括如下步骤:
S601-S607、同S301-S307。
S608、CP功能实体向N3G-GW发送NG2接口消息,以使得N3G-GW接收该NG2接口消息。
其中,该NG2接口消息中封装附着响应消息。
其中,若步骤S603中的NG2接口消息为连接建立请求消息,则步骤S608中的NG2接口消息例如可以是连接建立响应消息;若步骤S603中的NG2接口消息为NG2消息,则步骤S608中的NG2接口消息例如可以是NG2消息;若步骤S603中的NG2接口消息为NG2 AUTH请求消息,则步骤S608中的NG2接口消息例如可以是NG2 AUTH响应消息;若步骤S603中的NG2接口消息为上行NAS传输请求消息,则步骤S608中的NG2接口消息例如可以是上行NAS传输响应消息。
S609、N3G-GW从NG2接口消息中获得附着响应消息,并向UE发送附着响应消息,以使得UE接收该附着响应消息。
S610、UE完成附着流程后,向CP功能实体发送NAS信令,以使得CP功能实体接收该NAS信令。
其中,该NAS信令例如可以包括PDU会话建立请求(PDU session establishment request)消息,该PDU会话建立请求消息中包括UE标识,该UE标识用于UP功能实体识别UE,进行UE粒度的会话管理。
可选的,PDU会话建立请求消息中还可以包括本地业务请求指示,该本地业务请求指示用于请求本地业务。
在CP功能实体接收该NAS信令之后,CP功能实体根据上述步骤获得的业务授权指示做 如下处理:
场景A、业务授权指示仅包括本地业务授权指示时,执行如下步骤:
S611a-S615a、与S308a-S312a类似,区别仅在于将其中的附着响应消息替换为NAS消息,本申请实施例在此不再赘述。
至此,在业务授权指示仅包括本地业务授权指示的场景下的连接建立过程结束。
本申请实施例提供了本地业务的连接建立方法,基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立。
可选的,在上述业务连接建立之后,如图6所示,还可以包括如下步骤:
S616a-S617a、同S313a-S314a。
通过上述方案,可以实现本地业务数据包的路由。
场景B、业务授权指示包括本地业务授权指示和移动业务授权指示时,执行如下步骤:
S611b-S620b、与S308b-S317b类似,区别仅在于将其中的附着响应消息替换为NAS消息,本申请实施例在此不再赘述。
至此,在业务授权指示包括本地业务授权指示和移动业务授权指示的场景下的连接建立过程结束。
本申请实施例提供了移动业务和本地业务的连接建立方法,基于该方案,可以解决目前现有技术中没有针对除移动业务之外的其他业务的连接建立方案的问题,实现本地业务的连接建立以及移动业务的连接建立。
可选的,在上述业务连接建立之后,如图6所示,还可以包括如下步骤:
S621b-S622b、同S318b-S319b。
通过上述方案,可以为UE同时提供本地业务与移动业务,并实现两者的合理分流。
场景C、业务授权指示仅包括移动业务授权指示时的连接建立流程可参考现有的方案,本申请实施例在此不再赘述。
其中,上述S604、S607、S608、S611a、S614a、S611b、S612b、S614b、S617b和S619b中CP功能实体的动作可以由图2所示的计算机设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
其中,上述S602、S603、S609、S612a、S613a、S615a、S617a、S615b、S616b、S620b和S622b中N3G-GW的动作可以由图2所示的计算机设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
当然,在图4或者图5所示的实施例中,也可以参照上述图6所示的实施例的连接建立方式进行连接建立,本申请实施例在此不再赘述。
同上述各实施例的区别在于,本申请实施例中,CP功能实体为UE建立业务连接发生在UE附着到网络之后,即由UE发送的NAS消息触发业务的连接建立。而在上述各实施例中,业务的连接建立发生在UE附着到网络过程中。本方案的优势在于附着流程(或者鉴权流程)与业务的连接建立流程分离。只有当UE发起业务时,网络侧才为UE建立业务连接,从而节省网络资源。
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,上述CP功能实体和N3G-GW为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描 述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对CP功能实体和N3G-GW进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
比如,在采用对应各个功能划分各个功能模块的情况下,图7示出了上述实施例中所涉及的CP功能实体的一种可能的结构示意图,该CP功能实体700包括:获取模块701和发送模块702。该获取模块701,用于当UE从non-3GPP网络接入的情况下,获取改UE的业务授权指示,该业务授权指示包括本地业务授权指示。该获取模块701,还用于根据该本地业务授权指示,获取该UE的本地IP地址。该发送模块702,用于向UE发送该UE的本地IP地址。
进一步的,获取模块701根据该本地业务授权指示,获取该UE的本地IP地址,包括:根据该本地业务授权指示,向N3G-GW发送该本地业务授权指示、该UE的本地IP地址请求、或者本地业务策略信息中的至少一个,该本地业务授权指示、该UE的本地IP地址请求、或者本地业务策略信息中的至少一个用于该N3G-GW获取该UE的本地IP地址;接收该N3G-GW发送的该UE的本地IP地址。
进一步的,该业务授权指示还包括移动业务授权指示。如图7所示,该CP功能实体700还包括:选择模块704和建立模块705。该选择模块704,用于在该获取模块获取该UE的业务授权指示之后,选择UP功能实体。该建立模块705,用于为该UE建立该N3G-GW和该UP功能实体之间的PDU连接。
进一步的,该建立模块705为该UE建立该N3G-GW和该UP功能实体之间的PDU连接,包括:获取该UP功能实体的F-TEID,该UP功能实体的F-TEID包括该UP功能实体的IP地址和该UP功能实体的隧道端点标识TEID;获取该UE的IP地址;向该UE发送该UE的IP地址;以及,向该N3G-GW发送该UP功能实体的F-TEID,由该N3G-GW存储该UP功能实体的F-TEID;获取该N3G-GW的F-TEID,该N3G-GW的F-TEID包括该N3G-GW的IP地址和该N3G-GW的TEID;向该UP功能实体发送PDU会话更新请求消息,该PDU会话更新请求消息携带该N3G-GW的F-TEID,由该UP功能实体存储该N3G-GW的F-TEID;接收该UP功能实体发送的PDU会话更新响应消息。
进一步的,该UE的IP地址和移动业务指示绑定。该UE的本地IP地址和本地业务指示绑定。
进一步的,如图7所示,该CP功能实体还包括接收模块706。该接收模块706,用于在该获取模块701获取该UE的业务授权指示之前,接收数据库实体发送的该UE的签约数据,该UE的签约数据用于该UE的接入授权和业务授权。该获取模块701获取该UE的业务授权指示,包括:根据该UE的签约数据,确定该UE的接入授权和业务授权,获得该UE的业务授权指示。
可选的,该获取模块701获取该UE的业务授权指示,包括:接收数据库实体发送的该UE的业务授权指示,该UE的业务授权指示为该数据库实体根据该UE的签约数据,确定该UE的接入授权和业务授权后获得的,该UE的签约数据用于该UE的接入授权和业务授权。
其中,该UE的签约数据用于该UE的接入授权和业务授权的具体实现可参考上述方法实施例,本申请实施例在此不再赘述。
可选的,如图7所示,该CP功能实体还包括接收模块706。该接收模块706,用于接收该N3G-GW发送的该UE的当前接入类型指示。
其中,当前接入类型指示的具体实现可参考上述方法实施例,本申请实施例在此不再赘述。
其中,结合该当前接入类型指示,该UE的签约数据用于该UE的接入授权和业务授权的具体实现可参考上述方法实施例,本申请实施例在此不再赘述。
可选的,该CP功能实体还包括接收模块706。该接收模块706,用于在该获取模块701获取该UE的业务授权指示之前,接收该UE发送的本地业务请求指示。
可选的,该本地业务包括固网业务或者非无缝WLAN分流业务。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
以采用集成的方式划分各个功能模块的情况下,图8示出了上述实施例中所涉及的CP功能实体的一种可能的结构示意图,该CP功能实体800包括:处理模块801和通信模块802。其中,该处理模块801可用于执行图7中获取模块701、选择模块704、建立模块705所能执行的操作,该通信模块802可用于执行图7中接收模块706和发送模块702所能执行的操作,具体可参考图7所示的实施例,本申请实施例在此不再赘述。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在本实施例中,该CP功能实体以对应各个功能划分各个功能模块的形式来呈现,或者,该CP功能实体以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到CP功能实体700或者CP功能实体800可以采用图2所示的形式。比如,图7中的获取模块701、选择模块704、建立模块705、接收模块706和发送模块702可以通过图2的处理器201和存储器203来实现,具体的,获取模块701、发送模块702、选择模块704、建立模块705和接收模块706可以通过由处理器201来调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。或者,比如,图8中的处理模块801和通信模块802可以通过图2的处理器201和存储器203来实现,具体的,处理模块801和通信模块802可以通过由处理器201来调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
本申请实施例还提供了一种计算机存储介质,用于储存为上述CP功能实体所用的计算机软件指令,其包含用于执行上述方法实施例所设计的程序。通过执行存储的程序,可以实现业务的连接建立。
比如,在采用对应各个功能划分各个功能模块的情况下,图9示出了上述实施例中所 涉及的N3G-GW的一种可能的结构示意图,该N3G-GW900包括:接收模块901、获取模块902和发送模块903。接收模块901,用于当UE从non-3GPP网络接入的情况下,接收CP功能实体发送的该UE的本地业务授权指示、该UE的本地网络协议IP地址请求、或者本地业务策略信息中的至少一个。获取模块902,用于根据该UE的本地业务授权指示、该UE的本地IP地址请求、或者该本地业务策略信息中的至少一个,获取该UE的本地IP地址。发送模块903,用于向该CP功能实体发送该UE的本地IP地址。
进一步的,接收模块901,还用于在发送模块903向该CP功能实体发送该UE的本地IP地址之后,接收该CP功能实体发送的该UE的本地IP地址和与该UE的本地IP地址绑定的本地业务指示,以及该UE的IP地址和与该UE的IP地址绑定的移动业务指示。发送模块,还用于该UE发送该UE的本地IP地址和与该UE的本地IP地址绑定的本地业务指示,以及该UE的IP地址和与该UE的IP地址绑定的移动业务指示。
进一步的,如图9所示,该N3G-GW900还包括确定模块904。该接收模块901,还用于接收该UE发送的业务数据包,该业务数据包包括源IP地址。该确定模块904,用于根据该源IP地址确定该业务数据包为移动业务数据包或者本地业务数据包。该发送模块903,用于若该业务数据包为移动业务数据包,向UP功能实体发送该业务数据包;或者,若该业务数据包为本地业务数据包,向本地业务服务器发送该业务数据包。
可选的,接收模块901,还用于在发送模块903向该CP功能实体发送该UE的本地IP地址之后,接收该CP功能实体发送的该UE的IP地址;该发送模块903,还用于向该UE发送该UE的IP地址。
进一步的,如图9所示,该N3G-GW900还包括确定模块904和替换模块905。接收模块901,用于接收该UE发送的业务数据包,该业务数据包包括该UE的IP地址,以及目的IP地址、目的端口号、或者协议类型中的至少一个。确定模块904,用于根据该目的IP地址、该目的端口号、或者该协议类型中的至少一个,以及本地配置信息或者该本地业务策略信息中的至少一个,确定该业务数据包为移动业务数据包或者本地业务数据包。发送模块903,用于若该业务数据包为移动业务数据包,向UP功能实体发送该业务数据包;或者,若该业务数据包为本地业务数据包,替换模块905将该UE的IP地址替换为该UE的本地IP地址之后,发送模块903向本地业务服务器发送该业务数据包。存储模块906,用于存储该UE的IP地址与该UE的本地IP地址的对应关系。
进一步的,接收模块901,还用于接收下行业务数据包,该下行业务数据包包括目的UE的本地IP地址。替换模块905,还用于将该目的UE的本地IP地址替换成该目的UE的IP地址。发送模块903,还用于向该目的UE发送该下行业务数据包。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
以采用集成的方式划分各个功能模块的情况下,图10示出了上述实施例中所涉及的N3G-GW的一种可能的结构示意图,该N3G-GW1000包括:处理模块1001、通信模块1002和存储模块1003。其中,该处理模块1001可用于执行图9中获取模块902、确定模块904和替换模块905所能执行的操作,该通信模块1002可用于执行图9中接收模块901和发送模块903所能执行的操作,该存储模块1003可用于执行图9中存储模块906所能执行的操作,具体可参考图9所示的实施例,本申请实施例在此不再赘述。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在本实施例中,该N3G-GW以对应各个功能划分各个功能模块的形式来呈现,或者,该N3G-GW以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到N3G-GW900或者N3G-GW1000可以采用图2所示的形式。比如,图9中的获取模块902、确定模块904、替换模块905、接收模块901、发送模块903和存储模块906可以通过图2的处理器201和存储器203来实现,具体的,获取模块902、确定模块904、替换模块905、接收模块901、发送模块903和存储模块906可以通过由处理器201来调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。或者,比如,图10中的处理模块1001、通信模块1002和存储模块1003可以通过图2的处理器201和存储器203来实现,具体的,处理模块1001、通信模块1002和存储模块1003可以通过由处理器201来调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。
本申请实施例还提供了一种计算机存储介质,用于储存为上述N3G-GW所用的计算机软件指令,其包含用于执行上述方法实施例所设计的程序。通过执行存储的程序,可以实现业务的连接建立。
本申请实施例还提供了一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行上述方法实施例的流程。
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。
本领域技术人员应明白,本申请的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过Internet或其它有线或无线电信***。
本申请是参照本申请实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式 工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (24)

  1. 一种连接建立方法,其特征在于,所述方法包括:
    当用户设备UE从非-第三代合作伙伴计划non-3GPP网络接入的情况下,控制面CP功能实体获取所述UE的业务授权指示,所述业务授权指示包括本地业务授权指示;
    所述CP功能实体根据所述本地业务授权指示,获取所述UE的本地网络协议IP地址;
    所述CP功能实体向所述UE发送所述UE的本地IP地址。
  2. 根据权利要求1所述的方法,其特征在于,所述CP功能实体根据所述本地业务授权指示,获取所述UE的本地网络协议IP地址,包括:
    所述CP功能实体根据所述本地业务授权指示,向non-3GPP接入网关N3G-GW发送所述本地业务授权指示、所述UE的本地IP地址请求、或者本地业务策略信息中的至少一个,所述本地业务授权指示、所述UE的本地IP地址请求、或者本地业务策略信息中的至少一个用于所述N3G-GW获取所述UE的本地IP地址;
    所述CP功能实体接收所述N3G-GW发送的所述UE的本地IP地址。
  3. 根据权利要求1或2所述的方法,所述业务授权指示还包括移动业务授权指示;
    在所述CP功能实体获取所述UE的业务授权指示之后,还包括:
    所述CP功能实体选择UP功能实体,并为所述UE建立所述N3G-GW和所述UP功能实体之间的分组数据单元PDU连接。
  4. 根据权利要求3所述的方法,其特征在于,所述CP功能实体为所述UE建立所述N3G-GW和所述UP功能实体之间的PDU连接,包括:
    所述CP功能实体获取所述UP功能实体的全量隧道端点标识F-TEID,所述UP功能实体的F-TEID包括所述UP功能实体的IP地址和所述UP功能实体的隧道端点标识TEID;
    所述CP功能实体获取所述UE的IP地址;
    所述CP功能实体向所述UE发送所述UE的IP地址;以及,所述CP功能实体向所述N3G-GW发送所述UP功能实体的F-TEID,由所述N3G-GW存储所述UP功能实体的F-TEID;
    所述CP功能实体获取所述N3G-GW的F-TEID,所述N3G-GW的F-TEID包括所述N3G-GW的IP地址和所述N3G-GW的TEID;
    所述CP功能实体向所述UP功能实体发送PDU会话更新请求消息,所述PDU会话更新请求消息携带所述N3G-GW的F-TEID,由所述UP功能实体存储所述N3G-GW的F-TEID;
    所述CP功能实体接收所述UP功能实体发送的PDU会话更新响应消息。
  5. 根据权利要求4所述的方法,其特征在于,所述UE的IP地址和移动业务指示绑定。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述UE的本地IP地址和本地业务指示绑定。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,在所述CP功能实体获取所述UE的业务授权指示之前,还包括:
    所述CP功能实体接收数据库实体发送的所述UE的签约数据,所述UE的签约数据用于所述UE的接入授权和业务授权;
    所述CP功能实体获取所述UE的业务授权指示,包括:
    所述CP功能实体根据所述UE的签约数据,确定所述UE的接入授权和业务授权,获得所 述UE的业务授权指示。
  8. 根据权利要求1-6任一项所述的方法,其特征在于,所述CP功能实体获取所述UE的业务授权指示,包括:
    所述CP功能实体接收数据库实体发送的所述UE的业务授权指示,所述UE的业务授权指示为所述数据库实体根据所述UE的签约数据,确定所述UE的接入授权和业务授权后获得的,所述UE的签约数据用于所述UE的接入授权和业务授权。
  9. 根据权利要求7或8所述的方法,其特征在于,所述UE的签约数据用于所述UE的接入授权和业务授权,包括:
    所述签约数据中包括网络接入模式参数,其中,若所述网络接入模式参数设置为分组交换域、或者若所述网络接入模式参数设置为分组交换域或者语音服务域、或者存在non-3GPP签约数据时,则表示允许所述UE从当前接入的网络接入核心网,并允许所述UE使用移动业务和本地业务;
    或者,所述签约数据中包括网络接入模式参数,其中,若所述网络接入模式参数设置为分组交换域、或者若所述网络接入模式参数设置为分组交换域或者语音服务域、或者存在non-3GPP签约数据时,则表示允许所述UE从当前接入的网络接入核心网,并允许所述UE使用移动业务;若所述签约数据中还包括本地业务授权指示,则表示还允许所述UE使用本地业务;或者,若所述签约数据中不包括本地业务非授权指示,则表示还允许所述UE使用本地业务。
  10. 根据权利要求7或8所述的方法,其特征在于,所述方法还包括:
    所述CP功能实体接收所述N3G-GW发送的所述UE的当前接入类型指示;
    所述UE的签约数据用于所述UE的接入授权和业务授权,包括:
    所述签约数据中包括接入类型指示,当所述接入类型指示中包括所述当前接入类型指示时,则表示允许所述UE从当前接入的网络接入核心网,并允许所述UE使用移动业务和本地业务;
    或者,所述签约数据中包括接入类型指示,当所述接入类型指示中包括所述当前接入类型指示时,则表示允许所述UE从当前接入的网络接入核心网,并允许所述UE使用移动业务,若所述签约数据中还包括本地业务授权指示,则表示还允许所述UE使用本地业务;或者,若所述签约数据中不包括本地业务非授权指示,则表示还允许所述UE使用本地业务。
  11. 根据权利要求10所述的方法,其特征在于,所述当前接入类型指示通过定义接入类型参数、或者定义传输类型参数、或者定义接入模式参数来实现,其中,所述接入类型参数或者所述传输类型参数的参数值可设置为non-3GPP接入、无线保真WiFi接入、本地接入、本地家庭接入、本地企业接入、或者本地公共接入;所述接入模式参数的参数值可设置为本地开放模式、本地闭合模式、或者本地混合模式。
  12. 根据权利要求1-11任一项所述的方法,其特征在于,在所述CP功能实体获取所述UE的业务授权指示之前,还包括:
    所述CP功能实体接收所述UE发送的本地业务请求指示。
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述本地业务包括固网业务或者非无缝无线局域网WLAN分流业务。
  14. 一种控制面CP功能实体,其特征在于,所述CP功能实体包括:获取模块和发送模块;
    所述获取模块,用于当用户设备UE从非-第三代合作伙伴计划non-3GPP网络接入的情况下,获取所述UE的业务授权指示,所述业务授权指示包括本地业务授权指示;
    所述获取模块,还用于根据所述本地业务授权指示,获取所述UE的本地网络协议IP地址;
    所述发送模块,用于向所述UE发送所述UE的本地IP地址。
  15. 根据权利要求14所述的CP功能实体,其特征在于,所述获取模块根据所述本地业务授权指示,获取所述UE的本地网络协议IP地址,包括:
    根据所述本地业务授权指示,向non-3GPP接入网关N3G-GW发送所述本地业务授权指示、所述UE的本地IP地址请求、或者本地业务策略信息中的至少一个,所述本地业务授权指示、所述UE的本地IP地址请求、或者本地业务策略信息中的至少一个用于所述N3G-GW获取所述UE的本地IP地址;
    接收所述N3G-GW发送的所述UE的本地IP地址。
  16. 根据权利要求14或15所述的CP功能实体,所述业务授权指示还包括移动业务授权指示;
    所述CP功能实体还包括:选择模块和建立模块;
    所述选择模块,用于在所述获取模块获取所述UE的业务授权指示之后,选择用户面UP功能实体;
    所述建立模块,用于为所述UE建立所述N3G-GW和所述UP功能实体之间的分组数据单元PDU连接。
  17. 根据权利要求16所述的CP功能实体,其特征在于,所述建立模块为所述UE建立所述N3G-GW和所述UP功能实体之间的PDU连接,包括:
    获取所述UP功能实体的全量隧道端点标识F-TEID,所述UP功能实体的F-TEID包括所述UP功能实体的IP地址和所述UP功能实体的隧道端点标识TEID;
    获取所述UE的IP地址;
    向所述UE发送所述UE的IP地址;以及,所述CP功能实体向所述N3G-GW发送所述UP功能实体的F-TEID,由所述N3G-GW存储所述UP功能实体的F-TEID;
    获取所述N3G-GW的F-TEID,所述N3G-GW的F-TEID包括所述N3G-GW的IP地址和所述N3G-GW的TEID;
    向所述UP功能实体发送PDU会话更新请求消息,所述PDU会话更新请求消息携带所述N3G-GW的F-TEID,由所述UP功能实体存储所述N3G-GW的F-TEID;
    接收所述UP功能实体发送的PDU会话更新响应消息。
  18. 根据权利要求17所述的CP功能实体,其特征在于,所述UE的IP地址和移动业务指示绑定。
  19. 根据权利要求14-18任一项所述的CP功能实体,其特征在于,所述UE的本地IP地址和本地业务指示绑定。
  20. 根据权利要求14-19任一项所述的CP功能实体,其特征在于,所述CP功能实体还包括接收模块;
    所述接收模块,用于在所述获取模块获取所述UE的业务授权指示之前,接收数据库实体发送的所述UE的签约数据,所述UE的签约数据用于所述UE的接入授权和业务授权;
    所述获取模块获取所述UE的业务授权指示,包括:
    根据所述UE的签约数据,确定所述UE的接入授权和业务授权,获得所述UE的业务授权指示。
  21. 根据权利要求14-19任一项所述的CP功能实体,其特征在于,所述获取模块获取所述UE的业务授权指示,包括:
    接收数据库实体发送的所述UE的业务授权指示,所述UE的业务授权指示为所述数据库实体根据所述UE的签约数据,确定所述UE的接入授权和业务授权后获得的,所述UE的签约数据用于所述UE的接入授权和业务授权。
  22. 根据权利要求14-21任一项所述的CP功能实体,其特征在于,所述CP功能实体还包括接收模块;
    所述接收模块,用于在所述获取模块获取所述UE的业务授权指示之前,接收所述UE发送的本地业务请求指示。
  23. 根据权利要求14-22任一项所述的CP功能实体,其特征在于,所述本地业务包括固网业务或者非无缝无线局域网WLAN分流业务。
  24. 一种控制面CP功能实体,其特征在于,包括:处理器、存储器、总线和通信接口;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述总线连接,当所述CP功能实体运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述CP功能实体执行如权利要求1-13中任意一项所述的连接建立方法。
PCT/CN2017/107698 2016-11-21 2017-10-25 连接建立方法、设备及*** WO2018090800A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611041130.5 2016-11-21
CN201611041130.5A CN108377497B (zh) 2016-11-21 2016-11-21 连接建立方法、设备及***

Publications (1)

Publication Number Publication Date
WO2018090800A1 true WO2018090800A1 (zh) 2018-05-24

Family

ID=62145236

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107698 WO2018090800A1 (zh) 2016-11-21 2017-10-25 连接建立方法、设备及***

Country Status (2)

Country Link
CN (1) CN108377497B (zh)
WO (1) WO2018090800A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714201A (zh) * 2019-10-24 2021-04-27 普天信息技术有限公司 公专网融合集群通信***中网络地址转换穿透方法及装置

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110831094B (zh) * 2018-08-14 2021-12-28 华为技术有限公司 一种数据传输通道的处理方法及装置
CN114124737B (zh) * 2020-08-25 2023-07-11 华为技术有限公司 一种控制用户设备接入网络的方法及装置
CN113260016B (zh) * 2021-07-05 2021-10-08 深圳艾灵网络有限公司 多模终端接入控制方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064938A (zh) * 2006-04-28 2007-10-31 华为技术有限公司 移动终端在3gpp与非3gpp接入***之间切换时应用mip的方法
CN102316602A (zh) * 2010-07-09 2012-01-11 中兴通讯股份有限公司 一种用户设备接入移动网络的***、设备及方法
CN103428800A (zh) * 2012-05-23 2013-12-04 中兴通讯股份有限公司 路由选择方法及功能网元
WO2015075712A2 (en) * 2013-11-21 2015-05-28 Doron Shalev Communication device incorporating a method and apparatus for seamless session transfer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201909199D0 (en) * 2013-02-22 2019-08-07 Tran Bao Communication apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064938A (zh) * 2006-04-28 2007-10-31 华为技术有限公司 移动终端在3gpp与非3gpp接入***之间切换时应用mip的方法
CN102316602A (zh) * 2010-07-09 2012-01-11 中兴通讯股份有限公司 一种用户设备接入移动网络的***、设备及方法
CN103428800A (zh) * 2012-05-23 2013-12-04 中兴通讯股份有限公司 路由选择方法及功能网元
WO2015075712A2 (en) * 2013-11-21 2015-05-28 Doron Shalev Communication device incorporating a method and apparatus for seamless session transfer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714201A (zh) * 2019-10-24 2021-04-27 普天信息技术有限公司 公专网融合集群通信***中网络地址转换穿透方法及装置

Also Published As

Publication number Publication date
CN108377497B (zh) 2020-03-10
CN108377497A (zh) 2018-08-07

Similar Documents

Publication Publication Date Title
US11134410B2 (en) Quality of service (QoS) control in mobile edge computing (MEC)
US10616934B2 (en) User plane function selection for isolated network slice
US11612013B2 (en) Data transmission method, device, and system
US20200329511A1 (en) Session establishment method and system, and device
US10952114B2 (en) Method, device, and system for selecting user plane functional entity supporting non-3GPP access
US20190261260A1 (en) System and method for ue context and pdu session context management
US8438389B2 (en) Method and system for dynamic service negotiation with a uniform security control plane in a wireless network
US20200329514A1 (en) Session establishment method and system, and device
WO2018090800A1 (zh) 连接建立方法、设备及***
WO2011060673A1 (zh) 公用承载建立的方法、数据传输方法和核心网络侧设备
US10321462B2 (en) Method and apparatus for setting group-based connection
US11375408B2 (en) Local breakout architecture
US20210112437A1 (en) User Plane QOS Bearer Control Method for 5G Fixed Access
WO2020199991A1 (zh) 通信方法、设备及***
US20150319749A1 (en) System and method for managing network resource impact of migrant wi-fi users
US20240098583A1 (en) PDU session continuity for a UE moving between a telecommunications network and a gateway device
KR101481337B1 (ko) 소프트웨어 정의 네트워크 기반 이동통신 시스템 및 이의 단말 접속 처리 방법
CN108377493B (zh) 连接建立方法、设备及***
WO2018107490A1 (zh) non-GBR承载上数据传输速率的控制方法及装置
WO2016078348A1 (zh) 数据传送方法及装置

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

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

Country of ref document: EP

Kind code of ref document: A1