WO2019137547A1 - Session establishment method and device - Google Patents

Session establishment method and device Download PDF

Info

Publication number
WO2019137547A1
WO2019137547A1 PCT/CN2019/071707 CN2019071707W WO2019137547A1 WO 2019137547 A1 WO2019137547 A1 WO 2019137547A1 CN 2019071707 W CN2019071707 W CN 2019071707W WO 2019137547 A1 WO2019137547 A1 WO 2019137547A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
network element
terminal
pdu session
dnn
Prior art date
Application number
PCT/CN2019/071707
Other languages
French (fr)
Chinese (zh)
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 WO2019137547A1 publication Critical patent/WO2019137547A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a session establishment method and device.
  • the fifth generation (Fifth Generation, 5G) mobile communication technology came into being.
  • the coverage of the 5G network is insufficient. Therefore, when the location of the user equipment (User Equipment, UE) changes, the handover between the 5G network and the fourth generation (4G) network may occur.
  • UE User Equipment
  • PDN packet data network
  • APN access point name
  • S-NSSAI single network slice selection assistance information
  • the UE may have multiple PDU sessions established in 5G, and these PDU sessions may use the same DNN. And 5G does not specify that the same DNN session must select the same session management device, therefore, these multiple PDU sessions with the same DNN may be anchored on different session management devices.
  • the embodiment of the present application provides a session establishment method, device, and system, so that when a terminal establishes a PDN connection in which a PDU session with the same DNN is switched to a 4G network in a 5G network, the PDU session is guaranteed to be switched to 4G. It can be anchored to the same control plane function network element as the PDU session, and it is ensured that each PDN connection after the handover has a different APN, thereby enabling control of the APN AMBR.
  • the embodiment of the present application provides the following technical solutions:
  • a method for establishing a session comprising: a terminal sending a first request message for establishing a packet data unit PDU session, wherein the first request message includes a data network name DNN; and the terminal receives the first response a message, the first response message includes an access point name APN corresponding to the PDU session; the APN is unique within the range of the terminal, and is used to uniquely identify the PDU session of the terminal;
  • the mobility management network element sends a second request message to establish a packet data network PDN connection, the second request message including the APN.
  • the terminal obtains an APN unique in its own range from the network side.
  • the terminal when the terminal establishes multiple PDU sessions with the same DNN, the PDU sessions can be switched to PDN connections with different APNs, and the APNs corresponding to the switched PDN connections are different, so Problems that cannot be controlled by APN AMBR in the technology can also be solved.
  • the APN is carried in a protocol configuration item PCO. That is to say, the control plane function network element on the network side can send the APN to the terminal through the PCO message, so that other intermediate devices in the network can avoid parsing the information (for example, the MME in the 4G network), thereby minimizing The solution leads to an update of the devices in the network.
  • the first request message further includes a PDU session identifier of the PDU session
  • the first response message further includes the PDU session identifier
  • the sending is established to the mobility management network element.
  • the method further comprises: saving the APN in a session context indicated by the PDU session identifier.
  • the method further includes: sending indication information, where the indication information is used to indicate that all PDU sessions established by the terminal or a specific PDU session needs to be subsequently switched to the 4G network.
  • the indication information may be sent to the SMF+PGW-C by the terminal or the third-party application server during the session establishment process.
  • the process of the solution of the present application is executed; otherwise, The prior art performs a process of establishing a PDU session.
  • the indication information may include at least one of an identifier of the terminal, a session corresponding to the PDU session, and a session and service continuity (SSC) mode, and an S-NSSAI corresponding to the PDU session.
  • SSC session and service continuity
  • the indication information may also be sent to the SMF+PGW-C by the PDU session establishment request carried by the terminal.
  • the indication information may be, for example, an indication bit.
  • the indication bit is set to bit “1”, it indicates that the PDU session requested to be established needs to be subsequently switched to the 4G network; when the indication bit is set to “0” or not
  • the indicator bit exists, it indicates that the PDU session requested to be established does not need to be switched to the 4G network.
  • the second request message is used to request to establish a PDN connection, and may specifically be an attach request or a PDN connection setup request.
  • a second aspect provides a session establishment method, the method comprising: a control plane function network element receiving a first request message from a terminal for requesting establishment of a packet data unit PDU session; wherein the first request message includes a data network
  • the name DNN is obtained.
  • the access point name APN corresponding to the PDU session is obtained, where the APN is unique within the range of the terminal, and is used to uniquely identify the PDU session of the terminal.
  • the terminal obtains an APN unique in its own range from the network side.
  • the terminal when the terminal establishes multiple PDU sessions with the same DNN, the PDU sessions can be switched to PDN connections with different APNs, and the APNs corresponding to the switched PDN connections are different, so Problems that cannot be controlled by APN AMBR in the technology can also be solved.
  • the method further includes: sending a first response message to the terminal, where the first response message includes the APN.
  • the APN may be sent to the terminal through the PCO message in the PDU session establishment response, so that the terminal saves the APN in the session context.
  • the APN may be modified by the DNN that is uniquely parameterized within the range of the terminal.
  • the control plane function network element may modify the DNN according to one or more of the S-NSSAI, the PDU session ID, the identifier of the control plane function network element itself, and the random number in the PDU session establishment request, thereby dynamically generating the APN.
  • the advantage of using random numbers for decoration is that it can hide network sensitive information.
  • S-NSSAI, PDU session ID, SMF+PGW-C ID, and other uniques can be generated when generating random numbers.
  • Sexual parameters such as time parameters are used as inputs to the random number generation function.
  • the control plane function network element can use the random number as a modification of the DNN.
  • APN modification in TS23.003, and the DNN can be modified by referring to the existing APN modification method.
  • the DNN in the PDU session that the terminal requests to establish can be mapped to the APN that is unique within the terminal range. Therefore, when the terminal establishes a different PDU session with the same DNN, the parameters of the modified DNN are not The same, so the generated APN is not the same. This ensures that different PDU sessions of the same DNN have different APNs when switching to PDN connections in the 4G network.
  • control plane function network element also obtains the subscription data of the APN.
  • the control plane function network element may generate the subscription data of the APN according to the subscription data of the DNN, and send the generated subscription data of the APN to the user data management network element, or the user data management network element may generate the APN according to the subscription data of the DNN.
  • the contract data is sent to the control plane function network element.
  • a method for establishing a session includes: receiving, by a user data management network element, a first message sent by a control plane function network element, where the first message includes a DNN; and acquiring an access point name corresponding to the PDU session An APN, wherein the APN is unique within the range of the terminal for uniquely identifying the PDU session.
  • the APN is determined by modifying the DNN by a parameter whose value is unique within the range of the terminal.
  • the first message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, where the acquiring an access point name APN corresponding to the PDU session includes:
  • the data management network element modifies the DNN according to one or more of the S-NSSAI, the PDU session ID, the identifier of the control plane function network element itself, and the random number in the PDU session establishment request, to generate an APN.
  • the advantage of using random numbers for decoration is that it can hide network sensitive information.
  • S-NSSAI S-NSSAI
  • PDU session ID SMF+PGW-C ID
  • other uniques can be generated when generating random numbers.
  • Sexual parameters such as time parameters are used as inputs to the random number generation function.
  • the user data management network element can use the random number as a modification of the DNN.
  • APN modification There is a method for APN modification in TS23.003, and the DNN can be modified by referring to the existing APN modification method. With the method described in this application, the DNN in the PDU session that the terminal requests to establish can be mapped to the APN that is unique within the terminal range.
  • the terminal establishes a different PDU session with the same DNN, the parameters of the modified DNN are not The same, so the generated APN is not the same. This ensures that different PDU sessions of the same DNN have different APNs when switching to PDN connections in the 4G network.
  • the user data management network element obtains subscription data for the APN.
  • the user data management network element may generate the subscription data of the APN according to the subscription data of the DNN, or accept the subscription data of the APN from the control plane function network element, and send the APN subscription data to the mobility management network element (MME), so that The mobility management network element may authorize the establishment request of the corresponding PDN connection according to the subscription data of the APN.
  • MME mobility management network element
  • the first message further includes an S-NSSAI
  • the user data management network element acquires the PDU session corresponding according to the S-NSSAI and the DNN. DNN's signing data.
  • a terminal having the function of implementing the method described in the first aspect above.
  • 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.
  • a fifth aspect provides a terminal, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the terminal is running, the processor executes the computer execution instruction stored in the memory to enable the terminal to execute A session establishing method as described in any one of the above first aspects.
  • a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the session establishment described in any of the above first aspects method.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the session establishment method of any of the above first aspects.
  • a chip system comprising a processor for supporting a terminal to implement the functions involved in the above aspects.
  • the chip system further includes a memory for storing necessary program instructions and data for the terminal.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • a control plane function network element having the function of implementing the method described in the second aspect above.
  • 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.
  • a tenth aspect provides a control plane function network element, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the control plane function network element is running, the processor executes the computer stored in the memory Executing an instruction to cause the control plane function network element to perform the session establishment method as described in any of the above second aspects.
  • a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the session of any of the above second aspects Establish a method.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the session establishment method of any of the above second aspects.
  • a chip system comprising a processor for supporting a control plane function network element end to implement the functions involved in the above aspects.
  • the chip system further includes a memory for storing program instructions and data necessary for the control plane function network element.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • a user data management network element having the function of implementing the method described in the third aspect above.
  • 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.
  • a user data management network element includes: a processor and a memory; the memory is configured to store a computer execution instruction, and when the user data management network element is running, the processor executes the memory storage The computer executes the instructions to cause the user data management network element to perform the session establishment method as described in any of the above third aspects.
  • a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the session of any of the above third aspects Establish a method.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the session establishment method of any of the above third aspects.
  • a chip system including a processor for supporting a user data management network element to implement the functions involved in the above aspects.
  • the chip system further includes a memory for storing necessary program instructions and data of the second mobility management entity.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIG. 1 is a schematic diagram of an existing 4G network and 5G network interworking architecture
  • FIG. 2 is a schematic structural diagram of hardware of a communication device according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart 1 of a session establishing method according to an embodiment of the present application.
  • FIG. 4 is a second schematic flowchart of a session establishing method according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a control plane function network element according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a user data management network element according to an embodiment of the present disclosure.
  • the embodiment of the present invention provides a method for mobility management, which can be applied to the 4G network and the 5G network interworking architecture system 100 shown in FIG. 1.
  • the user plane function is shared between the 4G network and the 5G network.
  • UPF user plane function
  • PGW-U PDN gateway user plane function
  • SMF session management function
  • PDN gateway control plane function PDN gateway control plane function
  • PGW-C PDN gateway control plane function
  • PCF policy control function
  • PCF policy and charging rules function
  • PCF policy and charging rules function
  • HSS home subscriber server
  • UDM unified data Unified data management
  • UPF is the user plane function of the 5G network
  • PGW-U is the gateway user plane function of the 4G network corresponding to the UPF
  • SMF is the session management function of the 5G network
  • PGW-C is the corresponding to the SMF.
  • the PCF is the policy control function of the 5G network
  • the PCRF is the policy charging rule function of the 4G network corresponding to the PCF.
  • coupling means that the same device has the functions of two entities at the same time.
  • the HSS+UDM entity is referred to as a user data management network element
  • the PGW-C entity + SMF entity is referred to as a control plane function network element, and is uniformly described herein. Narration.
  • the network device after the above-mentioned connection may also use other names, which is not specifically limited in this embodiment of the present application.
  • the foregoing 4G network and 5G network interworking architecture may further include a Mobility Management Entity (MME) and a Serving Gateway (SGW), and access and movement in the 5G network.
  • MME Mobility Management Entity
  • SGW Serving Gateway
  • AMF Access and Mobility Management Function
  • the terminal accesses the 4G network through an evolved universal terrestrial radio access network (E-UTRAN) device, and the terminal passes the next generation radio access network (NG-RAN) device. Access to 5G networks.
  • the E-UTRAN device communicates with the MME through the S1-MME interface, the E-UTRAN device communicates with the SGW through the S1-U interface, the MME communicates with the SGW through the S11 interface, and the MME communicates with the user data management entity through the S6a interface, and the MME passes the N26 interface.
  • the SGW communicates with the PGW-U entity + UPF entity through the S5-U interface
  • the SGW communicates with the PGW-C entity + SMF entity through the S5-C interface
  • the PGW-U entity + UPF entity passes the N3 interface and the NG-RAN Device communication
  • the PGW-U entity + UPF entity communicates with the PGW-C entity + SMF entity through the N4 interface
  • the PGW-C entity + SMF entity communicates with the PCRF entity + PCF entity through the N7 interface
  • the HSS+UDM entity passes the N10 interface and the PGW -C entity + SMF entity communication
  • HSS+UDM entity communicates with AMF entity through N8 interface
  • PCRF entity + PCF entity communicates with AMF entity through N15 interface
  • PGW-C entity + SMF entity communicates with AMF entity through N11 interface
  • AMF entity The NMF entity communicates with the NG-RAN device through the N2 interface
  • the AMF entity communicates with the terminal through the N1
  • the N26 interface between the MME and the AMF may not exist in some scenarios in the foregoing interworking architecture.
  • the N26 interface may be used for terminal context transfer and handover procedures. This application will describe whether there is an N26 interface between the MME and the AMF, respectively describing the possible implementations.
  • the name of the interface between the network elements in FIG. 1 is only an example. In the specific implementation, the interface name may be other names, which is not specifically limited in this embodiment of the present application.
  • the NG-RAN device in the 5G network may also be referred to as an access device, and the access device refers to a device that accesses the core network, for example, a base station, a broadband network service gateway (broadband network gateway, BNG), aggregation switch, non-3GPP access equipment, etc.
  • the base station may include various types of base stations, such as a macro base station, a micro base station (also referred to as a small station), a relay station, an access point, and the like, which are not specifically limited in this embodiment of the present application.
  • the 4G network may also include a general packet radio system (GPRS) service support node (SGSN), etc., 5G.
  • the network may also include an authentication service function (AUSF) entity and a network slice selection function (NSSF) entity, which are not specifically limited in this embodiment of the present application.
  • GPRS general packet radio system
  • SGSN general packet radio system
  • AUSF authentication service function
  • NSSF network slice selection function
  • the terminals involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem; and may also include a subscriber unit ( Subscriber unit), cellular phone, smart phone, wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld device, a laptop computer, a cordless phone, or a wireless local loop (WLL) station, a machine type communication (MTC) terminal, a user equipment (UE), Mobile station (MS), terminal device, etc.
  • Subscriber unit Subscriber unit
  • cellular phone smart phone
  • wireless data card personal digital assistant
  • modem modem
  • WLL wireless local loop
  • MTC machine type communication
  • UE user equipment
  • MS Mobile station
  • the terminal may provide an APN to the MME when initiating a packet service.
  • the MME can perform domain name resolution by using a domain name server (DNS) to obtain an address of the session management network element (for example, an Internet Protocol address), thereby accessing the terminal to the PDN corresponding to the APN. in.
  • DNS domain name server
  • the terminal may provide the S-NSSAI and the DNN to the AMF when initiating the establishment of the PDU session.
  • the AMF determines the address of the session management network element based on the S-NSSAI, DNN, and other information (such as the subscription information of the terminal and the local carrier policy, etc.).
  • the determined session management network element establishes a PDU session for the terminal based on the S-NSSAI and the DNN.
  • the network architecture and the service scenario described in the embodiments of the present application are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation of the technical solutions provided by the embodiments of the present application.
  • the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
  • the node shown in FIG. 1, such as a terminal, MME, AMF, SMF entity + PGW-C entity, E-UTRAN or NG-RAN, may be the communication device (or system) in FIG. The way to achieve.
  • FIG. 2 is a schematic diagram showing the hardware structure of a communication device according to an embodiment of the present application.
  • the communication device 200 includes at least one processor 201, a communication line 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 line 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 may be stand-alone and connected to the processor via communication line 202. The memory can also be integrated with the processor.
  • the memory 203 is used to store computer execution instructions for executing the solution of the present application, and is controlled by the processor 201 for execution.
  • the processor 201 is configured to execute computer execution instructions stored in the memory 203, thereby implementing the session establishment method provided by the following embodiments of the present application.
  • the computer-executed instructions in the embodiment of the present application may also be referred to as an application code, which is not specifically limited in this embodiment of the present application.
  • processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
  • communication 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.
  • processors herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
  • the communication device 200 can 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 306 is in communication with processor 301 and can receive 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 communication device 200 described above may be a general purpose device or a dedicated device.
  • the communication 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, an embedded device, or the like in FIG. device.
  • PDA personal digital assistant
  • the embodiment of the present application does not limit the type of the communication device 200.
  • a session establishment method provided by an embodiment of the present application.
  • the terminal first establishes a PDU session in the 5G network, and the terminal needs to access the 4G network because the terminal location moves out of the 5G service range or other reasons.
  • the control plane function network element or the user data management network element maps the DNN carried in the PDU session establishment request to an APN unique to the terminal, and maintains the mapped APN.
  • the control plane function network element needs to send the mapped APN to the terminal (for example, the mapped APN may be carried in a protocol configuration option (PCO) message and sent to the terminal).
  • PCO protocol configuration option
  • the MME obtains the context of the terminal from the user data management network element, and determines the control plane function for the terminal according to the carried APN and the acquired context.
  • the network element is configured to be anchored to the same control plane function network element as the original PDU session when the 5G PDU session is switched to 4G.
  • the terminal establishes a plurality of PDU sessions with the same DNN in the 5G network, the above method can be used to ensure that when switching to the 4G network, each PDU session can be anchored to the same as the original PDU session when switching to 4G.
  • On the control plane function network element it is ensured that each PDN connection after the handover has a different APN, thereby enabling control of the APN AMBR.
  • the following may include:
  • Step 301 The terminal sends a PDU session establishment request to the mobility management network element in the first network.
  • the mobility management network element in the first network may be, for example, the AMF shown in FIG. 3, and the mobile management network element in the first network is replaced by AMF.
  • the PDU session establishment request includes an S-NSSAI, a DNN, and a PDU Session ID (PDU Session ID), and the PDU session establishment request is used to request the network side to use the network slice instance indicated by the S-NSSAI in the data network indicated by the terminal and the DNN. Establish a PDU session.
  • the terminal may establish multiple PDU sessions in the 5G network, and the multiple PDU sessions may correspond to the same DNN, and the same or different control plane function network elements (ie, the SMF+PGW in this embodiment) -C) Service, which is not limited by the embodiment of the present application.
  • the embodiment of the present application is only an example in which a terminal establishes a PDU session through a control plane function network element.
  • Step 302 The AMF accepts the PDU session establishment request sent by the terminal, and sends a session establishment request to the SMF+PGW-C.
  • the session establishment request includes the S-NSSAI, the DNN, and the PDU Session ID carried in the PDU session establishment request.
  • the AMF determines the address of the SMF+PGW-C as the prior art, which is not limited in the embodiment of the present invention, and the related method may refer to the existing standard.
  • step 303 the SMF+PGW-C performs a mapping operation.
  • the mapping operation performed by the SMF+PGW-C includes mapping the DNN in the session establishment request to an APN unique to the terminal, and optionally, generating the subscription data corresponding to the APN.
  • a method for generating the subscription data corresponding to the APN is to map the QoS parameter corresponding to the PDU session to the QoS parameter corresponding to the PDN connection corresponding to the 4G corresponding to the PDU session, such as mapping the session AMBR corresponding to the PDU session to the PDN connection.
  • the APN AMBR maps the ARP corresponding to the PDU session to the ARP corresponding to the PDN connection, and saves the mapped QoS parameters as the signed APN subscription data in the HSS+UDM, so that when the terminal switches from 5G to 4G, the HSS +UDM sends the mapped APN subscription data to the corresponding MME.
  • the DNN subscription data is directly mapped to the corresponding APN subscription data, and the mapped APN subscription data is saved in the HSS+UDM, so that when the terminal switches from 5G to 4G, the HSS+UDM sends the mapped APN subscription data.
  • the mapped APN subscription data is saved in the HSS+UDM, so that when the terminal switches from 5G to 4G, the HSS+UDM sends the mapped APN subscription data.
  • the method in which the SMF+PGW-C maps the DNN in the session establishment request to the APN unique to the terminal may include multiple methods, for example:
  • the SMF+PGW-C may map the DNN to an APN unique to the terminal according to the mapping relationship according to the mapping relationship between the locally pre-configured DNN and the APN.
  • SMF+PGW-C can pre-configure the mapping relationship between DNN, S-NSSAI and APN (as shown in Table 1) or the mapping relationship between DNN, S-NSSAI, SMF+PGW-C ID and APN (Table 2). Shown).
  • the mapping relationship shown in Table 1 may be used to map the DNN to The terminal is the only APN.
  • the mapping relationship of Table 2 can be used to map the DNN to an APN unique to the terminal. .
  • mapping relationship between Table 1 and Table 2 is only an example, and may be implemented by other mapping relationships, which is not limited by the embodiment of the present invention.
  • the SMF+PGW-C may map the DNN to an APN unique to the terminal according to a preset rule.
  • the DNN can be modified to generate an APN using parameters that are unique relative to the terminal.
  • a possible implementation manner is: the SMF+PGW-C modifies the DNN according to one or more of the S-NSSAI, the PDU session ID, the SMF+PGW-C's own identifier, and the random number in the PDU session establishment request.
  • SMF+PGW-C first generates a random number.
  • S-NSSAI, PDU session ID, SMF+PGW-C ID, and other unique parameters such as time parameters can be generated when generating random numbers.
  • the DNN can be modified by referring to the existing APN modification method.
  • the APN generated by the mapping may also be independent of the DNN.
  • the SMF+PGW-C may generate a random according to the PDU session ID and other unique parameters such as time parameters. The number is used as the mapped APN.
  • the method of (1)(2) above ensures that the APN generated by the mapping is not repeated in all PDU sessions established by the terminal. It should be noted that the two methods (1) and (2) may also be combined in a specific implementation to implement mapping the DNN to an APN unique to the terminal. For example, SMF+PGW-C can determine a temporary APN according to Table 1, and then modify the temporary APN with its own SMF+PGW-C ID to obtain the mapped APN.
  • the SMF+PGW-C can also map the QoS parameters corresponding to the PDU session to the QoS parameters corresponding to the PDN connection after the session is switched to the 4G, such as mapping the session AMBR to the APN AMBR corresponding to the PDN connection, and the PDU.
  • the allocation retention priority (ARP) of the session is mapped to the ARP of the PDN connection.
  • One way to map a Session AMBR to an APN AMBR is to set the APN AMBR equal to the Session AMBR. There may be other mapping methods in the specific implementation, such as setting the APN AMBR to be smaller than the Session AMBR, which is not specified in the embodiment of the present invention.
  • a method of mapping the ARP corresponding to the PDU session to the ARP corresponding to the PDN connection is to set the ARP corresponding to the PDN connection to the ARP corresponding to the PDU session.
  • the corresponding ARP is set to be greater than or less than the ARP corresponding to the PDU session, which is not specified in the embodiment of the present invention.
  • the SMF+PGW-C also associates the mapped APN and the QoS parameter corresponding to the mapped PDN connection (optional) in the context of the terminal.
  • the method further includes the SMF+PGW-C returning a session establishment response to the AMF, the session establishment response including information (such as an identifier or an address, etc.) of the control plane function network element.
  • step 304 the SMF+PGW-C sends a registration request to the HSS+UDM.
  • the registration request includes information of the SMF+PGW-C (for example, SMF+PGW-C ID or address information, etc.) and the mapped APN, so that the HSS+UDM can display the information of the SMF+PGW-C and the mapped APN.
  • the association is saved to the relevant information of the terminal (such as the session context).
  • the subscription request message further includes the subscription data of the APN, so that the HSS+UDM saves the subscription data of the APN to the related information of the terminal (for example, the terminal corresponds to In the contract data or session context, etc.). It should be noted that the embodiment of the present application does not limit how the HSS+UDM saves related information.
  • mapping of the DNN to the APN performed by the SMF+PGW-C and the mapping of the QoS parameters corresponding to the PDU session to the QoS parameters corresponding to the PDN connection may also be performed by the HSS+UDM.
  • step 303 and step 304 may be replaced by the following steps A to C:
  • Step A SMF+PGW-C sends a registration request to HSS+UDM
  • the registration request includes information such as the identifier of the terminal, the information of the SMF+PGW-C, the DNN in the session establishment request received in step 302, and the optional S-NSSAI.
  • Step B The HSS+UDM receives the registration request sent by the SMF+PGW-C, and performs a mapping operation.
  • the method for performing mapping operation by the HSS+UDM is the same as the method for performing mapping with the SMF+PGW-C in step 303.
  • the HSS+UDM obtains the subscription data of the APN.
  • the HSS+UDM first obtains the subscription data of the DNN corresponding to the session according to the S-NSSAI and the DNN corresponding to the PDU session, and then maps the relevant parameters in the subscription data of the corresponding DNN to the relevant parameters in the APN subscription data, and the DNN
  • the contract data includes APN AMBR, ARP, and the like.
  • the HSS+UDM saves the information of the SMF+PGW-C, the mapped APN, and the subscription data corresponding to the mapped APN to the related information of the terminal, for example, the SMF+PGW-C
  • the information and the mapped APN are saved in the session context of the terminal, and the subscription data corresponding to the mapped APN is saved in the subscription data of the UE.
  • Step C HSS+UDM sends a registration response to SMF+PGW-C.
  • the registration response includes the mapped APN and the signed APN subscription data.
  • the SMF+PGW-C After receiving the registration response sent by the HSS+UDM, the SMF+PGW-C saves the mapped APN and the mapped APN subscription association to the registration association. The relevant information of the terminal.
  • mapping may also be performed separately in SMF+PGW-C and HSS+UDM.
  • SMF+PGW-C is responsible for mapping DNN to APN
  • HSS+UDM is responsible for generating subscription data of APN.
  • the embodiments of the present invention do not make provisions.
  • the SMF+PGW-C or the HSS+UDM receives the indication information from the terminal or the third-party application server, where the indication information is used to indicate all PDU sessions established by the terminal or a specific PDU session. Need to switch to 4G network.
  • the indication information may be sent by the terminal or the third-party application server to the SMF+PGW-C during the session establishment process.
  • the indication information is met.
  • the process of the embodiment of the present application is performed; otherwise, the process of establishing a PDU session is performed according to the prior art.
  • the indication information may include at least one of an identifier of the terminal, a session corresponding to the PDU session, and a session and service continuity (SSC) mode, and an S-NSSAI corresponding to the PDU session.
  • SSC session and service continuity
  • the SMF+PGW-C determines that the PDU session needs to be subsequently switched to the 4G network, or when the SMF When the PGW-C determines that the session of the established PDU is SSC mode 1, the SMF+PGW-C may determine, according to the information, that the PDU session needs to be subsequently switched to the 4G network, or the SMF+PGW-C according to the S corresponding to the session. - NSSAI determines that the PDU session needs to be subsequently switched to the 4G network.
  • the indication information may also be sent by the terminal to the SMF+PGW-C in the PDU session establishment request in step 301.
  • the indication information may be, for example, an indication bit.
  • the indication bit is set to bit “1”, it indicates that the PDU session requested to be established needs to be subsequently switched to the 4G network; when the indication bit is set to “0” or not
  • the indicator bit exists, it indicates that the PDU session requested to be established does not need to be switched to the 4G network.
  • Step 305 A subsequent PDU session establishment process.
  • the SMF+PGW-C receives the session establishment request sent by the terminal from the AMF, and establishes a PDU session for the terminal based on the S-NSSAI and the DNN in the session establishment request.
  • the process of establishing a PDU session may refer to an existing process, and details are not described herein.
  • Steps 301 to 305 are used to implement the process of establishing a PDU session in the terminal in the 5G network.
  • the embodiment of the present application adds that the DNN in the PDU session is mapped to the APN in which the terminal range name does not overlap.
  • Step 306 The SMF+PGW-C sends the mapped APN to the terminal.
  • the SMF+PGW-C can carry the mapped APN in the PCO message and send it to the terminal.
  • the PCO message can be carried in a PDU session setup response.
  • the PCO message is used to send the mapped APN to the terminal, which can avoid the extra burden caused by the SMF+PGW-C and the network element in the middle of the terminal parsing the cell during the message delivery.
  • the terminal After receiving the mapped APN, the terminal stores the mapped APN in the session context. Specifically, in step 306, the SMF+PGW-C sends the PDU Session ID to the terminal together, and after receiving the mapped APN and the PDU Session ID, the terminal stores the mapped APN in the corresponding session context.
  • Step 307 The terminal sends an attach request or a PDN connection setup request to the MME, so that the MME receives the attach request or the PDN connection establishment request.
  • the mapping request or the PDN connection establishment request carries the mapped APN received in step 306, and the mapped APN is also generated by mapping the terminal in the PDU session establishment process.
  • the scenario in which the terminal sends a PDN connection establishment request in this step may be that the UE has completed the attach procedure, but still needs to switch the PDU session, and initiates a corresponding PDN connection establishment process for the PDU session immediately after the attach procedure is completed. .
  • step 307 may occur when the location of the terminal moves, for example, from 5G coverage to only 4G coverage, or for some other reasons, the terminal changes from 5G network access data network to 4G network connection. When entering the data network.
  • the attach request further includes an identifier of the terminal.
  • the identifier of the terminal herein may be information for characterizing the user equipment, such as an International Mobile Subscriber Identity (IMSI), or may be a temporary identifier of the UE, such as globally unique from 5G. 4G GUTI mapped by globally unique temporary identity (GUTI).
  • IMSI International Mobile Subscriber Identity
  • GUI globally unique temporary identity
  • step 308 is performed to obtain the related information of the terminal from the HSS+UDM. If the PDN connection establishment request is in step 307, it can be understood that the MME has already performed the attach procedure before the PDN connection establishment request. The related information of the terminal is obtained from the HSS+UDM, so step 309 is directly executed.
  • Step 308 Acquire relevant information of the terminal from the HSS+UDM.
  • the terminal sends a location update request to the HSS+UDM, where the location update request carries the identifier of the terminal.
  • the HSS+UDM obtains the context of the terminal according to the identifier of the terminal, for example, information including SMF+PGW-C, mapped APN, and signed data of the mapped APN.
  • the context of the foregoing terminal may be stored in association. For example, multiple session information and corresponding subscription data may be saved in the context of the terminal.
  • Table 3 A possible implementation manner is shown in Table 3:
  • the contract data of the terminal may be as shown in Table 4:
  • the UE is used to refer to the identifier of the terminal. It should be noted that the APN subscription data in the foregoing Table 3 may also be stored in the subscription data. In the embodiment of the present invention, the mapped APN, SMF+PGW-C The storage format of ID, APN subscription data, and signed APN information is not limited.
  • the HSS+UDM After receiving the location update request of the MME, the HSS+UDM obtains the context corresponding to the terminal according to the terminal identifier.
  • the HSS+UDM receives the identifier of the terminal carried in the location update request of the MME as UE1, and the HSS+UDM acquires the session context and the subscription information related to the UE1, such as (APN1, SMF+PGW-C1, APN1 signed, APN1). Signing data), (APN2, SMF+PGW-C1, APN2 signed, APN2 signing data).
  • the HSS+UDM sends the acquired UE1 related session context and subscription information to the MME.
  • Step 309 The MME sends a session update request to the SMF+PGW-C.
  • the MME determines the identifier of the anchored SMF+PGW-C according to the mapped APN received from the terminal, and the session context and the subscription data of the terminal acquired from the HSS+UDM, and determines the SMF+PGW to the determined SMF+PGW.
  • -C sends a session update request.
  • the session update request includes the mapped APN received from the terminal.
  • step 307 is an attach request
  • the MME selects a serving gateway (S-GW) according to the location of the UE.
  • the MME sends a session update request to the anchored SMF+PGW-C via the S-GW.
  • the downlink update information corresponding to the session allocated by the S-GW is carried in the session update request.
  • the MME sends the QoS parameters, such as APN AMBR, in the APN subscription data acquired in step 308 to the anchored SMF+PGW-C.
  • the anchored SMF+PGW-C obtains the user plane tunnel information corresponding to the session according to the received APN search terminal context, including the IP address of the PGW-U+UPF and the uplink tunnel information.
  • the anchored SMF+PGW-C notifies the downlink tunnel information of the S-GW to the PGW-C+UPF corresponding to the session (this step is prior art and is not shown in the figure).
  • the MME before the MME sends the session update request to the SMF+PGW-C, the MME further includes the MME determining whether the terminal has the right to update the session.
  • the MME determines that the mapped APN sent by the terminal is signed
  • the MME determines that the terminal has the right to update the session, and performs step 309 to send a session update request to the SMF+PGW-C.
  • the MME determines, according to the subscription information returned by the HSS+UDM, that the mapped APN sent by the terminal is unsigned or the subscription information returned by the HSS+UDM does not include the mapped APN, the MME determines that the terminal does not have the session update permission, and the process ends. .
  • Step 310 The SMF+PGW-C returns a session establishment response to the MME.
  • the SMF+PGW-C sends the uplink tunnel information of the PGW-U+UPF corresponding to the session to the S-GW. And the S-GW returns a session establishment response to the MME, and sends the uplink tunnel information of the S-GW allocated by the S-GW to the MME.
  • Step 31 follow-up process.
  • the MME After receiving the session establishment response sent by the SMF+PGW-C, the MME enters a subsequent process to complete the establishment of the PDN connection.
  • the MME processes the subsequent attach procedure, including notifying the base station to create an air interface resource for the session, establishing a tunnel between the base station and the S-GW, and notifying the terminal of the attach result.
  • the subsequent process is a PDN connection establishment process, which also includes notifying the base station to create an air interface resource for the session, establishing a tunnel between the base station and the S-GW, and notifying the result of the PDN connection establishment. terminal.
  • the subsequent process reference may be made to the existing process, and details are not described herein.
  • the SMF+PGW-C or the HSS+UDM is required to generate a temporary APN unique to the terminal according to the DNN, and the subscription data corresponding to the DNN.
  • the contract data corresponding to the mapped APN is generated, and the related information is saved in SMF+PGW-C or HSS+UDM.
  • control plane function network element SMF+PGW-C
  • HSS+UDM user data management network element
  • a session establishment method provided by an embodiment of the present application includes the following steps:
  • Steps 401-406 the same as steps 301-306, specifically refer to the embodiment shown in FIG. 3, and details are not described herein again.
  • steps 407-411 are performed:
  • Step 407 The terminal sends a tracking area update request to a mobility management network element (such as an MME) of the second network.
  • a mobility management network element such as an MME
  • the tracking area update request includes the 4G GUTI mapped by the 5G-GUTI, and the specific mapping method refers to the prior art.
  • the MME can determine the AMF that was previously serving the terminal according to the 4G GUTI.
  • Step 408 The MME requests the context of the terminal from the AMF.
  • Step 409 After receiving the request sent by the MME, the AMF acquires the PDU session context from the control plane function network element.
  • the PDU session context includes information of the mapped APN and the corresponding control plane functional entity.
  • Step 410 The AMF sends the PDU session context to the MME.
  • Step 411 In the subsequent process, the MME performs session switching according to the context received from the AMF.
  • the subsequent process can refer to the existing process, and will not be described here.
  • steps 412-415 are performed:
  • Step 412 The base station sends a handover request to the AMF.
  • the base station When the base station determines that the terminal needs to switch to 4G, it sends an HO request to the AMF.
  • Step 413 the same step 409
  • Step 414 The AMF sends a Relocation Request to the MME, where the AMF sends the session context to the MME.
  • Step 415 follow-up process.
  • the subsequent handover procedure can be found in the related description in TS 23.502.
  • the MME selects the SGW and notifies the PGW-C+SMF via the SGW to perform session update.
  • the session establishment method provided by the embodiment of the present application can ensure that when the terminal establishes a PDN connection in which a plurality of PDU sessions with the same DNN are switched to the 4G network in the 5G network, the PDU session is guaranteed to be switched to 4G. It can be anchored to the same control plane function network element as the PDU session, and it is ensured that each PDN connection after the handover has a different APN, thereby enabling control of the APN AMBR.
  • control plane function network element and the user data management network element in the foregoing steps S401 to S415 can be performed by the processor 201 in the communication device 200 shown in FIG. 2 calling the application code stored in the memory 203.
  • the embodiment does not impose any limitation on this.
  • the solution provided by the embodiment of the present application is mainly introduced from the perspective of interaction between the network elements.
  • the foregoing terminal, the user data management network element, the control plane function network element, the AMF, and the MME, etc. in order to implement the above functions, include hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods 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 function module of the terminal, the user data management network element, and the control plane function network element may be divided according to the foregoing method.
  • each function module may be divided according to each function, or two or more functions may be used.
  • the functions are integrated in 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. 5 is a schematic structural view of the apparatus according to the above embodiment.
  • the device 50 may be a terminal or a chip in the terminal, which is not specifically limited in this embodiment of the present application.
  • the device includes: a receiving module 501 and a sending module 502.
  • the sending module is configured to send a first request message for establishing a packet data unit PDU session, where the first request message includes a data network name DNN, and the receiving module 501 is configured to receive a first response message, where The first response message includes an access point name APN; wherein the APN is determined by the DNN and is unique within the terminal range; wherein the APN can be carried in a protocol configuration item PCO; the sending module 502.
  • the method further includes sending, to the mobility management network element, a second request message for establishing a packet data network PDN connection, where the second request message includes the APN.
  • the first request message further includes a PDU session identifier of the PDU session, where the first response message further includes the PDU session identifier; the terminal further includes:
  • the saving module 503 is configured to save the APN in a session context indicated by the PDU session identifier.
  • the sending module is further configured to send indication information, where the indication information is used to indicate that all PDU sessions established by the terminal or a specific PDU session need to be subsequently switched to the 4G network.
  • the second request message is an attach request or a PDN connection setup request.
  • terminal 50 can be presented in an integrated manner to divide the form of each functional module.
  • 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
  • terminal 50 can take the form shown in FIG.
  • the processor 201 in FIG. 2 can execute the instruction by calling the computer stored in the memory 203, so that the terminal 50 executes the session establishment method in the above method embodiment.
  • the function/implementation process of the receiving module 501, the sending module 502, and the saving module 503 in FIG. 5 can be implemented by the processor 201 in FIG. 2 calling a computer executing instruction stored in the memory 203.
  • the function/implementation process of the receiving module 501 and the sending module 502 can also be implemented by using a pin or a circuit.
  • the memory 203 may be a memory unit within the chip, such as a register, a cache, or the like.
  • the memory 203 may be a storage unit located outside the chip in the terminal, which is not specifically limited in this embodiment of the present application.
  • the terminal provided by the embodiment of the present application can be used to perform the above-mentioned session establishment method. Therefore, the technical effects of the method can be referred to the foregoing method embodiments, and details are not described herein again.
  • FIG. 6 shows a schematic structural diagram of a control plane function network element 60.
  • the control plane function network element 60 includes a receiving module 601 and an obtaining module 602.
  • the receiving module 601 is configured to receive a first request message from the terminal for requesting to establish a packet data unit PDU session, where the first request message includes a data network name DNN
  • the obtaining module 602 is configured to obtain An access point name APN corresponding to the PDU session, wherein the APN is determined by the DNN and is unique within the range of the terminal.
  • the network element further includes: a sending module 603.
  • the sending module is configured to send a first response message to the terminal, where the first response message includes the APN.
  • the APN is carried in a protocol configuration item PCO.
  • the APN is determined by modifying the DNN by a parameter whose value is unique within the terminal range.
  • the first request message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, where the obtaining module 602 is specifically configured to: according to the PDU session identifier And/or the S-NSSAI, and the DNN, generating the APN; the sending module is further configured to send, to the user data management network element, the APN, the DNN, and the control plane function network element information.
  • the first request message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, where the acquiring module is specifically configured to: identify the PDU session and / or the S-NSSAI, and the DNN is sent to the user data management network element; the APN is received from the user data management network element.
  • the acquiring module is specifically configured to: identify the PDU session and / or the S-NSSAI, and the DNN is sent to the user data management network element; the APN is received from the user data management network element.
  • the receiving module 601 is further configured to receive a session update request from a mobility management network element, where the session update request includes the APN.
  • the receiving module is further configured to receive a request for acquiring the terminal session context sent by the mobility management network element, where the sending module is further configured to send a session context response to the mobility management network element, where The session context response includes information of the control plane function network element and the APN.
  • the obtaining unit 602 is further configured to acquire subscription data of the APN.
  • the subscription data of the APN is generated according to the subscription data of the DNN, and the sending module 603 is further configured to send the subscription data of the APN to the user data management network element.
  • control plane function network element 60 is presented in a form that divides the various functional modules in an integrated manner.
  • a “module” herein may refer to a particular ASIC, circuitry, processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other devices that provide the functionality described above.
  • the control plane function network element 60 can take the form shown in FIG.
  • the processor 201 in FIG. 2 can execute the instruction by calling the computer stored in the memory 203, so that the control plane function network element 60 executes the session establishment method in the above method embodiment.
  • the function/implementation process of the receiving module 601, the obtaining module 602, and the sending module 603 in FIG. 6 can be implemented by the processor 201 in FIG. 2 calling a computer executing instruction stored in the memory 203.
  • control plane function network element provided by the embodiment of the present application can be used to perform the foregoing session establishment method. Therefore, the technical effects that can be obtained by reference to the foregoing method embodiments are not described herein.
  • FIG. 7 shows a schematic structural diagram of a user data management network element.
  • the user data management network element 70 includes a receiving module 701 and an obtaining module 702.
  • the receiving module 701 is configured to receive a first message of the control plane function network element, where the first message includes a data network name DNN, and the obtaining module 702 is configured to obtain the access corresponding to the PDU session.
  • a point name APN wherein the APN is determined by the DNN and is unique within the range of the terminal.
  • the APN is determined by modifying the DNN by a parameter whose value is unique within the range of the terminal.
  • the first message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, and the obtaining module 702 is specifically configured to use the S-NSSAI in the PDU session establishment request.
  • One or more of the parameters of the PDU session ID, the identity of the control plane function network element, and the random number modify the DNN to generate an APN.
  • the advantage of using random numbers for decoration is that it can hide network sensitive information. In order to ensure the uniqueness of random numbers, S-NSSAI, PDU session ID, SMF+PGW-C ID, and other uniques can be generated when generating random numbers.
  • Sexual parameters such as time parameters are used as inputs to the random number generation function.
  • the user data management network element can use the random number as a modification of the DNN.
  • APN modification in TS23.003, and the DNN can be modified by referring to the existing APN modification method.
  • the DNN in the PDU session that the terminal requests to establish can be mapped to the APN that is unique within the terminal range. Therefore, when the terminal establishes a different PDU session with the same DNN, the parameters of the modified DNN are not The same, so the generated APN is not the same. This ensures that different PDU sessions of the same DNN have different APNs when switching to PDN connections in the 4G network.
  • the embodiment of the present application provides a chip system, where the chip system includes a processor, and is configured to support the terminal to implement the foregoing session establishment method.
  • the chip system also includes a memory. This memory is used to store the necessary program instructions and data for the terminal.
  • the chip system may be composed of a chip, and may also include a chip and other discrete devices. This embodiment of the present application does not specifically limit this.
  • the embodiment of the present application provides a chip system, where the chip system includes a processor, and is configured to support a control plane function network element to implement the foregoing session establishment method.
  • the chip system also includes a memory.
  • the memory is used to store program instructions and data necessary for the control plane function network element.
  • the chip system may be composed of a chip, and may also include a chip and other discrete devices. This embodiment of the present application does not specifically limit this.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a solid state disk (SSD)

Abstract

Embodiments of the present application provide a session establishment method and device, so that, when a terminal switches multiple PDU sessions having the same data network name (DNN) established in 5G to PDN connections in 4G, each PDU session can be anchored to the same control plane functional network element when being switched to 4G, and each PDN connection after switch has different access point names (APNs) so as to control an APN AMBR. The method comprises: a terminal sends a first request message of establishing a PDU session, the first request message comprising a DNN; the terminal receives a first response message, the first response message comprising an APN; the terminal sends a second request message of establishing a PDU connection to a mobile management network element, the second request message comprising the APN.

Description

会话建立方法及设备Session establishment method and device
本申请要求于2018年1月15日提交中国国家知识产权局、申请号为201810037102.9、发明名称为“会话建立方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201810037102.9, entitled "Conversation Establishment Method and Equipment", filed on January 15, 2018, the entire contents of which are incorporated herein by reference. .
技术领域Technical field
本申请涉及通信技术领域,尤其涉及会话建立方法及设备。The present application relates to the field of communications technologies, and in particular, to a session establishment method and device.
背景技术Background technique
随着无线通信技术的快速发展,第五代(Fifth Generation,5G)移动通信技术应运而生。在网络部署初期,由于5G网络覆盖不足,因此,当用户设备(User Equipment,UE)的位置发生变化时,可能会发生UE在5G网络和第四代(Forth Generation,4G)网络间的切换。With the rapid development of wireless communication technology, the fifth generation (Fifth Generation, 5G) mobile communication technology came into being. In the initial stage of network deployment, the coverage of the 5G network is insufficient. Therefore, when the location of the user equipment (User Equipment, UE) changes, the handover between the 5G network and the fourth generation (4G) network may occur.
在4G网络中建立分组数据网络(packet data network,PDN)连接需要接入点名称(access point name,APN)参数,而在5G中创建协议数据单元(protocol data unit,PDU)会话时需要数据网络名称(data network name,DNN)和单网络切片选择辅助信息(single network slice selection assistance information,S-NSSAI)。在现有的标准协议中,APN与DNN是等价的。Establishing a packet data network (PDN) connection in a 4G network requires an access point name (APN) parameter, and a data network is required to create a protocol data unit (PDU) session in 5G. Name (data network name, DNN) and single network slice selection assistance information (S-NSSAI). In existing standard protocols, APN is equivalent to DNN.
申请人在研究过程中发现,现有技术中,UE在5G中建立的PDU会话切换到4G中的PDN连接时,可能会存在如下问题:During the research, the applicant found that in the prior art, when the PDU session established by the UE in the 5G is switched to the PDN connection in the 4G, the following problems may occur:
UE在5G中可能建立有多个PDU会话,且这些PDU会话可能使用相同的DNN。并且5G没有规定相同DNN的会话必须选择相同的会话管理设备,因此,这些具有相同DNN的多个PDU会话可能锚定在不同的会话管理设备上。The UE may have multiple PDU sessions established in 5G, and these PDU sessions may use the same DNN. And 5G does not specify that the same DNN session must select the same session management device, therefore, these multiple PDU sessions with the same DNN may be anchored on different session management devices.
但是4G中,为了进行APN聚合最大比特率(Aggregated Maximum Bit Rate,AMBR)的控制,要求一个相同APN的多个PDN连接只能锚定在一个会话管理设备上。如果将5G中具有相同DNN的多个PDU会话切换为4G中的具有相同APN的多个PDN连接时,在满足会话连续性的情况下,将会导致无法对4G中APN AMBR进行控制。However, in 4G, in order to control the Aggregated Maximum Bit Rate (AMBR) of an APN, multiple PDN connections of the same APN are required to be anchored to only one session management device. If multiple PDU sessions with the same DNN in 5G are switched to multiple PDN connections with the same APN in 4G, if the session continuity is satisfied, the APN AMBR in 4G cannot be controlled.
发明内容Summary of the invention
本申请实施例提供会话建立方法、设备及系统,使得当终端将在5G网络中建立有多个具有相同DNN的PDU会话切到4G网络的PDN连接时,既保证了每个PDU会话切换到4G时能够锚定到与该PDU会话相同的控制面功能网元上,又保证了切换后的每个PDN连接具有不同的APN,从而能够实现APN AMBR的控制。The embodiment of the present application provides a session establishment method, device, and system, so that when a terminal establishes a PDN connection in which a PDU session with the same DNN is switched to a 4G network in a 5G network, the PDU session is guaranteed to be switched to 4G. It can be anchored to the same control plane function network element as the PDU session, and it is ensured that each PDN connection after the handover has a different APN, thereby enabling control of the APN AMBR.
为达到上述目的,本申请实施例提供如下技术方案:To achieve the above objective, the embodiment of the present application provides the following technical solutions:
第一方面,提供一种会话建立方法,该方法包括:终端发送建立分组数据单元PDU会话的第一请求消息,其中,所述第一请求消息包括数据网络名称DNN;所述终端接收第一响应消息,所述第一响应消息中包括所述PDU会话对应的接入点名称APN;所述APN在所述终端范围内唯一,可用于唯一标识所述终端的所述PDU会话;所述终端向移动管理网元发送建立分组数据网络PDN连接的第二请求消息,所述第二请求消息包括所述APN。基于本申请实施例提供的会话建立方法,在终端建立PDU会话过程中,终端会从网络侧获得一个在自身范围内唯一的APN。也就是说,基于该方案,当终端建立有相同DNN的多个PDU 会话时,这些PDU会话可以切换为APN不相同的PDN连接,由于切换后的PDN连接对应的APN各不相同,因此,现有技术中APN AMBR无法控制的问题也能够得到解决。In a first aspect, a method for establishing a session is provided, the method comprising: a terminal sending a first request message for establishing a packet data unit PDU session, wherein the first request message includes a data network name DNN; and the terminal receives the first response a message, the first response message includes an access point name APN corresponding to the PDU session; the APN is unique within the range of the terminal, and is used to uniquely identify the PDU session of the terminal; The mobility management network element sends a second request message to establish a packet data network PDN connection, the second request message including the APN. Based on the session establishment method provided by the embodiment of the present application, in the process of establishing a PDU session, the terminal obtains an APN unique in its own range from the network side. That is to say, based on the scheme, when the terminal establishes multiple PDU sessions with the same DNN, the PDU sessions can be switched to PDN connections with different APNs, and the APNs corresponding to the switched PDN connections are different, so Problems that cannot be controlled by APN AMBR in the technology can also be solved.
在一种可能的设计中,所述APN携带在协议配置项PCO中。也就是说网络侧的控制面功能网元可以通过PCO消息将APN发送给终端,这样网络中的其他中间设备就可以避免解析该信息(例如4G网络中的MME),从而尽量减少由于本申请中的方案导致网络中设备的更新。In one possible design, the APN is carried in a protocol configuration item PCO. That is to say, the control plane function network element on the network side can send the APN to the terminal through the PCO message, so that other intermediate devices in the network can avoid parsing the information (for example, the MME in the 4G network), thereby minimizing The solution leads to an update of the devices in the network.
在一种可能的设计中,所述第一请求消息中还包括所述PDU会话的PDU会话标识,所述第一响应消息还包括所述PDU会话标识;在所述向移动管理网元发送建立PDN连接的第二请求消息之前,所述方法还包括:将所述APN保存到所述PDU会话标识指示的会话上下文中。In a possible design, the first request message further includes a PDU session identifier of the PDU session, the first response message further includes the PDU session identifier, and the sending is established to the mobility management network element. Before the second request message of the PDN connection, the method further comprises: saving the APN in a session context indicated by the PDU session identifier.
在一种可能的设计中,所述方法还包括:发送指示信息,所述指示信息用于指示终端建立的所有PDU会话或者特定PDU会话后续需要切换到4G网络中。该指示信息可以在会话建立过程中,由终端或者第三方应用服务器发送给SMF+PGW-C,当终端请求建立的PDU会话,满足所述指示信息时,执行本申请方案的流程;否则,按照现有技术执行PDU会话的建立流程。例如,该指示信息可以包括终端的标识、PDU会话对应的会话和服务连续性(session and service continuity,SSC)模式、PDU会话对应的S-NSSAI、DNN的至少一个。或者该指示信息也可以由终端携带在的PDU会话建立请求中发送给SMF+PGW-C。此时,该指示信息,例如可以是一个指示位,当该指示位设置位“1”时,表示请求建立的PDU会话后续需要切换到4G网络中;当该指示位设置位“0”或者不存在该指示位时,表示请求建立的PDU会话后续不需要切换到4G网络中。In a possible design, the method further includes: sending indication information, where the indication information is used to indicate that all PDU sessions established by the terminal or a specific PDU session needs to be subsequently switched to the 4G network. The indication information may be sent to the SMF+PGW-C by the terminal or the third-party application server during the session establishment process. When the terminal requests the established PDU session to satisfy the indication information, the process of the solution of the present application is executed; otherwise, The prior art performs a process of establishing a PDU session. For example, the indication information may include at least one of an identifier of the terminal, a session corresponding to the PDU session, and a session and service continuity (SSC) mode, and an S-NSSAI corresponding to the PDU session. Or the indication information may also be sent to the SMF+PGW-C by the PDU session establishment request carried by the terminal. At this time, the indication information may be, for example, an indication bit. When the indication bit is set to bit “1”, it indicates that the PDU session requested to be established needs to be subsequently switched to the 4G network; when the indication bit is set to “0” or not When the indicator bit exists, it indicates that the PDU session requested to be established does not need to be switched to the 4G network.
在一种可能的设计中,所述第二请求消息用于请求建立PDN连接,具体可以是附着请求或者PDN连接建立请求。In a possible design, the second request message is used to request to establish a PDN connection, and may specifically be an attach request or a PDN connection setup request.
第二方面,提供一种会话建立方法,该方法包括:控制面功能网元接收来自终端的用于请求建立分组数据单元PDU会话的第一请求消息;其中,所述第一请求消息包括数据网络名称DNN;获取所述PDU会话对应的接入点名称APN,其中,所述APN在所述终端范围内唯一,用于唯一标识所述终端的所述PDU会话。基于本申请实施例提供的会话建立方法,在终端建立PDU会话过程中,终端会从网络侧获得一个在自身范围内唯一的APN。也就是说,基于该方案,当终端建立有相同DNN的多个PDU会话时,这些PDU会话可以切换为APN不相同的PDN连接,由于切换后的PDN连接对应的APN各不相同,因此,现有技术中APN AMBR无法控制的问题也能够得到解决。A second aspect provides a session establishment method, the method comprising: a control plane function network element receiving a first request message from a terminal for requesting establishment of a packet data unit PDU session; wherein the first request message includes a data network The name DNN is obtained. The access point name APN corresponding to the PDU session is obtained, where the APN is unique within the range of the terminal, and is used to uniquely identify the PDU session of the terminal. Based on the session establishment method provided by the embodiment of the present application, in the process of establishing a PDU session, the terminal obtains an APN unique in its own range from the network side. That is to say, based on the scheme, when the terminal establishes multiple PDU sessions with the same DNN, the PDU sessions can be switched to PDN connections with different APNs, and the APNs corresponding to the switched PDN connections are different, so Problems that cannot be controlled by APN AMBR in the technology can also be solved.
在一种可能的设计中,所述方法还包括:向终端发送第一响应消息,所述第一响应消息中包括所述APN。控制面功能网元获得APN之后,可以在PDU会话建立响应中将获得APN通过PCO消息发送给终端,以便于终端将APN保存到会话上下文中。In a possible design, the method further includes: sending a first response message to the terminal, where the first response message includes the APN. After the control plane function network element obtains the APN, the APN may be sent to the terminal through the PCO message in the PDU session establishment response, so that the terminal saves the APN in the session context.
在一种可能的设计中,所述APN可以由所述终端范围内数值唯一的参数修饰所述DNN确定。例如,控制面功能网元可以根据PDU会话建立请求中的S-NSSAI、PDU session ID、控制面功能网元自身的标识、随机数这些参数中的一个或多个修饰DNN,从而动态生成APN。特别地,使用随机数进行修饰的好处是可以隐藏网络敏感信息,为了保证随机数的唯一性,在生成随机数时可把S-NSSAI、PDU session ID、SMF+PGW-C ID,以及其他唯一性参数如时间参数等作为随机数产生函数的输入。在生成了随机数之后,控制面功能网元可以使用随机数作为DNN的修饰。在TS23.003中有APN修饰的方法,可参看现有APN修饰方法对DNN进行修饰。采用本申请所述的方法,可以将终端请求建立的PDU会话中的DNN映射为在终端范围 内唯一的APN,因此,当终端建立具体有相同DNN的不同PDU会话时,由于修饰DNN的参数不一样,因此生成的APN也不一样。从而确保了相同DNN的不同PDU会话切换到4G网络中的PDN连接时具有不同的APN。In one possible design, the APN may be modified by the DNN that is uniquely parameterized within the range of the terminal. For example, the control plane function network element may modify the DNN according to one or more of the S-NSSAI, the PDU session ID, the identifier of the control plane function network element itself, and the random number in the PDU session establishment request, thereby dynamically generating the APN. In particular, the advantage of using random numbers for decoration is that it can hide network sensitive information. In order to ensure the uniqueness of random numbers, S-NSSAI, PDU session ID, SMF+PGW-C ID, and other uniques can be generated when generating random numbers. Sexual parameters such as time parameters are used as inputs to the random number generation function. After the random number is generated, the control plane function network element can use the random number as a modification of the DNN. There is a method for APN modification in TS23.003, and the DNN can be modified by referring to the existing APN modification method. With the method described in this application, the DNN in the PDU session that the terminal requests to establish can be mapped to the APN that is unique within the terminal range. Therefore, when the terminal establishes a different PDU session with the same DNN, the parameters of the modified DNN are not The same, so the generated APN is not the same. This ensures that different PDU sessions of the same DNN have different APNs when switching to PDN connections in the 4G network.
在一种可能的设计中,控制面功能网元还获取APN的签约数据。例如,控制面功能网元可以根据DNN的签约数据生成APN的签约数据,并将生成的APN的签约数据发送给用户数据管理网元,也可以由用户数据管理网元根据DNN的签约数据生成APN的签约数据,并发送给控制面功能网元。In one possible design, the control plane function network element also obtains the subscription data of the APN. For example, the control plane function network element may generate the subscription data of the APN according to the subscription data of the DNN, and send the generated subscription data of the APN to the user data management network element, or the user data management network element may generate the APN according to the subscription data of the DNN. The contract data is sent to the control plane function network element.
第三方面,提供一种会话建立方法,该方法包括:用户数据管理网元接收控制面功能网元发送的第一消息,该第一消息包括DNN;获取所述PDU会话对应的接入点名称APN,其中,所述APN在所述终端范围内唯一,用于唯一标识所述PDU会话。In a third aspect, a method for establishing a session is provided, the method includes: receiving, by a user data management network element, a first message sent by a control plane function network element, where the first message includes a DNN; and acquiring an access point name corresponding to the PDU session An APN, wherein the APN is unique within the range of the terminal for uniquely identifying the PDU session.
在一种可能的设计中,所述APN由所述终端范围内数值唯一的参数修饰所述DNN确定。例如,所述第一消息中还包括所述PDU会话的PDU会话标识和/或单网络切片选择辅助信息S-NSSAI,所述获取所述PDU会话对应的接入点名称APN,具体包括:用户数据管理网元根据PDU会话建立请求中的S-NSSAI、PDU session ID、控制面功能网元自身的标识、随机数这些参数中的一个或多个修饰DNN,生成APN。特别地,使用随机数进行修饰的好处是可以隐藏网络敏感信息,为了保证随机数的唯一性,在生成随机数时可把S-NSSAI、PDU session ID、SMF+PGW-C ID,以及其他唯一性参数如时间参数等作为随机数产生函数的输入。在生成了随机数之后,用户数据管理网元可以使用随机数作为DNN的修饰。在TS23.003中有APN修饰的方法,可参看现有APN修饰方法对DNN进行修饰。采用本申请所述的方法,可以将终端请求建立的PDU会话中的DNN映射为在终端范围内唯一的APN,因此,当终端建立具体有相同DNN的不同PDU会话时,由于修饰DNN的参数不一样,因此生成的APN也不一样。从而确保了相同DNN的不同PDU会话切换到4G网络中的PDN连接时具有不同的APN。In one possible design, the APN is determined by modifying the DNN by a parameter whose value is unique within the range of the terminal. For example, the first message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, where the acquiring an access point name APN corresponding to the PDU session includes: The data management network element modifies the DNN according to one or more of the S-NSSAI, the PDU session ID, the identifier of the control plane function network element itself, and the random number in the PDU session establishment request, to generate an APN. In particular, the advantage of using random numbers for decoration is that it can hide network sensitive information. In order to ensure the uniqueness of random numbers, S-NSSAI, PDU session ID, SMF+PGW-C ID, and other uniques can be generated when generating random numbers. Sexual parameters such as time parameters are used as inputs to the random number generation function. After generating the random number, the user data management network element can use the random number as a modification of the DNN. There is a method for APN modification in TS23.003, and the DNN can be modified by referring to the existing APN modification method. With the method described in this application, the DNN in the PDU session that the terminal requests to establish can be mapped to the APN that is unique within the terminal range. Therefore, when the terminal establishes a different PDU session with the same DNN, the parameters of the modified DNN are not The same, so the generated APN is not the same. This ensures that different PDU sessions of the same DNN have different APNs when switching to PDN connections in the 4G network.
在一种可能的设计中,用户数据管理网元获取APN的签约数据。例如,用户数据管理网元可以根据DNN的签约数据生成APN的签约数据,或者从控制面功能网元接受APN的签约数据,并将所述APN签约数据发送给移动管理网元(MME),以便移动管理网元可以根据APN的签约数据授权对应的PDN连接的建立请求。当所述用户数据管理网元根据DNN的签约数据生成APN的签约数据时,在所述第一消息中还包括S-NSSAI,用户数据管理网元根据S-NSSAI和DNN获取所述PDU会话对应的DNN的签约数据。In one possible design, the user data management network element obtains subscription data for the APN. For example, the user data management network element may generate the subscription data of the APN according to the subscription data of the DNN, or accept the subscription data of the APN from the control plane function network element, and send the APN subscription data to the mobility management network element (MME), so that The mobility management network element may authorize the establishment request of the corresponding PDN connection according to the subscription data of the APN. When the user data management network element generates the subscription data of the APN according to the subscription data of the DNN, the first message further includes an S-NSSAI, and the user data management network element acquires the PDU session corresponding according to the S-NSSAI and the DNN. DNN's signing data.
第四方面,提供了一种终端,该终端具有实现上述第一方面所述的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fourth aspect, a terminal is provided, the terminal having the function of implementing the method described in the first aspect above. 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.
第五方面,提供了一种终端,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该终端运行时,该处理器执行该存储器存储的该计算机执行指令,以使该终端执行如上述第一方面中任一所述的会话建立方法。A fifth aspect provides a terminal, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the terminal is running, the processor executes the computer execution instruction stored in the memory to enable the terminal to execute A session establishing method as described in any one of the above first aspects.
第六方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第一方面中任意一项所述的会话建立方法。In a sixth aspect, a computer readable storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the session establishment described in any of the above first aspects method.
第七方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第一方面中任意一项所述的会话建立方法。In a seventh aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the session establishment method of any of the above first aspects.
第八方面,提供了一种芯片系统,该芯片系统包括处理器,用于支持终端实现上述方面中所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保 存终端必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In an eighth aspect, a chip system is provided, the chip system comprising a processor for supporting a terminal to implement the functions involved in the above aspects. In one possible design, the chip system further includes a memory for storing necessary program instructions and data for the terminal. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第四方面至第八方面中任一种设计方式所带来的技术效果可参见第一方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the fourth aspect to the eighth aspect, refer to the technical effects brought by different design modes in the first aspect, and details are not described herein again.
第九方面,提供了一种控制面功能网元,该控制面功能网元具有实现上述第二方面所述的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a ninth aspect, a control plane function network element is provided, the control plane function network element having the function of implementing the method described in the second aspect above. 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.
第十方面,提供了一种控制面功能网元,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该控制面功能网元运行时,该处理器执行该存储器存储的该计算机执行指令,以使该控制面功能网元执行如上述第二方面中任一所述的会话建立方法。A tenth aspect provides a control plane function network element, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the control plane function network element is running, the processor executes the computer stored in the memory Executing an instruction to cause the control plane function network element to perform the session establishment method as described in any of the above second aspects.
第十一方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第二方面中任意一项所述的会话建立方法。In an eleventh aspect, a computer readable storage medium is provided having stored therein instructions that, when run on a computer, cause the computer to perform the session of any of the above second aspects Establish a method.
第十二方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第二方面中任意一项所述的会话建立方法。According to a twelfth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the session establishment method of any of the above second aspects.
第十三方面,提供了一种芯片系统,该芯片系统包括处理器,用于支持控制面功能网元端实现上述方面中所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存控制面功能网元必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In a thirteenth aspect, a chip system is provided, the chip system comprising a processor for supporting a control plane function network element end to implement the functions involved in the above aspects. In one possible design, the chip system further includes a memory for storing program instructions and data necessary for the control plane function network element. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第九方面至第十三方面中任一种设计方式所带来的技术效果可参见第二方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by the design mode of any one of the ninth to thirteenth aspects, refer to the technical effects brought by different design modes in the second aspect, and details are not described herein again.
第十四方面,提供了一种用户数据管理网元,该用户数据管理网元具有实现上述第三方面所述的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fourteenth aspect, a user data management network element is provided, the user data management network element having the function of implementing the method described in the third aspect above. 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.
第十五方面,提供了一种用户数据管理网元,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该用户数据管理网元运行时,该处理器执行该存储器存储的该计算机执行指令,以使该用户数据管理网元执行如上述第三方面中任一所述的会话建立方法。According to a fifteenth aspect, a user data management network element includes: a processor and a memory; the memory is configured to store a computer execution instruction, and when the user data management network element is running, the processor executes the memory storage The computer executes the instructions to cause the user data management network element to perform the session establishment method as described in any of the above third aspects.
第十六方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第三方面中任意一项所述的会话建立方法。In a sixteenth aspect, a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the session of any of the above third aspects Establish a method.
第十七方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第三方面中任意一项所述的会话建立方法。In a seventeenth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the session establishment method of any of the above third aspects.
第十八方面,提供了一种芯片系统,该芯片系统包括处理器,用于支持用户数据管理网元实现上述方面中所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存第二移动管理实体必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In an eighteenth aspect, a chip system is provided, the chip system including a processor for supporting a user data management network element to implement the functions involved in the above aspects. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the second mobility management entity. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第十四方面至第十八方面中任一种设计方式所带来的技术效果可参见第三方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the fourteenth to eighteenth aspects, refer to the technical effects brought by different design modes in the third aspect, and details are not described herein again.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
附图说明DRAWINGS
图1为现有的4G网络和5G网络互通架构的示意图;FIG. 1 is a schematic diagram of an existing 4G network and 5G network interworking architecture;
图2为本申请实施例提供的通信设备的硬件结构示意图;2 is a schematic structural diagram of hardware of a communication device according to an embodiment of the present application;
图3为本申请实施例提供的会话建立方法的流程示意图一;FIG. 3 is a schematic flowchart 1 of a session establishing method according to an embodiment of the present application;
图4为本申请实施例提供的会话建立方法的流程示意图二;FIG. 4 is a second schematic flowchart of a session establishing method according to an embodiment of the present disclosure;
图5为本申请实施例提供的装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present application;
图6为本申请实施例提供的控制面功能网元的结构示意图;FIG. 6 is a schematic structural diagram of a control plane function network element according to an embodiment of the present application;
图7为本申请实施例提供的用户数据管理网元的结构示意图。FIG. 7 is a schematic structural diagram of a user data management network element according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为了方便理解本申请实施例的技术方案,首先给出本申请相关技术的简要介绍如下。In order to facilitate the understanding of the technical solutions of the embodiments of the present application, a brief introduction of the related art of the present application is first given as follows.
本发明的实施例提供一种移动性管理的方法,可应用于如图1所示的4G网络和5G网络互通架构系统100中,如图1所示,包括4G网络与5G网络共用用户面功能(user plane function,UPF)实体+PDN网关用户面功能(PDN gateway user plane function,PGW-U)实体、会话管理功能(session management function,SMF)实体+PDN网关控制面功能(PDN gateway control plane function,PGW-C)实体、策略控制功能(policy control function,PCF)实体+策略和计费规则功能(policy and charging rules function,PCRF)实体、归属签约用户服务器(home subscriber server,HSS)+统一数据管理(unified data management,UDM)实体。这里“+”表示合设,UPF为5G网络的用户面功能,PGW-U是与UPF对应的4G网络的网关用户面功能,SMF是5G网络的会话管理功能,PGW-C是与SMF对应的4G网络中的网关控制面功能,PCF是5G网络的策略控制功能、PCRF是与PCF对应的4G网络的策略计费规则功能。这里的“合设”是指同一个设备同时具备两个实体的功能。本申请实施例中,为方便表述,将HSS+UDM实体称之为用户数据管理网元,将PGW-C实体+SMF实体称之为控制面功能网元,在此进行统一说明,以下不再赘述。当然,上述合设后的网络设备也可以用其他名称,本申请实施例对此不作具体限定。The embodiment of the present invention provides a method for mobility management, which can be applied to the 4G network and the 5G network interworking architecture system 100 shown in FIG. 1. As shown in FIG. 1, the user plane function is shared between the 4G network and the 5G network. (user plane function, UPF) entity + PDN gateway user plane function (PGW-U) entity, session management function (SMF) entity + PDN gateway control plane function (PDN gateway control plane function , PGW-C) entity, policy control function (PCF) entity + policy and charging rules function (PCRF) entity, home subscriber server (HSS) + unified data Unified data management (UDM) entity. Here, "+" means the setting, UPF is the user plane function of the 5G network, PGW-U is the gateway user plane function of the 4G network corresponding to the UPF, SMF is the session management function of the 5G network, and PGW-C is the corresponding to the SMF. The gateway control plane function in the 4G network, the PCF is the policy control function of the 5G network, and the PCRF is the policy charging rule function of the 4G network corresponding to the PCF. Here, "coupling" means that the same device has the functions of two entities at the same time. In the embodiment of the present application, for convenience of description, the HSS+UDM entity is referred to as a user data management network element, and the PGW-C entity + SMF entity is referred to as a control plane function network element, and is uniformly described herein. Narration. Certainly, the network device after the above-mentioned connection may also use other names, which is not specifically limited in this embodiment of the present application.
此外,如图1所示,上述4G网络和5G网络互通架构中还可以包括移动性管理实体(Mobility Management Entity,MME)和服务网关(Serving Gateway,SGW),以及5G网络中的接入和移动性管理功能(Access and Mobility Management Function,AMF)实体。In addition, as shown in FIG. 1 , the foregoing 4G network and 5G network interworking architecture may further include a Mobility Management Entity (MME) and a Serving Gateway (SGW), and access and movement in the 5G network. Access and Mobility Management Function (AMF) entity.
其中,终端通过演进型通用陆地无线接入网(evolved universal terrestrial radio access network,E-UTRAN)设备接入4G网络,终端通过下一代无线接入网(next generation radio access network,NG-RAN)设备接入5G网络。E-UTRAN设备通过S1-MME接口与MME通信,E-UTRAN设备通过S1-U接口与SGW通信,MME通过S11接口与SGW通信,MME通过S6a接口与用户数据管理实体通信,MME通过N26接口与AMF实体通信,SGW通过S5-U接口与PGW-U实体+UPF实体通信,SGW通过S5-C接口与PGW-C实体+SMF实体通信,PGW-U实体+UPF实体通过N3接口与NG-RAN设备通信,PGW-U实体+UPF实体通过N4接口与PGW-C实体+SMF实体通信,PGW-C实体+SMF实体通过N7接口与PCRF实体+PCF实体通信,HSS+UDM实体通过N10接口与PGW-C实体+SMF实体通信,HSS+UDM实体通过N8接口与AMF实体通信,PCRF实体+PCF实体通过N15接口与AMF实体通信,PGW-C实体+SMF实体通过N11接口与AMF实体通信,AMF实体通过N2接口与NG-RAN设备通信,AMF实体通过N1接口与终端通信。在上述互通架构中MME与AMF间的N26接口在某些场景下可能并不存在,该N26接口可用于终端上下文传递以及切换过程。本申请将会针对MME与AMF间是否有N26接口,分别描述相关可能的实现。The terminal accesses the 4G network through an evolved universal terrestrial radio access network (E-UTRAN) device, and the terminal passes the next generation radio access network (NG-RAN) device. Access to 5G networks. The E-UTRAN device communicates with the MME through the S1-MME interface, the E-UTRAN device communicates with the SGW through the S1-U interface, the MME communicates with the SGW through the S11 interface, and the MME communicates with the user data management entity through the S6a interface, and the MME passes the N26 interface. AMF entity communication, the SGW communicates with the PGW-U entity + UPF entity through the S5-U interface, the SGW communicates with the PGW-C entity + SMF entity through the S5-C interface, and the PGW-U entity + UPF entity passes the N3 interface and the NG-RAN Device communication, the PGW-U entity + UPF entity communicates with the PGW-C entity + SMF entity through the N4 interface, the PGW-C entity + SMF entity communicates with the PCRF entity + PCF entity through the N7 interface, and the HSS+UDM entity passes the N10 interface and the PGW -C entity + SMF entity communication, HSS+UDM entity communicates with AMF entity through N8 interface, PCRF entity + PCF entity communicates with AMF entity through N15 interface, PGW-C entity + SMF entity communicates with AMF entity through N11 interface, AMF entity The NMF entity communicates with the NG-RAN device through the N2 interface, and the AMF entity communicates with the terminal through the N1 interface. The N26 interface between the MME and the AMF may not exist in some scenarios in the foregoing interworking architecture. The N26 interface may be used for terminal context transfer and handover procedures. This application will describe whether there is an N26 interface between the MME and the AMF, respectively describing the possible implementations.
需要说明的是,图1中的各个网元之间的接口名字只是一个示例,具体实现中接口名字可能为其他名字,本申请实施例对此不作具体限定。It should be noted that the name of the interface between the network elements in FIG. 1 is only an example. In the specific implementation, the interface name may be other names, which is not specifically limited in this embodiment of the present application.
需要说明的是,5G网络中的NG-RAN设备也可以称之为接入设备,该接入设备指的是接入核心网的设备,例如可以是基站,宽带网络业务网关(broadband network gateway,BNG),汇聚交换机,非3GPP接入设备等。基站可以包括各种形式的基站,例如:宏基站,微基站(也称为小站),中继站,接入点等,本申请实施例对此不作具体限定。It should be noted that the NG-RAN device in the 5G network may also be referred to as an access device, and the access device refers to a device that accesses the core network, for example, a base station, a broadband network service gateway (broadband network gateway, BNG), aggregation switch, non-3GPP access equipment, etc. The base station may include various types of base stations, such as a macro base station, a micro base station (also referred to as a small station), a relay station, an access point, and the like, which are not specifically limited in this embodiment of the present application.
当然,4G网络和5G网络中还可以有其它的网元,比如,4G网络中还可以包括通用分组无线系统(general packet radio system,GPRS)业务支撑节点(serving GPRS support node,SGSN)等,5G网络中还可以包括鉴权服务功能(authentication server function,AUSF)实体和网络切片选择功能(network slice selection function,NSSF)实体等,本申请实施例对此不作具体限定。Of course, there may be other network elements in the 4G network and the 5G network. For example, the 4G network may also include a general packet radio system (GPRS) service support node (SGSN), etc., 5G. The network may also include an authentication service function (AUSF) entity and a network slice selection function (NSSF) entity, which are not specifically limited in this embodiment of the present application.
本申请实施例中所涉及到的终端(terminal)可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备;还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type communication,MTC)终端、用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device)等。为方便描述,本申请中,上面提到的设备统称为终端。The terminals involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem; and may also include a subscriber unit ( Subscriber unit), cellular phone, smart phone, wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld device, a laptop computer, a cordless phone, or a wireless local loop (WLL) station, a machine type communication (MTC) terminal, a user equipment (UE), Mobile station (MS), terminal device, etc. For convenience of description, in the present application, the above mentioned devices are collectively referred to as terminals.
APN:APN:
在4G网络中,终端在发起分组业务时可向MME提供APN。MME根据终端所提供的APN,可通过域名服务器(domain name server,DNS)进行域名解析,从而获取到会话管理网元的地址(例如,网际协议地址),从而将终端接入到APN对应的PDN中。In a 4G network, the terminal may provide an APN to the MME when initiating a packet service. According to the APN provided by the terminal, the MME can perform domain name resolution by using a domain name server (DNS) to obtain an address of the session management network element (for example, an Internet Protocol address), thereby accessing the terminal to the PDN corresponding to the APN. in.
DNN:DNN:
在5G网络中,终端在发起PDU会话建立时可以向AMF提供S-NSSAI以及DNN。AMF基于S-NSSAI、DNN以及其他信息(例如终端的签约信息以及本地运营商策略等)确定会话管理网元的地址。被确定的会话管理网元基于S-NSSAI和DNN为终端建立一个PDU会话。In a 5G network, the terminal may provide the S-NSSAI and the DNN to the AMF when initiating the establishment of the PDU session. The AMF determines the address of the session management network element based on the S-NSSAI, DNN, and other information (such as the subscription information of the terminal and the local carrier policy, etc.). The determined session management network element establishes a PDU session for the terminal based on the S-NSSAI and the DNN.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. In the description of the present application, "a plurality" means two or more than two unless otherwise stated. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", and the like are used to distinguish the same items or similar items whose functions and functions are substantially the same. Those skilled in the art can understand that the words "first", "second" and the like do not limit the number and execution order, and the words "first", "second" and the like are not necessarily limited.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and the service scenario described in the embodiments of the present application are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation of the technical solutions provided by the embodiments of the present application. The technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
如图2所示,图1所示的节点,如终端、MME、AMF、SMF实体+PGW-C实体、E-UTRAN或NG-RAN等,可以以图2中的通信设备(或系统)的方式来实现。As shown in FIG. 2, the node shown in FIG. 1, such as a terminal, MME, AMF, SMF entity + PGW-C entity, E-UTRAN or NG-RAN, may be the communication device (or system) in FIG. The way to achieve.
图2所示为本申请实施例提供的通信设备的硬件结构示意图。该通信设备200包括至少一个处理器201,通信线路202,存储器203以及至少一个通信接口204。FIG. 2 is a schematic diagram showing the hardware structure of a communication device according to an embodiment of the present application. The communication device 200 includes at least one processor 201, a communication line 202, a memory 203, and at least one communication interface 204.
处理器201可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。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.
通信线路202可包括一通路,在上述组件之间传送信息。Communication line 202 can include a path for communicating information between the components described above.
通信接口204,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。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. .
存储器203可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路202与处理器相连接。存储器也可以和处理器集成在一起。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 may be stand-alone and connected to the processor via communication line 202. The memory can also be integrated with the processor.
其中,存储器203用于存储执行本申请方案的计算机执行指令,并由处理器201来控制执行。处理器201用于执行存储器203中存储的计算机执行指令,从而实现本申请下述实施例提供的会话建立方法。The memory 203 is used to store computer execution instructions for executing the solution of the present application, and is controlled by the processor 201 for execution. The processor 201 is configured to execute computer execution instructions stored in the memory 203, thereby implementing the session establishment method provided by the following embodiments of the present application.
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executed instructions in the embodiment of the present application may also be referred to as an application code, which is not specifically limited in this embodiment of the present application.
在具体实现中,作为一种实施例,处理器201可以包括一个或多个CPU,例如图2中的CPU0和CPU1。In a particular implementation, as an embodiment, processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
在具体实现中,作为一种实施例,通信设备200可以包括多个处理器,例如图2中的处理器201和处理器208。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a particular implementation, as an embodiment, communication 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.
在具体实现中,作为一种实施例,通信设备200还可以包括输出设备205和输入设备206。输出设备205和处理器201通信,可以以多种方式来显示信息。例如,输出设备205可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备306和处理器301通信,可以以多种方式接收用户的输入。例如,输入设备206可以是鼠标、键盘、触摸屏设备或传感设备等。In a particular implementation, as an embodiment, the communication device 200 can 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. For example, 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. Wait. Input device 306 is in communication with processor 301 and can receive user input in a variety of ways. For example, input device 206 can be a mouse, keyboard, touch screen device or sensing device, and the like.
上述的通信设备200可以是一个通用设备或者是一个专用设备。在具体实现中,通信设备200可以是台式机、便携式电脑、网络服务器、掌上电脑(personal digital assistant,PDA)、移动手机、平板电脑、无线终端设备、嵌入式设备或有图2中类似结构的设备。本申请实施例不限定通信设备200的类型。The communication device 200 described above may be a general purpose device or a dedicated device. In a specific implementation, the communication 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, an embedded device, or the like in FIG. device. The embodiment of the present application does not limit the type of the communication device 200.
下面将结合图1和图2,对本申请实施例提供的会话建立方法进行具体阐述。The session establishment method provided by the embodiment of the present application will be specifically described below with reference to FIG. 1 and FIG.
如图3所示,为本申请实施例提供的一种会话建立方法。本实施例中,终端先在5G网络中建立了PDU会话,后续由于终端位置移动出5G服务范围或者其他原因,终端需要接入到4G网络。具体的,当终端请求建立一个PDU会话时,控制面功能网元或者用户数据管理网元将PDU会话建立请求中携带的DNN映射为对终端而言唯一的一个APN,并将映射后的 APN保持到该终端的上下文中。此外,控制面功能网元还需要将映射后的APN发送给终端(例如可以将映射后的APN携带在协议配置项(protocol configuration option,PCO)消息中发送给终端)。当终端需要从5G切换到4G时,携带映射后的APN,然后MME从用户数据管理网元中获取终端的上下文,从而根据携带的APN以及获取到的上下文,确定为该终端服务的控制面功能网元,实现了5G PDU会话切换到4G时,锚定到与原PDU会话相同的控制面功能网元上。当终端在5G网络中建立有多个具有相同DNN的PDU会话时,采用上述方法可以使得切换到4G网络时,既保证了每个PDU会话切换到4G时能够锚定到与原PDU会话相同的控制面功能网元上,又保证了切换后的每个PDN连接具有不同的APN,从而能够实现APN AMBR的控制。具体可以包括如下包括:As shown in FIG. 3, a session establishment method provided by an embodiment of the present application is provided. In this embodiment, the terminal first establishes a PDU session in the 5G network, and the terminal needs to access the 4G network because the terminal location moves out of the 5G service range or other reasons. Specifically, when the terminal requests to establish a PDU session, the control plane function network element or the user data management network element maps the DNN carried in the PDU session establishment request to an APN unique to the terminal, and maintains the mapped APN. In the context of the terminal. In addition, the control plane function network element needs to send the mapped APN to the terminal (for example, the mapped APN may be carried in a protocol configuration option (PCO) message and sent to the terminal). When the terminal needs to switch from 5G to 4G, the APN is carried, and then the MME obtains the context of the terminal from the user data management network element, and determines the control plane function for the terminal according to the carried APN and the acquired context. The network element is configured to be anchored to the same control plane function network element as the original PDU session when the 5G PDU session is switched to 4G. When the terminal establishes a plurality of PDU sessions with the same DNN in the 5G network, the above method can be used to ensure that when switching to the 4G network, each PDU session can be anchored to the same as the original PDU session when switching to 4G. On the control plane function network element, it is ensured that each PDN connection after the handover has a different APN, thereby enabling control of the APN AMBR. Specifically, the following may include:
步骤301、终端向第一网络中的的移动管理网元发送PDU会话建立请求。Step 301: The terminal sends a PDU session establishment request to the mobility management network element in the first network.
该第一网络中的移动管理网元例如可以是图3中所示的AMF,下文中以AMF来替代第一网络中的移动管理网元。该PDU会话建立请求包括S-NSSAI、DNN以及PDU会话标识(PDU Session ID),PDU会话建立请求用于请求网络侧通过一个由S-NSSAI指示的网络切片实例在终端和DNN指示的数据网络之间建立一个PDU会话。The mobility management network element in the first network may be, for example, the AMF shown in FIG. 3, and the mobile management network element in the first network is replaced by AMF. The PDU session establishment request includes an S-NSSAI, a DNN, and a PDU Session ID (PDU Session ID), and the PDU session establishment request is used to request the network side to use the network slice instance indicated by the S-NSSAI in the data network indicated by the terminal and the DNN. Establish a PDU session.
需要说明的是,终端在5G网络中可能建立多个PDU会话,并且该多个PDU会话可能对应相同的DNN,并且由相同或者不同的控制面功能网元(即本实施例中的SMF+PGW-C)服务,本申请实施例对此不作限定。为便于描述,本申请实施例仅以终端通过一个控制面功能网元建立一个PDU会话为例。It should be noted that the terminal may establish multiple PDU sessions in the 5G network, and the multiple PDU sessions may correspond to the same DNN, and the same or different control plane function network elements (ie, the SMF+PGW in this embodiment) -C) Service, which is not limited by the embodiment of the present application. For convenience of description, the embodiment of the present application is only an example in which a terminal establishes a PDU session through a control plane function network element.
步骤302、AMF接受终端发送的PDU会话建立请求,并向SMF+PGW-C发送会话建立请求。Step 302: The AMF accepts the PDU session establishment request sent by the terminal, and sends a session establishment request to the SMF+PGW-C.
其中,会话建立请求包括PDU会话建立请求中携带的S-NSSAI、DNN以及PDU Session ID。The session establishment request includes the S-NSSAI, the DNN, and the PDU Session ID carried in the PDU session establishment request.
需要说明的是,AMF如何确定SMF+PGW-C的地址为现有技术,本发明实施例不做限定,相关方法可以参考现有标准。It should be noted that the AMF determines the address of the SMF+PGW-C as the prior art, which is not limited in the embodiment of the present invention, and the related method may refer to the existing standard.
步骤303、SMF+PGW-C执行映射操作。In step 303, the SMF+PGW-C performs a mapping operation.
SMF+PGW-C执行的映射操作包括将会话建立请求中的DNN映射为相对于所述终端而言唯一的APN,可选的,还包括生成该APN对应的签约数据。一种生成APN对应的签约数据的方法是将该PDU会话对应的QoS参数映射为该PDU会话切换到4G对应的PDN连接对应的QoS参数,如将PDU会话对应的session AMBR映射为PDN连接对应的APN AMBR,将PDU会话对应ARP映射为PDN连接对应的ARP等,并将所映射的QoS参数作为映射的APN的签约数据保存在HSS+UDM中,以便于当终端从5G切换到4G时,HSS+UDM将映射的APN签约数据发送给对应的MME。或者,直接将DNN签约数据映射为对应的APN签约数据,并将映射的APN签约数据保存在HSS+UDM中,以便于当终端从5G切换到4G时,HSS+UDM将映射的APN签约数据发送给对应的MME。The mapping operation performed by the SMF+PGW-C includes mapping the DNN in the session establishment request to an APN unique to the terminal, and optionally, generating the subscription data corresponding to the APN. A method for generating the subscription data corresponding to the APN is to map the QoS parameter corresponding to the PDU session to the QoS parameter corresponding to the PDN connection corresponding to the 4G corresponding to the PDU session, such as mapping the session AMBR corresponding to the PDU session to the PDN connection. The APN AMBR maps the ARP corresponding to the PDU session to the ARP corresponding to the PDN connection, and saves the mapped QoS parameters as the signed APN subscription data in the HSS+UDM, so that when the terminal switches from 5G to 4G, the HSS +UDM sends the mapped APN subscription data to the corresponding MME. Alternatively, the DNN subscription data is directly mapped to the corresponding APN subscription data, and the mapped APN subscription data is saved in the HSS+UDM, so that when the terminal switches from 5G to 4G, the HSS+UDM sends the mapped APN subscription data. Give the corresponding MME.
其中,SMF+PGW-C将会话建立请求中的DNN映射为相对于所述终端而言唯一的APN的方法可以包括多种方法,例如:The method in which the SMF+PGW-C maps the DNN in the session establishment request to the APN unique to the terminal may include multiple methods, for example:
(1)SMF+PGW-C可以根据本地预先配置的DNN与APN的映射关系,根据该映射关系可以将DNN映射为相对于所述终端而言唯一的APN。例如,SMF+PGW-C本地可以预先配置DNN、S-NSSAI与APN的映射关系(如表1所示)或者DNN、S-NSSAI、SMF+PGW-C ID与APN的映射关系(如表2所示)。(1) The SMF+PGW-C may map the DNN to an APN unique to the terminal according to the mapping relationship according to the mapping relationship between the locally pre-configured DNN and the APN. For example, SMF+PGW-C can pre-configure the mapping relationship between DNN, S-NSSAI and APN (as shown in Table 1) or the mapping relationship between DNN, S-NSSAI, SMF+PGW-C ID and APN (Table 2). Shown).
表1Table 1
DNNDNN S-NSSAIS-NSSAI APNAPN
DNN1DNN1 S-NSSAI1S-NSSAI1 APN1APN1
DNN1DNN1 S-NSSAI2S-NSSAI2 APN2APN2
DNN2DNN2 S-NSSAI1S-NSSAI1 APN3APN3
DNN2DNN2 S-NSSAI2S-NSSAI2 APN4APN4
表2Table 2
DNNDNN S-NSSAIS-NSSAI SMF+PGW-C IDSMF+PGW-C ID APNAPN
DNN1DNN1 S-NSSAI1S-NSSAI1 SMF+PGW-C 1SMF+PGW-C 1 APN1APN1
DNN1DNN1 S-NSSAI1S-NSSAI1 SMF+PGW-C 2SMF+PGW-C 2 APN2APN2
DNN2DNN2 S-NSSAI1S-NSSAI1 SMF+PGW-C 1SMF+PGW-C 1 APN3APN3
DNN2DNN2 S-NSSAI1S-NSSAI1 SMF+PGW-C 2SMF+PGW-C 2 APN4APN4
一种可能的实现方式中,当针对于一个DNN,UE在一个S-NSSAI对应的网络切片实例中只建立一个PDU会话时,可以采用表1所示的映射关系即可将DNN映射为相对于所述终端而言唯一的APN。当UE在一个S-NSSAI对应的一个或多个网络切片中建立了相同DNN的多个PDU会话时,可以采用表2的映射关系即可将DNN映射为相对于所述终端而言唯一的APN。In a possible implementation manner, when a UE establishes only one PDU session in a network slice instance corresponding to an S-NSSAI for a DNN, the mapping relationship shown in Table 1 may be used to map the DNN to The terminal is the only APN. When the UE establishes multiple PDU sessions of the same DNN in one or more network slices corresponding to one S-NSSAI, the mapping relationship of Table 2 can be used to map the DNN to an APN unique to the terminal. .
需要说明的是,表1和表2的映射关系只是一个示例,具体可以有其他的映射关系来实现,本发明实施例对此不作限定。It should be noted that the mapping relationship between Table 1 and Table 2 is only an example, and may be implemented by other mapping relationships, which is not limited by the embodiment of the present invention.
(2)SMF+PGW-C可以根据预设的规则将DNN映射为相对于所述终端而言唯一的APN。例如,可以使用相对于终端而言唯一的参数来修饰DNN来生成APN。一种可能的实现方式是:SMF+PGW-C根据PDU会话建立请求中的S-NSSAI、PDU session ID、SMF+PGW-C自身的标识、随机数这些参数中的一个或多个修饰DNN,从而动态生成APN,比如:DNN@PDU session ID1=APN1,DNN@PDU session ID2=APN2,DNN@PDU session ID3=APN3。使用随机数进行修饰的好处是可以隐藏网络敏感信息,如SMF+PGW-C ID。SMF+PGW-C首先生成一个随机数,为了保证随机数的唯一性,在生成随机数时可把S-NSSAI、PDU session ID、SMF+PGW-C ID,以及其他唯一性参数如时间参数等作为随机数产生函数的输入。在现有技术中有很多方法可以保证随机数的唯一性,本发明实施例不做规定。在生成了随机数之后,SMF+PGW-C可以使用随机数作为DNN的修饰,比如,DNN=internet,随机数=1234时,DNN可以修饰为internet.1234,或者internet@1234。在TS23.003中有APN修饰的方法,可参看现有APN修饰方法对DNN进行修饰。此外,需要说明的是,映射生成的APN也可以是跟DNN无关,例如,SMF+PGW-C可以根据PDU session ID以及其他唯一性参数如时间参数等作为随机数产生函数的输入,生成一个随机数作为映射的APN。(2) The SMF+PGW-C may map the DNN to an APN unique to the terminal according to a preset rule. For example, the DNN can be modified to generate an APN using parameters that are unique relative to the terminal. A possible implementation manner is: the SMF+PGW-C modifies the DNN according to one or more of the S-NSSAI, the PDU session ID, the SMF+PGW-C's own identifier, and the random number in the PDU session establishment request. Thus, the APN is dynamically generated, for example: DNN@PDU session ID1=APN1, DNN@PDU session ID2=APN2, DNN@PDU session ID3=APN3. The advantage of using random numbers for decoration is that you can hide network sensitive information such as SMF+PGW-C ID. SMF+PGW-C first generates a random number. In order to ensure the uniqueness of the random number, S-NSSAI, PDU session ID, SMF+PGW-C ID, and other unique parameters such as time parameters can be generated when generating random numbers. As an input to the random number generation function. There are many methods in the prior art to ensure the uniqueness of the random number, which is not specified in the embodiment of the present invention. After generating the random number, SMF+PGW-C can use the random number as the modification of DNN. For example, DNN=internet, random number=1234, DNN can be modified to internet.1234, or internet@1234. There is a method for APN modification in TS23.003, and the DNN can be modified by referring to the existing APN modification method. In addition, it should be noted that the APN generated by the mapping may also be independent of the DNN. For example, the SMF+PGW-C may generate a random according to the PDU session ID and other unique parameters such as time parameters. The number is used as the mapped APN.
在一些场景下,上述(1)(2)的方法均可保证映射生成的APN在该终端所建立的所有PDU会话中不重复。需要说明的是,(1)(2)两种方法在具体实现中还可以结合起来实现将DNN映射为相对于所述终端而言唯一的APN。例如,SMF+PGW-C可以根据表1确定一个临时APN,然后再用自身的SMF+PGW-C ID来修饰该临时APN,从而获得映射后的APN。In some scenarios, the method of (1)(2) above ensures that the APN generated by the mapping is not repeated in all PDU sessions established by the terminal. It should be noted that the two methods (1) and (2) may also be combined in a specific implementation to implement mapping the DNN to an APN unique to the terminal. For example, SMF+PGW-C can determine a temporary APN according to Table 1, and then modify the temporary APN with its own SMF+PGW-C ID to obtain the mapped APN.
另一方面,SMF+PGW-C还可以将该PDU会话对应的QoS参数映射为该会话切换到4G后的PDN连接对应的QoS参数,如将session AMBR映射为PDN连接对应的APN AMBR、将PDU会话的分配保持优先级(allocation retention priority,ARP)映射为PDN连接的ARP等。一种将Session AMBR映射为APN AMBR的方法是将APN AMBR设置为等于Session AMBR。在具 体实现时还可能有其他映射方法,比如将APN AMBR设置为小于Session AMBR,本发明实施例不做规定。同样,一种将PDU会话对应的ARP映射为PDN连接对应的ARP的方法是将PDN连接对应的ARP设置为PDU会话对应的ARP,在具体实现时还可能有其他映射方法,比如,将PDN连接对应的ARP设置为大于或小于PDU会话对应的ARP,本发明实施例不做规定。On the other hand, the SMF+PGW-C can also map the QoS parameters corresponding to the PDU session to the QoS parameters corresponding to the PDN connection after the session is switched to the 4G, such as mapping the session AMBR to the APN AMBR corresponding to the PDN connection, and the PDU. The allocation retention priority (ARP) of the session is mapped to the ARP of the PDN connection. One way to map a Session AMBR to an APN AMBR is to set the APN AMBR equal to the Session AMBR. There may be other mapping methods in the specific implementation, such as setting the APN AMBR to be smaller than the Session AMBR, which is not specified in the embodiment of the present invention. Similarly, a method of mapping the ARP corresponding to the PDU session to the ARP corresponding to the PDN connection is to set the ARP corresponding to the PDN connection to the ARP corresponding to the PDU session. In the specific implementation, there may be other mapping methods, for example, connecting the PDN. The corresponding ARP is set to be greater than or less than the ARP corresponding to the PDU session, which is not specified in the embodiment of the present invention.
具体的,SMF+PGW-C还将映射后的APN以及映射后的PDN连接对应的QoS参数(可选)关联保存到该终端的上下文中。Specifically, the SMF+PGW-C also associates the mapped APN and the QoS parameter corresponding to the mapped PDN connection (optional) in the context of the terminal.
所述方法还包括,SMF+PGW-C向AMF返回会话建立响应,所述会话建立响应包括该控制面功能网元的信息(如标识或地址等)。The method further includes the SMF+PGW-C returning a session establishment response to the AMF, the session establishment response including information (such as an identifier or an address, etc.) of the control plane function network element.
步骤304、SMF+PGW-C向HSS+UDM发送注册请求。In step 304, the SMF+PGW-C sends a registration request to the HSS+UDM.
其中,注册请求中包括SMF+PGW-C的信息(例如SMF+PGW-C ID或者地址信息等)、映射后的APN,以便于HSS+UDM将SMF+PGW-C的信息、映射后的APN关联保存到该终端的相关信息(例如会话上下文)中。若SMF+PGW-C生成了APN的签约数据,则在所述注册请求消息中还包括所述APN的签约数据,以便HSS+UDM将APN的签约数据保存到该终端的相关信息(例如终端对应的签约数据或者会话上下文等)中。需要说明的是,本申请实施例对于HSS+UDM如何保存相关信息不做限定。The registration request includes information of the SMF+PGW-C (for example, SMF+PGW-C ID or address information, etc.) and the mapped APN, so that the HSS+UDM can display the information of the SMF+PGW-C and the mapped APN. The association is saved to the relevant information of the terminal (such as the session context). If the SMF+PGW-C generates the subscription data of the APN, the subscription request message further includes the subscription data of the APN, so that the HSS+UDM saves the subscription data of the APN to the related information of the terminal (for example, the terminal corresponds to In the contract data or session context, etc.). It should be noted that the embodiment of the present application does not limit how the HSS+UDM saves related information.
需要说明的是,上述SMF+PGW-C执行的DNN到APN的映射以及PDU会话对应的QoS参数到PDN连接对应的QoS参数的映射操作也可以由HSS+UDM执行。具体的,当SMF+PGW-C执行上述映射操作由HSS+UDM执行时,步骤303和步骤304可以由如下步骤A至步骤C代替:It should be noted that the mapping of the DNN to the APN performed by the SMF+PGW-C and the mapping of the QoS parameters corresponding to the PDU session to the QoS parameters corresponding to the PDN connection may also be performed by the HSS+UDM. Specifically, when the SMF+PGW-C performs the above mapping operation performed by the HSS+UDM, step 303 and step 304 may be replaced by the following steps A to C:
步骤A、SMF+PGW-C向HSS+UDM发送注册请求;Step A, SMF+PGW-C sends a registration request to HSS+UDM;
其中,注册请求包括终端的标识、SMF+PGW-C的信息、步骤302中接收到的会话建立请求中DNN以及可选的S-NSSAI等信息。The registration request includes information such as the identifier of the terminal, the information of the SMF+PGW-C, the DNN in the session establishment request received in step 302, and the optional S-NSSAI.
步骤B、HSS+UDM接收SMF+PGW-C发送的注册请求,并执行映射操作。Step B: The HSS+UDM receives the registration request sent by the SMF+PGW-C, and performs a mapping operation.
HSS+UDM执行映射操作的具体方法同步骤303中SMF+PGW-C执行映射的方法,具体过程参阅步骤303中的相关描述,与步骤303不同的是,HSS+UDM在获取APN的签约数据时,HSS+UDM首先根据该PDU会话对应的S-NSSAI和DNN获取该会话对应的DNN的签约数据,再将对应的DNN的签约数据中的相关参数映射为APN签约数据中的相关参数,DNN的签约数据包括APN AMBR、ARP等。The method for performing mapping operation by the HSS+UDM is the same as the method for performing mapping with the SMF+PGW-C in step 303. For the specific process, refer to the related description in step 303. The difference from step 303 is that the HSS+UDM obtains the subscription data of the APN. The HSS+UDM first obtains the subscription data of the DNN corresponding to the session according to the S-NSSAI and the DNN corresponding to the PDU session, and then maps the relevant parameters in the subscription data of the corresponding DNN to the relevant parameters in the APN subscription data, and the DNN The contract data includes APN AMBR, ARP, and the like.
HSS+UDM执行完映射操作后,将SMF+PGW-C的信息、映射后的APN以及映射后的APN对应的签约数据关联保存到该终端的相关信息中,例如可以将SMF+PGW-C的信息以及映射后的APN保存到该终端的会话上下文中,并将映射后的APN对应的签约数据保存到该UE的签约数据中。After performing the mapping operation, the HSS+UDM saves the information of the SMF+PGW-C, the mapped APN, and the subscription data corresponding to the mapped APN to the related information of the terminal, for example, the SMF+PGW-C The information and the mapped APN are saved in the session context of the terminal, and the subscription data corresponding to the mapped APN is saved in the subscription data of the UE.
步骤C、HSS+UDM向SMF+PGW-C发送注册响应。Step C, HSS+UDM sends a registration response to SMF+PGW-C.
其中,注册响应中包括映射后的APN以及映射后的APN的签约数据,SMF+PGW-C接收到HSS+UDM发送的注册响应后,将映射后的APN以及映射后的APN的签约关联保存到该终端的相关信息中。The registration response includes the mapped APN and the signed APN subscription data. After receiving the registration response sent by the HSS+UDM, the SMF+PGW-C saves the mapped APN and the mapped APN subscription association to the registration association. The relevant information of the terminal.
需要说明的是,上述映射还可以分开在SMF+PGW-C和HSS+UDM执行,比如,SMF+PGW-C负责将DNN映射为APN,HSS+UDM负责生成APN的签约数据。本发明实施例不做规定。It should be noted that the above mapping may also be performed separately in SMF+PGW-C and HSS+UDM. For example, SMF+PGW-C is responsible for mapping DNN to APN, and HSS+UDM is responsible for generating subscription data of APN. The embodiments of the present invention do not make provisions.
可选的,SMF+PGW-C或HSS+UDM在执行映射操作之前,还接收来自终端或者第三方应用服务器的指示信息,所述指示信息用于指示终端建立的所有PDU会话或者特定PDU会话后 续需要切换到4G网络中。Optionally, the SMF+PGW-C or the HSS+UDM receives the indication information from the terminal or the third-party application server, where the indication information is used to indicate all PDU sessions established by the terminal or a specific PDU session. Need to switch to 4G network.
一种可能的实现方式是,该指示信息可以在会话建立过程中,由终端或者第三方应用服务器发送给SMF+PGW-C,当步骤301中终端请求建立的PDU会话,满足所述指示信息时,执行本申请实施例的流程;否则,按照现有技术执行PDU会话的建立流程。例如,该指示信息可以包括终端的标识、PDU会话对应的会话和服务连续性(session and service continuity,SSC)模式、PDU会话对应的S-NSSAI、DNN的至少一个。例如,当SMF+PGW-C接收到终端的标识指示的终端请求建立一个到DNN指示的数据网络的PDU会话时,SMF+PGW-C确定该PDU会话后续需要切换到4G网络中,或者当SMF+PGW-C确定所建立的PDU的会话为SSC模式1时,SMF+PGW-C可根据该信息确定该PDU会话后续需要切换到4G网络中,或者SMF+PGW-C根据该会话对应的S-NSSAI确定该PDU会话后续需要切换到4G网络中。或者该指示信息也可以由终端携带在步骤301中的PDU会话建立请求中发送给SMF+PGW-C。此时,该指示信息,例如可以是一个指示位,当该指示位设置位“1”时,表示请求建立的PDU会话后续需要切换到4G网络中;当该指示位设置位“0”或者不存在该指示位时,表示请求建立的PDU会话后续不需要切换到4G网络中。A possible implementation manner is that the indication information may be sent by the terminal or the third-party application server to the SMF+PGW-C during the session establishment process. When the terminal requests the established PDU session in step 301, the indication information is met. The process of the embodiment of the present application is performed; otherwise, the process of establishing a PDU session is performed according to the prior art. For example, the indication information may include at least one of an identifier of the terminal, a session corresponding to the PDU session, and a session and service continuity (SSC) mode, and an S-NSSAI corresponding to the PDU session. For example, when the terminal that the SMF+PGW-C receives the identity indication of the terminal requests to establish a PDU session to the data network indicated by the DNN, the SMF+PGW-C determines that the PDU session needs to be subsequently switched to the 4G network, or when the SMF When the PGW-C determines that the session of the established PDU is SSC mode 1, the SMF+PGW-C may determine, according to the information, that the PDU session needs to be subsequently switched to the 4G network, or the SMF+PGW-C according to the S corresponding to the session. - NSSAI determines that the PDU session needs to be subsequently switched to the 4G network. Alternatively, the indication information may also be sent by the terminal to the SMF+PGW-C in the PDU session establishment request in step 301. At this time, the indication information may be, for example, an indication bit. When the indication bit is set to bit “1”, it indicates that the PDU session requested to be established needs to be subsequently switched to the 4G network; when the indication bit is set to “0” or not When the indicator bit exists, it indicates that the PDU session requested to be established does not need to be switched to the 4G network.
步骤305、后续PDU会话建立流程。Step 305: A subsequent PDU session establishment process.
步骤302中SMF+PGW-C从AMF接收到终端发送的会话建立请求,并基于会话建立请求中的S-NSSAI和DNN为终端建立一个PDU会话。该建立PDU会话的过程可参考现有的流程,在此不予赘述。In step 302, the SMF+PGW-C receives the session establishment request sent by the terminal from the AMF, and establishes a PDU session for the terminal based on the S-NSSAI and the DNN in the session establishment request. The process of establishing a PDU session may refer to an existing process, and details are not described herein.
步骤301至步骤305用于实现在5G网络中终端建立PDU会话的流程,在这个过程中,本申请实施例增加实现了将PDU会话中的DNN映射为该终端范围名称不重叠的APN。Steps 301 to 305 are used to implement the process of establishing a PDU session in the terminal in the 5G network. In this process, the embodiment of the present application adds that the DNN in the PDU session is mapped to the APN in which the terminal range name does not overlap.
步骤306、SMF+PGW-C将映射后的APN发送给终端。Step 306: The SMF+PGW-C sends the mapped APN to the terminal.
具体的,SMF+PGW-C可以将映射后的APN携带在PCO消息中发送给终端。一种可能的实现方式是,该PCO消息可以携带在PDU会话建立响应中。采用PCO消息将映射后的APN发送给终端,可以避免消息传递过程中,SMF+PGW-C和终端中间的网元解析该信元造成的额外负担。Specifically, the SMF+PGW-C can carry the mapped APN in the PCO message and send it to the terminal. One possible implementation is that the PCO message can be carried in a PDU session setup response. The PCO message is used to send the mapped APN to the terminal, which can avoid the extra burden caused by the SMF+PGW-C and the network element in the middle of the terminal parsing the cell during the message delivery.
终端接收映射后的APN之后,将映射后的APN存储到会话上下文中。具体的,步骤306中,SMF+PGW-C还将PDU Session ID一起发送给终端,终端接收到映射后的APN和PDU Session ID之后,将映射后的APN存储到相应的会话上下文中。After receiving the mapped APN, the terminal stores the mapped APN in the session context. Specifically, in step 306, the SMF+PGW-C sends the PDU Session ID to the terminal together, and after receiving the mapped APN and the PDU Session ID, the terminal stores the mapped APN in the corresponding session context.
步骤307、终端向MME发送附着请求或者PDN连接建立请求,以便于MME接收所述附着请求或者PDN连接建立请求。Step 307: The terminal sends an attach request or a PDN connection setup request to the MME, so that the MME receives the attach request or the PDN connection establishment request.
其中,附着请求或者PDN连接建立请求中携带步骤306中接收到的映射后的APN,该映射后的APN也是终端在PDU会话建立过程中映射生成的。需要说明的是,本步骤中终端发送PDN连接建立请求可能出现的情景为UE已完成附着流程,但仍需要对PDU会话进行切换,在完成附着流程后立即对PDU会话发起相应的PDN连接建立流程。The mapping request or the PDN connection establishment request carries the mapped APN received in step 306, and the mapped APN is also generated by mapping the terminal in the PDU session establishment process. It should be noted that the scenario in which the terminal sends a PDN connection establishment request in this step may be that the UE has completed the attach procedure, but still needs to switch the PDU session, and initiates a corresponding PDN connection establishment process for the PDU session immediately after the attach procedure is completed. .
具体的,步骤307可以发生在终端的位置发生移动时,例如,从5G覆盖范围移动到只有4G覆盖的地方,或者由于其他某些原因导致终端从5G网络接入数据网络变为由4G网络接入数据网络的时候。Specifically, step 307 may occur when the location of the terminal moves, for example, from 5G coverage to only 4G coverage, or for some other reasons, the terminal changes from 5G network access data network to 4G network connection. When entering the data network.
进一步的,当步骤307中为附着请求时,附着请求中还包括终端的标识。需要说明的时,这里的终端的标识可以是用于表征用户设备的信息,如国际移动设备身份码(International Mobile Subscriber Identity,IMSI),也可以是该UE的临时标识,如从5G全局唯一的临时标识 (globally unique temporary identity,GUTI)映射的4G GUTI。本申请实施例对于终端的标识的具体形式不做限定。Further, when the request is an attach in step 307, the attach request further includes an identifier of the terminal. When it is to be noted, the identifier of the terminal herein may be information for characterizing the user equipment, such as an International Mobile Subscriber Identity (IMSI), or may be a temporary identifier of the UE, such as globally unique from 5G. 4G GUTI mapped by globally unique temporary identity (GUTI). The specific form of the identifier of the terminal is not limited in this embodiment of the present application.
当步骤307中为附着请求时,执行步骤308,从从HSS+UDM获取终端的相关信息;如果步骤307中为PDN连接建立请求,则可以理解在PDN连接建立请求之前的附着流程中,MME已经从HSS+UDM中获取过终端的相关信息,因此直接执行步骤309。When the request is attached in step 307, step 308 is performed to obtain the related information of the terminal from the HSS+UDM. If the PDN connection establishment request is in step 307, it can be understood that the MME has already performed the attach procedure before the PDN connection establishment request. The related information of the terminal is obtained from the HSS+UDM, so step 309 is directly executed.
步骤308、从HSS+UDM获取终端的相关信息。Step 308: Acquire relevant information of the terminal from the HSS+UDM.
具体的,终端向HSS+UDM发送位置更新请求,该位置更新请求携带终端的标识。HSS+UDM根据终端的标识获取终端的上下文,例如,包括SMF+PGW-C的信息、映射后的APN以及映射后的APN的签约数据等。需要说明的是,上述终端的上下文可能是关联存储的,例如,终端的上下文里可能保存了多个会话信息以及相应的签约数据,一种可能的实现方式如表3所示:Specifically, the terminal sends a location update request to the HSS+UDM, where the location update request carries the identifier of the terminal. The HSS+UDM obtains the context of the terminal according to the identifier of the terminal, for example, information including SMF+PGW-C, mapped APN, and signed data of the mapped APN. It should be noted that the context of the foregoing terminal may be stored in association. For example, multiple session information and corresponding subscription data may be saved in the context of the terminal. A possible implementation manner is shown in Table 3:
Figure PCTCN2019071707-appb-000001
Figure PCTCN2019071707-appb-000001
终端的签约数据可能如表4所示:The contract data of the terminal may be as shown in Table 4:
终端的标识Terminal identification 签约的APNSigned APN
UE 1UE 1 APN1 APN1
UE 1UE 1 APN 2APN 2
UE 2UE 2 APN 4APN 4
其中,UE用于指代终端的标识,需要说明的是,上述表3中的APN签约数据也可能保存在中的签约数据中,本发明实施例,对于映射后的APN、SMF+PGW-C ID、APN签约数据以及签约的APN等信息的存储形式不做限定。当步骤308中HSS+UDM接收到MME发生的位置更新请求之后,根据其中的终端标识,获取终端相应的上下文。例如HSS+UDM接收到MME发生的位置更新请求携带的终端的标识为UE1,则HSS+UDM获取UE1相关的会话上下文以及签约信息,如(APN1、SMF+PGW-C 1、APN1已签约、APN1的签约数据)、(APN2、SMF+PGW-C1、APN2已签约、APN2的签约数据)。HSS+UDM将获取到的UE1相关的会话上下文以及签约信息发送给MME。The UE is used to refer to the identifier of the terminal. It should be noted that the APN subscription data in the foregoing Table 3 may also be stored in the subscription data. In the embodiment of the present invention, the mapped APN, SMF+PGW-C The storage format of ID, APN subscription data, and signed APN information is not limited. After receiving the location update request of the MME, the HSS+UDM obtains the context corresponding to the terminal according to the terminal identifier. For example, the HSS+UDM receives the identifier of the terminal carried in the location update request of the MME as UE1, and the HSS+UDM acquires the session context and the subscription information related to the UE1, such as (APN1, SMF+PGW-C1, APN1 signed, APN1). Signing data), (APN2, SMF+PGW-C1, APN2 signed, APN2 signing data). The HSS+UDM sends the acquired UE1 related session context and subscription information to the MME.
步骤309、MME向SMF+PGW-C发送会话更新请求。Step 309: The MME sends a session update request to the SMF+PGW-C.
具体的,MME根据从终端接收到的映射后的APN,以及从HSS+UDM获取到的终端的会话上下文以及签约数据,确定锚定的SMF+PGW-C的标识,并向确定的SMF+PGW-C发送会话更新请求。其中,会话更新请求包括从终端接收到的映射后的APN。Specifically, the MME determines the identifier of the anchored SMF+PGW-C according to the mapped APN received from the terminal, and the session context and the subscription data of the terminal acquired from the HSS+UDM, and determines the SMF+PGW to the determined SMF+PGW. -C sends a session update request. The session update request includes the mapped APN received from the terminal.
若步骤307为附着请求,则MME根据UE位置选择服务网关(serving gateway,S-GW)。MME经由S-GW给该锚定的SMF+PGW-C发送会话更新请求。并且,在该会话更新请求中携带了S-GW分配的会话对应的下行隧道信息。可选地,MME将在步骤308中获取的APN签约数据中的QoS参数如APN AMBR也发送给锚定的SMF+PGW-C。锚定的SMF+PGW-C根据接收到的APN查找终端的会话上下文,获取该会话对应的用户面隧道信息,包括PGW-U+UPF的IP地址及上行隧道信息。锚定的SMF+PGW-C将S-GW的下行隧道信息通知给该会话对应的 PGW-C+UPF(该步骤为现有技术,未在图中画出)。If step 307 is an attach request, the MME selects a serving gateway (S-GW) according to the location of the UE. The MME sends a session update request to the anchored SMF+PGW-C via the S-GW. And the downlink update information corresponding to the session allocated by the S-GW is carried in the session update request. Optionally, the MME sends the QoS parameters, such as APN AMBR, in the APN subscription data acquired in step 308 to the anchored SMF+PGW-C. The anchored SMF+PGW-C obtains the user plane tunnel information corresponding to the session according to the received APN search terminal context, including the IP address of the PGW-U+UPF and the uplink tunnel information. The anchored SMF+PGW-C notifies the downlink tunnel information of the S-GW to the PGW-C+UPF corresponding to the session (this step is prior art and is not shown in the figure).
一种可能的实现方式中,MME在向SMF+PGW-C发送会话更新请求之前,还包括MME确定终端是否具有会话更新的权限。当MME根据HSS+UDM返回的签约信息,确定终端发送的映射后的APN为已签约时,则MME确定终端具有会话更新的权限,执行步骤309,向SMF+PGW-C发送会话更新请求;当MME根据HSS+UDM返回的签约信息,确定终端发送的映射后的APN为未签约或者HSS+UDM返回的签约信息不包括映射后的APN时,则MME确定终端不具有会话更新的权限,流程结束。In a possible implementation manner, before the MME sends the session update request to the SMF+PGW-C, the MME further includes the MME determining whether the terminal has the right to update the session. When the MME determines that the mapped APN sent by the terminal is signed, the MME determines that the terminal has the right to update the session, and performs step 309 to send a session update request to the SMF+PGW-C. The MME determines, according to the subscription information returned by the HSS+UDM, that the mapped APN sent by the terminal is unsigned or the subscription information returned by the HSS+UDM does not include the mapped APN, the MME determines that the terminal does not have the session update permission, and the process ends. .
步骤310、SMF+PGW-C向MME返回会话建立响应。Step 310: The SMF+PGW-C returns a session establishment response to the MME.
SMF+PGW-C将该会话对应的PGW-U+UPF的上行隧道信息发送给S-GW。并且S-GW给MME回复会话建立响应,将S-GW分配的S-GW的上行隧道信息发送给MME。The SMF+PGW-C sends the uplink tunnel information of the PGW-U+UPF corresponding to the session to the S-GW. And the S-GW returns a session establishment response to the MME, and sends the uplink tunnel information of the S-GW allocated by the S-GW to the MME.
步骤311、后续流程。Step 311, follow-up process.
当MME接收到SMF+PGW-C发送的会话建立响应后,进入后续流程以完成PDN连接的建立。After receiving the session establishment response sent by the SMF+PGW-C, the MME enters a subsequent process to complete the establishment of the PDN connection.
一种可能的实现方式中,若步骤307为附着请求,则MME处理后续附着流程,包括通知基站为该会话创建空口资源,并建立基站和S-GW间的隧道,并且将附着结果通知给终端。若步骤307为PDN连接建立请求,则后续流程是PDN连接的建立流程,也包括通知基站为该会话创建空口资源,并建立基站和S-GW间的隧道,并且将PDN连接建立的结果通知给终端。该后续过程具体可参考现有的流程,在此不予赘述。In a possible implementation, if the step 307 is an attach request, the MME processes the subsequent attach procedure, including notifying the base station to create an air interface resource for the session, establishing a tunnel between the base station and the S-GW, and notifying the terminal of the attach result. . If the step 307 is a PDN connection establishment request, the subsequent process is a PDN connection establishment process, which also includes notifying the base station to create an air interface resource for the session, establishing a tunnel between the base station and the S-GW, and notifying the result of the PDN connection establishment. terminal. For the subsequent process, reference may be made to the existing process, and details are not described herein.
基于本申请实施例提供的会话建立方法,在终端建立PDU会话过程中,需要SMF+PGW-C或者HSS+UDM根据DNN生成一个相对于终端而言唯一的临时APN,以及根据DNN对应的签约数据生成映射后的APN对应的签约数据,并且将相关信息保存到SMF+PGW-C或者HSS+UDM中。使得当终端将在5G网络中建立有多个具有相同DNN的PDU会话切到4G网络的PDN连接时,既保证了每个PDU会话切换到4G时能够锚定到相同的控制面功能网元上,又保证了切换后的每个PDN连接具有不同的APN,从而能够实现APN AMBR的控制。此外,该解决方案不需要对现有MME进行改动。Based on the session establishment method provided by the embodiment of the present application, in the process of establishing a PDU session by the terminal, the SMF+PGW-C or the HSS+UDM is required to generate a temporary APN unique to the terminal according to the DNN, and the subscription data corresponding to the DNN. The contract data corresponding to the mapped APN is generated, and the related information is saved in SMF+PGW-C or HSS+UDM. When the terminal establishes a PDN connection in which the PDU session with the same DNN is cut into the 4G network in the 5G network, the terminal can ensure that each PDU session can be anchored to the same control plane function network element when switching to 4G. Moreover, it is ensured that each PDN connection after the handover has a different APN, so that the control of the APN AMBR can be realized. In addition, the solution does not require changes to existing MMEs.
其中,上述步骤301至311中控制面功能网元(SMF+PGW-C)和用户数据管理网元(HSS+UDM)的动作可以由图2所示的通信设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。The actions of the control plane function network element (SMF+PGW-C) and the user data management network element (HSS+UDM) in the above steps 301 to 311 can be called by the processor 201 in the communication device 200 shown in FIG. The application code stored in 203 is executed, and the embodiment of the present application does not impose any limitation on this.
需要说明的是,图3所述的实施例适用于第一网络中的移动管理网元AMF和第二网络中的移动管理网元MME之间不存在N26接口的场景,当AMF和MME之间存在N26接口时,可以采用如图4所述的方法。如图4所示,为本申请实施例提供的一种会话建立方法,包括如下步骤:It should be noted that the embodiment described in FIG. 3 is applicable to a scenario where there is no N26 interface between the mobility management network element AMF in the first network and the mobility management network element MME in the second network, when between the AMF and the MME. When there is an N26 interface, the method as described in FIG. 4 can be employed. As shown in FIG. 4, a session establishment method provided by an embodiment of the present application includes the following steps:
步骤401-406、同步骤301-306,具体可参考图3所示的实施例,在此不再赘述。Steps 401-406, the same as steps 301-306, specifically refer to the embodiment shown in FIG. 3, and details are not described herein again.
当终端处于空闲(IDLE)态时,执行步骤407-411:When the terminal is in the idle (IDLE) state, steps 407-411 are performed:
步骤407、终端向第二网络的移动管理网元(如MME)发送跟踪区更新请求。Step 407: The terminal sends a tracking area update request to a mobility management network element (such as an MME) of the second network.
其中,跟踪区更新请求中包括由5G-GUTI映射的4G GUTI,具体的映射方法参考现有技术。MME根据4G GUTI可以确定之前为终端服务的AMF。The tracking area update request includes the 4G GUTI mapped by the 5G-GUTI, and the specific mapping method refers to the prior art. The MME can determine the AMF that was previously serving the terminal according to the 4G GUTI.
步骤408、MME向AMF请求终端的上下文。Step 408: The MME requests the context of the terminal from the AMF.
步骤409、AMF接收到MME发送的请求之后,向控制面功能网元获取PDU会话上下文。Step 409: After receiving the request sent by the MME, the AMF acquires the PDU session context from the control plane function network element.
其中,所述PDU会话上下文包括映射后的APN以及相应的控制面功能实体的信息。The PDU session context includes information of the mapped APN and the corresponding control plane functional entity.
步骤410、AMF将PDU会话上下文发送给MME。Step 410: The AMF sends the PDU session context to the MME.
步骤411、在后续流程中,MME根据从AMF接收的上下文进行会话切换。Step 411: In the subsequent process, the MME performs session switching according to the context received from the AMF.
后续流程为可参考现有的流程,在此不予赘述。The subsequent process can refer to the existing process, and will not be described here.
当终端处于连接(Connected)态时,执行步骤412-415:When the terminal is in the Connected state, steps 412-415 are performed:
步骤412、基站向AMF发送切换请求。Step 412: The base station sends a handover request to the AMF.
当基站确定终端需要切换到4G时,向AMF发送HO请求。When the base station determines that the terminal needs to switch to 4G, it sends an HO request to the AMF.
步骤413、同步骤409Step 413, the same step 409
步骤414、AMF向MME发送重定向请求(Relocation Request),在该消息中,AMF将会话上下文发送给MME。Step 414: The AMF sends a Relocation Request to the MME, where the AMF sends the session context to the MME.
步骤415、后续流程。Step 415, follow-up process.
后续的切换流程可参见TS23.502中的相关描述。在切换流程中,MME会选择SGW,并且经过SGW通知PGW-C+SMF进行会话更新。The subsequent handover procedure can be found in the related description in TS 23.502. In the handover procedure, the MME selects the SGW and notifies the PGW-C+SMF via the SGW to perform session update.
基于本申请实施例提供的会话建立方法,可以使得当终端将在5G网络中建立有多个具有相同DNN的PDU会话切到4G网络的PDN连接时,既保证了每个PDU会话切换到4G时能够锚定到与该PDU会话相同的控制面功能网元上,又保证了切换后的每个PDN连接具有不同的APN,从而能够实现APN AMBR的控制。The session establishment method provided by the embodiment of the present application can ensure that when the terminal establishes a PDN connection in which a plurality of PDU sessions with the same DNN are switched to the 4G network in the 5G network, the PDU session is guaranteed to be switched to 4G. It can be anchored to the same control plane function network element as the PDU session, and it is ensured that each PDN connection after the handover has a different APN, thereby enabling control of the APN AMBR.
其中,上述步骤S401至S415中控制面功能网元和用户数据管理网元的动作可以由图2所示的通信设备200中的处理器201调用存储器203中存储的应用程序代码来执行,本申请实施例对此不作任何限制。The actions of the control plane function network element and the user data management network element in the foregoing steps S401 to S415 can be performed by the processor 201 in the communication device 200 shown in FIG. 2 calling the application code stored in the memory 203. The embodiment does not impose any limitation on this.
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,上述终端、用户数据管理网元、控制面功能网元、AMF以及MME等实体为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The solution provided by the embodiment of the present application is mainly introduced from the perspective of interaction between the network elements. It can be understood that the foregoing terminal, the user data management network element, the control plane function network element, the AMF, and the MME, etc., in order to implement the above functions, include hardware structures and/or software modules corresponding to each function. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods 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.
本申请实施例可以根据上述方法示例对终端、用户数据管理网元和控制面功能网元进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiment of the present application, the function module of the terminal, the user data management network element, and the control plane function network element may be divided according to the foregoing method. For example, each function module may be divided according to each function, or two or more functions may be used. The functions are integrated in 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.
比如,以采用集成的方式划分各个功能模块的情况下,图5示出了上述实施例所涉及装置的结构示意图。该装置50可以是终端,也可以是终端内的芯片,本申请实施例对此不作具体限定。如图5所示,该装置包括:接收模块501和发送模块502。For example, in the case of dividing each functional module in an integrated manner, FIG. 5 is a schematic structural view of the apparatus according to the above embodiment. The device 50 may be a terminal or a chip in the terminal, which is not specifically limited in this embodiment of the present application. As shown in FIG. 5, the device includes: a receiving module 501 and a sending module 502.
所述发送模块,用于发送建立分组数据单元PDU会话的第一请求消息,其中,所述第一请求消息包括数据网络名称DNN;所述接收模块501,用于接收第一响应消息,所述第一响应消息中包括接入点名称APN;其中,所述APN由所述DNN确定,且在所述终端范围内唯一;其中,所述APN可以携带在协议配置项PCO中;所述发送模块502,还用于向移动管理网元发送建立分组数据网络PDN连接的第二请求消息,所述第二请求消息包括所述APN。The sending module is configured to send a first request message for establishing a packet data unit PDU session, where the first request message includes a data network name DNN, and the receiving module 501 is configured to receive a first response message, where The first response message includes an access point name APN; wherein the APN is determined by the DNN and is unique within the terminal range; wherein the APN can be carried in a protocol configuration item PCO; the sending module 502. The method further includes sending, to the mobility management network element, a second request message for establishing a packet data network PDN connection, where the second request message includes the APN.
可选的,所述第一请求消息中还包括所述PDU会话的PDU会话标识,所述第一响应消 息还包括所述PDU会话标识;所述终端还包括:Optionally, the first request message further includes a PDU session identifier of the PDU session, where the first response message further includes the PDU session identifier; the terminal further includes:
保存模块503,用于将所述APN保存到所述PDU会话标识指示的会话上下文中。The saving module 503 is configured to save the APN in a session context indicated by the PDU session identifier.
可选的,所述发送模块,还用于发送指示信息,所述指示信息用于指示终端建立的所有PDU会话或者特定PDU会话后续需要切换到4G网络中。Optionally, the sending module is further configured to send indication information, where the indication information is used to indicate that all PDU sessions established by the terminal or a specific PDU session need to be subsequently switched to the 4G network.
可选的,所述第二请求消息为附着请求或者PDN连接建立请求。Optionally, the second request message is an attach request or a PDN connection setup request.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
在本实施例中,该终端50可以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到终端50可以采用图2所示的形式。In this embodiment, the terminal 50 can be presented in an integrated manner to divide the form of each functional module. 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. In a simple embodiment, those skilled in the art will appreciate that terminal 50 can take the form shown in FIG.
比如,图2中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得终端50执行上述方法实施例中的会话建立方法。具体的,图5中的接收模块501、发送模块502以及保存模块503的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现。For example, the processor 201 in FIG. 2 can execute the instruction by calling the computer stored in the memory 203, so that the terminal 50 executes the session establishment method in the above method embodiment. Specifically, the function/implementation process of the receiving module 501, the sending module 502, and the saving module 503 in FIG. 5 can be implemented by the processor 201 in FIG. 2 calling a computer executing instruction stored in the memory 203.
可选的,当该装置50是芯片时,则接收模块501和发送模块502的功能/实现过程还可以通过管脚或电路等来实现。可选地,当该装置50是芯片时,存储器203可以为芯片内的存储单元,如寄存器、缓存等。当然,当该装置50是终端时,存储器203可以是终端内的位于芯片外部的存储单元,本申请实施例对此不作具体限定。Optionally, when the device 50 is a chip, the function/implementation process of the receiving module 501 and the sending module 502 can also be implemented by using a pin or a circuit. Alternatively, when the device 50 is a chip, the memory 203 may be a memory unit within the chip, such as a register, a cache, or the like. Of course, when the device 50 is a terminal, the memory 203 may be a storage unit located outside the chip in the terminal, which is not specifically limited in this embodiment of the present application.
由于本申请实施例提供的终端可用于执行上述会话建立方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。The terminal provided by the embodiment of the present application can be used to perform the above-mentioned session establishment method. Therefore, the technical effects of the method can be referred to the foregoing method embodiments, and details are not described herein again.
比如,以采用集成的方式划分各个功能模块的情况下,图6示出了一种控制面功能网元60的结构示意图。该控制面功能网元60包括:接收模块601和获取模块602。所述接收模块601,用于接收来自终端的用于请求建立分组数据单元PDU会话的第一请求消息;其中,所述第一请求消息包括数据网络名称DNN;所述获取模块602,用于获取所述PDU会话对应的接入点名称APN,其中,所述APN由所述DNN确定,且在所述终端范围内唯一。For example, in the case of dividing each functional module in an integrated manner, FIG. 6 shows a schematic structural diagram of a control plane function network element 60. The control plane function network element 60 includes a receiving module 601 and an obtaining module 602. The receiving module 601 is configured to receive a first request message from the terminal for requesting to establish a packet data unit PDU session, where the first request message includes a data network name DNN, and the obtaining module 602 is configured to obtain An access point name APN corresponding to the PDU session, wherein the APN is determined by the DNN and is unique within the range of the terminal.
所述网元还包括:发送模块603;所述发送模块,用于向所述终端发送第一响应消息,所述第一响应消息中包括所述APN。可选的,所述APN携带在协议配置项PCO中。The network element further includes: a sending module 603. The sending module is configured to send a first response message to the terminal, where the first response message includes the APN. Optionally, the APN is carried in a protocol configuration item PCO.
可选的,所述APN由所述终端范围内数值唯一的参数修饰所述DNN确定。Optionally, the APN is determined by modifying the DNN by a parameter whose value is unique within the terminal range.
可选的,所述第一请求消息中还包括所述PDU会话的PDU会话标识和/或单网络切片选择辅助信息S-NSSAI,所述获取模块602,具体用于:根据所述PDU会话标识和/或所述S-NSSAI,以及所述DNN,生成所述APN;所述发送模块,还用于向用户数据管理网元发送所述APN、所述DNN以及所述控制面功能网元的信息。Optionally, the first request message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, where the obtaining module 602 is specifically configured to: according to the PDU session identifier And/or the S-NSSAI, and the DNN, generating the APN; the sending module is further configured to send, to the user data management network element, the APN, the DNN, and the control plane function network element information.
可选的,所述第一请求消息中还包括所述PDU会话的PDU会话标识和/或单网络切片选择辅助信息S-NSSAI,所述获取模块,具体用于:将所述PDU会话标识和/或所述S-NSSAI,以及所述DNN发送给用户数据管理网元;从所述用户数据管理网元接收所述APN。Optionally, the first request message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, where the acquiring module is specifically configured to: identify the PDU session and / or the S-NSSAI, and the DNN is sent to the user data management network element; the APN is received from the user data management network element.
可选的,所述接收模块601,还用于接收来自移动管理网元的会话更新请求,所述会话更新请求中包括所述APN。Optionally, the receiving module 601 is further configured to receive a session update request from a mobility management network element, where the session update request includes the APN.
可选的,所述接收模块,还用于接收移动管理网元发送的获取所述终端会话上下文的请求;所述发送模块,还用于向所述移动管理网元发送会话上下文响应,所述会话上下 文响应包括所述控制面功能网元的信息以及所述APN。Optionally, the receiving module is further configured to receive a request for acquiring the terminal session context sent by the mobility management network element, where the sending module is further configured to send a session context response to the mobility management network element, where The session context response includes information of the control plane function network element and the APN.
可选的,所述获取单元602,还用于获取所述APN的签约数据。例如,根据所述DNN的签约数据,生成所述APN的签约数据;所述发送模块603,还用于将所述APN的签约数据发送给用户数据管理网元。Optionally, the obtaining unit 602 is further configured to acquire subscription data of the APN. For example, the subscription data of the APN is generated according to the subscription data of the DNN, and the sending module 603 is further configured to send the subscription data of the APN to the user data management network element.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
在本实施例中,该控制面功能网元60以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到控制面功能网元60可以采用图2所示的形式。In this embodiment, the control plane function network element 60 is presented in a form that divides the various functional modules in an integrated manner. A "module" herein may refer to a particular ASIC, circuitry, processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other devices that provide the functionality described above. In a simple embodiment, those skilled in the art will appreciate that the control plane function network element 60 can take the form shown in FIG.
比如,图2中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得控制面功能网元60执行上述方法实施例中的会话建立方法。具体的,图6中的接收模块601、获取模块602和发送模块603的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现。For example, the processor 201 in FIG. 2 can execute the instruction by calling the computer stored in the memory 203, so that the control plane function network element 60 executes the session establishment method in the above method embodiment. Specifically, the function/implementation process of the receiving module 601, the obtaining module 602, and the sending module 603 in FIG. 6 can be implemented by the processor 201 in FIG. 2 calling a computer executing instruction stored in the memory 203.
由于本申请实施例提供的控制面功能网元可用于执行上述会话建立方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。The control plane function network element provided by the embodiment of the present application can be used to perform the foregoing session establishment method. Therefore, the technical effects that can be obtained by reference to the foregoing method embodiments are not described herein.
比如,以采用集成的方式划分各个功能模块的情况下,图7示出了一种用户数据管理网元的结构示意图。该用户数据管理网元70包括:接收模块701和获取模块702。所述接收模块701,用于接收来控制面功能网元的第一消息;其中,所述第一消息包括数据网络名称DNN;所述获取模块702,用于获取所述PDU会话对应的接入点名称APN,其中,所述APN由所述DNN确定,且在所述终端范围内唯一。For example, in the case of dividing each functional module in an integrated manner, FIG. 7 shows a schematic structural diagram of a user data management network element. The user data management network element 70 includes a receiving module 701 and an obtaining module 702. The receiving module 701 is configured to receive a first message of the control plane function network element, where the first message includes a data network name DNN, and the obtaining module 702 is configured to obtain the access corresponding to the PDU session. A point name APN, wherein the APN is determined by the DNN and is unique within the range of the terminal.
所述APN由所述终端范围内数值唯一的参数修饰所述DNN确定。例如,所述第一消息中还包括所述PDU会话的PDU会话标识和/或单网络切片选择辅助信息S-NSSAI,所述获取模块702,具体用于根据PDU会话建立请求中的S-NSSAI、PDU session ID、控制面功能网元自身的标识、随机数这些参数中的一个或多个修饰DNN,生成APN。特别地,使用随机数进行修饰的好处是可以隐藏网络敏感信息,为了保证随机数的唯一性,在生成随机数时可把S-NSSAI、PDU session ID、SMF+PGW-C ID,以及其他唯一性参数如时间参数等作为随机数产生函数的输入。在生成了随机数之后,用户数据管理网元可以使用随机数作为DNN的修饰。在TS23.003中有APN修饰的方法,可参看现有APN修饰方法对DNN进行修饰。采用本申请所述的方法,可以将终端请求建立的PDU会话中的DNN映射为在终端范围内唯一的APN,因此,当终端建立具体有相同DNN的不同PDU会话时,由于修饰DNN的参数不一样,因此生成的APN也不一样。从而确保了相同DNN的不同PDU会话切换到4G网络中的PDN连接时具有不同的APN。The APN is determined by modifying the DNN by a parameter whose value is unique within the range of the terminal. For example, the first message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, and the obtaining module 702 is specifically configured to use the S-NSSAI in the PDU session establishment request. One or more of the parameters of the PDU session ID, the identity of the control plane function network element, and the random number modify the DNN to generate an APN. In particular, the advantage of using random numbers for decoration is that it can hide network sensitive information. In order to ensure the uniqueness of random numbers, S-NSSAI, PDU session ID, SMF+PGW-C ID, and other uniques can be generated when generating random numbers. Sexual parameters such as time parameters are used as inputs to the random number generation function. After generating the random number, the user data management network element can use the random number as a modification of the DNN. There is a method for APN modification in TS23.003, and the DNN can be modified by referring to the existing APN modification method. With the method described in this application, the DNN in the PDU session that the terminal requests to establish can be mapped to the APN that is unique within the terminal range. Therefore, when the terminal establishes a different PDU session with the same DNN, the parameters of the modified DNN are not The same, so the generated APN is not the same. This ensures that different PDU sessions of the same DNN have different APNs when switching to PDN connections in the 4G network.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
可选的,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持终端实现上述的会话建立方法。在一种可能的设计中,该芯片系统还包括存储器。该存储器,用于保存终端必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件,本申请实施例对此不作具体限定。Optionally, the embodiment of the present application provides a chip system, where the chip system includes a processor, and is configured to support the terminal to implement the foregoing session establishment method. In one possible design, the chip system also includes a memory. This memory is used to store the necessary program instructions and data for the terminal. The chip system may be composed of a chip, and may also include a chip and other discrete devices. This embodiment of the present application does not specifically limit this.
可选的,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持控制面 功能网元实现上述的会话建立方法。在一种可能的设计中,该芯片系统还包括存储器。该存储器,用于保存控制面功能网元必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件,本申请实施例对此不作具体限定。Optionally, the embodiment of the present application provides a chip system, where the chip system includes a processor, and is configured to support a control plane function network element to implement the foregoing session establishment method. In one possible design, the chip system also includes a memory. The memory is used to store program instructions and data necessary for the control plane function network element. The chip system may be composed of a chip, and may also include a chip and other discrete devices. This embodiment of the present application does not specifically limit this.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application has been described herein in connection with the various embodiments, those skilled in the art can Other variations of the disclosed embodiments are achieved. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill several of the functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that the measures are not combined to produce a good effect.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。While the present invention has been described in connection with the specific embodiments and embodiments thereof, various modifications and combinations can be made without departing from the spirit and scope of the application. Accordingly, the description and drawings are to be regarded as It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (35)

  1. 一种会话建立方法,其特征在于,所述方法包括:A session establishing method, the method comprising:
    终端发送建立分组数据单元PDU会话的第一请求消息,其中,所述第一请求消息包括数据网络名称DNN;The terminal sends a first request message for establishing a packet data unit PDU session, where the first request message includes a data network name DNN;
    所述终端接收第一响应消息,所述第一响应消息中包括所述PDU会话对应的接入点名称APN;其中,所述APN在所述终端范围内唯一;Receiving, by the terminal, a first response message, where the first response message includes an access point name APN corresponding to the PDU session, where the APN is unique within the terminal range;
    所述终端向移动管理网元发送建立分组数据网络PDN连接的第二请求消息,所述第二请求消息包括所述APN。The terminal sends a second request message for establishing a packet data network PDN connection to the mobility management network element, where the second request message includes the APN.
  2. 据权利要求1所述的方法,其特征在于,所述APN携带在协议配置项PCO中。The method of claim 1 wherein the APN is carried in a protocol configuration item PCO.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一请求消息中还包括所述PDU会话的PDU会话标识,所述第一响应消息还包括所述PDU会话标识;在所述向移动管理网元发送建立PDN连接的第二请求消息之前,所述方法还包括:The method according to claim 1 or 2, wherein the first request message further includes a PDU session identifier of the PDU session, and the first response message further includes the PDU session identifier; Before the second request message for establishing a PDN connection is sent to the mobility management network element, the method further includes:
    将所述APN保存到所述PDU会话标识指示的会话上下文中。The APN is saved in a session context indicated by the PDU session identifier.
  4. 根据权利要求1-3任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    发送指示信息,所述指示信息用于指示终端建立的所有PDU会话或者特定PDU会话后续需要切换到4G网络中。The indication information is sent to indicate that all PDU sessions established by the terminal or a specific PDU session need to be subsequently switched to the 4G network.
  5. 根据权利要求1-4任一所述的方法,其特征在于,所述第二请求消息为附着请求或者PDN连接建立请求。The method according to any one of claims 1-4, wherein the second request message is an attach request or a PDN connection setup request.
  6. 一种会话建立方法,其特征在于,所述方法包括:A session establishing method, the method comprising:
    控制面功能网元接收来自终端的用于请求建立分组数据单元PDU会话的第一请求消息;其中,所述第一请求消息包括数据网络名称DNN;The control plane function network element receives a first request message from the terminal for requesting establishment of a packet data unit PDU session; wherein the first request message includes a data network name DNN;
    获取所述PDU会话对应的接入点名称APN,其中,所述APN在所述终端范围内唯一。Obtaining an access point name APN corresponding to the PDU session, where the APN is unique within the terminal range.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:
    向所述终端发送第一响应消息,所述第一响应消息中包括所述APN。Sending a first response message to the terminal, where the first response message includes the APN.
  8. 据权利要求7所述的方法,其特征在于,所述APN携带在协议配置项PCO中。The method of claim 7 wherein said APN is carried in a protocol configuration item PCO.
  9. 根据权利要求6-8任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6-8, wherein the method further comprises:
    所述控制面功能网元向用户数据管理网元发送所述APN、所述DNN以及所述控制面功能网元的信息。The control plane function network element sends information about the APN, the DNN, and the control plane function network element to the user data management network element.
  10. 根据权利要求6-9任一所述的方法,其特征在于,所述APN由所述终端范围内数值唯一的参数修饰所述DNN确定。A method according to any one of claims 6-9, wherein said APN is modified by said DNN modified by a value unique to said terminal range.
  11. 根据权利要求6-9任一所述的方法,其特征在于,所述第一请求消息中还包括所述PDU会话的PDU会话标识和/或单网络切片选择辅助信息S-NSSAI,所述获取所述PDU会话对应的接入点名称APN,具体包括:The method according to any one of claims 6-9, wherein the first request message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, the obtaining The access point name APN corresponding to the PDU session includes:
    根据所述PDU会话标识和/或所述S-NSSAI,以及所述DNN,生成所述APN。The APN is generated according to the PDU session identifier and/or the S-NSSAI, and the DNN.
  12. 根据权利要求6-9任一所述的方法,其特征在于,所述第一请求消息中还包括所述PDU会话的PDU会话标识和/或单网络切片选择辅助信息S-NSSAI,所述获取所述PDU会话对应的接入点名称APN,具体包括:The method according to any one of claims 6-9, wherein the first request message further includes a PDU session identifier of the PDU session and/or a single network slice selection assistance information S-NSSAI, the obtaining The access point name APN corresponding to the PDU session includes:
    所述控制面功能网元将所述PDU会话标识和/或所述S-NSSAI,以及所述DNN发送给用户数据管理网元;The control plane function network element sends the PDU session identifier and/or the S-NSSAI, and the DNN to the user data management network element;
    所述控制面功能网元从所述用户数据管理网元接收所述APN。The control plane function network element receives the APN from the user data management network element.
  13. 根据权利要求7-12任一所述的方法,其特征在于,所述方法还包括接收来自移动管理网元的会话更新请求,所述会话更新请求中包括所述APN。The method of any of claims 7-12, wherein the method further comprises receiving a session update request from a mobility management network element, the session update request including the APN.
  14. 据权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:
    接收移动管理网元发送的获取所述终端会话上下文的请求;Receiving a request sent by the mobility management network element to obtain the terminal session context;
    向所述移动管理网元发送会话上下文响应,所述会话上下文响应包括所述APN。Transmitting a session context response to the mobility management network element, the session context response including the APN.
  15. 根据权利要求6-14任一所述的方法,其特征在于,所述方法还包括:The method of any of claims 6-14, wherein the method further comprises:
    获取所述APN的签约数据。Obtaining contract data of the APN.
  16. 根据权利要求15所述的方法,其特征在于,所述获取所述APN的签约数据,包括:The method according to claim 15, wherein the acquiring the subscription data of the APN comprises:
    根据所述DNN的签约数据,生成所述APN的签约数据;所述方法还包括:Generating subscription data of the APN according to the subscription data of the DNN; the method further includes:
    将所述APN的签约数据发送给用户数据管理网元。Sending the subscription data of the APN to the user data management network element.
  17. 一种终端,其特征在于,所述终端包括:发送模块和接收模块;A terminal, comprising: a sending module and a receiving module;
    所述发送模块,用于发送建立分组数据单元PDU会话的第一请求消息,其中,所述第一请求消息包括数据网络名称DNN;The sending module is configured to send a first request message for establishing a packet data unit PDU session, where the first request message includes a data network name DNN;
    所述接收模块,用于接收第一响应消息,所述第一响应消息中包括所述PDU会话对应的接入点名称APN;其中,所述APN在所述终端范围内唯一;The receiving module is configured to receive a first response message, where the first response message includes an access point name APN corresponding to the PDU session, where the APN is unique within the terminal range;
    所述发送模块,还用于向移动管理网元发送建立分组数据网络PDN连接的第二请求消息,所述第二请求消息包括所述APN。The sending module is further configured to send, to the mobility management network element, a second request message that establishes a PDN connection of the packet data network, where the second request message includes the APN.
  18. 根据权利要求17所述的终端,其特征在于,所述APN携带在协议配置项PCO中。The terminal according to claim 17, wherein the APN is carried in a protocol configuration item PCO.
  19. 根据权利要求17或18所述的终端,其特征在于,所述第一请求消息中还包括所述PDU会话的PDU会话标识,所述第一响应消息还包括所述PDU会话标识;所述终端还包括:The terminal according to claim 17 or 18, wherein the first request message further includes a PDU session identifier of the PDU session, and the first response message further includes the PDU session identifier; the terminal Also includes:
    保存模块,用于将所述APN保存到所述PDU会话标识指示的会话上下文中。And a saving module, configured to save the APN in a session context indicated by the PDU session identifier.
  20. 根据权利要求17-19任一所述的终端,其特征在于,所述发送模块,还用于发送指示信息,所述指示信息用于指示终端建立的所有PDU会话或者特定PDU会话后续需要切换到4G网络中。The terminal according to any one of claims 17 to 19, wherein the sending module is further configured to send indication information, where the indication information is used to indicate that all PDU sessions established by the terminal or a specific PDU session need to be subsequently switched to In the 4G network.
  21. 根据权利要求17-20任一所述的终端,其特征在于,所述第二请求消息为附着请求或者PDN连接建立请求。The terminal according to any one of claims 17 to 20, wherein the second request message is an attach request or a PDN connection establishment request.
  22. 一种控制面功能网元,其特征在于,包括接收模块和获取模块;A control plane function network element, comprising: a receiving module and an acquiring module;
    所述接收模块,用于接收来自终端的用于请求建立分组数据单元PDU会话的第一请求消息;其中,所述第一请求消息包括数据网络名称DNN;The receiving module is configured to receive a first request message from a terminal for requesting to establish a packet data unit PDU session, where the first request message includes a data network name DNN;
    所述获取模块,用于获取所述PDU会话对应的接入点名称APN,其中,所述APN在所述终端范围内唯一。The acquiring module is configured to acquire an access point name APN corresponding to the PDU session, where the APN is unique within the terminal range.
  23. 根据权利要求22所述的控制面功能网元,其特征在于,所述网元还包括:发送模块;The control plane function network element according to claim 22, wherein the network element further comprises: a sending module;
    所述发送模块,用于向所述终端发送第一响应消息,所述第一响应消息中包括所述APN。The sending module is configured to send a first response message to the terminal, where the first response message includes the APN.
  24. 根据权利要求23所述的控制面功能网元,其特征在于,所述APN携带在协议配置项PCO中。The control plane function network element according to claim 23, wherein the APN is carried in a protocol configuration item PCO.
  25. 根据权利要求23-24任一所述的控制面功能网元,其特征在于,所述发送模块,还用于向用户数据管理网元发送所述APN、所述DNN以及所述控制面功能网元的信息。The control plane function network element according to any one of claims 23-24, wherein the sending module is further configured to send the APN, the DNN, and the control plane function network to a user data management network element. Meta information.
  26. 根据权利要求22-25任一所述的控制面功能网元,其特征在于,所述APN由所述终端范围内数值唯一的参数修饰所述DNN确定。The control plane function network element according to any one of claims 22-25, wherein the APN is determined by modifying the DNN by a parameter having a unique value within the terminal range.
  27. 根据权利要求22-25任一所述的控制面功能网元,其特征在于,所述第一请求消息中还包括所述PDU会话的PDU会话标识和/或单网络切片选择辅助信息S-NSSAI,所述获取模块,具体用于:The control plane function network element according to any one of claims 22-25, wherein the first request message further includes a PDU session identifier of the PDU session and/or a single network slice selection auxiliary information S-NSSAI. The obtaining module is specifically configured to:
    根据所述PDU会话标识和/或所述S-NSSAI,以及所述DNN,生成所述APN。The APN is generated according to the PDU session identifier and/or the S-NSSAI, and the DNN.
  28. 根据权利要求22-25任一所述的控制面功能网元,其特征在于,所述第一请求消息中还包括所述PDU会话的PDU会话标识和/或单网络切片选择辅助信息S-NSSAI,所述获取模块,具体用于:The control plane function network element according to any one of claims 22-25, wherein the first request message further includes a PDU session identifier of the PDU session and/or a single network slice selection auxiliary information S-NSSAI. The obtaining module is specifically configured to:
    将所述PDU会话标识和/或所述S-NSSAI,以及所述DNN发送给用户数据管理网元;Transmitting the PDU session identifier and/or the S-NSSAI, and the DNN to a user data management network element;
    从所述用户数据管理网元接收所述APN。Receiving the APN from the user data management network element.
  29. 根据权利要求23-28任一所述的控制面功能网元,其特征在于,所述接收模块,还用于接收来自移动管理网元的会话更新请求,所述会话更新请求中包括所述APN。The control plane function network element according to any one of claims 23-28, wherein the receiving module is further configured to receive a session update request from a mobility management network element, where the session update request includes the APN .
  30. 据权利要求22所述的控制面功能网元,其特征在于,所述接收模块,还用于接收移动管理网元发送的获取所述终端会话上下文的请求;The control plane function network element according to claim 22, wherein the receiving module is further configured to receive a request for acquiring the terminal session context sent by the mobility management network element;
    所述发送模块,还用于向所述移动管理网元发送会话上下文响应,所述会话上下文响应包括所述控制面功能网元的信息以及所述APN。The sending module is further configured to send a session context response to the mobility management network element, where the session context response includes information about the control plane function network element and the APN.
  31. 根据权利要求22-30任一所述的控制面功能网元,其特征在于,所述获取单元,还用于获取所述APN的签约数据。The control plane function network element according to any one of claims 22-30, wherein the acquiring unit is further configured to acquire subscription data of the APN.
  32. 根据权利要求31所述的控制面功能网元,其特征在于,所述获取模块,具体用于根据所述DNN的签约数据,生成所述APN的签约数据;The control plane function network element according to claim 31, wherein the obtaining module is configured to generate subscription data of the APN according to the subscription data of the DNN;
    所述发送模块,还用于将所述APN的签约数据发送给用户数据管理网元。The sending module is further configured to send the subscription data of the APN to the user data management network element.
  33. 一种装置,其特征在于,所述装置包括处理器和存储器;An apparatus, comprising: a processor and a memory;
    所述存储器用于存储计算机执行指令,当所述装置运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述装置执行如权利要求1-5中任意一项所述的会话建立方法。The memory is operative to store computer-executed instructions that, when the device is in operation, execute the computer-executable instructions stored by the memory to cause the apparatus to perform any of claims 1-5 The session establishment method described.
  34. 根据权利要求31所述的装置,其特征在于,所述装置包括终端或所述终端内的芯片。The apparatus of claim 31 wherein said apparatus comprises a terminal or a chip within said terminal.
  35. 一种控制面功能网元,其特征在于,所述控制面功能网元包括处理器和存储器;A control plane function network element, wherein the control plane function network element comprises a processor and a memory;
    所述存储器用于存储计算机执行指令,当所述控制面功能网元运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述控制面功能网元执行如权利要求6-16中任意一项所述的会话建立的方法。The memory is configured to store a computer execution instruction, and when the control plane function network element is running, the processor executes the computer execution instruction stored in the memory, so that the control plane function network element executes as claimed The method of session establishment described in any one of 6-16.
PCT/CN2019/071707 2018-01-15 2019-01-15 Session establishment method and device WO2019137547A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810037102.9 2018-01-15
CN201810037102.9A CN110049072B (en) 2018-01-15 2018-01-15 Session establishment method and device

Publications (1)

Publication Number Publication Date
WO2019137547A1 true WO2019137547A1 (en) 2019-07-18

Family

ID=67219415

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/071707 WO2019137547A1 (en) 2018-01-15 2019-01-15 Session establishment method and device

Country Status (2)

Country Link
CN (1) CN110049072B (en)
WO (1) WO2019137547A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064784A (en) * 2019-12-12 2020-04-24 天翼物联科技有限公司 Internet of things session realization method, terminal, platform, system and storage medium
CN111884836A (en) * 2020-07-13 2020-11-03 中国联合网络通信集团有限公司 Service transmission method and device
CN112492631A (en) * 2019-09-11 2021-03-12 维沃移动通信有限公司 Switching method and device
CN112543484A (en) * 2019-09-20 2021-03-23 维沃移动通信有限公司 Method and equipment for maintaining service continuity
CN113747547A (en) * 2020-05-28 2021-12-03 维沃移动通信有限公司 Service acquisition method, device, communication equipment and readable storage medium
CN114208111A (en) * 2019-08-18 2022-03-18 华为技术有限公司 Communication method, device and system
CN114402659A (en) * 2019-12-06 2022-04-26 Oppo广东移动通信有限公司 Method for acquiring and sending MBMS information, terminal equipment and network element equipment
WO2024067424A1 (en) * 2022-09-30 2024-04-04 中国移动通信有限公司研究院 Data processing method and apparatus, communication device, and storage medium

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113453178A (en) * 2020-03-28 2021-09-28 荣耀终端有限公司 Network access method and related device
CN111511044B (en) * 2020-04-16 2023-05-05 蓓安科仪(北京)技术有限公司 Data communication method for realizing telemedicine based on 5G network
CN113596909B (en) * 2020-04-30 2023-04-04 华为技术有限公司 Communication method, device and system
CN113709904B (en) * 2020-05-22 2024-04-09 华为技术有限公司 Connection establishment method, device and system
CN113950111A (en) * 2020-07-17 2022-01-18 华为技术有限公司 Session switching method and device
CN112367713B (en) * 2020-11-05 2021-08-31 广州爱浦路网络技术有限公司 Session establishing method, session releasing method and session processing system
CN112399486B (en) * 2020-12-10 2023-07-18 中国联合网络通信集团有限公司 Maximum aggregation rate distribution method, device and system
CN112929933B (en) * 2021-02-08 2022-08-02 中国联合网络通信集团有限公司 AMF entity redirection method and system, management node and terminal
CN113115468B (en) * 2021-02-26 2023-02-03 深圳艾灵网络有限公司 Control method and device of 5G local network, server, system and storage medium
CN113543119B (en) * 2021-06-07 2023-10-24 中国联合网络通信集团有限公司 Identifier acquisition method, unified data management entity and terminal
WO2023077309A1 (en) * 2021-11-03 2023-05-11 Oppo广东移动通信有限公司 Connection establishment and data transmission methods and apparatuses, and communication device
CN114302464B (en) * 2021-12-29 2023-11-07 中国电信股份有限公司 QoS mapping method and device, storage medium and electronic equipment
WO2023179595A1 (en) * 2022-03-22 2023-09-28 维沃移动通信有限公司 Session channel establishment method and apparatus for non-3gpp device, and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017034352A1 (en) * 2015-08-25 2017-03-02 엘지전자 주식회사 Base station connecting method and user equipment performing same

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120014352A1 (en) * 2010-07-13 2012-01-19 Qualcomm Incorporated Apparatus and method for enforcement of multiple packet data network (pdn) connections to the same access point name (apn)
WO2012050841A1 (en) * 2010-09-28 2012-04-19 Research In Motion Corporation Method and apparatus for releasing connection with local gw when ue moves out of the residential/enterprise network coverage
CN102595362A (en) * 2011-01-18 2012-07-18 中兴通讯股份有限公司 Modification undertaking system and method
US10484907B2 (en) * 2016-07-05 2019-11-19 Electronics And Telecommunications Research Institute Communication method and apparatus based on quality of service (QoS) in network slice-based mobile communication network
CN107529199A (en) * 2017-10-24 2017-12-29 广东工业大学 IMS registration and speech business provide method, system, equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017034352A1 (en) * 2015-08-25 2017-03-02 엘지전자 주식회사 Base station connecting method and user equipment performing same

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CATT: "TS 23.502: Handover Procedure from 5GS to EPS for Dual Registration Mode", 3GPP SA WG2 MEETING #121 , S2-173223, 19 May 2017 (2017-05-19), XP051268683 *
HUAWEI ET AL.: "T S 23.501: Description of DNN", 3GPP SA WG2 MEETING #119 , S2-171064, 17 February 2017 (2017-02-17), XP051228325 *
HUAWEI ET AL.: "TS 23.501: Description of DNN", 3GPP SA WG2 MEETING #120 , S2-172284, 31 March 2017 (2017-03-31), XP051257836 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114208111A (en) * 2019-08-18 2022-03-18 华为技术有限公司 Communication method, device and system
CN114208111B (en) * 2019-08-18 2023-08-04 华为技术有限公司 Communication method, device and system
CN112492631A (en) * 2019-09-11 2021-03-12 维沃移动通信有限公司 Switching method and device
CN112492631B (en) * 2019-09-11 2023-10-31 维沃移动通信有限公司 Switching method and device
CN112543484A (en) * 2019-09-20 2021-03-23 维沃移动通信有限公司 Method and equipment for maintaining service continuity
CN112543484B (en) * 2019-09-20 2023-02-21 维沃移动通信有限公司 Method and equipment for maintaining service continuity
CN114402659A (en) * 2019-12-06 2022-04-26 Oppo广东移动通信有限公司 Method for acquiring and sending MBMS information, terminal equipment and network element equipment
CN111064784A (en) * 2019-12-12 2020-04-24 天翼物联科技有限公司 Internet of things session realization method, terminal, platform, system and storage medium
CN113747547A (en) * 2020-05-28 2021-12-03 维沃移动通信有限公司 Service acquisition method, device, communication equipment and readable storage medium
CN111884836A (en) * 2020-07-13 2020-11-03 中国联合网络通信集团有限公司 Service transmission method and device
CN111884836B (en) * 2020-07-13 2022-08-12 中国联合网络通信集团有限公司 Service transmission method and device
WO2024067424A1 (en) * 2022-09-30 2024-04-04 中国移动通信有限公司研究院 Data processing method and apparatus, communication device, and storage medium

Also Published As

Publication number Publication date
CN110049072B (en) 2021-09-21
CN110049072A (en) 2019-07-23

Similar Documents

Publication Publication Date Title
WO2019137547A1 (en) Session establishment method and device
US11533375B2 (en) Session establishment method and apparatus
US11589270B2 (en) Session establishment method and system, and device
US11812484B2 (en) Data transmission method, device, and data transmission system
EP3739851A1 (en) Address management method, device and system
WO2019158095A1 (en) Method and device for determining session service network element for protocol data unit
KR102455127B1 (en) Handover method and system, and device
CN113286342B (en) Switching method, device and system
WO2019120073A1 (en) Data transmission method, device and system
CN110418324B (en) Method, device and system for determining registration area
WO2019174437A1 (en) Address management method, device and system
CN109429219B (en) Switching method, device and system
WO2019137521A1 (en) Session management method and device and system
CN110856273B (en) Session management method, device and system
WO2019149078A1 (en) Session management method, apparatus and system
WO2019210779A1 (en) Switching method, device, and system
WO2019206025A1 (en) Method, device, and system for determining registration area

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

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

Country of ref document: EP

Kind code of ref document: A1