WO2016155025A1 - Proximity service communication method, related device and system - Google Patents

Proximity service communication method, related device and system Download PDF

Info

Publication number
WO2016155025A1
WO2016155025A1 PCT/CN2015/075928 CN2015075928W WO2016155025A1 WO 2016155025 A1 WO2016155025 A1 WO 2016155025A1 CN 2015075928 W CN2015075928 W CN 2015075928W WO 2016155025 A1 WO2016155025 A1 WO 2016155025A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
network element
mobility management
management network
sent
Prior art date
Application number
PCT/CN2015/075928
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 华为技术有限公司
Priority to PCT/CN2015/075928 priority Critical patent/WO2016155025A1/en
Priority to CN201580037140.9A priority patent/CN106489283B/en
Publication of WO2016155025A1 publication Critical patent/WO2016155025A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a short-range service communication method, related device and system.
  • the third-generation partner project (English name: 3rd Generation Partnership Project, abbreviation: 3GPP) provides close-range services between close-range user equipment (User Equipment, UE for short) to achieve short-range communication functions (English full name: Proximity Service, abbreviated as ProSe), which introduces a ProSe Function network element on the network side to specifically handle the related actions and processes required by ProSe, and establishes a packet data network (English name: Packet Data Network, abbreviation: PDN) is connected to transmit control signaling between the UE and the ProSe function network element.
  • PDN Packet Data Network
  • the access point name of the PDN (English name: Access Point Name, APN for short) is selected, so that the selection of the APN is performed. It is decided which PDN to use to connect to the ProSe function network element.
  • the UE needs to directly communicate with two types of ProSe functional network elements, namely: The non-roaming scenario communicates with the home ProSe function network element, and communicates with the visited ProSe function network element in the roaming scenario.
  • the 3GPP defines that in the above two scenarios, the UE can only communicate directly with the home ProSe function network element.
  • the communication between the UE and the visited ProSe function network element needs to be completed by the home ProSe function network element. .
  • the home operator pre-configures the APN on the UE side, so that the home network can be configured in advance.
  • the APN is used in a non-roaming scenario to establish a PDN connection, and the PDN connection can be routed to the home ProSe functional network element.
  • the APN configured by the home operator on the UE side is still used to establish a PDN connection, the PDN connection cannot be guaranteed to be routed to the home ProSe function network element.
  • the access to the ProSe function network element may be because The APN configured by the home operator is not supported and the PDN connection establishment request is rejected.
  • the embodiments of the present invention provide a short-distance service communication method, a related device, and a system, which are used to ensure that a UE establishes a PDN connection by using an APN having the capability of accessing a home ProSe function network element in any scenario, and implements the PDN connection through the PDN connection.
  • the communication between the UE and its home ProSe functional network element is not limited to a short-distance service communication method, a related device, and a system, which are used to ensure that a UE establishes a PDN connection by using an APN having the capability of accessing a home ProSe function network element in any scenario, and implements the PDN connection through the PDN connection.
  • a first aspect of the present invention provides a short-range service communication method, including:
  • the mobility management network element determines an access point name APN required by the user equipment UE to access the ProSe function network element of the UE's home proximity service;
  • the mobility management network element determines an access point name APN required for the user equipment UE to access the home proximity service ProSe function network element of the UE, including:
  • an APN sent by the home subscriber network server HSS Receiving, by the mobile management network element, an APN sent by the home subscriber network server HSS, and determining at least one of the APNs sent by the HSS as an APN required by the UE to access the home ProSe function network element of the UE;
  • the APN sent by the HSS has the capability of accessing the home ProSe function network element;
  • the mobility management network element determines at least one of the APNs configured in the mobility management network element as an APN required by the UE to access the home ProSe function network element of the UE, where the mobility management network element
  • the configured APN has the capability of accessing the home ProSe functional network element.
  • the mobility management network element determines that the user equipment UE accesses the UE's home short-distance service ProSe function network element
  • the required access point name APN including:
  • the mobility management network element When the UE is in a non-roaming state, if the mobility management network element receives the APN sent by the HSS, determine at least one of the APNs sent by the HSS as the home ProSe function network of the UE accessing the UE. APN required by the element; if the mobile management network element does not receive the HSS Sending the APN, determining at least one of the APNs configured in the mobility management network element as the APN required by the UE to access the home ProSe functional network element of the UE;
  • the mobility management network element When the UE is in a roaming state, if the mobility management network element does not receive the APN sent by the HSS, determine at least one of the APNs configured in the mobility management network element as the UE accessing the UE. The APN required to belong to the ProSe function network element; if the mobility management network element receives the APN sent by the HSS and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be The APN required for the UE to access the home ProSe function network element of the UE; if the mobility management network element receives the APN sent by the HSS and the APN is configured in the mobility management network element, according to the local policy or the roaming protocol Selecting at least one APN from the APN sent by the HSS as an APN required for the UE to access the home ProSe functional network element of the UE, or selecting an APN configured in the mobility management network element according to a local policy or a roaming protocol. At
  • the APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
  • a second aspect of the present invention provides a short-range service communication method, including:
  • the user equipment UE receives the access point name APN sent by the mobility management network element, where the APN is an access point required by the mobile management network element to access the ProSe function network element of the UE's home proximity service Name APN;
  • the UE establishes a packet data network PDN connection by using the APN, and the PDN connection is used to implement communication between the UE and the home ProSe functional network element.
  • the establishing, by the UE, the packet data network PDN connection by using the APN includes:
  • the UE sends a PDN connection establishment request to the mobility management network element, where the PDN connection establishment request is used to request to establish the PDN connection for the UE, where the PDN connection establishment request includes the APN;
  • the UE establishes the PDN connection according to the default bearer activation request sent by the mobility management network element.
  • the method before the user equipment UE receives the access point name APN sent by the mobility management network element, the method further includes:
  • a third aspect of the present invention provides a mobility management network element, including:
  • a determining module configured to determine an access point name APN required for the user equipment UE to access the home short-range service ProSe function network element of the UE;
  • a sending module configured to send, by the determining module, the APN to the UE, to enable the UE to establish a packet data network PDN connection by using the APN, where the PDN connection is used to implement the UE and the home ProSe Communication between functional network elements.
  • the determining module is specifically configured to receive an APN sent by the home subscriber network server HSS, and determine an APN sent by the HSS as an APN required by the UE to access a home ProSe function network element of the UE, where the HSS sends
  • the APN has the capability of accessing the home ProSe functional network element
  • the determining module is specifically configured to determine an APN configured in the mobility management network element as an APN required by the UE to access a home ProSe function network element of the UE, where the APN configured in the mobility management network element The ability to access the home ProSe functional network element.
  • the determining module is specifically configured to: when the UE is in a non-roaming state, if the APN sent by the HSS is received, determine at least one of the APNs sent by the HSS as the home ProSe function of the UE accessing the UE.
  • APN ;
  • the determining module is specifically configured to: when the UE is in a roaming state, if the APN sent by the HSS is not received, determine at least one of the APNs configured in the mobility management network element as the The UE accesses the APN required by the home ProSe function network element of the UE; if the APN sent by the HSS is received and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be The APN required for the UE to access the home ProSe function network element of the UE; if the APN sent by the HSS is received and the APN is configured in the mobility management network element, the APN sent from the HSS according to the local policy or the roaming protocol Selecting at least one APN as the APN required for the UE to access the home ProSe functional network element of the UE, or selecting at least one APN from the APN configured in the mobility management network element according to a local policy or a roaming protocol.
  • the APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
  • a fourth aspect of the present invention provides a user equipment (UE), including:
  • a receiving module configured to receive an access point name APN sent by the mobility management network element, where the APN is required by the mobility management network element to access the ProSe function network element of the UE's home proximity service Entry point name APN;
  • a establishing module configured to establish a packet data network PDN connection by using the APN, where the PDN connection is used to implement communication between the UE and the home ProSe functional network element.
  • the establishing module is specifically configured to send a PDN connection establishment request to the mobility management network element, where the PDN connection establishment request is used to request to establish the PDN connection for the UE, where the PDN connection establishment request includes the APN Receiving a default bearer activation request sent by the mobility management network element; and establishing the PDN connection according to the default bearer activation request sent by the mobility management network element.
  • the method further includes:
  • a sending module configured to send the APN configured in the UE to the mobility management network element before the receiving module receives the access point name APN sent by the mobility management network element.
  • a fifth aspect of the present invention provides a short-range service communication system, including:
  • a sixth aspect of the present invention provides a mobility management network element, including: a transceiver, a memory, and a processor. And a bus, the transceiver, the memory, and the processor being coupled to the bus, wherein:
  • the transceiver is configured to receive or transmit data
  • the memory is for storing a program
  • the processor is configured to invoke the program to perform the following operations:
  • a seventh aspect of the present invention provides a user equipment UE, where the UE is configured to perform the following steps:
  • APN an access point name APN required by the mobile management network element to access the UE's home proximity service ProSe function network element
  • a packet data network PDN connection is established by using the APN, and the PDN connection is used to implement communication between the UE and the home ProSe functional network element.
  • the mobility management network element determines an access point name APN required for the user equipment UE to access the ProSe function network element of the UE, and sends the determined APN to the UE, so that the UE uses the APN.
  • Establish a packet data network PDN connection The mobile management network element sends the determined APN to the UE, and the APN has the capability of accessing the home Prose function network element, and ensures that the UE establishes a PDN connection by using the APN having the capability of accessing the home ProSe function network element in any scenario.
  • the PDN connection implements communication between the UE and a home ProSe functional network element.
  • 1a is a system architecture diagram of a non-roaming scenario in an embodiment of the present invention
  • FIG. 1b is a system architecture diagram of a roaming scenario according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an embodiment of a short-range service communication method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of another embodiment of a short-range service communication method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another embodiment of a short-range service communication method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a short-range service communication method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a short-range service communication method according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an embodiment of a mobility management network element according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an embodiment of a user equipment according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of another embodiment of a user equipment according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a mobility management network element according to an embodiment of the present invention.
  • An embodiment of the present invention provides a short-distance service communication method, a related device, and a system, which are used to ensure that a UE establishes a PDN connection using an APN having the capability of accessing a home ProSe function network element in any scenario, and implements the PDN connection through a PDN connection. Communication between the UE and the home ProSe functional network element.
  • the mobility management network element referred to in the embodiment of the present invention refers to an entity that can implement the mobility function of the user equipment mobility management, and the mobility management network element may have different names, locations, and product forms in different networks. .
  • the mobility management network element mentioned in the embodiment of the present invention may be referred to as an E-UTRAN (Evolved UMTS Territorial Radio Access Network) connected to an UMTS (Universal Mobile Telecommunications System).
  • Mobile management entity (English name: Mobile Managenment Entity, abbreviation: MME), connected to UMTS Territorial Radio Access Network (UMRAN, GSM EDGE Radio Access Network) General Packet Radio Service Support Node (SGSN); or Access Gateway (AGW) in a non-3GPP network, wireless LAN (WLAN, Wireless Local Area Network) entity with Evolved Packet Data Gateway (EPDG) mobility management logic, access service network in Worldwide Interoperability for Microwave Access (WiMAX) network
  • a high-speed packet data access network (HRPD-AN) is connected to a gateway (ASN GW, Access Service Network Gateway) or a Wideband Code Division Multiple Access (CDMA) network.
  • the UE mentioned in the embodiment of the present invention may be a Human to Human (H2H) user equipment or may be a Machine to Machine (M2M) user equipment, or other types of UEs.
  • the M2M user equipment can be called a Machine Type Communication Device (MTC Device).
  • MTC Device Machine Type Communication Device
  • the home network and the visited network, the non-roaming state and the roaming state mentioned in the embodiments of the present invention are relative to the UE.
  • the home network of the UE is the public land mobile network (English name: Public Land Mobile Network, abbreviation: PLMN) identity contained in the International Mobile Subscriber Identity (English name: IMSI) of the UE (English full name: English full name: Identity, abbreviation: ID) identifies the network. If the UE is in its home network, the UE is in a non-roaming state. If the UE is not in its home network, the UE is in a roaming state.
  • the visited network of the UE is a network that is accessed when the UE is in a roaming state.
  • a non-roaming scenario a UE performing ProSe communication resides in the same home network, and a ProSe function network element in the home network is called a home ProSe function network element, and all UEs (for example, FIG. 1a) UE A and UE B) can directly communicate with their home ProSe functional network elements through the PC3 interface.
  • the PC3 interface is a peer interface between the UE and the home ProSe function network element, and the communication on the PC3 interface is implemented by the user plane of the Evolved Packet System (abbreviation: EPS).
  • EPS Evolved Packet System
  • the evolved Node B in the EPS (English full name: Evolved Node B, abbreviation: eNodeB), the service gateway (English full name: Serving Gateway, abbreviation: Serving GW), and the packet data network gateway (English full name: Packet Data) is omitted in Figure 1a.
  • Network Gateway abbreviation: PDN GW
  • a UE performing ProSe communication resides in a visited network of a roaming place.
  • the ProSe function network element in the visited network is called a visited ProSe function network element.
  • the home network of UE A is PLMN A
  • UE A roams into PLMN C
  • the ProSe function network element communicates to obtain the authorization for the ProSe communication, but the communication is implemented by the UE's home ProSe function network element.
  • FIG. 1b the home network of UE A is PLMN A, UE A roams into PLMN C, and UE A needs to visit with PLMN C.
  • the ProSe function network element communicates to obtain the authorization for the ProSe communication, but the communication is implemented by the UE's home ProSe function network element.
  • the UE A first and the ProSe function network element in the PLMN A (ie, UE A)
  • the locating ProSe function network element performs direct communication, and then the communication between the UE A and the ProSe functional network element in the PLMN C is implemented by the ProSe functional network element in the PLMN A.
  • the communication interface between the home ProSe function network element and the visited ProSe function network element is PC7.
  • the APN with the capability of accessing the home ProSe function network element of the UE mentioned in the embodiment of the present invention means that the mobility management network element can establish a PDN connection according to the PDN gateway that can be selected by the APN, and implement the UE and the home ProSe through the PDN connection.
  • the APN has the capability of accessing the home Prose function network element of the UE, if the APN can select a PDN gateway to establish a PDN connection to implement communication with the home Prose function network element of the UE. It can also be understood that the APN is an APN required to access the home Prose function network element of the UE.
  • the APN that accesses the home Prose function network element capability of the UE that is, the access to the UE
  • the APN required by the Prose function network element is called ProSe APN.
  • the home operator in order to establish a PDN connection by using an APN having the capability of accessing the home ProSe function network element to implement direct communication between the UE and the home ProSe function network element, the home operator pre-configures the APN on the UE side.
  • the APN establishes a PDN connection.
  • the APN can ensure that the PDN is routed to the home ProSe function network element.
  • the roaming scenario if the home carrier is still configured on the UE side. If the APN is used to establish a PDN connection, the PDN connection cannot be guaranteed to be routed to the home ProSe function network element.
  • the home operator may restrict the PDN connection route to the home ProSe function network element according to the local policy or the roaming agreement.
  • the visit to the ProSe function network element may refuse the PDN connection establishment request because the APN configured by the home carrier is not supported. Therefore, the following discussion is initiated:
  • the present invention will be described below from the perspective of a mobile management network element.
  • An embodiment of the short-range service communication method of the present invention may include: the mobility management network element determines an access point name APN required for the user equipment UE to access the ProSe function network element of the UE's home proximity service; the mobility management network element shall determine The APN is sent to the UE to enable the UE to establish a packet data network PDN connection using the APN.
  • FIG. 2 may specifically include:
  • the mobility management network element determines an access point name APN required by the user equipment UE to access the ProSe function network element of the UE's home proximity service;
  • the operator negotiates the APN required to access the home Prose function network element of the UE, and configures the determined APN on the network side, for example, , configured in the subscription user server (English full name: Home Subscriber Server, abbreviation: HSS) or mobile management network element.
  • the mobility management network element can directly determine the APN configured on the network side as the APN required to access the home Prose function network element of the UE, and the APN has the capability of accessing the home Prose function network element of the UE, that is, the ProSe APN.
  • the mobility management network element may determine a ProSe APN for the UE, and may also determine at least two ProSe APNs. Or the mobile management network element receives the APN configured in the UE that is sent by the UE, and determines that the APN configured in the UE has the capability to access the home Prose function network element, and further determines the APN configured in the UE as the home Prose function network element that accesses the UE.
  • the required APN that is, the ProSe APN, ensures that in any scenario, the UE establishes a PDN connection using the APN having access to the home Prose function network element, and the communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
  • the home carrier can be on the HSS or the mobility management network element according to the locally configured operator's policies.
  • the ProSe APN is configured, for example, the default APN is configured as a ProSe APN.
  • the home operator can configure the ProSe APN used by the home UE in each roaming scenario according to the local policy or the roaming protocol, and visit the operation.
  • the Provider can configure the ProSe APN used by the roaming UE on the mobility management network element according to a local policy or a roaming agreement, such as configuring a dedicated ProSe APN.
  • the UE when the UE is located in its home network, the UE can be considered to be in a non-roaming state, and when the UE is not in its home network, the UE can be considered to be in a roaming state.
  • the mobility management network element sends the determined APN to the UE, so that the UE establishes a packet data network PDN connection by using the APN.
  • the mobility management network element Since in step 201, the mobility management network element predetermines the ProSe APN, it will determine that the ProSe APN is sent to the UE, and the subsequent UE initiates the PDN connection establishment request using the determined ProSe APN, ie The PDN connection establishment request carries the determined ProSe APN.
  • the mobility management network element can select a PDN gateway through the ProSe APN, and send a default (default) to the UE.
  • the UE Carrying the activation request, the UE accepts the default bearer activation request and sends a default bearer activation accept message to the mobility management network element, so as to successfully establish a PDN connection, and implement communication between the UE and the home ProSe functional network element through the PDN connection. .
  • the ProSe APN sent by the mobility management network element to the UE may be one, or at least two.
  • the mobility management network element may be sent to the UE in the form of a list, such as a ProSe APN list. (ProSe APN list), which is not specifically limited herein. It can be understood that the network side can deliver the determined APN through a new cell, such as the cell “ProSe APN” or “ProSe capable APN” or “ProSe APN list”.
  • the ProSe APN is determined by the operator in advance, and the determined ProSe APN is configured on the network side, for example, in the HSS or the mobility management network element, and the subsequent mobility management network element can be directly from the network side.
  • the mobile management network element receives the APN configured in the UE that is sent by the UE, and determines that the APN configured in the UE has the capability of accessing the Prorose function network element, and further determines that the APN configured in the UE is determined to be the Prose function network element for accessing the UE.
  • the APN is used to ensure that the UE establishes a PDN connection using the APN having the home Prose function network element that accesses the UE in any scenario, and the communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
  • another embodiment of the short-range service communication method of the present invention may include: the mobility management network element determines an access point name APN required for the user equipment UE to access the ProSe function network element of the UE.
  • the mobile management network element receives the APN sent by the home subscriber network server HSS, and determines at least one of the APNs sent by the HSS as an APN required for the UE to access the home ProSe function network element of the UE, where the HSS sends
  • the APN has the capability of accessing the home ProSe function network element; or the mobility management network element determines at least one of the APNs configured in the mobility management network element as the home ProSe function of the UE accessing the UE The APN required by the network element; wherein the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element; the mobility management network element sends the determined APN to the UE, so that the UE establishes using the APN. Packet data network PDN connection.
  • the operator configures, on the network side, an APN required for accessing the home ProSe functional network element of the UE.
  • the operator pre-configures the ProSe APN on the network side, for example, in the HSS or the mobility management network element, and the ProSe APN is used by the UE in different scenarios to access the home ProSe function network element.
  • the UE initiates an attach request to the mobility management network element.
  • the UE initiates an attach procedure to the network to register, and the UE initiates an attach request to piggyback the PDN connection request message, and carries the indication information of the UE supporting the ProSe capability, so as to inform the network UE to support the ProSe. .
  • the mobility management network element initiates an update location request to the HSS.
  • the mobility management network element initiates an update location request in the attach procedure to implement registration to the HSS, and requests subscription data of the UE. If the UE indicates that ProSe is supported in step 302, and the mobility management network element also supports ProSe, the update location request is performed. The ProSe support information is carried to the HSS. If the UE supports the ProSe, the operator configures the ProSe-related subscription data in the HSS, including the ProSe permission parameters, and is not specifically limited herein.
  • the HSS sends an update location response message to the mobility management network element.
  • the HSS sends the ProSe APN information configured in step 301 to the mobility management network element.
  • the ProSe APN configured by the operator in the HSS is optional. Therefore, if the ProSe APN is not configured in the HSS, it will not be sent to the mobility management NE in this step.
  • the mobility management network element determines an APN required for the UE to access the home ProSe function network element of the UE.
  • the mobility management network element determines the APN required for the UE to access the home ProSe function network element of the UE, that is, the ProSe APN of the UE, specifically: the mobility management network element receives the APN sent by the HSS, and sends the APN sent by the HSS. At least one of the APNs required for the UE to access the home ProSe function network element of the UE; wherein the APN sent by the HSS has the capability of accessing the home ProSe function network element;
  • the mobility management network element determines at least one of the APNs configured in the mobility management network element as an APN required by the UE to access the home ProSe function network element of the UE; wherein the mobile The APN configured in the management network element has the capability of accessing the home ProSe function network element.
  • the mobility management network element may also obtain the APN from other entities on the network side, and determine the acquired APN as the APN required by the UE to access the home ProSe function network element of the UE, and do not do this. Specifically limited.
  • the mobility management network element receives the APN sent by the HSS, determine at least one of the APNs sent by the HSS as the home ProSe of the UE accessing the UE.
  • the APN required by the function network element if the mobility management network element does not receive the APN sent by the HSS, determining at least one of the APNs configured in the mobility management network element as the UE accessing the UE APN required by the ProSe function network element;
  • the mobility management network element When the UE is in a roaming state, if the mobility management network element does not receive the APN sent by the HSS, determine at least one of the APNs configured in the mobility management network element as the UE accessing the UE. The APN required to belong to the ProSe function network element; if the mobility management network element receives the APN sent by the HSS and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be The APN required for the UE to access the home ProSe function network element of the UE; if the mobility management network element receives the APN sent by the HSS and the APN is configured in the mobility management network element, according to the local policy or the roaming protocol Selecting at least one APN from the APN sent by the HSS as an APN required for the UE to access the home ProSe functional network element of the UE, or selecting an APN configured in the mobility management network element according to a local policy or a roaming protocol. At
  • the APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
  • the mobility management network element can directly determine the required APN by using the APN sent by the HSS. If the HSS does not send the APN to the mobility management network element, the mobility management network element can use the mobility management network element. The configured APN is determined to be the required APN. When the UE is in the roaming state, if the HSS does not send the APN to the mobility management network element, the mobility management network element may determine the required APN using the APN configured in the mobility management network element; or if the HSS sends the APN to the mobility management network element.
  • the mobility management network element may use the APN sent by the HSS to determine the required APN; or if the HSS sends the APN to the mobility management network element, and the mobile management network element also If the APN is set, the mobility management network element needs to determine which APN to use as the required APN according to the local policy and the roaming protocol, and preferentially use the APN sent by the HSS, or preferentially use the APN sent by the mobility management network element, which is not specifically limited herein. .
  • the HSS is more easily updated with the mobile management network element, and the related subscription data determined by the operator negotiation is saved, the APN sent in the HSS can be preferentially used.
  • the mobility management network element sends an attach accept message to the UE.
  • the mobility management network element sends an attach accept message to the UE.
  • a default bearer activation request message is included, and the default bearer activation request message includes the ProSe APN determined by the mobility management network element in step 305. If the mobile management network element determines to use the multiple ProSe APNs in step 305, the multiple ProSe APNs are sent to the UE in the form of a list, which is not specifically limited herein.
  • the UE sends an attach confirmation message to the mobility management network element.
  • the UE sends an attach confirmation message to the mobility management network element, and the default bearer activation accept message is piggybacked in the attach confirmation message. This step is to complete the current attach procedure and establish a default PDN connection request to enable the UE to register on the network.
  • the default PDN connection request is a default APN, and the default APN may be a ProSe APN determined by the mobility management network element, or may not be a ProSe APN determined by the mobility management network element.
  • the UE is registered on the network, and is intended to inform the mobile management network element UE to support ProSe.
  • the UE may initiate any process to implement registration on the network: an attach procedure (such as steps 302-307 above), or The location update process (steps 308-312 below), but at the same time, the UE can only initiate a process to implement network registration, so steps 302-307 and steps 308-312 cannot occur simultaneously.
  • the UE sends a location update request to the mobility management network element.
  • the UE initiates a location update procedure on the hosted network to implement registration to the network.
  • the location update request initiated by the UE carries the indication information of the UE supporting the ProSe capability, and is intended to inform the network that the UE supports the ProSe.
  • the location update process may be a Tracking Area Updating (TAU) process.
  • the mobility management network element sends an update location request to the HSS.
  • the mobility management network element initiates an update location request in the location update process to implement registration to the HSS. And request the UE's subscription data. If the UE indicates that ProSe is supported in step 308, and the mobility management network element also supports ProSe, the ProSe support information is carried in the update location request to the HSS. If the UE supports the ProSe, the operator configures the ProSe-related subscription data in the HSS, including the ProSe permission parameters, and is not specifically limited herein.
  • the HSS sends an update location response message to the mobility management network element.
  • the mobility management network element determines an APN required for the UE to access the home ProSe function network element of the UE.
  • the steps 310 to 311 are similar to the steps 304 to 305. For details, refer to steps 304 to 305, and details are not described herein.
  • the mobility management network element sends a location update accept message to the UE.
  • the mobility management network element sends a location update accept message to the UE, which implements registration of the UE on the network.
  • the mobility management network element sends the determined APN to the UE.
  • the mobility management network element keeps the underlying signaling connection from being released, and initiates a separate session management process to deliver the determined ProSe APN to the UE. If it is determined that multiple ProSe APNs are used, multiple ProSe APNs are sent to the UE in a list form. It should be noted that the session management process initiated by the mobility management network element can reuse the existing session management process, such as an EPS session information request (ESM information request) process, or a newly defined session management process. No specific restrictions.
  • ESM information request EPS session information request
  • the UE initiates a PDN connection establishment request.
  • the UE initiates a PDN connection establishment request using the ProSe APN sent by the mobility management network element. If the mobility management network element sends multiple ProSe APNs, for example, to the UE in the form of a list, the UE selects one of the ProSeAPNs to initiate a PDN connection establishment request. It should be noted that, in the attaching process, if the mobile management network element only delivers the default APN as the ProSe APN in step 306, the step may be omitted because the default PDN connection established in the attach process is required. PDN connection.
  • the UE implements communication between the UE and the home ProSe function network element by using a PDN connection.
  • the UE establishes a PDN connection by using the ProSe APN sent by the mobility management network element, and the direct communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
  • another embodiment of the short-range service communication method in the embodiment of the present invention includes: the mobility management network element determines that the user equipment UE accesses the UE The access point name APN required to belong to the ProSe function network element; the method includes: the mobility management network element receives the APN configured in the UE sent by the UE; and the mobility management network element determines that the APN configured in the UE has the function of accessing the home ProSe The capability of the network element; the mobility management network element determines the APN configured in the UE as the APN required for the UE to access the home ProSe functional network element of the UE; the mobility management network element sends the determined APN to the UE, so that the UE uses the The APN establishes a packet data network PDN connection.
  • the operator configures an APN that accesses the home ProSe function network element on the network side.
  • the operator pre-configures the ProSe APN on the network side, for example, in the HSS or the mobility management network element, and the ProSe APN is used by the UE in different scenarios to access the home ProSe function network element.
  • the UE initiates an attach request to the mobility management network element.
  • the UE initiates an attach procedure to the network to register, and the UE initiates an attach request with a PDN connection request message, and carries the indication information of the UE supporting the ProSe capability, so as to inform the network UE to support ProSe, if the UE
  • the ProSe APN is configured on the side, and the APN request indication is also carried in the attach request message, which is used to trigger the network to request the UE to report the ProSe APN configured on the UE side.
  • the mobility management network element initiates an update location request to the HSS.
  • the HSS sends an update location response message to the mobility management network element.
  • Steps 401 to 404 are similar to steps 301 to 304 in the embodiment shown in FIG. 3, and refer to steps 301-304, and details are not described herein again.
  • the mobility management network element initiates a session management process.
  • the APN request indication information is used to request the mobility management network element to request the ProSe APN configured in the UE from the UE.
  • the mobile management network element initiates a separate session management process to request the UE to send the APN configured on the UE side to the mobility management network element according to the APN request indication in step 402. After receiving the request, the UE reports the configured APN to the mobility management. Network element.
  • the session management process initiated by the mobility management network element can reuse the existing session management process, such as the EPS session management information request process, or the newly defined session management process, which is not specifically limited herein.
  • the mobility management network element detects whether the APN configured in the UE sent by the UE has the capability of accessing the home ProSe function network element.
  • the mobility management network element detects whether the APN sent by the UE can access the home ProSe function network element. Specifically, if the HSS sends the ProSe APN to the mobility management network element, the mobility management network element can further determine the ProSe APN or the mobility management network sent by the HSS. Whether the ProSe APN configured in the element includes the APN sent by the UE, and if yes, it is determined that the APN sent by the UE can access the home ProSe function network element. If the APN sent by the HSS and the APN configured by the mobility management network element do not include the APN sent by the UE, the APN that the UE sends cannot be accessed by the UE. The mobility management NE determines the ProSe APN configured on the network side as the UE. For the specific ProSe APN, refer to step 305 in the embodiment shown in FIG. 3, and details are not described herein again.
  • the mobility management network element determines an APN required for the UE to access the home ProSe functional network element of the UE.
  • the mobility management network element receives an APN configured in the UE that is sent by the UE;
  • the mobility management network element receives an APN configured in the UE that is sent by the UE or receives a location that is sent by the UE in a PDN connection establishment procedure initiated by the UE.
  • the APN configured in the UE is not limited to the Home Location Network (GPRS)
  • the mobility management network element determines that the APN configured in the UE has the capability of accessing the home ProSe function network element; the mobility management network element determines the APN configured in the UE as the UE accessing the UE The APN required to belong to the ProSe function network element.
  • the mobility management network element determines that the APN configured in the UE has access to the home ProSe The capability of the function network element, wherein the APN sent by the HSS or the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element.
  • the mobility management network element sends an attach accept message to the UE.
  • the mobility management network element sends an attach accept message to the UE.
  • a default bearer activation request message is included, and the default bearer activation request message includes the ProSe APN determined by the mobility management network element.
  • the mobility management network element determines to use multiple ProSe APNs, multiple ProSe APNs are sent to the UE together, for example, sent to the UE in the form of a list. It should be noted that, if it is determined in step 407 that the APN sent by the UE is used, the ProSe APN may not be carried to the UE in this step, and the subsequent UE uses the ProSe APN configured in the UE to establish a PDN connection.
  • the UE sends an attach confirmation message to the mobility management network element.
  • the UE registers on the network, and is intended to inform the mobile management network element UE to support.
  • ProSe wherein the UE may initiate any one of the processes to implement registration on the network: an attach procedure (such as steps 402-409 above), or a location update procedure (such as steps 410-416 below), but at the same time, the UE can only initiate One process implements network registration, so steps 402-409 and steps 410-416 cannot occur simultaneously.
  • the UE sends a location update request to the mobility management network element.
  • the UE initiates a location update procedure on the hosted network to implement registration to the network.
  • the location update request initiated by the UE carries the indication information of the UE supporting the ProSe capability, and is intended to inform the network that the UE supports the ProSe.
  • the location update request message further carries an APN request indication, which is used to trigger the network to request the UE to report the ProSe APN configured on the UE side.
  • the location update process may be a tracking domain update (English name: Tracking Area Updating, abbreviation: TAU) process.
  • the mobility management network element sends an update location request to the HSS.
  • the HSS sends a location update response message to the mobility management network element.
  • the steps 411-412 are similar to the steps 309-310 in the embodiment shown in FIG. 3. For details, refer to steps 309-310, and details are not described herein again.
  • the mobility management network element sends a location update accept message to the UE.
  • the mobility management network element sends a location update accept message to the UE, which implements registration of the UE on the network.
  • the mobility management network element initiates a session management process.
  • the mobile management network element receives the APN request indication sent by the UE in the location update process in step 410, and the mobility management network element keeps the underlying information after the location update process is completed according to the APN request indication information.
  • the connection is not released, and the session management process is initiated, where the APN request indication information is used to request the mobility management network element to request the APN configured in the UE from the UE.
  • the UE reports the configured APN to the mobility management network element.
  • the session management process initiated by the mobility management network element can reuse the existing session management process, such as the EPS session management information request process, or the newly defined session management process, which is not specifically limited herein.
  • the mobility management network element detects whether the APN configured in the UE sent by the UE has the capability of accessing the home ProSe function network element.
  • the mobility management network element detects whether the APN sent by the UE can access the home ProSe function network element. Specifically, if the HSS sends the ProSe APN to the mobility management network element, the mobility management network element can further determine the ProSe APN or the mobility management network sent by the HSS. Whether the ProSe APN configured in the element includes the APN sent by the UE, and if yes, it is determined that the APN sent by the UE can access the home ProSe function network element. If the APN sent by the HSS and the APN configured by the mobility management network element do not include the APN sent by the UE, the APN that the UE sends cannot be accessed by the UE. The mobility management NE determines the ProSe APN configured on the network side as the UE. For the specific ProSe APN, refer to step 305 in the embodiment shown in FIG. 3, and details are not described herein again.
  • the mobility management network element determines an APN required for the UE to access the home ProSe function network element of the UE.
  • the mobility management network element sends the determined APN to the UE.
  • the mobility management network element sends the determined APN to the UE in an attach procedure initiated by the UE; or the mobility management network element after the location update process initiated by the UE is completed And sending, by the initiated session management process, the determined APN to the UE; or, the mobility management network element sends the determined APN to the UE in a PDN connection establishment procedure initiated by the UE.
  • the method further includes:
  • the mobility management network element sends a cause value to the UE, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element to implement the UE and the attribution Communication between ProSe function network elements.
  • the mobile management network element sends a cause value to the UE, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element to implement the UE and the home ProSe function network element. If the UE does not carry the cause value, the UE may reject the default bearer activation request sent by the mobility management network element, causing the PDN connection establishment to fail.
  • the UE initiates a PDN connection establishment request.
  • the UE After receiving the ProSe APN sent by the mobility management network element, the UE initiates a PDN connection establishment request by using the ProSe APN sent by the mobility management network element. If the mobility management network element sends multiple ProSe APNs, for example in the form of a list, the UE selects one of the ProSe APNs to initiate a PDN connection establishment request. If the UE does not receive the ProSe APN sent by the mobility management network element, the UE uses the ProSe configured by the UE. The APN initiates a PDN connection setup request. It should be noted that, in the attaching process, if the mobile management network element only delivers the default APN as the required APN in step 408, the step may be omitted because the default PDN connection established in the attach process is The required PDN connection.
  • the UE implements communication between the UE and the home ProSe functional network element by using a PDN connection established by the ProSe APN.
  • the mobility management network element receives the APN configured in the UE, and checks whether the APN configured in the UE has the capability of accessing the home Prorose function network element, if the mobility management network element If the APN configured in the UE has the capability of accessing the home Prose function network element, the APN configured in the UE is determined as the APN required to access the Prose function network element of the UE, and if the mobility management network element determines that the APN sent by the UE is not
  • the APN configured on the network side is determined to be the required APN, and the APN configured on the network side has the capability of accessing the home Prorose function network element, thereby ensuring that the UE is used in any scenario. Accessing the APN of the home Prose function network element of the UE establishes a PDN connection, and the communication between the UE and the home ProSe function network element is implemented through the PDN connection.
  • Another embodiment of the short-range communication method in the embodiment of the present invention includes: the user equipment UE receives an access point name APN sent by the mobility management network element, where the APN is the UE accessing the mobile control network element The access point name APN required by the UE to belong to the ProSe function network element; the UE establishes a packet data network PDN connection using the APN.
  • FIG. 5, may specifically include:
  • the user equipment UE receives an access point name APN sent by the mobility management network element.
  • the UE receives the APN sent by the mobility management network element, and the APN has the capability of accessing the home Prose function network element of the UE, that is, the ProSe APN, and uses the ProSe APN to establish a packet data network PDN connection, because
  • the operator determines the ProSe APN in advance
  • the determined ProSe APN is configured on the network side, for example, in the HSS or the mobility management network element, and the subsequent mobility management network element can directly obtain the ProSe APN from the network side, or receive the UE.
  • the APN configured in the UE determines that the APN configured in the UE has the capability to access the home Prorose function network element, it is further determined that the APN configured in the UE is determined to be a ProSe APN, and the mobility management network element can select a corresponding one through the ProSe APN.
  • the PDN gateway establishes a PDN connection through the PDN connection.
  • the communication between the UE and the home ProSe functional network element is implemented by using the ProSe APN to establish a PDN connection in the UE.
  • the UE establishes a packet data network PDN connection by using the APN.
  • the UE uses the ProSe APN to send a PDN connection establishment request to the mobility management network element, that is, the ProSe APN is carried in the PDN connection establishment request, and the mobility management network element selects a corresponding PDN gateway according to the ProSe APN, and the The UE sends a default bearer activation request; the UE accepts the default bearer activation request sent by the mobility management network element, and sends a default bearer activation accept message to the mobility management network element, thereby establishing a PDN connection, and connecting through the PDN
  • the communication between the UE and the home ProSe functional network element is implemented.
  • the UE receives the APN sent by the mobility management network element, and uses the APN to establish a packet data network PDN connection, and the APN sent by the mobility management network element has the capability of accessing the home Prose function network element to ensure that the UE is in any scenario.
  • the PDN connection is established by using the ProSe APN, and the communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
  • another embodiment of the short-range service communication method in the embodiment of the present invention includes: the UE sends an APN configured in the UE to the mobility management network element; the UE receives the APN sent by the mobility management network element, where the APN is Determining, by the mobility management network element, an access point name APN required by the UE to access a ProSe function network element of the UE, and using the APN to establish a packet data network PDN connection.
  • the operator configures an APN that accesses the home ProSe function network element on the network side.
  • the operator pre-configures the ProSe APN on the network side, for example, in the HSS or the mobility management network element, and the ProSe APN is used by the UE in different scenarios to access the home ProSe function network element.
  • the UE sends a PDN connection establishment request to the mobility management network element.
  • the PDN connection establishment request includes the ProSe APN, and the PDN connection establishment request is used to request the mobility management network element to select a corresponding PDN gateway according to the ProSe APN.
  • the mobility management network element detects whether the APN configured in the UE sent by the UE has the capability of accessing the home ProSe function network element.
  • the UE sends the APN configured in the UE to the mobility management network element.
  • the UE may send the APN configured in the UE to the mobility management network element, specifically: Sending, by the UE, an APN request indication to the mobility management network element, where the APN request indication is used to request the mobility management network element to request an APN configured in the UE from the UE.
  • the UE Transmitting, by the UE, the APN configured in the UE to the mobility management network element in the session management process initiated by the mobility management network element according to the APN request indication; or the location initiated by the UE in the UE Sending, in the update process, an APN request indication to the mobility management network element, where the APN request indication is used to request the mobility management network element to request an APN configured in the UE from the UE, where the UE is in the mobility management Transmitting, by the network element, the APN configured in the UE to the mobility management network element according to the APN request indication, or the UE is in the PDN connection establishment process initiated by the UE The mobility management network element sends the APN configured in the UE.
  • the mobility management network element initiates the session management process in the attach process, or the mobility management network element initiates the session management process after the location update process is completed.
  • the method further includes:
  • the mobility management network element detects whether the APN sent by the UE can access the home ProSe function network element. Specifically, if the HSS sends the ProSe APN to the mobility management network element, the mobility management network element can further determine whether the APN sent by the UE is included in the In the ProSe APN sent by the HSS or the ProSe APN configured in the mobility management network element, if yes, it is determined that the APN sent by the UE can access the home ProSe functional network element.
  • the APN sent by the UE is not in the ProSe APN sent by the HSS and the ProSe APN configured by the mobility management network element, the APN sent by the UE cannot be accessed by the mobile device, and the mobility management network element determines the ProSe APN configured on the network side. For the required ProSe APN.
  • the mobility management network element sends a default bearer activation request to the UE.
  • the mobile management network element can select a PDN gateway through the ProSe APN, and send a default bearer activation request to the UE, where the default bearer activation request carries the ProSe APN, and if the ProSe APN determined by the mobility management network element and the APN sent by the UE Different, the mobility management network element is included in the default bearer activation request. Contains a new cause value to indicate that the UE needs to establish a PDN connection using the new ProSe APN. It should be noted that, in the prior art, the APN sent by the mobility management network element to the UE in the default bearer activation request is the APN carried by the UE in the PDN connection request. If the new cause value is not carried, the UE may refuse. The default bearer activation request sent by the mobility management NE causes the PDN connection establishment failure.
  • the UE accepts a default bearer request sent by the mobility management network element.
  • the UE accepts the default bearer activation request sent by the mobility management network element and sends a default bearer activation accept message to the mobility management network element, thereby establishing a PDN connection.
  • the UE establishes a PDN connection by using the APN to implement communication between the UE and the home ProSe function network element.
  • the UE sends the APN configured in the UE to the mobility management network element, so that the mobility management network element determines that the APN configured in the UE has the capability of accessing the home ProSe function network element, and the UE is used.
  • the APN configured in the UE is determined to be an APN required for the UE to access the home ProSe functional network element of the UE; the UE receives the ProSe APN sent by the mobility management network element; and the UE establishes a packet data network PDN connection by using the ProSe APN.
  • the communication between the UE and the home ProSe function network element is implemented.
  • the mobile management network element receives the APN configured in the UE, and determines that the APN configured in the UE has the capability of accessing the home Prorose function network element, further It is determined that the APN configured in the UE is determined to be the APN required to access the Prose functional network element of the UE, thereby ensuring that the UE establishes a PDN connection using the ProSe APN in any scenario.
  • an embodiment of the mobility management network element 700 in the embodiment of the present invention includes: a determining module 701 and a sending module 702.
  • the determining module 701 is configured to determine an access point name APN required for the user equipment UE to access the home short-range service ProSe function network element of the UE;
  • the sending module 702 is configured to send the APN determined by the determining module 701 to the UE, so that the UE establishes a packet data network PDN connection by using the APN, where the PDN connection is used to implement the UE and the Communication between the ProSe functional network elements.
  • the determining module determines an access point name APN required for the user equipment UE to access the ProSe function network element of the UE, and the sending module determines the location determined by the module.
  • the APN is sent to the UE, so that the UE establishes a packet data network PDN connection by using the APN to implement communication between the UE and the home ProSe functional network element, and the APN determined by the determining module has access attribution.
  • the capability of the Prose function network element ensures that the UE establishes a PDN connection using the APN having the capability of accessing the home Prose function network element in any scenario, and the communication between the UE and the home ProSe function network element is implemented through the PDN connection.
  • An embodiment of the present invention is further illustrated on the basis of the embodiment shown in FIG. 7, comprising: a determining module and a transmitting module.
  • the determining module is specifically configured to receive an APN sent by the home subscriber network server HSS, and determine at least one of the APNs sent by the HSS as an APN required by the UE to access the home ProSe function network element of the UE, where The APN sent by the HSS has the capability of accessing the home ProSe function network element;
  • the determining module is specifically configured to determine at least one of the APNs configured in the mobility management network element as an APN required by the UE to access a home ProSe function network element of the UE, where the mobility management network element
  • the APN configured in the medium has the capability of accessing the home ProSe function network element
  • the determining module is specifically configured to: when the UE is in a non-roaming state, if the APN sent by the HSS is received, determine at least one of the APNs sent by the HSS as the UE accessing the UE.
  • Required APN is specifically configured to: when the UE is in a non-roaming state, if the APN sent by the HSS is received, determine at least one of the APNs sent by the HSS as the UE accessing the UE.
  • the APN required by the ProSe function network element if the APN sent by the HSS is not received, at least one of the APNs configured in the mobility management network element is determined to be the home ProSe function network element of the UE accessing the UE
  • the determining module is specifically configured to: when the UE is in a roaming state, if the APN sent by the HSS is not received, determine at least one of the APNs configured in the mobility management network element to be that the UE accesses the UE The APN required to belong to the ProSe function network element; if the APN sent by the HSS is received and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be the UE accessing the The APN required by the UE to the ProSe function network element; if the APN sent by the HSS is received and the APN is configured in the mobility management network element, at least one APN is selected from the APNs sent by the HSS according to the local policy or the roaming protocol.
  • the APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
  • the sending module is specifically configured to send the determined APN to the UE in an attach procedure initiated by the UE;
  • the sending module is specifically configured to send the determined APN to the UE in the session management process initiated after the location update process initiated by the UE is completed.
  • FIG. 7 Based on the embodiment shown in FIG. 7, another embodiment of the present invention is further illustrated, including: a determining module and a transmitting module.
  • the determining module is specifically configured to receive an APN configured in the UE that is sent by the UE, and determine that the APN configured in the UE has the capability of accessing the home ProSe function network element, and configure the APN in the UE. Determining an APN required for the UE to access the home ProSe functional network element of the UE.
  • the determining module is specifically configured to: when the APN sent by the HSS or the APN configured in the mobility management network element includes the APN configured in the UE, determine that the APN configured in the UE has the function of accessing the home ProSe The ability of the network element;
  • the APN sent by the HSS or the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element.
  • the determining module is specifically configured to receive an APN request indication sent by the UE in an attach procedure initiated by the UE, where the APN request indication information is used to request the mobility management network element to request the The APN configured in the UE, according to the APN request, indicating the initiated session management process, and receiving, in the session management process, the APN configured in the UE sent by the UE;
  • the determining module is configured to receive an APN request indication sent by the UE in a location update procedure initiated by the UE, where the APN request indication is used to request the mobility management network element to request the UE from the UE.
  • the configured APN indicating the initiated session management process according to the APN request; Receiving, in the session management process, an APN configured in the UE that is sent by the UE;
  • the determining module is specifically configured to receive, in the PDN connection establishment procedure initiated by the UE, an APN configured in the UE that is sent by the UE.
  • the sending module is specifically configured to send the determined APN to the UE in an attach procedure initiated by the UE;
  • the sending module is specifically configured to send the determined APN to the UE in the session management process initiated after the location update process initiated by the UE is completed;
  • the sending module is specifically configured to send the determined APN to the UE in a PDN connection establishment procedure initiated by the UE.
  • the sending module sends the determined APN to the UE in the PDN connection establishment process initiated by the UE, the method further includes:
  • the sending module is further configured to send a cause value to the UE, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element.
  • the determining module determines that the APN configured in the UE has the capability of accessing the home ProSe function network element
  • the determining module determines the APN configured in the UE as the APN required for the UE to access the home ProSe function network element of the UE;
  • the sending module sends the determined APN to the UE, so that the UE establishes a packet data network PDN connection by using the APN to implement communication between the UE and the home ProSe functional network element, and the APN determined by the determining module has access to the home Prose function network.
  • the ability of the UE to ensure that the UE establishes a PDN connection using the APN having the capability of accessing the home function of the Pros.
  • the communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
  • an embodiment of the user equipment UE800 in the embodiment of the present invention includes: a receiving module 801 and an establishing module 802;
  • the receiving module 801 is configured to receive an access point name APN sent by the mobility management network element, where the APN is determined by the mobility management network element, and the UE accesses the UE's home proximity service ProSe function network element.
  • the establishing module 802 is configured to establish a packet data network PDN connection by using the APN to implement communication between the UE and the home ProSe functional network element.
  • the receiving module receives the access point name APN sent by the mobility management network element, and the establishing module uses the APN to establish a packet data network PDN connection to implement the relationship between the UE and the home ProSe functional network element. Communication. Ensure that the UE establishes a PDN connection in a specific manner using an APN having the capability of accessing the home Prose function network element to implement communication between the UE and the home ProSe function network element.
  • Figure 9 further illustrating an embodiment of the present invention, comprising: a transmitting module 901, a receiving module 902 and an establishing module 903;
  • the sending module 901 is configured to: before the receiving module 902 receives the access point name APN sent by the mobility management network element, send the APN configured in the UE to the mobility management network element;
  • the establishing module 903 is specifically configured to send a PDN connection establishment request to the mobility management network element, where the PDN connection establishment request is used to request to establish the PDN connection for the UE, where the PDN connection establishment request includes Receiving an APN; receiving a default bearer activation request sent by the mobility management network element; and establishing the PDN connection according to the default bearer activation request sent by the mobility management network element.
  • the sending module 901 is specifically configured to send an APN request indication to the mobility management network element in an attach procedure initiated by the UE, where the APN request indication is used to request the mobility management network element to request the UE.
  • the sending module 901 is specifically configured to send, in the location update process initiated by the UE, an APN request indication to the mobility management network element, where the APN request indication is used to request the mobility management network element to request the UE
  • the APN configured in the UE sends the APN configured in the UE to the mobility management network element in the session management process initiated by the mobility management network element according to the APN request indication;
  • the sending module 901 is specifically configured to: in the PDN connection establishment process initiated by the UE
  • the mobility management network element sends the APN configured in the UE.
  • the receiving module 902 is specifically configured to receive the APN sent by the mobility management network element in an attach procedure initiated by the UE;
  • the receiving module 902 is specifically configured to receive the APN sent by the mobility management network element in a session management process initiated after the location update process initiated by the UE is completed;
  • the receiving module 902 is specifically configured to receive the APN sent by the mobility management network element in a PDN connection establishment process initiated by the UE.
  • the method further includes:
  • the receiving module 902 is further configured to receive a cause value sent by the mobility management network element, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element.
  • FIG. 7 to FIG. 9 illustrates the specific structure of the related device for short-distance service communication from the perspective of the function module.
  • the specific structure of the short-distance service communication device is performed from the hardware point of view below with reference to the embodiment of FIG. Description:
  • FIG. 10 is a schematic structural diagram of a mobility management network element 1000 according to an embodiment of the present invention, including a transceiver 1001, a memory 1002, a processor 1003, and a bus 1004.
  • the transceiver 1001, the memory 1002, and a processor are shown.
  • 1003 is connected to the bus 1004, wherein:
  • the transceiver 1001 is configured to receive or send data
  • the memory 1002 is configured to store a program, and the processor 1001 is configured to invoke the program to perform the following operations:
  • the access point name APN required for the user equipment UE to access the home proximity service ProSe function network element of the UE includes:
  • the processor Receiving, by the processor, the APN sent by the home subscriber network server HSS, and determining at least one of the APNs sent by the HSS as an APN required by the UE to access the home ProSe function network element of the UE; wherein the HSS The transmitted APN has the capability of accessing the home ProSe function network element;
  • the APN has the ability to access the home ProSe functional network element.
  • the UE when the UE is in a non-roaming state, if the APN sent by the HSS is received, at least one of the APNs sent by the HSS is determined to be required by the UE to access the home ProSe function network element of the UE. At least one of the APNs configured in the mobility management network element is determined as the APN required by the UE to access the home ProSe functional network element of the UE, if the APN sent by the HSS is not received;
  • the UE When the UE is in the roaming state, if the APN sent by the HSS is not received, at least one of the APNs configured in the mobility management network element is determined to be the home ProSe functional network element of the UE accessing the UE. If the APN is received by the HSS, and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be the home ProSe functional network element that the UE accesses the UE.
  • the APN is sent by the HSS, and the APN is configured in the mobility management network element, selecting at least one APN from the ASN sent by the HSS as the UE accessing the local ASON or the roaming protocol Selecting at least one APN from the APN configured in the mobility management network element as the home ProSe function network element of the UE accessing the UE according to the local policy or the roaming protocol.
  • Required APN
  • the APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
  • the processor determines a home proximity service that the user equipment UE accesses the UE
  • the access point name APN required by the ProSe function network element including:
  • the processor receives an APN configured in the UE that is sent by the UE;
  • the processor determines the APN configured in the UE as the UE accessing the UE.
  • the APN required to belong to the ProSe function network element.
  • the APN sent by the HSS or the APN configured in the mobility management network element includes the APN configured in the UE, determining that the APN configured in the UE has the capability of accessing the home ProSe function network element;
  • the APN sent by the HSS or the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element.
  • the receiving, by the processor, the APN configured in the UE sent by the UE includes:
  • an APN request indication sent by the UE where the APN request indication is used to request the mobility management network element to request an APN configured in the UE from the UE; Determining, by the processor, the initiated session management process according to the APN request; the processor receiving, in the session management process, an APN configured in the UE sent by the UE; or the processor in the UE Receiving, in the initiated location update process, an APN request indication sent by the UE, where the APN request indication is used to request the mobility management network element to request an APN configured in the UE from the UE;
  • the APN request indicates the initiated session management process; the processor receives the APN configured in the UE sent by the UE in the session management process; or the PDN connection establishment process initiated by the processor in the UE Receiving an APN configured in the UE sent by the UE.
  • the sending, by the processor, the determined APN to the UE includes:
  • the processor sends the determined APN to the UE in an attach procedure initiated by the UE; or the session management process initiated by the processor after the location update process initiated by the UE is completed And sending, by the processor, the determined APN to the UE in the PDN connection establishment procedure initiated by the UE.
  • the method further includes:
  • the APN sent by the mobility management network element establishes the PDN connection to implement communication between the UE and the home ProSe functional network element.
  • the sending, by the processor, the determined APN to the UE including:
  • the processor determines that at least two APNs are APNs required by the UE to access a home ProSe function network element of the UE, the processor sends the determined at least two APN formation lists to the UE .
  • An embodiment of the present invention further provides a short-range service communication system, including: a mobility management network element, and a user equipment;
  • the mobility management network element is the mobility management network element in the embodiment shown in FIG. 7;
  • the user equipment is the user equipment in the embodiment shown in FIG. 8 or FIG. 9.
  • the mobility management network element determines the access point name APN required by the user equipment UE to access the ProSe function network element of the UE, and sends the determined APN to the UE, so that the UE uses the APN.
  • the APN of the capability of the element establishes a PDN connection, and communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of cells is only a logical function division.
  • multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated as a unit
  • the displayed components may or may not be physical units, ie may be located in one place, or may be distributed over multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • An integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

Disclosed in the embodiments of the present invention is a communication method, and the method is used in any situation and ensures UE to establish a PDN connection through an APN with a capability of accessing a home ProSe function network element, so as to realize the communication between the UE and the home ProSe function network element. The method comprises: a mobility management network element determines the Access Point Name APN needed by a Packet Data Network PDN connection; the mobility management network element sends the determined APN to the UE, so as to establish the PDN connection by the UE according to the APN, and the PDN connection being used for realizing the communication between the UE and the home ProSe function network element.

Description

一种近距离业务通信方法、相关设备及***Short-distance service communication method, related equipment and system 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种近距离业务通信方法、相关设备及***。The present invention relates to the field of communications technologies, and in particular, to a short-range service communication method, related device and system.
背景技术Background technique
目前,第三代合作伙伴项目(英文全称:3rd Generation Partnership Project,缩写:3GPP)为实现近距离通信功能,在近距离用户设备(User Equipment,简称UE)之间提供近距离业务(英文全称:Proximity Service,缩写:ProSe),即在网络侧引入ProSe功能(ProSe Function)网元,用来专门处理ProSe所需的相关动作与流程,通过建立分组数据网络(英文全称:Packet Data Network,缩写:PDN)连接来传递UE与ProSe功能网元之间的控制信令,该PDN连接的建立,需要选择该PDN的接入点名称(英文全称:Access Point Name,简称APN),从而该APN的选择决定了使用哪个PDN来连接ProSe功能网元。At present, the third-generation partner project (English name: 3rd Generation Partnership Project, abbreviation: 3GPP) provides close-range services between close-range user equipment (User Equipment, UE for short) to achieve short-range communication functions (English full name: Proximity Service, abbreviated as ProSe), which introduces a ProSe Function network element on the network side to specifically handle the related actions and processes required by ProSe, and establishes a packet data network (English name: Packet Data Network, abbreviation: PDN) is connected to transmit control signaling between the UE and the ProSe function network element. For the establishment of the PDN connection, the access point name of the PDN (English name: Access Point Name, APN for short) is selected, so that the selection of the APN is performed. It is decided which PDN to use to connect to the ProSe function network element.
不同的运营商针对不同的场景可以配置不同的APN来建立PDN连接,考虑到非漫游场景与漫游场景下对ProSe特性的支持,UE需要直接与两种类型的ProSe功能网元进行通信,即:在非漫游场景下与归属ProSe功能网元进行通信,在漫游场景下与拜访ProSe功能网元进行通信。为了减少跨网络通信,3GPP限定了在上述两种场景下,UE均只能与其归属ProSe功能网元进行直接通信,UE与拜访ProSe功能网元之间的通信,需要通过归属ProSe功能网元完成。Different operators can configure different APNs to establish PDN connections for different scenarios. Considering the support of ProSe features in non-roaming scenarios and roaming scenarios, the UE needs to directly communicate with two types of ProSe functional network elements, namely: The non-roaming scenario communicates with the home ProSe function network element, and communicates with the visited ProSe function network element in the roaming scenario. In order to reduce cross-network communication, the 3GPP defines that in the above two scenarios, the UE can only communicate directly with the home ProSe function network element. The communication between the UE and the visited ProSe function network element needs to be completed by the home ProSe function network element. .
为了使用具备访问归属ProSe功能网元的能力的APN来建立PDN连接以实现UE与归属ProSe功能网元之间的直接通信,现有技术中,归属运营商在UE侧预先配置了APN,从而可以在非漫游场景下使用该APN来建立PDN连接,保证通过该PDN连接能够路由到归属ProSe功能网元。但是对于漫游场景,如果仍然使用归属运营商在UE侧配置的APN来建立PDN连接,则不能保证能够通过该PDN连接路由到归属ProSe功能网元,更坏情况下,拜访ProSe功能网元可能因为不支持归属运营商配置的APN而拒绝PDN连接建立请求。 In order to establish a PDN connection to implement direct communication between the UE and the home ProSe function network element, the home operator pre-configures the APN on the UE side, so that the home network can be configured in advance. The APN is used in a non-roaming scenario to establish a PDN connection, and the PDN connection can be routed to the home ProSe functional network element. However, for a roaming scenario, if the APN configured by the home operator on the UE side is still used to establish a PDN connection, the PDN connection cannot be guaranteed to be routed to the home ProSe function network element. In the worse case, the access to the ProSe function network element may be because The APN configured by the home operator is not supported and the PDN connection establishment request is rejected.
发明内容Summary of the invention
本发明实施例提供一种近距离业务通信方法、相关设备及***,用于解决在任何场景下,确保UE使用具备访问归属ProSe功能网元的能力的APN建立PDN连接,通过该PDN连接实现所述UE与其归属ProSe功能网元之间的通信。The embodiments of the present invention provide a short-distance service communication method, a related device, and a system, which are used to ensure that a UE establishes a PDN connection by using an APN having the capability of accessing a home ProSe function network element in any scenario, and implements the PDN connection through the PDN connection. The communication between the UE and its home ProSe functional network element.
本发明第一方面提供一种近距离业务通信方法,包括:A first aspect of the present invention provides a short-range service communication method, including:
移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;The mobility management network element determines an access point name APN required by the user equipment UE to access the ProSe function network element of the UE's home proximity service;
所述移动管理网元将确定的所述APN发送给所述UE,以使所述UE使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。Transmitting, by the mobility management network element, the determined APN to the UE, so that the UE establishes a packet data network PDN connection by using the APN, where the PDN connection is used to implement the UE and the home ProSe function. Communication between network elements.
结合第一方面,在第一种可能的实现方式中,所述移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN,包括:With reference to the first aspect, in a first possible implementation manner, the mobility management network element determines an access point name APN required for the user equipment UE to access the home proximity service ProSe function network element of the UE, including:
所述移动管理网元接收归属签约用户服务器HSS发送的APN,将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述HSS发送的APN具备访问所述归属ProSe功能网元的能力;Receiving, by the mobile management network element, an APN sent by the home subscriber network server HSS, and determining at least one of the APNs sent by the HSS as an APN required by the UE to access the home ProSe function network element of the UE; The APN sent by the HSS has the capability of accessing the home ProSe function network element;
或者,or,
所述移动管理网元将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The mobility management network element determines at least one of the APNs configured in the mobility management network element as an APN required by the UE to access the home ProSe function network element of the UE, where the mobility management network element The configured APN has the capability of accessing the home ProSe functional network element.
结合第一方面或者第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN,包括:With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation, the mobility management network element determines that the user equipment UE accesses the UE's home short-distance service ProSe function network element The required access point name APN, including:
当所述UE处于非漫游状态时,若所述移动管理网元接收到HSS发送的APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若所述移动管理网元没有接收到HSS发 送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;When the UE is in a non-roaming state, if the mobility management network element receives the APN sent by the HSS, determine at least one of the APNs sent by the HSS as the home ProSe function network of the UE accessing the UE. APN required by the element; if the mobile management network element does not receive the HSS Sending the APN, determining at least one of the APNs configured in the mobility management network element as the APN required by the UE to access the home ProSe functional network element of the UE;
或者,or,
当所述UE处于漫游状态时,若所述移动管理网元没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若所述移动管理网元接收到HSS发送的APN且所述移动管理网元中没有配置APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若所述移动管理网元接收到HSS发送的APN且所述移动管理网元中配置了APN,则根据本地策略或者漫游协议从所述HSS发送的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN,或者根据本地策略或者漫游协议从所述移动管理网元中配置的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN;When the UE is in a roaming state, if the mobility management network element does not receive the APN sent by the HSS, determine at least one of the APNs configured in the mobility management network element as the UE accessing the UE. The APN required to belong to the ProSe function network element; if the mobility management network element receives the APN sent by the HSS and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be The APN required for the UE to access the home ProSe function network element of the UE; if the mobility management network element receives the APN sent by the HSS and the APN is configured in the mobility management network element, according to the local policy or the roaming protocol Selecting at least one APN from the APN sent by the HSS as an APN required for the UE to access the home ProSe functional network element of the UE, or selecting an APN configured in the mobility management network element according to a local policy or a roaming protocol. At least one APN is used as an APN required for the UE to access the home ProSe functional network element of the UE;
其中,所述HSS发送的APN和所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
本发明第二方面提供一种近距离业务通信方法,包括:A second aspect of the present invention provides a short-range service communication method, including:
用户设备UE接收移动管理网元发送的接入点名称APN,所述APN为所述移动管理网元确定的所述UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;The user equipment UE receives the access point name APN sent by the mobility management network element, where the APN is an access point required by the mobile management network element to access the ProSe function network element of the UE's home proximity service Name APN;
所述UE使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。The UE establishes a packet data network PDN connection by using the APN, and the PDN connection is used to implement communication between the UE and the home ProSe functional network element.
结合第二方面,在第一种可能的实现方式中,所述UE使用所述APN建立分组数据网络PDN连接包括:With reference to the second aspect, in a first possible implementation, the establishing, by the UE, the packet data network PDN connection by using the APN includes:
所述UE向所述移动管理网元发送PDN连接建立请求,所述PDN连接建立请求用于请求为所述UE建立所述PDN连接,所述PDN连接建立请求中包含所述APN;The UE sends a PDN connection establishment request to the mobility management network element, where the PDN connection establishment request is used to request to establish the PDN connection for the UE, where the PDN connection establishment request includes the APN;
所述UE接收所述移动管理网元发送的缺省承载激活请求;Receiving, by the UE, a default bearer activation request sent by the mobility management network element;
所述UE根据所述移动管理网元发送的所述缺省承载激活请求,建立所述PDN连接。 The UE establishes the PDN connection according to the default bearer activation request sent by the mobility management network element.
结合第二方面,在第二种可能的实现方式中,所述用户设备UE接收移动管理网元发送的接入点名称APN之前,还包括:With reference to the second aspect, in a second possible implementation, before the user equipment UE receives the access point name APN sent by the mobility management network element, the method further includes:
所述UE向所述移动管理网元发送所述UE中配置的APN。Sending, by the UE, the APN configured in the UE to the mobility management network element.
本发明第三方面提供一种移动管理网元,包括:A third aspect of the present invention provides a mobility management network element, including:
确定模块,用于确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;a determining module, configured to determine an access point name APN required for the user equipment UE to access the home short-range service ProSe function network element of the UE;
发送模块,用于将确定模块确定的所述APN发送给所述UE,以使所述UE使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。a sending module, configured to send, by the determining module, the APN to the UE, to enable the UE to establish a packet data network PDN connection by using the APN, where the PDN connection is used to implement the UE and the home ProSe Communication between functional network elements.
结合第三方面,在第一种可能的实现方式中,In combination with the third aspect, in a first possible implementation manner,
所述确定模块具体用于接收归属签约用户服务器HSS发送的APN,将所述HSS发送的APN确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述HSS发送的APN具备访问所述归属ProSe功能网元的能力;The determining module is specifically configured to receive an APN sent by the home subscriber network server HSS, and determine an APN sent by the HSS as an APN required by the UE to access a home ProSe function network element of the UE, where the HSS sends The APN has the capability of accessing the home ProSe functional network element;
或者,or,
所述确定模块具体用于将所述移动管理网元中配置的APN确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The determining module is specifically configured to determine an APN configured in the mobility management network element as an APN required by the UE to access a home ProSe function network element of the UE, where the APN configured in the mobility management network element The ability to access the home ProSe functional network element.
结合第三方面或者第一方面的第一种可能的实现方式,在第二种可能的实现方式中,With reference to the third aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner,
所述确定模块具体用于当所述UE处于非漫游状态时,若接收到HSS发送的APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;The determining module is specifically configured to: when the UE is in a non-roaming state, if the APN sent by the HSS is received, determine at least one of the APNs sent by the HSS as the home ProSe function of the UE accessing the UE. The APN required by the network element; if the APN sent by the HSS is not received, at least one of the APNs configured in the mobility management network element is determined as required by the UE to access the home ProSe functional network element of the UE. APN;
或者,or,
所述确定模块具体用于当所述UE处于漫游状态时,若没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述 UE访问所述UE的归属ProSe功能网元所需的APN;若接收到HSS发送的APN且所述移动管理网元中没有配置APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若接收到HSS发送的APN且所述移动管理网元中配置了APN,则根据本地策略或者漫游协议从所述HSS发送的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN,或者根据本地策略或者漫游协议从所述移动管理网元中配置的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN;The determining module is specifically configured to: when the UE is in a roaming state, if the APN sent by the HSS is not received, determine at least one of the APNs configured in the mobility management network element as the The UE accesses the APN required by the home ProSe function network element of the UE; if the APN sent by the HSS is received and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be The APN required for the UE to access the home ProSe function network element of the UE; if the APN sent by the HSS is received and the APN is configured in the mobility management network element, the APN sent from the HSS according to the local policy or the roaming protocol Selecting at least one APN as the APN required for the UE to access the home ProSe functional network element of the UE, or selecting at least one APN from the APN configured in the mobility management network element according to a local policy or a roaming protocol. The APN required by the UE to access the home ProSe function network element of the UE;
其中,所述HSS发送的APN和所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
本发明第四方面提供一种用户设备UE,其特征在于,包括:A fourth aspect of the present invention provides a user equipment (UE), including:
接收模块,用于接收移动管理网元发送的接入点名称APN,所述APN为所述移动管理网元确定的所述UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;a receiving module, configured to receive an access point name APN sent by the mobility management network element, where the APN is required by the mobility management network element to access the ProSe function network element of the UE's home proximity service Entry point name APN;
建立模块,用于使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。And a establishing module, configured to establish a packet data network PDN connection by using the APN, where the PDN connection is used to implement communication between the UE and the home ProSe functional network element.
结合第四方面,在第一种可能的实现方式中,In combination with the fourth aspect, in a first possible implementation manner,
所述建立模块具体用于向所述移动管理网元发送PDN连接建立请求,所述PDN连接建立请求用于请求为所述UE建立所述PDN连接,所述PDN连接建立请求中包含所述APN;接收所述移动管理网元发送的缺省承载激活请求;以及根据所述移动管理网元发送的所述缺省承载激活请求,建立所述PDN连接。The establishing module is specifically configured to send a PDN connection establishment request to the mobility management network element, where the PDN connection establishment request is used to request to establish the PDN connection for the UE, where the PDN connection establishment request includes the APN Receiving a default bearer activation request sent by the mobility management network element; and establishing the PDN connection according to the default bearer activation request sent by the mobility management network element.
结合第四方面,在第二种可能的实现方式中,还包括:In combination with the fourth aspect, in a second possible implementation manner, the method further includes:
发送模块,用于所述接收模块接收移动管理网元发送的接入点名称APN之前,向所述移动管理网元发送所述UE中配置的APN。And a sending module, configured to send the APN configured in the UE to the mobility management network element before the receiving module receives the access point name APN sent by the mobility management network element.
本发明第五方面提供一种近距离业务通信***,包括:A fifth aspect of the present invention provides a short-range service communication system, including:
第三方面或者第三方面任一种可能的实现方式中所述的移动管理网元和第四方面或者第四方面任一种可能的实现方式中所述的用户设备;The mobile management network element described in any one of the possible implementations of the third aspect or the third aspect, or the user equipment in any one of the possible implementation manners of the fourth aspect or the fourth aspect;
本发明第六方面提供一种移动管理网元,包括:收发器、存储器、处理器 以及总线,所述收发器、存储器以及处理器与所述总线连接,其中:A sixth aspect of the present invention provides a mobility management network element, including: a transceiver, a memory, and a processor. And a bus, the transceiver, the memory, and the processor being coupled to the bus, wherein:
所述收发器用于接收或发送数据;The transceiver is configured to receive or transmit data;
所述存储器用于存储程序,所述处理器用于调用所述程序执行以下操作:The memory is for storing a program, and the processor is configured to invoke the program to perform the following operations:
确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;Determining an access point name APN required by the user equipment UE to access the home short-range service ProSe function network element of the UE;
将确定的所述APN发送给所述UE,以使所述UE使用所述APN建立分组数据网络PDN连接,所述PDN连接实现所述UE与所述归属ProSe功能网元之间的通信。And transmitting the determined APN to the UE, so that the UE establishes a packet data network PDN connection by using the APN, where the PDN connection implements communication between the UE and the home ProSe functional network element.
本发明第七方面提供一种用户设备UE,所述UE用于执行如下步骤:A seventh aspect of the present invention provides a user equipment UE, where the UE is configured to perform the following steps:
接收移动管理网元发送的接入点名称APN,所述APN为所述移动管理网元确定的所述UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;Receiving an access point name APN sent by the mobility management network element, where the APN is an access point name APN required by the mobile management network element to access the UE's home proximity service ProSe function network element;
使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。A packet data network PDN connection is established by using the APN, and the PDN connection is used to implement communication between the UE and the home ProSe functional network element.
应用以上技术方案,移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;并将确定的APN发送给UE,以使得UE使用该APN建立分组数据网络PDN连接。由于移动管理网元将确定后的APN发送给UE,该APN具备访问归属Prose功能网元的能力,确保UE在任何场景下,使用具备访问归属ProSe功能网元的能力的APN建立PDN连接,通过该PDN连接实现所述UE与归属ProSe功能网元之间的通信。Applying the above technical solution, the mobility management network element determines an access point name APN required for the user equipment UE to access the ProSe function network element of the UE, and sends the determined APN to the UE, so that the UE uses the APN. Establish a packet data network PDN connection. The mobile management network element sends the determined APN to the UE, and the APN has the capability of accessing the home Prose function network element, and ensures that the UE establishes a PDN connection by using the APN having the capability of accessing the home ProSe function network element in any scenario. The PDN connection implements communication between the UE and a home ProSe functional network element.
附图说明DRAWINGS
图1a为本发明实施例中非漫游场景下的一个***架构图;1a is a system architecture diagram of a non-roaming scenario in an embodiment of the present invention;
图1b为本发明实施例中漫游场景下的一个***架构图;FIG. 1b is a system architecture diagram of a roaming scenario according to an embodiment of the present invention;
图2为本发明实施例中近距离业务通信方法的一个实施例示意图;2 is a schematic diagram of an embodiment of a short-range service communication method according to an embodiment of the present invention;
图3为本发明实施例中近距离业务通信方法的另一个实施例示意图;3 is a schematic diagram of another embodiment of a short-range service communication method according to an embodiment of the present invention;
图4为本发明实施例中近距离业务通信方法的另一个实施例示意图;4 is a schematic diagram of another embodiment of a short-range service communication method according to an embodiment of the present invention;
图5为本发明实施例中近距离业务通信方法的另一个实施例示意图;FIG. 5 is a schematic diagram of another embodiment of a short-range service communication method according to an embodiment of the present invention; FIG.
图6为本发明实施例中近距离业务通信方法的另一个实施例示意图; FIG. 6 is a schematic diagram of another embodiment of a short-range service communication method according to an embodiment of the present invention; FIG.
图7为本发明实施例中移动管理网元的一个实施例示意图;FIG. 7 is a schematic diagram of an embodiment of a mobility management network element according to an embodiment of the present invention; FIG.
图8为本发明实施例中用户设备的一个实施例示意图;FIG. 8 is a schematic diagram of an embodiment of a user equipment according to an embodiment of the present disclosure;
图9为本发明实施例中用户设备的另一个实施例示意图;FIG. 9 is a schematic diagram of another embodiment of a user equipment according to an embodiment of the present invention;
图10为本发明实施例中移动管理网元的一个结构示意图。FIG. 10 is a schematic structural diagram of a mobility management network element according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供一种近距离业务通信方法、相关设备及***,用于解决在任何场景下,确保UE使用具备访问归属ProSe功能网元的能力的APN建立PDN连接,通过PDN连接实现所述UE与归属ProSe功能网元之间的通信。An embodiment of the present invention provides a short-distance service communication method, a related device, and a system, which are used to ensure that a UE establishes a PDN connection using an APN having the capability of accessing a home ProSe function network element in any scenario, and implements the PDN connection through a PDN connection. Communication between the UE and the home ProSe functional network element.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等是用于区别不同的对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、***、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
首先说明的是,本发明实施例所指的移动管理网元是指可实现用户设备移动性管理逻辑功能的实体,而移动管理网元在不同的网络中可能具有不同的名称、位置和产品形态。It is to be noted that the mobility management network element referred to in the embodiment of the present invention refers to an entity that can implement the mobility function of the user equipment mobility management, and the mobility management network element may have different names, locations, and product forms in different networks. .
举例来说,本发明实施例提及的移动管理网元可指:与演进通用移动通信***(UMTS,Universal Mobile Telecommunications System)陆地无线接入网(E-UTRAN,Evolved UMTS Territorial Radio Access Network)连接的移动管理实体(英文全称:Mobile Managenment Entity,缩写:MME)、与UMTS陆地无线接入网(UTRAN,UMTS Territorial Radio Access Network)/GSM EDGE无线接入网(GERAN,GSM EDGE Radio Access Network)连接的通用分组无线业务服务节点(SGSN,Serving GPRS(General Packet Radio Service)Support Node);或非3GPP网络中的接入网关(AGW,Access Gateway)、无线局域网 (WLAN,Wireless Local Area Network)中具有演进分组数据网关(EPDG,Evolved Packet Data Gateway)移动管理逻辑功能的实体、微波存取全球互通(WiMAX,Worldwide Interoperability for Microwave Access)网络中的接入服务网络网关(ASN GW,Access Service Network Gateway)、或宽带码分多址接入(CDMA,Code Division Multiple Access)网络中具有高速率分组数据接入网(HRPD-AN,High Rate Packet Data Access Network)接入移动管理逻辑功能的实体、或其它网络中实现用户设备移动管理逻辑功能的实体。For example, the mobility management network element mentioned in the embodiment of the present invention may be referred to as an E-UTRAN (Evolved UMTS Territorial Radio Access Network) connected to an UMTS (Universal Mobile Telecommunications System). Mobile management entity (English name: Mobile Managenment Entity, abbreviation: MME), connected to UMTS Territorial Radio Access Network (UMRAN, GSM EDGE Radio Access Network) General Packet Radio Service Support Node (SGSN); or Access Gateway (AGW) in a non-3GPP network, wireless LAN (WLAN, Wireless Local Area Network) entity with Evolved Packet Data Gateway (EPDG) mobility management logic, access service network in Worldwide Interoperability for Microwave Access (WiMAX) network A high-speed packet data access network (HRPD-AN) is connected to a gateway (ASN GW, Access Service Network Gateway) or a Wideband Code Division Multiple Access (CDMA) network. An entity that enters the mobility management logic function, or an entity that implements user equipment mobility management logic functions in other networks.
本发明实施例提及的UE可能是人到人(H2H,Human to Human)用户设备或可能是机器到机器(M2M,Machine to Machine)用户设备,或其它类型的UE。其中,M2M用户设备可称机器类型通信设备(MTC Device,Machine Type Communications Device)。The UE mentioned in the embodiment of the present invention may be a Human to Human (H2H) user equipment or may be a Machine to Machine (M2M) user equipment, or other types of UEs. The M2M user equipment can be called a Machine Type Communication Device (MTC Device).
本发明实施例提及的归属网络与拜访网络,非漫游状态与漫游状态,是相对于UE来说的。UE的归属网络是UE的国际移动用户标识(英文全称:International Mobile Subscriber Identity,缩写:IMSI)中包含的公共陆地移动网络(英文全称:Public Land Mobile Network,缩写:PLMN)身份标识(英文全称:Identity,缩写:ID)所标识的网络,若UE处于其归属网络中,则该UE处于非漫游状态,若UE不处于其归属网络中,则该UE处于漫游状态。UE的拜访网络是当UE处于漫游状态时访问的网络。The home network and the visited network, the non-roaming state and the roaming state mentioned in the embodiments of the present invention are relative to the UE. The home network of the UE is the public land mobile network (English name: Public Land Mobile Network, abbreviation: PLMN) identity contained in the International Mobile Subscriber Identity (English name: IMSI) of the UE (English full name: English full name: Identity, abbreviation: ID) identifies the network. If the UE is in its home network, the UE is in a non-roaming state. If the UE is not in its home network, the UE is in a roaming state. The visited network of the UE is a network that is accessed when the UE is in a roaming state.
本发明实施例中提及两种场景:非漫游场景与漫游场景。请参阅图1a,在非漫游场景下,进行ProSe通信的UE驻留在同一个归属网络中,处于归属网络中的ProSe功能网元称为归属ProSe功能网元,所有UE(例如:图1a中的UE A和UE B)可以通过PC3接口与其归属ProSe功能网元之间进行直接通信。需要说明的是,PC3接口是UE与归属ProSe功能网元之间的对等接口,PC3接口上的通信是通过演进分组***(英文全称:Evolved Packet System,缩写:EPS)用户面实现的,在图1a中省略了EPS中的演进型节点B(英文全称:Evolved Node B,缩写:eNodeB),服务网关(英文全称:Serving Gateway,缩写:Serving GW),分组数据网络网关(英文全称:Packet Data Network Gateway,缩写:PDN GW)以及网关与底层的所有接口协议。Two scenarios are mentioned in the embodiment of the present invention: a non-roaming scenario and a roaming scenario. Referring to FIG. 1a, in a non-roaming scenario, a UE performing ProSe communication resides in the same home network, and a ProSe function network element in the home network is called a home ProSe function network element, and all UEs (for example, FIG. 1a) UE A and UE B) can directly communicate with their home ProSe functional network elements through the PC3 interface. It should be noted that the PC3 interface is a peer interface between the UE and the home ProSe function network element, and the communication on the PC3 interface is implemented by the user plane of the Evolved Packet System (abbreviation: EPS). The evolved Node B in the EPS (English full name: Evolved Node B, abbreviation: eNodeB), the service gateway (English full name: Serving Gateway, abbreviation: Serving GW), and the packet data network gateway (English full name: Packet Data) is omitted in Figure 1a. Network Gateway, abbreviation: PDN GW) and all interface protocols between the gateway and the underlying.
请参阅图1b,在漫游场景下,进行ProSe通信的UE驻留在漫游地的拜访网 络中,处于拜访网络中的ProSe功能网元称为拜访ProSe功能网元,比如图1b中,UE A的归属网络是PLMN A,UE A漫游到PLMN C中,UE A需要与PLMN C中拜访ProSe功能网元进行通信以获得进行ProSe通信的授权,但该通信是通过UE的归属ProSe功能网元实现的,比如图1b中,UE A先与PLMN A中的ProSe功能网元(即UE A的归属ProSe功能网元)进行直接通信,再通过PLMN A中ProSe功能网元实现UE A与PLMN C中ProSe功能网元的通信。归属ProSe功能网元与拜访ProSe功能网元之间的通信接口为PC7。Referring to FIG. 1b, in a roaming scenario, a UE performing ProSe communication resides in a visited network of a roaming place. In the network, the ProSe function network element in the visited network is called a visited ProSe function network element. For example, in FIG. 1b, the home network of UE A is PLMN A, UE A roams into PLMN C, and UE A needs to visit with PLMN C. The ProSe function network element communicates to obtain the authorization for the ProSe communication, but the communication is implemented by the UE's home ProSe function network element. For example, in FIG. 1b, the UE A first and the ProSe function network element in the PLMN A (ie, UE A) The locating ProSe function network element performs direct communication, and then the communication between the UE A and the ProSe functional network element in the PLMN C is implemented by the ProSe functional network element in the PLMN A. The communication interface between the home ProSe function network element and the visited ProSe function network element is PC7.
本发明实施例中提及的具备访问UE的归属ProSe功能网元能力的APN,是指移动管理网元根据该APN可以选择对应的一个PDN网关建立PDN连接,通过该PDN连接实现UE与归属ProSe功能网元之间的通信,若根据APN可以选择一个PDN网关建立PDN连接实现与该UE的归属Prose功能网元之间的通信,则该APN具备访问该UE的归属Prose功能网元的能力,也可以理解为该APN为访问UE的归属Prose功能网元所需的APN,为描述方便,本发明实施例中,将具备访问UE的归属Prose功能网元能力的APN,也即访问UE的归属Prose功能网元所需的APN,称为ProSe APN。The APN with the capability of accessing the home ProSe function network element of the UE mentioned in the embodiment of the present invention means that the mobility management network element can establish a PDN connection according to the PDN gateway that can be selected by the APN, and implement the UE and the home ProSe through the PDN connection. The APN has the capability of accessing the home Prose function network element of the UE, if the APN can select a PDN gateway to establish a PDN connection to implement communication with the home Prose function network element of the UE. It can also be understood that the APN is an APN required to access the home Prose function network element of the UE. For the convenience of description, in the embodiment of the present invention, the APN that accesses the home Prose function network element capability of the UE, that is, the access to the UE The APN required by the Prose function network element is called ProSe APN.
在现有技术中,为了使用具备访问归属ProSe功能网元能力的APN来建立PDN连接以实现UE与归属ProSe功能网元之间的直接通信,归属运营商在UE侧预先配置了APN,通过该APN建立PDN连接,但是,在实际应用中,只有在非漫游场景下,能够保证通过该PDN连接路由到归属ProSe功能网元,而在漫游场景下,如果仍然使用归属运营商在UE侧配置的APN来建立PDN连接,则不能保证能够通过该PDN连接路由到归属ProSe功能网元(比如归属运营商根据本地策略或者漫游协议可能限制该PDN连接路由到归属ProSe功能网元),更坏情况下,拜访ProSe功能网元可能因为不支持归属运营商配置的APN而拒绝PDN连接建立请求,因此,展开以下论述:In the prior art, in order to establish a PDN connection by using an APN having the capability of accessing the home ProSe function network element to implement direct communication between the UE and the home ProSe function network element, the home operator pre-configures the APN on the UE side. The APN establishes a PDN connection. However, in a non-roaming scenario, the APN can ensure that the PDN is routed to the home ProSe function network element. In the roaming scenario, if the home carrier is still configured on the UE side. If the APN is used to establish a PDN connection, the PDN connection cannot be guaranteed to be routed to the home ProSe function network element. For example, the home operator may restrict the PDN connection route to the home ProSe function network element according to the local policy or the roaming agreement. The visit to the ProSe function network element may refuse the PDN connection establishment request because the APN configured by the home carrier is not supported. Therefore, the following discussion is initiated:
下面从移动管理网元的角度,对本发明方案进行介绍。The present invention will be described below from the perspective of a mobile management network element.
本发明近距离业务通信方法的一个实施例,可包括:移动管理网元确定用户设备UE访问UE的归属近距离业务ProSe功能网元所需的接入点名称APN;移动管理网元将确定的APN发送给UE,以使UE使用该APN建立分组数据网络PDN连接。 An embodiment of the short-range service communication method of the present invention may include: the mobility management network element determines an access point name APN required for the user equipment UE to access the ProSe function network element of the UE's home proximity service; the mobility management network element shall determine The APN is sent to the UE to enable the UE to establish a packet data network PDN connection using the APN.
请参阅图2,具体可包括:Please refer to FIG. 2, which may specifically include:
201、移动管理网元确定用户设备UE访问UE的归属近距离业务ProSe功能网元所需的接入点名称APN;201. The mobility management network element determines an access point name APN required by the user equipment UE to access the ProSe function network element of the UE's home proximity service;
与现有技术不同的是,在本发明实施例中,为支持ProSe的UE,运营商协商确定访问UE的归属Prose功能网元所需的APN,并将该确定的APN配置在网络侧,例如,配置在签约用户服务器(英文全称:Home Subscriber Server,缩写:HSS)或者移动管理网元中。移动管理网元可以直接将网络侧配置的APN确定为访问UE的归属Prose功能网元所需的APN,该APN具备访问该UE的归属Prose功能网元的能力,即ProSe APN,需要说明的是,移动管理网元可以为UE确定一个ProSe APN,也可以确定至少两个ProSe APN。或者移动管理网元接收UE发送的UE中配置的APN,当确定UE中配置的APN具备访问归属Prose功能网元的能力时,进一步将UE中配置的APN确定为访问UE的归属Prose功能网元所需的APN,即ProSe APN,从而确保在任何场景下,UE使用具备访问归属Prose功能网元的APN建立PDN连接,通过该PDN连接实现UE与归属ProSe功能网元之间的通信。Different from the prior art, in the embodiment of the present invention, for the UE supporting the ProSe, the operator negotiates the APN required to access the home Prose function network element of the UE, and configures the determined APN on the network side, for example, , configured in the subscription user server (English full name: Home Subscriber Server, abbreviation: HSS) or mobile management network element. The mobility management network element can directly determine the APN configured on the network side as the APN required to access the home Prose function network element of the UE, and the APN has the capability of accessing the home Prose function network element of the UE, that is, the ProSe APN. The mobility management network element may determine a ProSe APN for the UE, and may also determine at least two ProSe APNs. Or the mobile management network element receives the APN configured in the UE that is sent by the UE, and determines that the APN configured in the UE has the capability to access the home Prose function network element, and further determines the APN configured in the UE as the home Prose function network element that accesses the UE. The required APN, that is, the ProSe APN, ensures that in any scenario, the UE establishes a PDN connection using the APN having access to the home Prose function network element, and the communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
不同的运营商针对不同的场景与处于不同状态的UE,可以配置不同的APN:当UE处于非漫游状态时,归属运营商可以根据本地策略(locally configured operator's policies)在HSS或移动管理网元上配置ProSe APN,比如将缺省APN配置为ProSe APN;当UE处于漫游状态时,归属运营商可以根据本地策略或者漫游协议在HSS中配置其归属UE在各漫游场景下使用的ProSe APN,拜访运营商可以根据本地策略或者漫游协议(roaming agreement)在移动管理网元上配置处于漫游状态的UE所使用的ProSe APN,比如配置使用一个专用的ProSe APN。Different operators can configure different APNs for different scenarios and UEs in different states: When the UE is in a non-roaming state, the home carrier can be on the HSS or the mobility management network element according to the locally configured operator's policies. The ProSe APN is configured, for example, the default APN is configured as a ProSe APN. When the UE is in the roaming state, the home operator can configure the ProSe APN used by the home UE in each roaming scenario according to the local policy or the roaming protocol, and visit the operation. The Provider can configure the ProSe APN used by the roaming UE on the mobility management network element according to a local policy or a roaming agreement, such as configuring a dedicated ProSe APN.
可以理解的是,当UE位于其归属网络时,可认为UE处于非漫游状态,当UE不在其归属网络时,可认为UE处于漫游状态。It can be understood that when the UE is located in its home network, the UE can be considered to be in a non-roaming state, and when the UE is not in its home network, the UE can be considered to be in a roaming state.
202、移动管理网元将确定的APN发送给UE,以使UE使用该APN建立分组数据网络PDN连接。202. The mobility management network element sends the determined APN to the UE, so that the UE establishes a packet data network PDN connection by using the APN.
由于在步骤201中,移动管理网元预先确定ProSe APN,则将确定ProSe APN发送给UE,后续UE使用该确定的ProSe APN发起PDN连接建立请求,即 在该PDN连接建立请求中携带所确定的ProSe APN,在PDN连接建立请求触发的PDN连接建立流程中,移动管理网元通过该ProSe APN可以选择一个PDN网关,并向UE发送缺省(default)承载激活请求,UE接受该缺省承载激活请求并向移动管理网元发送缺省承载激活接受消息,从而成功建立PDN连接,通过该PDN连接实现所述UE与归属ProSe功能网元之间的通信。Since in step 201, the mobility management network element predetermines the ProSe APN, it will determine that the ProSe APN is sent to the UE, and the subsequent UE initiates the PDN connection establishment request using the determined ProSe APN, ie The PDN connection establishment request carries the determined ProSe APN. In the PDN connection establishment procedure triggered by the PDN connection establishment request, the mobility management network element can select a PDN gateway through the ProSe APN, and send a default (default) to the UE. Carrying the activation request, the UE accepts the default bearer activation request and sends a default bearer activation accept message to the mobility management network element, so as to successfully establish a PDN connection, and implement communication between the UE and the home ProSe functional network element through the PDN connection. .
需要说明的是,移动管理网元发送给UE的ProSe APN可以为一个,或者至少两个,当ProSe APN为至少两个时,移动管理网元可以以列表的形式发送给UE,比如ProSe APN列表(ProSe APN list),此处不做具体限定。可以理解的是,网络侧可以通过新的信元下发所确定的APN,比如信元“ProSe APN”或者“ProSe capable APN”或者“ProSe APN list”。It should be noted that the ProSe APN sent by the mobility management network element to the UE may be one, or at least two. When the ProSe APN is at least two, the mobility management network element may be sent to the UE in the form of a list, such as a ProSe APN list. (ProSe APN list), which is not specifically limited herein. It can be understood that the network side can deliver the determined APN through a new cell, such as the cell “ProSe APN” or “ProSe capable APN” or “ProSe APN list”.
本发明实施例中,由于运营商预先协商确定ProSe APN,并将该确定的ProSe APN配置在网络侧,例如:配置在HSS或者移动管理网元中,而后续移动管理网元可以直接从网络侧获取ProSe APN,该ProSe APN具备访问归属Prose功能网元的能力;移动管理网元通过该ProSe APN可以选择对应的一个PDN网关建立PDN连接,通过该PDN连接实现UE与归属ProSe功能网元之间的通信。或者移动管理网元接收UE发送的UE中配置的APN,确定UE中配置的APN具备访问归属Prose功能网元的能力时,进一步确定UE中配置的APN确定为访问UE的Prose功能网元所需的APN,从而确保UE在任何场景下,使用具备访问UE的归属Prose功能网元的APN建立PDN连接,通过该PDN连接实现所述UE与归属ProSe功能网元之间的通信。In the embodiment of the present invention, the ProSe APN is determined by the operator in advance, and the determined ProSe APN is configured on the network side, for example, in the HSS or the mobility management network element, and the subsequent mobility management network element can be directly from the network side. Obtaining a ProSe APN, the ProSe APN having the capability of accessing the home Prose function network element; the mobility management network element can select a corresponding PDN gateway to establish a PDN connection through the ProSe APN, and the PDN connection is used to implement the UE and the home ProSe function network element. Communication. Or the mobile management network element receives the APN configured in the UE that is sent by the UE, and determines that the APN configured in the UE has the capability of accessing the Prorose function network element, and further determines that the APN configured in the UE is determined to be the Prose function network element for accessing the UE. The APN is used to ensure that the UE establishes a PDN connection using the APN having the home Prose function network element that accesses the UE in any scenario, and the communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
请参阅图3,本发明近距离业务通信方法的另一个实施例,可包括:移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;其中,移动管理网元接收归属签约用户服务器HSS发送的APN,将所述HSS发送的APN中的至少一个确定为UE访问UE的归属ProSe功能网元所需的APN,其中,所述HSS发送的APN具备访问所述归属ProSe功能网元的能力;或者,所述移动管理网元将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力;移动管理网元将确定的APN发送给UE,以使UE使用该APN建立分组数据网络PDN 连接。Referring to FIG. 3, another embodiment of the short-range service communication method of the present invention may include: the mobility management network element determines an access point name APN required for the user equipment UE to access the ProSe function network element of the UE. The mobile management network element receives the APN sent by the home subscriber network server HSS, and determines at least one of the APNs sent by the HSS as an APN required for the UE to access the home ProSe function network element of the UE, where the HSS sends The APN has the capability of accessing the home ProSe function network element; or the mobility management network element determines at least one of the APNs configured in the mobility management network element as the home ProSe function of the UE accessing the UE The APN required by the network element; wherein the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element; the mobility management network element sends the determined APN to the UE, so that the UE establishes using the APN. Packet data network PDN connection.
301、运营商在网络侧为UE配置访问UE的归属ProSe功能网元所需的APN;301. The operator configures, on the network side, an APN required for accessing the home ProSe functional network element of the UE.
运营商在网络侧预先配置ProSe APN,比如配置在HSS或者移动管理网元中,该ProSe APN用于不同场景下的UE访问归属ProSe功能网元。The operator pre-configures the ProSe APN on the network side, for example, in the HSS or the mobility management network element, and the ProSe APN is used by the UE in different scenarios to access the home ProSe function network element.
302、UE向移动管理网元发起附着请求;302. The UE initiates an attach request to the mobility management network element.
UE在所驻留的网络发起附着流程实现到网络的注册,UE所发起的附着请求中捎带(piggyback)PDN连接请求消息,并携带了UE支持ProSe能力的指示信息,旨在告诉网络UE支持ProSe。The UE initiates an attach procedure to the network to register, and the UE initiates an attach request to piggyback the PDN connection request message, and carries the indication information of the UE supporting the ProSe capability, so as to inform the network UE to support the ProSe. .
303、移动管理网元向HSS发起更新位置请求;303. The mobility management network element initiates an update location request to the HSS.
移动管理网元在附着流程中发起更新位置请求实现到HSS的注册,并请求UE的签约数据,若UE在步骤302中指示支持ProSe,且移动管理网元也支持ProSe,则在更新位置请求中携带ProSe支持信息给HSS;若该UE支持ProSe,则运营商在HSS中配置ProSe相关的签约数据,包括ProSe许可(permission)参数等,此处不做具体限定。The mobility management network element initiates an update location request in the attach procedure to implement registration to the HSS, and requests subscription data of the UE. If the UE indicates that ProSe is supported in step 302, and the mobility management network element also supports ProSe, the update location request is performed. The ProSe support information is carried to the HSS. If the UE supports the ProSe, the operator configures the ProSe-related subscription data in the HSS, including the ProSe permission parameters, and is not specifically limited herein.
304、HSS向移动管理网元发送更新位置响应消息;304. The HSS sends an update location response message to the mobility management network element.
在更新位置响应消息中,HSS除了发送UE的ProSe相关签约数据给移动管理网元外,可选的,HSS还将步骤301中配置的ProSe APN的信息发送给移动管理网元。需要说明的是,运营商在HSS中配置的ProSe APN是可选的,故若HSS中没有配置ProSe APN,则在该步骤中不会发送给移动管理网元。In the update location response message, the HSS sends the ProSe APN information configured in step 301 to the mobility management network element. It should be noted that the ProSe APN configured by the operator in the HSS is optional. Therefore, if the ProSe APN is not configured in the HSS, it will not be sent to the mobility management NE in this step.
305、移动管理网元确定UE访问UE的归属ProSe功能网元所需的APN;305. The mobility management network element determines an APN required for the UE to access the home ProSe function network element of the UE.
移动管理网元确定UE访问所述UE的归属ProSe功能网元所需的APN,即该UE的ProSe APN,具体为:所述移动管理网元接收HSS发送的APN,将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述HSS发送的APN具备访问所述归属ProSe功能网元的能力;The mobility management network element determines the APN required for the UE to access the home ProSe function network element of the UE, that is, the ProSe APN of the UE, specifically: the mobility management network element receives the APN sent by the HSS, and sends the APN sent by the HSS. At least one of the APNs required for the UE to access the home ProSe function network element of the UE; wherein the APN sent by the HSS has the capability of accessing the home ProSe function network element;
或者,or,
所述移动管理网元将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述移动 管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The mobility management network element determines at least one of the APNs configured in the mobility management network element as an APN required by the UE to access the home ProSe function network element of the UE; wherein the mobile The APN configured in the management network element has the capability of accessing the home ProSe function network element.
需要说明的是,移动管理网元还可以从网络侧的其他实体上获取APN,并将获取的APN确定为所述UE访问所述UE的归属ProSe功能网元所需的APN,此处不做具体限定。It should be noted that the mobility management network element may also obtain the APN from other entities on the network side, and determine the acquired APN as the APN required by the UE to access the home ProSe function network element of the UE, and do not do this. Specifically limited.
进一步,当所述UE处于非漫游状态时,若所述移动管理网元接收到HSS发送的APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若所述移动管理网元没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;Further, when the UE is in a non-roaming state, if the mobility management network element receives the APN sent by the HSS, determine at least one of the APNs sent by the HSS as the home ProSe of the UE accessing the UE. The APN required by the function network element; if the mobility management network element does not receive the APN sent by the HSS, determining at least one of the APNs configured in the mobility management network element as the UE accessing the UE APN required by the ProSe function network element;
或者,or,
当所述UE处于漫游状态时,若所述移动管理网元没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若所述移动管理网元接收到HSS发送的APN且所述移动管理网元中没有配置APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若所述移动管理网元接收到HSS发送的APN且所述移动管理网元中配置了APN,则根据本地策略或者漫游协议从所述HSS发送的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN,或者根据本地策略或者漫游协议从所述移动管理网元中配置的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN;When the UE is in a roaming state, if the mobility management network element does not receive the APN sent by the HSS, determine at least one of the APNs configured in the mobility management network element as the UE accessing the UE. The APN required to belong to the ProSe function network element; if the mobility management network element receives the APN sent by the HSS and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be The APN required for the UE to access the home ProSe function network element of the UE; if the mobility management network element receives the APN sent by the HSS and the APN is configured in the mobility management network element, according to the local policy or the roaming protocol Selecting at least one APN from the APN sent by the HSS as an APN required for the UE to access the home ProSe functional network element of the UE, or selecting an APN configured in the mobility management network element according to a local policy or a roaming protocol. At least one APN is used as an APN required for the UE to access the home ProSe functional network element of the UE;
其中,所述HSS发送的APN和所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
例如:当UE处于非漫游状态时,移动管理网元可以直接使用HSS发送的APN确定为所需APN,若HSS没有向移动管理网元发送APN,则移动管理网元可以使用移动管理网元中配置的APN确定为所需APN。当UE处于漫游状态时,若HSS没有向移动管理网元发送APN,则移动管理网元可以使用移动管理网元中配置的APN确定为所需APN;或者若HSS向移动管理网元发送了APN信息且移动管理网元中没有配置APN,则移动管理网元可以使用HSS发送的APN确定为所需APN;或者若HSS向移动管理网元发送了APN,且移动管理网元中也配 置了APN,则移动管理网元需要根据本地策略与漫游协议来确定使用哪个APN为所需APN,优先使用HSS发送的APN,或者优先使用移动管理网元发送的APN,此处不做具体限定。For example, when the UE is in a non-roaming state, the mobility management network element can directly determine the required APN by using the APN sent by the HSS. If the HSS does not send the APN to the mobility management network element, the mobility management network element can use the mobility management network element. The configured APN is determined to be the required APN. When the UE is in the roaming state, if the HSS does not send the APN to the mobility management network element, the mobility management network element may determine the required APN using the APN configured in the mobility management network element; or if the HSS sends the APN to the mobility management network element. If the APN is not configured in the mobility management network element, the mobility management network element may use the APN sent by the HSS to determine the required APN; or if the HSS sends the APN to the mobility management network element, and the mobile management network element also If the APN is set, the mobility management network element needs to determine which APN to use as the required APN according to the local policy and the roaming protocol, and preferentially use the APN sent by the HSS, or preferentially use the APN sent by the mobility management network element, which is not specifically limited herein. .
可以理解的是,由于HSS与移动管理网元比较,更容易更新配置,进而保存运营商协商确定的相关签约数据,因此可优先使用HSS中发送的APN。It can be understood that, because the HSS is more easily updated with the mobile management network element, and the related subscription data determined by the operator negotiation is saved, the APN sent in the HSS can be preferentially used.
306、移动管理网元向UE发送附着接受消息;306. The mobility management network element sends an attach accept message to the UE.
若附着请求被网络接受,则移动管理网元发送附着接受消息给UE。在该附着接受消息中,捎带了缺省承载激活请求消息,该缺省承载激活请求消息中包含了移动管理网元在步骤305中确定的ProSe APN。若步骤305中移动管理网元确定使用多个ProSe APN,则将多个ProSe APN以列表形式发送给UE,此处不做具体限定。If the attach request is accepted by the network, the mobility management network element sends an attach accept message to the UE. In the attach accept message, a default bearer activation request message is included, and the default bearer activation request message includes the ProSe APN determined by the mobility management network element in step 305. If the mobile management network element determines to use the multiple ProSe APNs in step 305, the multiple ProSe APNs are sent to the UE in the form of a list, which is not specifically limited herein.
307、UE向移动管理网元发送附着确认消息;307. The UE sends an attach confirmation message to the mobility management network element.
UE发送附着确认消息给移动管理网元,在附着确认消息中捎带了缺省承载激活接受消息。该步骤旨在完成当前的附着流程,并建立一个缺省PDN连接请求,实现UE在网络上的注册。需要说明的是,该缺省PDN连接请求使用的是缺省APN,该缺省APN可以是移动管理网元确定的ProSe APN,也可以不是移动管理网元确定的ProSe APN。The UE sends an attach confirmation message to the mobility management network element, and the default bearer activation accept message is piggybacked in the attach confirmation message. This step is to complete the current attach procedure and establish a default PDN connection request to enable the UE to register on the network. It should be noted that the default PDN connection request is a default APN, and the default APN may be a ProSe APN determined by the mobility management network element, or may not be a ProSe APN determined by the mobility management network element.
需要说明的是,UE在网络上进行注册,旨在告诉移动管理网元UE支持ProSe,其中,UE可以发起任意一个流程实现在网络上的注册:附着流程(如上述步骤302~307),或者位置更新流程(如下面步骤308~312),但在同一时刻,UE只能发起一个流程实现网络注册,故步骤302~307与步骤308~312不可能同时发生。It should be noted that the UE is registered on the network, and is intended to inform the mobile management network element UE to support ProSe. The UE may initiate any process to implement registration on the network: an attach procedure (such as steps 302-307 above), or The location update process (steps 308-312 below), but at the same time, the UE can only initiate a process to implement network registration, so steps 302-307 and steps 308-312 cannot occur simultaneously.
308、UE向移动管理网元发送位置更新请求;308. The UE sends a location update request to the mobility management network element.
UE在所驻留的网络发起位置更新流程实现到网络的注册。UE所发起的位置更新请求中携带了UE支持ProSe能力的指示信息,旨在告诉网络该UE支持ProSe。若UE驻留在E-UTRAN,该位置更新流程可以为跟踪域更新(Tracking Area Updating,缩写:TAU)流程。The UE initiates a location update procedure on the hosted network to implement registration to the network. The location update request initiated by the UE carries the indication information of the UE supporting the ProSe capability, and is intended to inform the network that the UE supports the ProSe. If the UE resides in the E-UTRAN, the location update process may be a Tracking Area Updating (TAU) process.
309、移动管理网元向HSS发送更新位置请求;309. The mobility management network element sends an update location request to the HSS.
移动管理网元在位置更新流程中发起更新位置请求实现到HSS的注册, 并请求UE的签约数据。若UE在步骤308中指示支持ProSe,且移动管理网元也支持ProSe,则在更新位置请求中携带ProSe支持信息给HSS。若该UE支持ProSe,则运营商在HSS中配置ProSe相关的签约数据,包括ProSe许可参数等,此处不做具体限定。The mobility management network element initiates an update location request in the location update process to implement registration to the HSS. And request the UE's subscription data. If the UE indicates that ProSe is supported in step 308, and the mobility management network element also supports ProSe, the ProSe support information is carried in the update location request to the HSS. If the UE supports the ProSe, the operator configures the ProSe-related subscription data in the HSS, including the ProSe permission parameters, and is not specifically limited herein.
310、HSS向移动管理网元发送更新位置响应消息;310. The HSS sends an update location response message to the mobility management network element.
311、移动管理网元确定UE访问UE的归属ProSe功能网元所需的APN;311. The mobility management network element determines an APN required for the UE to access the home ProSe function network element of the UE.
步骤310~311与步骤304~305相似,具体可参阅步骤304~305,此处不再赘述。The steps 310 to 311 are similar to the steps 304 to 305. For details, refer to steps 304 to 305, and details are not described herein.
312、移动管理网元向UE发送位置更新接受消息;312. The mobility management network element sends a location update accept message to the UE.
若位置更新请求被网络接受,则移动管理网元发送位置更新接受消息给UE,实现了UE在网络上的注册。If the location update request is accepted by the network, the mobility management network element sends a location update accept message to the UE, which implements registration of the UE on the network.
313、移动管理网元将确定的APN发送给UE;313. The mobility management network element sends the determined APN to the UE.
在当前位置更新流程完成后,移动管理网元保持底层信令连接不释放,并发起单独的会话管理流程将确定的ProSe APN下发给UE。若确定使用多个ProSe APN,则将多个ProSe APN以列表形式发送给UE。需要说明的是,这里移动管理网元发起的会话管理流程,可以重用现有的会话管理流程,比如EPS会话管理信息请求(ESM information request)流程,也可以是新定义的会话管理流程,此处不做具体限定。After the current location update process is completed, the mobility management network element keeps the underlying signaling connection from being released, and initiates a separate session management process to deliver the determined ProSe APN to the UE. If it is determined that multiple ProSe APNs are used, multiple ProSe APNs are sent to the UE in a list form. It should be noted that the session management process initiated by the mobility management network element can reuse the existing session management process, such as an EPS session information request (ESM information request) process, or a newly defined session management process. No specific restrictions.
314、UE发起PDN连接建立请求;314. The UE initiates a PDN connection establishment request.
UE使用移动管理网元发送的ProSe APN,发起PDN连接建立请求。若移动管理网元发送多个ProSe APN,比如以列表形式发送给UE,UE选择其中一个ProSeAPN发起PDN连接建立请求。需要说明的是,在附着流程中,若在步骤306中移动管理网元只下发了缺省APN作为ProSe APN,则该步骤可以省略,因为在附着流程中建立的缺省PDN连接即为所需的PDN连接。The UE initiates a PDN connection establishment request using the ProSe APN sent by the mobility management network element. If the mobility management network element sends multiple ProSe APNs, for example, to the UE in the form of a list, the UE selects one of the ProSeAPNs to initiate a PDN connection establishment request. It should be noted that, in the attaching process, if the mobile management network element only delivers the default APN as the ProSe APN in step 306, the step may be omitted because the default PDN connection established in the attach process is required. PDN connection.
315、UE通过PDN连接实现UE与归属ProSe功能网元之间的通信。315. The UE implements communication between the UE and the home ProSe function network element by using a PDN connection.
UE使用移动管理网元发送的ProSe APN建立PDN连接,通过该PDN连接实现UE与归属ProSe功能网元之间的直接通信。The UE establishes a PDN connection by using the ProSe APN sent by the mobility management network element, and the direct communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
在图3所示实施例的基础上,请参阅图4,本发明实施例中近距离业务通信方法的另一个实施例包括:移动管理网元确定用户设备UE访问所述UE的 归属近距离业务ProSe功能网元所需的接入点名称APN;其中,包括:移动管理网元接收UE发送的UE中配置的APN;移动管理网元确定UE中配置的APN具备访问归属ProSe功能网元的能力;移动管理网元将UE中配置的APN确定为UE访问UE的归属ProSe功能网元所需的APN;移动管理网元将确定的APN发送给所述UE,以使UE使用该APN建立分组数据网络PDN连接。On the basis of the embodiment shown in FIG. 3, referring to FIG. 4, another embodiment of the short-range service communication method in the embodiment of the present invention includes: the mobility management network element determines that the user equipment UE accesses the UE The access point name APN required to belong to the ProSe function network element; the method includes: the mobility management network element receives the APN configured in the UE sent by the UE; and the mobility management network element determines that the APN configured in the UE has the function of accessing the home ProSe The capability of the network element; the mobility management network element determines the APN configured in the UE as the APN required for the UE to access the home ProSe functional network element of the UE; the mobility management network element sends the determined APN to the UE, so that the UE uses the The APN establishes a packet data network PDN connection.
401、运营商在网络侧配置访问归属ProSe功能网元的APN;401. The operator configures an APN that accesses the home ProSe function network element on the network side.
运营商在网络侧预先配置ProSe APN,比如配置在HSS或者移动管理网元中,该ProSe APN用于不同场景下的UE访问归属ProSe功能网元。The operator pre-configures the ProSe APN on the network side, for example, in the HSS or the mobility management network element, and the ProSe APN is used by the UE in different scenarios to access the home ProSe function network element.
402、UE向移动管理网元发起附着请求;402. The UE initiates an attach request to the mobility management network element.
UE在所驻留的网络发起附着流程实现到网络的注册,UE所发起的附着请求中捎带PDN连接请求消息,并携带了UE支持ProSe能力的指示信息,旨在告诉网络UE支持ProSe,若UE侧配置了ProSe APN,则在附着请求消息中还携带APN请求指示,用来触发网络请求该UE上报UE侧配置的ProSe APN。The UE initiates an attach procedure to the network to register, and the UE initiates an attach request with a PDN connection request message, and carries the indication information of the UE supporting the ProSe capability, so as to inform the network UE to support ProSe, if the UE The ProSe APN is configured on the side, and the APN request indication is also carried in the attach request message, which is used to trigger the network to request the UE to report the ProSe APN configured on the UE side.
403、移动管理网元向HSS发起更新位置请求;403. The mobility management network element initiates an update location request to the HSS.
404、HSS向移动管理网元发送更新位置响应消息;404. The HSS sends an update location response message to the mobility management network element.
步骤401~404与图3所示实施例中的步骤301~304相似,具体参阅步骤301~304,此处不再赘述。Steps 401 to 404 are similar to steps 301 to 304 in the embodiment shown in FIG. 3, and refer to steps 301-304, and details are not described herein again.
405、移动管理网元发起会话管理流程;405. The mobility management network element initiates a session management process.
所述移动管理网元在步骤402中的附着流程中接收所述UE发送的APN请求指示,所述移动管理网元根据所述APN请求指示信息在所述附着流程中发起所述会话管理流程,其中,所述APN请求指示信息用于请求所述移动管理网元向所述UE请求所述UE中配置的ProSe APN;Receiving, by the mobility management network element, the APN request indication sent by the UE in the attaching process in step 402, where the mobility management network element initiates the session management process in the attaching process according to the APN request indication information, The APN request indication information is used to request the mobility management network element to request the ProSe APN configured in the UE from the UE.
移动管理网元根据步骤402中的APN请求指示,发起单独的会话管理流程请求UE将UE侧配置的APN发送给移动管理网元,UE在收到该请求后,将配置的APN上报给移动管理网元。需要说明的是,这里移动管理网元发起的会话管理流程,可以重用现有的会话管理流程,比如EPS会话管理信息请求流程,也可以是新定义的会话管理流程,此处不做具体限定。The mobile management network element initiates a separate session management process to request the UE to send the APN configured on the UE side to the mobility management network element according to the APN request indication in step 402. After receiving the request, the UE reports the configured APN to the mobility management. Network element. It should be noted that the session management process initiated by the mobility management network element can reuse the existing session management process, such as the EPS session management information request process, or the newly defined session management process, which is not specifically limited herein.
406、移动管理网元检测UE发送的UE中配置的APN是否具备访问归属ProSe功能网元的能力; 406. The mobility management network element detects whether the APN configured in the UE sent by the UE has the capability of accessing the home ProSe function network element.
移动管理网元检测UE发送的APN能否访问归属ProSe功能网元,具体地,若HSS发送了ProSe APN给移动管理网元,则移动管理网元可以进一步判断HSS发送的ProSe APN或移动管理网元中配置的ProSe APN是否包含UE发送的APN,若是,则确定UE发送的APN能访问归属ProSe功能网元。若HSS发送的APN和移动管理网元配置的APN均不包含UE发送的APN,则认为UE发送的APN不能访问归属ProSe功能网元,则移动管理网元将网络侧配置的ProSe APN确定为UE所需的ProSe APN,具体可参阅图3所示实施例中的步骤305,此处不再赘述。The mobility management network element detects whether the APN sent by the UE can access the home ProSe function network element. Specifically, if the HSS sends the ProSe APN to the mobility management network element, the mobility management network element can further determine the ProSe APN or the mobility management network sent by the HSS. Whether the ProSe APN configured in the element includes the APN sent by the UE, and if yes, it is determined that the APN sent by the UE can access the home ProSe function network element. If the APN sent by the HSS and the APN configured by the mobility management network element do not include the APN sent by the UE, the APN that the UE sends cannot be accessed by the UE. The mobility management NE determines the ProSe APN configured on the network side as the UE. For the specific ProSe APN, refer to step 305 in the embodiment shown in FIG. 3, and details are not described herein again.
407、移动管理网元确定UE访问UE的归属ProSe功能网元所需的APN;407. The mobility management network element determines an APN required for the UE to access the home ProSe functional network element of the UE.
可选的,所述移动管理网元接收所述UE发送的所述UE中配置的APN;Optionally, the mobility management network element receives an APN configured in the UE that is sent by the UE;
可以理解的是,所述移动管理网元在所述会话管理流程中接收所述UE发送的所述UE中配置的APN或者在所述UE发起的PDN连接建立流程中接收所述UE发送的所述UE中配置的APN。It can be understood that, in the session management process, the mobility management network element receives an APN configured in the UE that is sent by the UE or receives a location that is sent by the UE in a PDN connection establishment procedure initiated by the UE. The APN configured in the UE.
所述移动管理网元确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力;所述移动管理网元将所述UE中配置的APN确定为所述UE访问所述UE的归属ProSe功能网元所需的APN。The mobility management network element determines that the APN configured in the UE has the capability of accessing the home ProSe function network element; the mobility management network element determines the APN configured in the UE as the UE accessing the UE The APN required to belong to the ProSe function network element.
可选的,当HSS发送的APN或者所述移动管理网元中配置的APN包含所述UE中配置的APN时,所述移动管理网元确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力,其中,所述HSS发送的APN或者所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。Optionally, when the APN sent by the HSS or the APN configured in the mobility management network element includes the APN configured in the UE, the mobility management network element determines that the APN configured in the UE has access to the home ProSe The capability of the function network element, wherein the APN sent by the HSS or the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element.
408、移动管理网元向UE发送附着接受消息;408. The mobility management network element sends an attach accept message to the UE.
若附着请求被网络接受,则移动管理网元发送附着接受消息给UE。在该附着接受消息中,捎带了缺省承载激活请求消息,该缺省承载激活请求消息中包含了移动管理网元确定的ProSe APN。若移动管理网元确定使用多个ProSe APN,则将多个ProSe APN一并发送给UE,比如以列表的形式发送给UE。需要说明的是,若在步骤407中确定使用UE发送的APN,则在该步骤中可以不携带ProSe APN给UE,后续UE使用UE中配置的ProSe APN来建立PDN连接。If the attach request is accepted by the network, the mobility management network element sends an attach accept message to the UE. In the attach accept message, a default bearer activation request message is included, and the default bearer activation request message includes the ProSe APN determined by the mobility management network element. If the mobility management network element determines to use multiple ProSe APNs, multiple ProSe APNs are sent to the UE together, for example, sent to the UE in the form of a list. It should be noted that, if it is determined in step 407 that the APN sent by the UE is used, the ProSe APN may not be carried to the UE in this step, and the subsequent UE uses the ProSe APN configured in the UE to establish a PDN connection.
409、UE向移动管理网元发送附着确认消息;409. The UE sends an attach confirmation message to the mobility management network element.
需要说明的是,UE在网络上进行注册,旨在告诉移动管理网元UE支持 ProSe,其中,UE可以发起任意一个流程实现在网络上的注册:附着流程(如上述步骤402~409),或者位置更新流程(如下面步骤410~416),但在同一时刻,UE只能发起一个流程实现网络注册,故步骤402~409与步骤410~416不可能同时发生。It should be noted that the UE registers on the network, and is intended to inform the mobile management network element UE to support. ProSe, wherein the UE may initiate any one of the processes to implement registration on the network: an attach procedure (such as steps 402-409 above), or a location update procedure (such as steps 410-416 below), but at the same time, the UE can only initiate One process implements network registration, so steps 402-409 and steps 410-416 cannot occur simultaneously.
410、UE向移动管理网元发送位置更新请求;410. The UE sends a location update request to the mobility management network element.
UE在所驻留的网络发起位置更新流程实现到网络的注册。UE所发起的位置更新请求中携带了UE支持ProSe能力的指示信息,旨在告诉网络该UE支持ProSe。若UE配置了ProSe APN,则在位置更新请求消息中还携带APN请求指示,用来触发网络请求该UE上报UE侧配置的ProSe APN。若UE驻留在E-UTRAN,该位置更新流程可以为跟踪域更新(英文全称:Tracking Area Updating,缩写:TAU)流程。The UE initiates a location update procedure on the hosted network to implement registration to the network. The location update request initiated by the UE carries the indication information of the UE supporting the ProSe capability, and is intended to inform the network that the UE supports the ProSe. If the UE is configured with the ProSe APN, the location update request message further carries an APN request indication, which is used to trigger the network to request the UE to report the ProSe APN configured on the UE side. If the UE resides in the E-UTRAN, the location update process may be a tracking domain update (English name: Tracking Area Updating, abbreviation: TAU) process.
411、移动管理网元向HSS发送更新位置请求;411. The mobility management network element sends an update location request to the HSS.
412、HSS向移动管理网元发送位置更新响应消息;412. The HSS sends a location update response message to the mobility management network element.
步骤411~412与图3所示实施例中的步骤309~310相似,具体可参阅步骤309~310,此处不再赘述。The steps 411-412 are similar to the steps 309-310 in the embodiment shown in FIG. 3. For details, refer to steps 309-310, and details are not described herein again.
413、移动管理网元向UE发送位置更新接受消息;413. The mobility management network element sends a location update accept message to the UE.
若位置更新请求被网络接受,则移动管理网元发送位置更新接受消息给UE,实现了UE在网络上的注册。If the location update request is accepted by the network, the mobility management network element sends a location update accept message to the UE, which implements registration of the UE on the network.
414、移动管理网元发起会话管理流程;414. The mobility management network element initiates a session management process.
所述移动管理网元在步骤410中的位置更新流程中接收所述UE发送的APN请求指示,所述移动管理网元根据所述APN请求指示信息在所述位置更新流程完成后,保持底层信令连接不释放,并发起所述会话管理流程,其中,所述APN请求指示信息用于请求所述移动管理网元向所述UE请求所述UE中配置的APN。UE在收到该请求后,将配置的APN上报给移动管理网元。需要说明的是,这里移动管理网元发起的会话管理流程,可以重用现有的会话管理流程,比如EPS会话管理信息请求流程,也可以是新定义的会话管理流程,此处不做具体限定。The mobile management network element receives the APN request indication sent by the UE in the location update process in step 410, and the mobility management network element keeps the underlying information after the location update process is completed according to the APN request indication information. The connection is not released, and the session management process is initiated, where the APN request indication information is used to request the mobility management network element to request the APN configured in the UE from the UE. After receiving the request, the UE reports the configured APN to the mobility management network element. It should be noted that the session management process initiated by the mobility management network element can reuse the existing session management process, such as the EPS session management information request process, or the newly defined session management process, which is not specifically limited herein.
415、移动管理网元检测UE发送的UE中配置的APN是否具备访问归属ProSe功能网元的能力; 415. The mobility management network element detects whether the APN configured in the UE sent by the UE has the capability of accessing the home ProSe function network element.
移动管理网元检测UE发送的APN能否访问归属ProSe功能网元,具体地,若HSS发送了ProSe APN给移动管理网元,则移动管理网元可以进一步判断HSS发送的ProSe APN或移动管理网元中配置的ProSe APN是否包含UE发送的APN,若是,则确定UE发送的APN能访问归属ProSe功能网元。若HSS发送的APN和移动管理网元配置的APN均不包含UE发送的APN,则认为UE发送的APN不能访问归属ProSe功能网元,则移动管理网元将网络侧配置的ProSe APN确定为UE所需的ProSe APN,具体可参阅图3所示实施例中的步骤305,此处不再赘述。The mobility management network element detects whether the APN sent by the UE can access the home ProSe function network element. Specifically, if the HSS sends the ProSe APN to the mobility management network element, the mobility management network element can further determine the ProSe APN or the mobility management network sent by the HSS. Whether the ProSe APN configured in the element includes the APN sent by the UE, and if yes, it is determined that the APN sent by the UE can access the home ProSe function network element. If the APN sent by the HSS and the APN configured by the mobility management network element do not include the APN sent by the UE, the APN that the UE sends cannot be accessed by the UE. The mobility management NE determines the ProSe APN configured on the network side as the UE. For the specific ProSe APN, refer to step 305 in the embodiment shown in FIG. 3, and details are not described herein again.
416、移动管理网元确定UE访问UE的归属ProSe功能网元所需的APN;416. The mobility management network element determines an APN required for the UE to access the home ProSe function network element of the UE.
417、移动管理网元将确定的APN发送给UE;417. The mobility management network element sends the determined APN to the UE.
可选的,所述移动管理网元在所述UE发起的附着流程中将确定的所述APN发送给所述UE;或者,所述移动管理网元在所述UE发起的位置更新流程完成后,发起的会话管理流程中将确定的所述APN发送给所述UE;或者,所述移动管理网元在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE。Optionally, the mobility management network element sends the determined APN to the UE in an attach procedure initiated by the UE; or the mobility management network element after the location update process initiated by the UE is completed And sending, by the initiated session management process, the determined APN to the UE; or, the mobility management network element sends the determined APN to the UE in a PDN connection establishment procedure initiated by the UE.
进一步,当所述移动管理网元在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE时,还包括:Further, when the mobility management network element sends the determined APN to the UE in the PDN connection establishment process initiated by the UE, the method further includes:
所述移动管理网元向所述UE发送原因值,所述原因值用于指示所述UE使用所述移动管理网元发送的所述APN建立所述PDN连接以实现所述UE与所述归属ProSe功能网元之间的通信。The mobility management network element sends a cause value to the UE, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element to implement the UE and the attribution Communication between ProSe function network elements.
移动管理网元向所述UE发送原因值,所述原因值用于指示所述UE使用所述移动管理网元发送的所述APN建立所述PDN连接以实现所述UE与归属ProSe功能网元之间的通信,若UE不携带该原因值,则UE可能拒绝移动管理网元发送的缺省承载激活请求,导致PDN连接建立失败。The mobile management network element sends a cause value to the UE, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element to implement the UE and the home ProSe function network element. If the UE does not carry the cause value, the UE may reject the default bearer activation request sent by the mobility management network element, causing the PDN connection establishment to fail.
418、UE发起PDN连接建立请求;418. The UE initiates a PDN connection establishment request.
UE接收到移动管理网元发送的ProSe APN,则使用移动管理网元发送的ProSe APN发起PDN连接建立请求。若移动管理网元发送了多个ProSe APN,比如以列表的形式,UE选择其中一个ProSe APN发起PDN连接建立请求。若UE没有接收到移动管理网元发送的ProSe APN,则UE使用UE配置的ProSe  APN发起PDN连接建立请求。需要说明的是,在附着流程中,若在步骤408中移动管理网元只下发了缺省APN作为所需的APN,则该步骤可以省略,因为在附着流程中建立的缺省PDN连接即为所需的PDN连接。After receiving the ProSe APN sent by the mobility management network element, the UE initiates a PDN connection establishment request by using the ProSe APN sent by the mobility management network element. If the mobility management network element sends multiple ProSe APNs, for example in the form of a list, the UE selects one of the ProSe APNs to initiate a PDN connection establishment request. If the UE does not receive the ProSe APN sent by the mobility management network element, the UE uses the ProSe configured by the UE. The APN initiates a PDN connection setup request. It should be noted that, in the attaching process, if the mobile management network element only delivers the default APN as the required APN in step 408, the step may be omitted because the default PDN connection established in the attach process is The required PDN connection.
419、UE通过使用ProSe APN建立的PDN连接实现UE与归属ProSe功能网元之间的通信。419. The UE implements communication between the UE and the home ProSe functional network element by using a PDN connection established by the ProSe APN.
本发明实施例中,若UE侧配置了APN,移动管理网元接收UE发送的UE中配置的APN,并检查UE中配置的APN是否具备访问归属Prose功能网元的能力,若移动管理网元确定UE中配置的APN具备访问归属Prose功能网元的能力时,则将该UE中配置的APN确定为访问UE的Prose功能网元所需的APN,若移动管理网元确定UE发送的APN不具备访问归属Prose功能网元的能力时,则将网络侧配置的APN确定为所需的APN,网络侧配置的APN具备访问归属Prose功能网元的能力,从而确保UE在任何场景下,使用具备访问UE的归属Prose功能网元的APN建立PDN连接,通过该PDN连接实现所述UE与归属ProSe功能网元之间的通信。In the embodiment of the present invention, if the APN is configured on the UE side, the mobility management network element receives the APN configured in the UE, and checks whether the APN configured in the UE has the capability of accessing the home Prorose function network element, if the mobility management network element If the APN configured in the UE has the capability of accessing the home Prose function network element, the APN configured in the UE is determined as the APN required to access the Prose function network element of the UE, and if the mobility management network element determines that the APN sent by the UE is not The APN configured on the network side is determined to be the required APN, and the APN configured on the network side has the capability of accessing the home Prorose function network element, thereby ensuring that the UE is used in any scenario. Accessing the APN of the home Prose function network element of the UE establishes a PDN connection, and the communication between the UE and the home ProSe function network element is implemented through the PDN connection.
下面从UE的角度,对本发明方案进行介绍。The solution of the present invention will be described below from the perspective of the UE.
本发明实施例中近距离通信方法的另一个实施例包括:用户设备UE接收移动管理网元发送的接入点名称APN,所述APN为所述移动管理网元确定的所述UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;所述UE使用所述APN建立分组数据网络PDN连接。Another embodiment of the short-range communication method in the embodiment of the present invention includes: the user equipment UE receives an access point name APN sent by the mobility management network element, where the APN is the UE accessing the mobile control network element The access point name APN required by the UE to belong to the ProSe function network element; the UE establishes a packet data network PDN connection using the APN.
请参阅图5,具体可包括:Please refer to FIG. 5, which may specifically include:
501、用户设备UE接收移动管理网元发送的接入点名称APN;501. The user equipment UE receives an access point name APN sent by the mobility management network element.
与现有技术不同的是,UE接收移动管理网元发送的APN,该APN具备访问该UE的归属Prose功能网元的能力,即ProSe APN,并使用该ProSe APN建立分组数据网络PDN连接,由于运营商预先协商确定ProSe APN时,将该确定的ProSe APN配置在网络侧,例如:配置在HSS或者移动管理网元中,而后续移动管理网元可以直接从网络侧获取ProSe APN,或者接收UE发送的UE中配置的APN,确定UE中配置的APN具备访问归属Prose功能网元的能力时,进一步确定UE中配置的APN确定为ProSe APN,移动管理网元通过该ProSe APN可以选择对应的一个PDN网关建立PDN连接,通过该PDN连 接实现UE与归属ProSe功能网元之间的通信,从而确保UE在任何场景下,使用ProSe APN建立PDN连接,通过该PDN连接实现UE与归属ProSe功能网元之间的通信。Different from the prior art, the UE receives the APN sent by the mobility management network element, and the APN has the capability of accessing the home Prose function network element of the UE, that is, the ProSe APN, and uses the ProSe APN to establish a packet data network PDN connection, because When the operator determines the ProSe APN in advance, the determined ProSe APN is configured on the network side, for example, in the HSS or the mobility management network element, and the subsequent mobility management network element can directly obtain the ProSe APN from the network side, or receive the UE. When the APN configured in the UE determines that the APN configured in the UE has the capability to access the home Prorose function network element, it is further determined that the APN configured in the UE is determined to be a ProSe APN, and the mobility management network element can select a corresponding one through the ProSe APN. The PDN gateway establishes a PDN connection through the PDN connection. The communication between the UE and the home ProSe functional network element is implemented by using the ProSe APN to establish a PDN connection in the UE.
502、UE使用该APN建立分组数据网络PDN连接。502. The UE establishes a packet data network PDN connection by using the APN.
UE使用该ProSe APN向移动管理网元发送PDN连接建立请求,即在该PDN连接建立请求中携带该ProSe APN,所述移动管理网元根据所述ProSe APN选择对应的PDN网关,并向所述UE发送缺省承载激活请求;所述UE接受所述移动管理网元发送的所述缺省承载激活请求并向移动管理网元发送缺省承载激活接受消息,从而建立PDN连接,通过该PDN连接实现所述UE与归属ProSe功能网元之间的通信。The UE uses the ProSe APN to send a PDN connection establishment request to the mobility management network element, that is, the ProSe APN is carried in the PDN connection establishment request, and the mobility management network element selects a corresponding PDN gateway according to the ProSe APN, and the The UE sends a default bearer activation request; the UE accepts the default bearer activation request sent by the mobility management network element, and sends a default bearer activation accept message to the mobility management network element, thereby establishing a PDN connection, and connecting through the PDN The communication between the UE and the home ProSe functional network element is implemented.
在本发明实施例中,UE接收移动管理网元发送的APN,并使用该APN建立分组数据网络PDN连接,移动管理网元发送的APN具备访问归属Prose功能网元的能力,确保UE在任何场景下,使用ProSe APN建立PDN连接,通过该PDN连接实现UE与归属ProSe功能网元之间的通信。In the embodiment of the present invention, the UE receives the APN sent by the mobility management network element, and uses the APN to establish a packet data network PDN connection, and the APN sent by the mobility management network element has the capability of accessing the home Prose function network element to ensure that the UE is in any scenario. The PDN connection is established by using the ProSe APN, and the communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
请参阅图6,本发明实施例中近距离业务通信方法的另一个实施例包括:UE向移动管理网元发送UE中配置的APN;UE接收移动管理网元发送的APN,所述APN为所述移动管理网元确定的所述UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;所述UE使用所述APN建立分组数据网络PDN连接。Referring to FIG. 6, another embodiment of the short-range service communication method in the embodiment of the present invention includes: the UE sends an APN configured in the UE to the mobility management network element; the UE receives the APN sent by the mobility management network element, where the APN is Determining, by the mobility management network element, an access point name APN required by the UE to access a ProSe function network element of the UE, and using the APN to establish a packet data network PDN connection.
601、运营商在网络侧配置访问归属ProSe功能网元的APN;601. The operator configures an APN that accesses the home ProSe function network element on the network side.
运营商在网络侧预先配置ProSe APN,比如配置在HSS或者移动管理网元中,该ProSe APN用于不同场景下的UE访问归属ProSe功能网元。The operator pre-configures the ProSe APN on the network side, for example, in the HSS or the mobility management network element, and the ProSe APN is used by the UE in different scenarios to access the home ProSe function network element.
602、UE向移动管理网元发送PDN连接建立请求;602. The UE sends a PDN connection establishment request to the mobility management network element.
在所述PDN连接建立请求包含所述ProSe APN,所述PDN连接建立请求用于请求所述移动管理网元根据所述ProSe APN选择对应的PDN网关。The PDN connection establishment request includes the ProSe APN, and the PDN connection establishment request is used to request the mobility management network element to select a corresponding PDN gateway according to the ProSe APN.
603、移动管理网元检测UE发送的UE中配置的APN是否具备访问归属ProSe功能网元的能力;603. The mobility management network element detects whether the APN configured in the UE sent by the UE has the capability of accessing the home ProSe function network element.
首先,UE向移动管理网元发送UE中配置的APN,可选的,在以下任意一种流程中可实现UE向移动管理网元发送UE中配置的APN,具体为:所述 UE在所述UE发起的附着流程中向所述移动管理网元发送APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN,所述UE在所述移动管理网元根据所述APN请求指示所发起的会话管理流程中向所述移动管理网元发送所述UE中配置的APN;或者,所述UE在所述UE发起的位置更新流程中向所述移动管理网元发送APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN,所述UE在所述移动管理网元根据所述APN请求指示所发起的会话管理流程中向所述移动管理网元发送所述UE中配置的APN;或者,所述UE在所述UE发起的PDN连接建立流程中向所述移动管理网元发送所述UE中配置的APN。First, the UE sends the APN configured in the UE to the mobility management network element. Optionally, in any one of the following processes, the UE may send the APN configured in the UE to the mobility management network element, specifically: Sending, by the UE, an APN request indication to the mobility management network element, where the APN request indication is used to request the mobility management network element to request an APN configured in the UE from the UE. Transmitting, by the UE, the APN configured in the UE to the mobility management network element in the session management process initiated by the mobility management network element according to the APN request indication; or the location initiated by the UE in the UE Sending, in the update process, an APN request indication to the mobility management network element, where the APN request indication is used to request the mobility management network element to request an APN configured in the UE from the UE, where the UE is in the mobility management Transmitting, by the network element, the APN configured in the UE to the mobility management network element according to the APN request indication, or the UE is in the PDN connection establishment process initiated by the UE The mobility management network element sends the APN configured in the UE.
需要说明的是,所述移动管理网元在所述附着流程中发起所述会话管理流程或者所述移动管理网元在所述位置更新流程完成后发起所述会话管理流程。It should be noted that the mobility management network element initiates the session management process in the attach process, or the mobility management network element initiates the session management process after the location update process is completed.
进一步,当所述UE在所述UE发起的PDN连接建立流程中接收所述移动管理网元发送的APN时,还包括:Further, when the UE receives the APN sent by the mobility management network element in the PDN connection establishment process initiated by the UE, the method further includes:
所述UE接收所述移动管理网元发送的原因值,所述原因值用于指示所述UE使用所述移动管理网元发送的所述APN建立所述PDN连接以实现所述UE与所述归属ProSe功能网元之间的通信。Receiving, by the UE, a cause value sent by the mobility management network element, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element to implement the UE and the Communication between the ProSe functional network elements.
进一步,移动管理网元检测UE发送的APN能否访问归属ProSe功能网元,具体地,若HSS发送了ProSe APN给移动管理网元,则移动管理网元可以进一步判断UE发送的APN是否包含在HSS发送的ProSe APN中或移动管理网元中配置的ProSe APN中,若在,则确定UE发送的APN能访问归属ProSe功能网元。若UE发送的APN均不在HSS发送的ProSe APN和移动管理网元配置的ProSe APN中,则认为UE发送的APN不能访问归属ProSe功能网元,则移动管理网元将网络侧配置的ProSe APN确定为所需的ProSe APN。Further, the mobility management network element detects whether the APN sent by the UE can access the home ProSe function network element. Specifically, if the HSS sends the ProSe APN to the mobility management network element, the mobility management network element can further determine whether the APN sent by the UE is included in the In the ProSe APN sent by the HSS or the ProSe APN configured in the mobility management network element, if yes, it is determined that the APN sent by the UE can access the home ProSe functional network element. If the APN sent by the UE is not in the ProSe APN sent by the HSS and the ProSe APN configured by the mobility management network element, the APN sent by the UE cannot be accessed by the mobile device, and the mobility management network element determines the ProSe APN configured on the network side. For the required ProSe APN.
604、确定UE访问UE的归属ProSe功能网元所需的APN;604. Determine an APN required for the UE to access the home ProSe functional network element of the UE.
605、移动管理网元向UE发送缺省承载激活请求;605. The mobility management network element sends a default bearer activation request to the UE.
移动管理网元通过该ProSe APN可以选择一个PDN网关,并向UE发送缺省承载激活请求,该缺省承载激活请求中携带该ProSe APN,若移动管理网元确定的ProSe APN与UE发送的APN不同,移动管理网元在缺省承载激活请求中包 含一个新原因值,用来指示UE需要使用新的ProSe APN来建立PDN连接。需要说明的是,在现有技术中,移动管理网元在缺省承载激活请求中发送给UE的APN就是UE在PDN连接请求中携带的APN,若不携带该新原因值,则UE可能拒绝移动管理网元发送的缺省承载激活请求,导致PDN连接建立失败。The mobile management network element can select a PDN gateway through the ProSe APN, and send a default bearer activation request to the UE, where the default bearer activation request carries the ProSe APN, and if the ProSe APN determined by the mobility management network element and the APN sent by the UE Different, the mobility management network element is included in the default bearer activation request. Contains a new cause value to indicate that the UE needs to establish a PDN connection using the new ProSe APN. It should be noted that, in the prior art, the APN sent by the mobility management network element to the UE in the default bearer activation request is the APN carried by the UE in the PDN connection request. If the new cause value is not carried, the UE may refuse. The default bearer activation request sent by the mobility management NE causes the PDN connection establishment failure.
606、UE接受移动管理网元发送的缺省承载请求;606. The UE accepts a default bearer request sent by the mobility management network element.
UE接受移动管理网元发送的缺省承载激活请求并向移动管理网元发送缺省承载激活接受消息,从而建立PDN连接。The UE accepts the default bearer activation request sent by the mobility management network element and sends a default bearer activation accept message to the mobility management network element, thereby establishing a PDN connection.
607、UE使用该APN建立PDN连接实现UE与归属ProSe功能网元之间的通信。607. The UE establishes a PDN connection by using the APN to implement communication between the UE and the home ProSe function network element.
在本发明实施例中,UE向移动管理网元发送UE中配置的APN,以使移动管理网元确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力时将所述UE中配置的APN确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;UE接收移动管理网元发送的ProSe APN;所述UE使用所述ProSe APN建立分组数据网络PDN连接以实现所述UE与所述归属ProSe功能网元之间的通信,由于移动管理网元接收UE发送的UE中配置的APN,确定UE中配置的APN具备访问归属Prose功能网元的能力时,进一步确定UE中配置的APN确定为访问UE的Prose功能网元所需的APN,从而确保UE在任何场景下,使用ProSe APN建立PDN连接。In the embodiment of the present invention, the UE sends the APN configured in the UE to the mobility management network element, so that the mobility management network element determines that the APN configured in the UE has the capability of accessing the home ProSe function network element, and the UE is used. The APN configured in the UE is determined to be an APN required for the UE to access the home ProSe functional network element of the UE; the UE receives the ProSe APN sent by the mobility management network element; and the UE establishes a packet data network PDN connection by using the ProSe APN. The communication between the UE and the home ProSe function network element is implemented. When the mobile management network element receives the APN configured in the UE, and determines that the APN configured in the UE has the capability of accessing the home Prorose function network element, further It is determined that the APN configured in the UE is determined to be the APN required to access the Prose functional network element of the UE, thereby ensuring that the UE establishes a PDN connection using the ProSe APN in any scenario.
为便于更好的实施本发明实施例的上述相关方法,下面还提供用于配合上述方法的相关装置。In order to facilitate the better implementation of the above related methods of the embodiments of the present invention, related devices for cooperating with the above methods are also provided below.
请参阅图7,本发明实施例中移动管理网元700的一个实施例包括:确定模块701和发送模块702。Referring to FIG. 7, an embodiment of the mobility management network element 700 in the embodiment of the present invention includes: a determining module 701 and a sending module 702.
确定模块701,用于确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;The determining module 701 is configured to determine an access point name APN required for the user equipment UE to access the home short-range service ProSe function network element of the UE;
发送模块702,用于将确定模块701确定的所述APN发送给所述UE,以使所述UE使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。The sending module 702 is configured to send the APN determined by the determining module 701 to the UE, so that the UE establishes a packet data network PDN connection by using the APN, where the PDN connection is used to implement the UE and the Communication between the ProSe functional network elements.
本发明实施例中,确定模块确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;发送模块将确定模块确定的所 述APN发送给所述UE,以使所述UE使用所述APN建立分组数据网络PDN连接以实现所述UE与所述归属ProSe功能网元之间的通信,由于确定模块确定的APN具备访问归属Prose功能网元的能力,从而确保UE在任何场景下,使用具备访问归属Prose功能网元的能力的APN建立PDN连接,通过该PDN连接实现所述UE与归属ProSe功能网元之间的通信。In the embodiment of the present invention, the determining module determines an access point name APN required for the user equipment UE to access the ProSe function network element of the UE, and the sending module determines the location determined by the module. The APN is sent to the UE, so that the UE establishes a packet data network PDN connection by using the APN to implement communication between the UE and the home ProSe functional network element, and the APN determined by the determining module has access attribution. The capability of the Prose function network element ensures that the UE establishes a PDN connection using the APN having the capability of accessing the home Prose function network element in any scenario, and the communication between the UE and the home ProSe function network element is implemented through the PDN connection.
在图7所示实施例的基础上,进一步说明本发明的一个实施例,包括:确定模块和发送模块。An embodiment of the present invention is further illustrated on the basis of the embodiment shown in FIG. 7, comprising: a determining module and a transmitting module.
所述确定模块具体用于接收归属签约用户服务器HSS发送的APN,将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述HSS发送的APN具备访问所述归属ProSe功能网元的能力;The determining module is specifically configured to receive an APN sent by the home subscriber network server HSS, and determine at least one of the APNs sent by the HSS as an APN required by the UE to access the home ProSe function network element of the UE, where The APN sent by the HSS has the capability of accessing the home ProSe function network element;
或者,or,
所述确定模块具体用于将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力;The determining module is specifically configured to determine at least one of the APNs configured in the mobility management network element as an APN required by the UE to access a home ProSe function network element of the UE, where the mobility management network element The APN configured in the medium has the capability of accessing the home ProSe function network element;
进一步,所述确定模块具体用于当所述UE处于非漫游状态时,若接收到HSS发送的APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;Further, the determining module is specifically configured to: when the UE is in a non-roaming state, if the APN sent by the HSS is received, determine at least one of the APNs sent by the HSS as the UE accessing the UE. The APN required by the ProSe function network element; if the APN sent by the HSS is not received, at least one of the APNs configured in the mobility management network element is determined to be the home ProSe function network element of the UE accessing the UE. Required APN;
或者,or,
所述确定模块具体用于当所述UE处于漫游状态时,若没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若接收到HSS发送的APN且所述移动管理网元中没有配置APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若接收到HSS发送的APN且所述移动管理网元中配置了APN,则根据本地策略或者漫游协议从所述HSS发送的APN中选择至少一个APN作为所述UE访 问所述UE的归属ProSe功能网元所需的APN,或者根据本地策略或者漫游协议从所述移动管理网元中配置的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN;The determining module is specifically configured to: when the UE is in a roaming state, if the APN sent by the HSS is not received, determine at least one of the APNs configured in the mobility management network element to be that the UE accesses the UE The APN required to belong to the ProSe function network element; if the APN sent by the HSS is received and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be the UE accessing the The APN required by the UE to the ProSe function network element; if the APN sent by the HSS is received and the APN is configured in the mobility management network element, at least one APN is selected from the APNs sent by the HSS according to the local policy or the roaming protocol. Visited as the UE Asking the APN required by the UE to be a ProSe-enabled network element, or selecting at least one APN from the APNs configured in the mobility management network element as the home ProSe function of the UE to access the UE according to a local policy or a roaming protocol. APN required by the network element;
其中,所述HSS发送的APN和所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
进一步,所述发送模块具体用于在所述UE发起的附着流程中将确定的所述APN发送给所述UE;Further, the sending module is specifically configured to send the determined APN to the UE in an attach procedure initiated by the UE;
或者,or,
所述发送模块具体用于在所述UE发起的位置更新流程完成后发起的所述会话管理流程中将确定的所述APN发送给所述UE。The sending module is specifically configured to send the determined APN to the UE in the session management process initiated after the location update process initiated by the UE is completed.
在图7所示实施例的基础上,进一步说明本发明另一个实施例,包括:确定模块和发送模块。Based on the embodiment shown in FIG. 7, another embodiment of the present invention is further illustrated, including: a determining module and a transmitting module.
所述确定模块具体用于接收所述UE发送的所述UE中配置的APN;确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力,并将所述UE中配置的APN确定为所述UE访问所述UE的归属ProSe功能网元所需的APN。The determining module is specifically configured to receive an APN configured in the UE that is sent by the UE, and determine that the APN configured in the UE has the capability of accessing the home ProSe function network element, and configure the APN in the UE. Determining an APN required for the UE to access the home ProSe functional network element of the UE.
进一步,所述确定模块具体用于当HSS发送的APN或者所述移动管理网元中配置的APN包含所述UE中配置的APN时,确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力;Further, the determining module is specifically configured to: when the APN sent by the HSS or the APN configured in the mobility management network element includes the APN configured in the UE, determine that the APN configured in the UE has the function of accessing the home ProSe The ability of the network element;
其中,所述HSS发送的APN或者所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS or the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element.
进一步,所述确定模块具体用于在所述UE发起的附着流程中接收所述UE发送的APN请求指示,所述APN请求指示信息用于请求所述移动管理网元向所述UE请求所述UE中配置的APN;根据所述APN请求指示所发起会话管理流程;在所述会话管理流程中接收所述UE发送的所述UE中配置的APN;Further, the determining module is specifically configured to receive an APN request indication sent by the UE in an attach procedure initiated by the UE, where the APN request indication information is used to request the mobility management network element to request the The APN configured in the UE, according to the APN request, indicating the initiated session management process, and receiving, in the session management process, the APN configured in the UE sent by the UE;
或者,or,
所述确定模块具体用于在所述UE发起的位置更新流程中接收所述UE发送的APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN;根据所述APN请求指示所发起会话管理流程;在 所述会话管理流程中接收所述UE发送的所述UE中配置的APN;The determining module is configured to receive an APN request indication sent by the UE in a location update procedure initiated by the UE, where the APN request indication is used to request the mobility management network element to request the UE from the UE. The configured APN; indicating the initiated session management process according to the APN request; Receiving, in the session management process, an APN configured in the UE that is sent by the UE;
或者,or,
所述确定模块具体用于在所述UE发起的PDN连接建立流程中接收所述UE发送的所述UE中配置的APN。The determining module is specifically configured to receive, in the PDN connection establishment procedure initiated by the UE, an APN configured in the UE that is sent by the UE.
进一步,所述发送模块具体用于在所述UE发起的附着流程中将确定的所述APN发送给所述UE;Further, the sending module is specifically configured to send the determined APN to the UE in an attach procedure initiated by the UE;
或者,or,
所述发送模块具体用于在所述UE发起的位置更新流程完成后发起的所述会话管理流程中将确定的所述APN发送给所述UE;The sending module is specifically configured to send the determined APN to the UE in the session management process initiated after the location update process initiated by the UE is completed;
或者,or,
所述发送模块具体用于在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE。The sending module is specifically configured to send the determined APN to the UE in a PDN connection establishment procedure initiated by the UE.
进一步,当所述发送模块在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE时,还包括:Further, when the sending module sends the determined APN to the UE in the PDN connection establishment process initiated by the UE, the method further includes:
所述发送模块,具体还用于向所述UE发送原因值,所述原因值用于指示所述UE使用所述移动管理网元发送的所述APN建立所述PDN连接。The sending module is further configured to send a cause value to the UE, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element.
本发明实施例中,当确定模块确定UE中配置的APN具备访问归属ProSe功能网元的能力时,确定模块将UE中配置的APN确定为UE访问UE的归属ProSe功能网元所需的APN;发送模块将确定的APN发送给所述UE,以使UE使用该APN建立分组数据网络PDN连接以实现UE与归属ProSe功能网元之间的通信,由于确定模块确定的APN具备访问归属Prose功能网元的能力,从而确保UE在任何场景下,使用具备访问归属Prose功能网元的能力的APN建立PDN连接,通过该PDN连接实现所述UE与归属ProSe功能网元之间的通信。In the embodiment of the present invention, when the determining module determines that the APN configured in the UE has the capability of accessing the home ProSe function network element, the determining module determines the APN configured in the UE as the APN required for the UE to access the home ProSe function network element of the UE; The sending module sends the determined APN to the UE, so that the UE establishes a packet data network PDN connection by using the APN to implement communication between the UE and the home ProSe functional network element, and the APN determined by the determining module has access to the home Prose function network. The ability of the UE to ensure that the UE establishes a PDN connection using the APN having the capability of accessing the home function of the Pros. In any scenario, the communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
请参阅图8,本发明实施例中用户设备UE800的一个实施例包括:接收模块801和建立模块802;Referring to FIG. 8, an embodiment of the user equipment UE800 in the embodiment of the present invention includes: a receiving module 801 and an establishing module 802;
所述接收模块801,用于接收移动管理网元发送的接入点名称APN,所述APN为所述移动管理网元确定的所述UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN; The receiving module 801 is configured to receive an access point name APN sent by the mobility management network element, where the APN is determined by the mobility management network element, and the UE accesses the UE's home proximity service ProSe function network element. Required access point name APN;
所述建立模块802,用于使用所述APN建立分组数据网络PDN连接以实现所述UE与所述归属ProSe功能网元之间的通信。The establishing module 802 is configured to establish a packet data network PDN connection by using the APN to implement communication between the UE and the home ProSe functional network element.
在本发明实施例中,接收模块接收移动管理网元发送的接入点名称APN;建立模块使用所述APN建立分组数据网络PDN连接以实现所述UE与所述归属ProSe功能网元之间的通信。确保UE在任何场景下,使用具体的具备访问归属Prose功能网元的能力的APN建立PDN连接以实现所述UE与归属ProSe功能网元之间的通信。In the embodiment of the present invention, the receiving module receives the access point name APN sent by the mobility management network element, and the establishing module uses the APN to establish a packet data network PDN connection to implement the relationship between the UE and the home ProSe functional network element. Communication. Ensure that the UE establishes a PDN connection in a specific manner using an APN having the capability of accessing the home Prose function network element to implement communication between the UE and the home ProSe function network element.
在图8所示实施例的基础上,请参阅图9,进一步说明本发明的一个实施例,包括:发送模块901,接收模块902和建立模块903;On the basis of the embodiment shown in Figure 8, please refer to Figure 9, further illustrating an embodiment of the present invention, comprising: a transmitting module 901, a receiving module 902 and an establishing module 903;
发送模块901,用于在所述接收模块902接收移动管理网元发送的接入点名称APN之前,向所述移动管理网元发送所述UE中配置的APN;The sending module 901 is configured to: before the receiving module 902 receives the access point name APN sent by the mobility management network element, send the APN configured in the UE to the mobility management network element;
所述建立模块903,具体用于向所述移动管理网元发送PDN连接建立请求,所述PDN连接建立请求用于请求为所述UE建立所述PDN连接,所述PDN连接建立请求中包含所述APN;接收所述移动管理网元发送的缺省承载激活请求;以及根据所述移动管理网元发送的所述缺省承载激活请求,建立所述PDN连接。The establishing module 903 is specifically configured to send a PDN connection establishment request to the mobility management network element, where the PDN connection establishment request is used to request to establish the PDN connection for the UE, where the PDN connection establishment request includes Receiving an APN; receiving a default bearer activation request sent by the mobility management network element; and establishing the PDN connection according to the default bearer activation request sent by the mobility management network element.
所述发送模块901,具体用于在所述UE发起的附着流程中向所述移动管理网元发送APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN,在所述移动管理网元根据所述APN请求指示所发起的会话管理流程中向所述移动管理网元发送所述UE中配置的APN;The sending module 901 is specifically configured to send an APN request indication to the mobility management network element in an attach procedure initiated by the UE, where the APN request indication is used to request the mobility management network element to request the UE The APN configured in the UE, in the session management process initiated by the mobility management network element according to the APN request indication, sending the APN configured in the UE to the mobility management network element;
或者,or,
所述发送模块901,具体用于在所述UE发起的位置更新流程中向所述移动管理网元发送APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN,在所述移动管理网元根据所述APN请求指示所发起的会话管理流程中向所述移动管理网元发送所述UE中配置的APN;The sending module 901 is specifically configured to send, in the location update process initiated by the UE, an APN request indication to the mobility management network element, where the APN request indication is used to request the mobility management network element to request the UE The APN configured in the UE sends the APN configured in the UE to the mobility management network element in the session management process initiated by the mobility management network element according to the APN request indication;
或者,or,
所述发送模块901,具体用于在所述UE发起的PDN连接建立流程中向所 述移动管理网元发送所述UE中配置的APN。The sending module 901 is specifically configured to: in the PDN connection establishment process initiated by the UE The mobility management network element sends the APN configured in the UE.
所述接收模块902,具体用于在所述UE发起的附着流程中接收所述移动管理网元发送的所述APN;The receiving module 902 is specifically configured to receive the APN sent by the mobility management network element in an attach procedure initiated by the UE;
或者,or,
所述接收模块902,具体用于在所述UE发起的位置更新流程完成后发起的会话管理流程中接收所述移动管理网元发送的所述APN;The receiving module 902 is specifically configured to receive the APN sent by the mobility management network element in a session management process initiated after the location update process initiated by the UE is completed;
或者,or,
所述接收模块902,具体用于在所述UE发起的PDN连接建立流程中接收所述移动管理网元发送的所述APN。The receiving module 902 is specifically configured to receive the APN sent by the mobility management network element in a PDN connection establishment process initiated by the UE.
当所述接收模块902在所述UE发起的PDN连接建立流程中接收所述移动管理网元发送的所述APN时,还包括:When the receiving module 902 receives the APN sent by the mobility management network element in the PDN connection establishment process initiated by the UE, the method further includes:
所述接收模块902,具体还用于接收所述移动管理网元发送的原因值,所述原因值用于指示所述UE使用所述移动管理网元发送的所述APN建立所述PDN连接。The receiving module 902 is further configured to receive a cause value sent by the mobility management network element, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element.
图7至图9所示的实施例从功能模块的角度对近距离业务通信的相关设备的具体结构进行了说明,以下结合图10的实施例从硬件角度对近距离业务通信装置的具体结构进行说明:The embodiment shown in FIG. 7 to FIG. 9 illustrates the specific structure of the related device for short-distance service communication from the perspective of the function module. The specific structure of the short-distance service communication device is performed from the hardware point of view below with reference to the embodiment of FIG. Description:
请参阅图10,图10为本发明实施例提供的移动管理网元1000的一个结构示意图,包括收发器1001、存储器1002、处理器1003以及总线1004,所述收发器1001、存储器1002以及处理器1003与所述总线1004连接,其中:Referring to FIG. 10, FIG. 10 is a schematic structural diagram of a mobility management network element 1000 according to an embodiment of the present invention, including a transceiver 1001, a memory 1002, a processor 1003, and a bus 1004. The transceiver 1001, the memory 1002, and a processor are shown. 1003 is connected to the bus 1004, wherein:
所述收发器1001用于接收或发送数据;The transceiver 1001 is configured to receive or send data;
所述存储器1002用于存储程序,所述处理器1001用于调用所述程序执行以下操作:The memory 1002 is configured to store a program, and the processor 1001 is configured to invoke the program to perform the following operations:
确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;Determining an access point name APN required by the user equipment UE to access the home short-range service ProSe function network element of the UE;
将确定的所述APN发送给所述UE,以使所述UE使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。 Sending the determined APN to the UE, so that the UE establishes a packet data network PDN connection by using the APN, where the PDN connection is used to implement communication between the UE and the home ProSe functional network element. .
可选的,确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN,包括:Optionally, the access point name APN required for the user equipment UE to access the home proximity service ProSe function network element of the UE includes:
所述处理器接收归属签约用户服务器HSS发送的APN,将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述HSS发送的APN具备访问所述归属ProSe功能网元的能力;Receiving, by the processor, the APN sent by the home subscriber network server HSS, and determining at least one of the APNs sent by the HSS as an APN required by the UE to access the home ProSe function network element of the UE; wherein the HSS The transmitted APN has the capability of accessing the home ProSe function network element;
或者,or,
所述处理器将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。Determining, by the processor, at least one of the APNs configured in the mobility management network element, the APN required for the UE to access the home ProSe function network element of the UE, where the mobility management network element is configured The APN has the ability to access the home ProSe functional network element.
可选的,所述UE处于非漫游状态时,若接收到HSS发送的APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;Optionally, when the UE is in a non-roaming state, if the APN sent by the HSS is received, at least one of the APNs sent by the HSS is determined to be required by the UE to access the home ProSe function network element of the UE. At least one of the APNs configured in the mobility management network element is determined as the APN required by the UE to access the home ProSe functional network element of the UE, if the APN sent by the HSS is not received;
或者,or,
当所述UE处于漫游状态时,若没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若接收到HSS发送的APN且所述移动管理网元中没有配置APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若接收到HSS发送的APN且所述移动管理网元中配置了APN,则根据本地策略或者漫游协议从所述HSS发送的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN,或者根据本地策略或者漫游协议从所述移动管理网元中配置的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN;When the UE is in the roaming state, if the APN sent by the HSS is not received, at least one of the APNs configured in the mobility management network element is determined to be the home ProSe functional network element of the UE accessing the UE. If the APN is received by the HSS, and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be the home ProSe functional network element that the UE accesses the UE. If the APN is sent by the HSS, and the APN is configured in the mobility management network element, selecting at least one APN from the ASN sent by the HSS as the UE accessing the local ASON or the roaming protocol Selecting at least one APN from the APN configured in the mobility management network element as the home ProSe function network element of the UE accessing the UE according to the local policy or the roaming protocol. Required APN;
其中,所述HSS发送的APN和所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
可选的,所述处理器确定用户设备UE访问所述UE的归属近距离业务 ProSe功能网元所需的接入点名称APN,包括:Optionally, the processor determines a home proximity service that the user equipment UE accesses the UE The access point name APN required by the ProSe function network element, including:
所述处理器接收所述UE发送的所述UE中配置的APN;The processor receives an APN configured in the UE that is sent by the UE;
当所述移动管理网元确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力时,所述处理器将所述UE中配置的APN确定为所述UE访问所述UE的归属ProSe功能网元所需的APN。When the mobility management network element determines that the APN configured in the UE has the capability of accessing the home ProSe function network element, the processor determines the APN configured in the UE as the UE accessing the UE. The APN required to belong to the ProSe function network element.
可选的,当HSS发送的APN或者所述移动管理网元中配置的APN包含所述UE中配置的APN时,确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力;Optionally, when the APN sent by the HSS or the APN configured in the mobility management network element includes the APN configured in the UE, determining that the APN configured in the UE has the capability of accessing the home ProSe function network element;
其中,所述HSS发送的APN或者所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS or the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element.
可选的,所述处理器接收所述UE发送的所述UE中配置的APN包括:Optionally, the receiving, by the processor, the APN configured in the UE sent by the UE includes:
所述处理器在所述UE发起的附着流程中接收所述UE发送的APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN;所述处理器根据所述APN请求指示所发起会话管理流程;所述处理器在所述会话管理流程中接收所述UE发送的所述UE中配置的APN;或者所述处理器在所述UE发起的位置更新流程中接收所述UE发送的APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN;所述处理器根据所述APN请求指示所发起会话管理流程;所述处理器在所述会话管理流程中接收所述UE发送的所述UE中配置的APN;或者,所述处理器在所述UE发起的PDN连接建立流程中接收所述UE发送的所述UE中配置配置的APN。Receiving, by the UE, an APN request indication sent by the UE, where the APN request indication is used to request the mobility management network element to request an APN configured in the UE from the UE; Determining, by the processor, the initiated session management process according to the APN request; the processor receiving, in the session management process, an APN configured in the UE sent by the UE; or the processor in the UE Receiving, in the initiated location update process, an APN request indication sent by the UE, where the APN request indication is used to request the mobility management network element to request an APN configured in the UE from the UE; The APN request indicates the initiated session management process; the processor receives the APN configured in the UE sent by the UE in the session management process; or the PDN connection establishment process initiated by the processor in the UE Receiving an APN configured in the UE sent by the UE.
可选的,所述处理器将确定的所述APN发送给UE包括:Optionally, the sending, by the processor, the determined APN to the UE includes:
所述处理器在所述UE发起的附着流程中将确定的所述APN发送给所述UE;或者,所述处理器在所述UE发起的位置更新流程完成后,发起的所述会话管理流程中将确定的所述APN发送给所述UE;或者,所述处理器在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE。The processor sends the determined APN to the UE in an attach procedure initiated by the UE; or the session management process initiated by the processor after the location update process initiated by the UE is completed And sending, by the processor, the determined APN to the UE in the PDN connection establishment procedure initiated by the UE.
可选的,当在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE时,还包括:Optionally, when the determined APN is sent to the UE in the PDN connection establishment process initiated by the UE, the method further includes:
所述处理器向所述UE发送原因值,所述原因值用于指示所述UE使用所述 移动管理网元发送的所述APN建立所述PDN连接以实现所述UE与所述归属ProSe功能网元之间的通信。Sending, by the processor, a cause value to the UE, where the cause value is used to indicate that the UE uses the The APN sent by the mobility management network element establishes the PDN connection to implement communication between the UE and the home ProSe functional network element.
可选的,所述处理器将确定的所述APN发送给所述UE,包括:Optionally, the sending, by the processor, the determined APN to the UE, including:
当所述处理器确定至少两个APN为所述UE访问所述UE的归属ProSe功能网元所需的APN时,所述处理器将确定的所述至少两个APN形成列表发送给所述UE。When the processor determines that at least two APNs are APNs required by the UE to access a home ProSe function network element of the UE, the processor sends the determined at least two APN formation lists to the UE .
本发明实施例还提供一种近距离业务通信***,包括:移动管理网元,用户设备;An embodiment of the present invention further provides a short-range service communication system, including: a mobility management network element, and a user equipment;
所述移动管理网元如图7所示实施例中的移动管理网元;The mobility management network element is the mobility management network element in the embodiment shown in FIG. 7;
所述用户设备如图8或图9所示的实施例中的用户设备。The user equipment is the user equipment in the embodiment shown in FIG. 8 or FIG. 9.
综上所述,移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;并将确定的APN发送给UE,以使得UE使用该APN建立分组数据网络PDN连接以实现所述UE与归属ProSe功能网元之间的通信,由于移动管理网元将确定后的APN发送给UE,确保UE在任何场景下,使用具备访问归属ProSe功能网元的能力的APN建立PDN连接,通过该PDN连接实现所述UE与归属ProSe功能网元之间的通信。In summary, the mobility management network element determines the access point name APN required by the user equipment UE to access the ProSe function network element of the UE, and sends the determined APN to the UE, so that the UE uses the APN. Establishing a packet data network PDN connection to implement communication between the UE and the home ProSe function network element, and the mobile management network element sends the determined APN to the UE, ensuring that the UE uses the visited home ProSe function network in any scenario. The APN of the capability of the element establishes a PDN connection, and communication between the UE and the home ProSe functional network element is implemented through the PDN connection.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of cells is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元 显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated as a unit The displayed components may or may not be physical units, ie may be located in one place, or may be distributed over multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。An integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上对本发明所提供的一种资源分配的装置及方法进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。 The apparatus and method for resource allocation provided by the present invention are described in detail above. The principles and implementation manners of the present invention are described in detail herein. The description of the above embodiments is only for helping to understand the present invention. The method and its core idea; at the same time, those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. In summary, the content of the present specification should not be construed as being limit.

Claims (29)

  1. 一种近距离业务通信方法,其特征在于,包括:A short-distance service communication method, comprising:
    移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;The mobility management network element determines an access point name APN required by the user equipment UE to access the ProSe function network element of the UE's home proximity service;
    所述移动管理网元将确定的所述APN发送给所述UE,以使所述UE使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。Transmitting, by the mobility management network element, the determined APN to the UE, so that the UE establishes a packet data network PDN connection by using the APN, where the PDN connection is used to implement the UE and the home ProSe function. Communication between network elements.
  2. 根据权利要求1所述的通信方法,其特征在于,所述移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN,包括:The communication method according to claim 1, wherein the mobility management network element determines an access point name APN required for the user equipment UE to access the home proximity service ProSe function network element of the UE, including:
    所述移动管理网元接收归属签约用户服务器HSS发送的APN,将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述HSS发送的APN具备访问所述归属ProSe功能网元的能力;Receiving, by the mobile management network element, an APN sent by the home subscriber network server HSS, and determining at least one of the APNs sent by the HSS as an APN required by the UE to access the home ProSe function network element of the UE; The APN sent by the HSS has the capability of accessing the home ProSe function network element;
    或者,or,
    所述移动管理网元将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The mobility management network element determines at least one of the APNs configured in the mobility management network element as an APN required by the UE to access the home ProSe function network element of the UE, where the mobility management network element The configured APN has the capability of accessing the home ProSe functional network element.
  3. 根据权利要求1或2所述的通信方法,其特征在于,所述移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN,包括:The communication method according to claim 1 or 2, wherein the mobility management network element determines an access point name APN required for the user equipment UE to access the home proximity service ProSe function network element of the UE, including:
    当所述UE处于非漫游状态时,若所述移动管理网元接收到HSS发送的APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若所述移动管理网元没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;When the UE is in a non-roaming state, if the mobility management network element receives the APN sent by the HSS, determine at least one of the APNs sent by the HSS as the home ProSe function network of the UE accessing the UE. If the mobile management network element does not receive the APN sent by the HSS, determine at least one of the APNs configured in the mobility management network element as the home ProSe function of the UE accessing the UE APN required by the network element;
    或者,or,
    当所述UE处于漫游状态时,若所述移动管理网元没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE 访问所述UE的归属ProSe功能网元所需的APN;若所述移动管理网元接收到HSS发送的APN且所述移动管理网元中没有配置APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若所述移动管理网元接收到HSS发送的APN且所述移动管理网元中配置了APN,则根据本地策略或者漫游协议从所述HSS发送的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN,或者根据本地策略或者漫游协议从所述移动管理网元中配置的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN;When the UE is in a roaming state, if the mobility management network element does not receive the APN sent by the HSS, determine at least one of the APNs configured in the mobility management network element as the UE. Accessing the APN required by the home ProSe function network element of the UE; if the mobility management network element receives the APN sent by the HSS and the APN is not configured in the mobility management network element, the APN in the HSS sent by the HSS At least one APN determined to be required by the UE to access the home ProSe function network element of the UE; if the mobility management network element receives the APN sent by the HSS and the APN is configured in the mobility management network element, according to the local The policy or the roaming protocol selects at least one APN from the APNs sent by the HSS as the APN required for the UE to access the home ProSe functional network element of the UE, or from the mobility management network element according to a local policy or a roaming protocol. Selecting at least one APN in the configured APN as the APN required for the UE to access the home ProSe function network element of the UE;
    其中,所述HSS发送的APN和所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
  4. 根据权利要求1所述的通信方法,其特征在于,所述移动管理网元确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN,包括:The communication method according to claim 1, wherein the mobility management network element determines an access point name APN required for the user equipment UE to access the home proximity service ProSe function network element of the UE, including:
    所述移动管理网元接收所述UE发送的所述UE中配置的APN;Receiving, by the mobility management network element, an APN configured in the UE sent by the UE;
    所述移动管理网元确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力;The mobility management network element determines that the APN configured in the UE has the capability of accessing the home ProSe function network element;
    所述移动管理网元将所述UE中配置的APN确定为所述UE访问所述UE的归属ProSe功能网元所需的APN。The mobility management network element determines the APN configured in the UE as the APN required by the UE to access the home ProSe function network element of the UE.
  5. 根据权利要求4所述的通信方法,其特征在于,所述移动管理网元确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力,包括:The communication method according to claim 4, wherein the mobility management network element determines that the APN configured in the UE has the capability of accessing the home ProSe function network element, and includes:
    当HSS发送的APN或者所述移动管理网元中配置的APN包含所述UE中配置的APN时,所述移动管理网元确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力;When the APN sent by the HSS or the APN configured in the mobility management network element includes the APN configured in the UE, the mobility management network element determines that the APN configured in the UE has access to the home ProSe function network element. ability;
    其中,所述HSS发送的APN或者所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS or the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element.
  6. 根据权利要求4或5所述的通信方法,其特征在于,所述移动管理网元接收所述UE发送的所述UE中配置的APN,包括:The communication method according to claim 4 or 5, wherein the mobile management network element receives the APN configured in the UE that is sent by the UE, and includes:
    所述移动管理网元在所述UE发起的附着流程中接收所述UE发送的APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述 UE中配置的APN;所述移动管理网元根据所述APN请求指示发起会话管理流程;所述移动管理网元在所述会话管理流程中接收所述UE发送的所述UE中配置的APN;Receiving, by the mobile management network element, an APN request indication sent by the UE in an attach procedure initiated by the UE, where the APN request indication is used to request the mobility management network element to request the An APN configured in the UE; the mobility management network element initiates a session management process according to the APN request indication; the mobility management network element receives an APN configured in the UE sent by the UE in the session management process;
    或者,所述移动管理网元在所述UE发起的位置更新流程中接收所述UE发送的APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN;所述移动管理网元根据所述APN请求指示发起会话管理流程;所述移动管理网元在所述会话管理流程中接收所述UE发送的所述UE中配置的APN;Or the mobile management network element receives an APN request indication sent by the UE in a location update procedure initiated by the UE, where the APN request indication is used to request the mobility management network element to request the UE from the UE. The APN configured in the UE; the mobility management network element initiates a session management process according to the APN request indication; the mobility management network element receives an APN configured in the UE sent by the UE in the session management process;
    或者,or,
    所述移动管理网元在所述UE发起的PDN连接建立流程中接收所述UE发送的所述UE中配置的APN。The mobility management network element receives the APN configured in the UE that is sent by the UE in the PDN connection establishment procedure initiated by the UE.
  7. 根据权利要求1至6任一项所述的通信方法,其特征在于,所述移动管理网元将确定的所述APN发送给所述UE,包括:The communication method according to any one of claims 1 to 6, wherein the mobile management network element sends the determined APN to the UE, including:
    所述移动管理网元在所述UE发起的附着流程中将确定的所述APN发送给所述UE;Transmitting, by the mobility management network element, the determined APN to the UE in an attach procedure initiated by the UE;
    或者,or,
    所述移动管理网元在所述UE发起的位置更新流程完成后,发起的会话管理流程中将确定的所述APN发送给所述UE;After the location update process initiated by the UE is completed, the mobile management network element sends the determined APN to the UE in the initiated session management process;
    或者,or,
    所述移动管理网元在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE。The mobility management network element sends the determined APN to the UE in a PDN connection establishment procedure initiated by the UE.
  8. 根据权利要求7所述的通信方法,其特征在于,当所述移动管理网元在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE时,还包括:The communication method according to claim 7, wherein when the mobility management network element sends the determined APN to the UE in the PDN connection establishment procedure initiated by the UE, the method further includes:
    所述移动管理网元在所述UE发起的PDN连接建立流程中将原因值发送给所述UE,所述原因值用于指示所述UE使用所述移动管理网元发送的所述APN建立所述PDN连接。The mobility management network element sends a cause value to the UE in the PDN connection establishment procedure initiated by the UE, where the cause value is used to indicate that the UE uses the APN establishment station sent by the mobility management network element. Said PDN connection.
  9. 一种近距离业务通信方法,其特征在于,包括:A short-distance service communication method, comprising:
    用户设备UE接收移动管理网元发送的接入点名称APN,所述APN为所 述移动管理网元确定的所述UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;The user equipment UE receives the access point name APN sent by the mobility management network element, where the APN is An access point name APN required by the mobility management network element to access the ProSe function network element of the UE by the UE;
    所述UE使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。The UE establishes a packet data network PDN connection by using the APN, and the PDN connection is used to implement communication between the UE and the home ProSe functional network element.
  10. 根据权利要求9所述的通信方法,其特征在于,所述UE使用所述APN建立分组数据网络PDN连接包括:The communication method according to claim 9, wherein the establishing a packet data network PDN connection by the UE using the APN comprises:
    所述UE向所述移动管理网元发送PDN连接建立请求,所述PDN连接建立请求用于请求为所述UE建立所述PDN连接,所述PDN连接建立请求中包含所述APN;The UE sends a PDN connection establishment request to the mobility management network element, where the PDN connection establishment request is used to request to establish the PDN connection for the UE, where the PDN connection establishment request includes the APN;
    所述UE接收所述移动管理网元发送的缺省承载激活请求;Receiving, by the UE, a default bearer activation request sent by the mobility management network element;
    所述UE根据所述移动管理网元发送的所述缺省承载激活请求,建立所述PDN连接。The UE establishes the PDN connection according to the default bearer activation request sent by the mobility management network element.
  11. 根据权利要求9所述的通信方法,其特征在于,所述用户设备UE接收移动管理网元发送的接入点名称APN之前,还包括:The communication method according to claim 9, wherein before the user equipment UE receives the access point name APN sent by the mobility management network element, the method further includes:
    所述UE向所述移动管理网元发送所述UE中配置的APN。Sending, by the UE, the APN configured in the UE to the mobility management network element.
  12. 根据权利要求11所述的通信方法,其特征在于,所述UE向所述移动管理网元发送所述UE中配置的APN,包括:The communication method according to claim 11, wherein the transmitting, by the UE, the APN configured in the UE to the mobility management network element comprises:
    所述UE在所述UE发起的附着流程中向所述移动管理网元发送APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN,所述UE在所述移动管理网元根据所述APN请求指示发起的会话管理流程中向所述移动管理网元发送所述UE中配置的APN;The UE sends an APN request indication to the mobility management network element in the UE-initiated attach procedure, where the APN request indication is used to request the mobility management network element to request the APN configured in the UE from the UE. Transmitting, by the UE, the APN configured in the UE to the mobility management network element in the session management process initiated by the mobility management network element according to the APN request indication;
    或者,or,
    所述UE在所述UE发起的位置更新流程中向所述移动管理网元发送APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN,所述UE在所述移动管理网元根据所述APN请求指示发起的会话管理流程中向所述移动管理网元发送所述UE中配置的APN;Sending, by the UE, an APN request indication to the mobility management network element in a location update procedure initiated by the UE, where the APN request indication is used to request the mobility management network element to request the UE to be configured in the UE. The APN, the UE sends the APN configured in the UE to the mobility management network element in the session management process initiated by the mobility management network element according to the APN request indication;
    或者,or,
    所述UE在所述UE发起的PDN连接建立流程中向所述移动管理网元发送所述UE中配置的APN。 The UE sends the APN configured in the UE to the mobility management network element in the PDN connection establishment procedure initiated by the UE.
  13. 根据权利要求12所述的通信方法,其特征在于,所述用户设备UE接收移动管理网元发送的接入点名称APN,包括:The communication method according to claim 12, wherein the user equipment UE receives the access point name APN sent by the mobility management network element, including:
    所述UE在所述UE发起的附着流程中接收所述移动管理网元发送的所述APN;Receiving, by the UE, the APN sent by the mobility management network element in an attach procedure initiated by the UE;
    或者,or,
    所述UE在所述UE发起的位置更新流程完成后,在所述移动管理网元发起的会话管理流程中接收所述移动管理网元发送的所述APN;After receiving the location update process initiated by the UE, the UE receives the APN sent by the mobility management network element in a session management process initiated by the mobility management network element;
    或者,or,
    所述UE在所述UE发起的PDN连接建立流程中接收所述移动管理网元发送的所述APN。Receiving, by the UE, the APN sent by the mobility management network element in a PDN connection establishment procedure initiated by the UE.
  14. 根据权利要求13所述的通信方法,其特征在于,当所述UE在所述UE发起的PDN连接建立流程中接收所述移动管理网元发送的所述APN时,还包括:The communication method according to claim 13, wherein when the UE receives the APN sent by the mobility management network element in the PDN connection establishment procedure initiated by the UE, the method further includes:
    所述UE接收所述移动管理网元发送的原因值,所述原因值用于指示所述UE使用所述移动管理网元发送的所述APN建立所述PDN连接。The UE receives a cause value sent by the mobility management network element, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element.
  15. 一种移动管理网元,其特征在于,包括:A mobility management network element, comprising:
    确定模块,用于确定用户设备UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;a determining module, configured to determine an access point name APN required for the user equipment UE to access the home short-range service ProSe function network element of the UE;
    发送模块,用于将确定模块确定的所述APN发送给所述UE,以使所述UE使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。a sending module, configured to send, by the determining module, the APN to the UE, to enable the UE to establish a packet data network PDN connection by using the APN, where the PDN connection is used to implement the UE and the home ProSe Communication between functional network elements.
  16. 根据权利要求15所述的移动管理网元,其特征在于,The mobility management network element of claim 15 wherein:
    所述确定模块具体用于接收归属签约用户服务器HSS发送的APN,将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述HSS发送的APN具备访问所述归属ProSe功能网元的能力;The determining module is specifically configured to receive an APN sent by the home subscriber network server HSS, and determine at least one of the APNs sent by the HSS as an APN required by the UE to access the home ProSe function network element of the UE, where The APN sent by the HSS has the capability of accessing the home ProSe function network element;
    或者,or,
    所述确定模块具体用于将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;其中,所述 移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The determining module is specifically configured to determine at least one of the APNs configured in the mobility management network element as an APN required by the UE to access the home ProSe function network element of the UE, where the The APN configured in the mobility management network element has the capability of accessing the home ProSe function network element.
  17. 根据权利要求15或16所述的移动管理网元,其特征在于,A mobility management network element according to claim 15 or 16, wherein
    所述确定模块具体用于当所述UE处于非漫游状态时,若接收到HSS发送的APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;The determining module is specifically configured to: when the UE is in a non-roaming state, if the APN sent by the HSS is received, determine at least one of the APNs sent by the HSS as the home ProSe function of the UE accessing the UE. The APN required by the network element; if the APN sent by the HSS is not received, at least one of the APNs configured in the mobility management network element is determined as required by the UE to access the home ProSe functional network element of the UE. APN;
    或者,or,
    所述确定模块具体用于当所述UE处于漫游状态时,若没有接收到HSS发送的APN,则将所述移动管理网元中配置的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若接收到HSS发送的APN且所述移动管理网元中没有配置APN,则将所述HSS发送的APN中的至少一个确定为所述UE访问所述UE的归属ProSe功能网元所需的APN;若接收到HSS发送的APN且所述移动管理网元中配置了APN,则根据本地策略或者漫游协议从所述HSS发送的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN,或者根据本地策略或者漫游协议从所述移动管理网元中配置的APN中选择至少一个APN作为所述UE访问所述UE的归属ProSe功能网元所需的APN;The determining module is specifically configured to: when the UE is in a roaming state, if the APN sent by the HSS is not received, determine at least one of the APNs configured in the mobility management network element to be that the UE accesses the UE The APN required to belong to the ProSe function network element; if the APN sent by the HSS is received and the APN is not configured in the mobility management network element, at least one of the APNs sent by the HSS is determined to be the UE accessing the The APN required by the UE to the ProSe function network element; if the APN sent by the HSS is received and the APN is configured in the mobility management network element, at least one APN is selected from the APNs sent by the HSS according to the local policy or the roaming protocol. As the APN required by the UE to access the home ProSe function network element of the UE, or select at least one APN from the APN configured in the mobility management network element as the UE to access the UE according to a local policy or a roaming protocol. The APN required to belong to the ProSe function network element;
    其中,所述HSS发送的APN和所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS and the APN configured in the mobility management network element have the capability of accessing the home ProSe function network element.
  18. 根据权利要求15所述的移动管理网元,其特征在于,The mobility management network element of claim 15 wherein:
    所述确定模块具体用于接收所述UE发送的所述UE中配置的APN;确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力,并将所述UE中配置的APN确定为所述UE访问所述UE的归属ProSe功能网元所需的APN。The determining module is specifically configured to receive an APN configured in the UE that is sent by the UE, and determine that the APN configured in the UE has the capability of accessing the home ProSe function network element, and configure the APN in the UE. Determining an APN required for the UE to access the home ProSe functional network element of the UE.
  19. 根据权利要求18所述的移动管理网元,其特征在于,所述确定模块确定所述UE中配置的APN具备访问所述归属ProSe功能网元的能力包括:当HSS发送的APN或者所述移动管理网元中配置的APN包含所述UE中配置的APN时,确定所述UE中配置的APN具备访问所述归属ProSe功能网元 的能力;The mobility management network element according to claim 18, wherein the determining module determines that the APN configured in the UE has the capability to access the home ProSe function network element, including: the APN sent by the HSS or the mobile When the APN configured in the management network element includes the APN configured in the UE, it is determined that the APN configured in the UE has access to the home ProSe function network element. Ability;
    其中,所述HSS发送的APN或者所述移动管理网元中配置的APN具备访问所述归属ProSe功能网元的能力。The APN sent by the HSS or the APN configured in the mobility management network element has the capability of accessing the home ProSe function network element.
  20. 根据权利要求18或19所述的移动管理网元,其特征在于,所述确定模块接收所述UE发送的所述UE中配置的APN包括:The mobility management network element according to claim 18 or 19, wherein the determining module receiving the APN configured in the UE sent by the UE comprises:
    所述确定模块在所述UE发起的附着流程中接收所述UE发送的APN请求指示,所述APN请求指示信息用于请求所述移动管理网元向所述UE请求所述UE中配置的APN;根据所述APN请求指示发起会话管理流程;在所述会话管理流程中接收所述UE发送的所述UE中配置的APN;The determining module receives an APN request indication sent by the UE in an attach procedure initiated by the UE, where the APN request indication information is used to request the mobility management network element to request an APN configured in the UE from the UE. And initiating a session management process according to the APN request indication; receiving, in the session management process, an APN configured in the UE sent by the UE;
    或者,or,
    所述确定模块在所述UE发起的位置更新流程中接收所述UE发送的APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN;根据所述APN请求指示发起会话管理流程;在所述会话管理流程中接收所述UE发送的所述UE中配置的APN;The determining module receives an APN request indication sent by the UE in a location update procedure initiated by the UE, where the APN request indication is used to request the mobility management network element to request an APN configured in the UE from the UE. And initiating a session management process according to the APN request indication; receiving, in the session management process, an APN configured in the UE sent by the UE;
    或者,or,
    所述确定模块在所述UE发起的PDN连接建立流程中接收所述UE发送的所述UE中配置的APN。The determining module receives, in the PDN connection establishment procedure initiated by the UE, an APN configured in the UE that is sent by the UE.
  21. 根据权利要求15至20任一项所述的移动管理网元,其特征在于,A mobility management network element according to any one of claims 15 to 20, characterized in that
    所述发送模块具体用于在所述UE发起的附着流程中将确定的所述APN发送给所述UE;The sending module is specifically configured to send the determined APN to the UE in an attach procedure initiated by the UE;
    或者,or,
    所述发送模块具体用于在所述UE发起的位置更新流程完成后发起的会话管理流程中将确定的所述APN发送给所述UE;The sending module is specifically configured to send the determined APN to the UE in a session management process initiated after the location update process initiated by the UE is completed;
    或者,or,
    所述发送模块具体用于在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE。The sending module is specifically configured to send the determined APN to the UE in a PDN connection establishment procedure initiated by the UE.
  22. 根据权利要求21所述的移动管理网元,其特征在于,当所述发送模块在所述UE发起的PDN连接建立流程中将确定的所述APN发送给所述UE时,所述发送模块还用于向所述UE发送原因值,所述原因值用于指示所述UE使用所 述移动管理网元发送的所述APN建立所述PDN连接。The mobility management network element according to claim 21, wherein when the sending module sends the determined APN to the UE in the PDN connection establishment procedure initiated by the UE, the sending module further And sending a cause value to the UE, where the cause value is used to indicate that the UE uses the location The APN sent by the mobility management network element establishes the PDN connection.
  23. 一种用户设备UE,其特征在于,包括:A user equipment (UE), comprising:
    接收模块,用于接收移动管理网元发送的接入点名称APN,所述APN为所述移动管理网元确定的所述UE访问所述UE的归属近距离业务ProSe功能网元所需的接入点名称APN;a receiving module, configured to receive an access point name APN sent by the mobility management network element, where the APN is required by the mobility management network element to access the ProSe function network element of the UE's home proximity service Entry point name APN;
    建立模块,用于使用所述APN建立分组数据网络PDN连接,所述PDN连接用于实现所述UE与所述归属ProSe功能网元之间的通信。And a establishing module, configured to establish a packet data network PDN connection by using the APN, where the PDN connection is used to implement communication between the UE and the home ProSe functional network element.
  24. 根据权利要求23所述的用户设备,其特征在于,A user equipment according to claim 23, wherein
    所述建立模块具体用于向所述移动管理网元发送PDN连接建立请求,所述PDN连接建立请求用于请求为所述UE建立所述PDN连接,所述PDN连接建立请求中包含所述APN;The establishing module is specifically configured to send a PDN connection establishment request to the mobility management network element, where the PDN connection establishment request is used to request to establish the PDN connection for the UE, where the PDN connection establishment request includes the APN ;
    接收所述移动管理网元发送的缺省承载激活请求;Receiving a default bearer activation request sent by the mobility management network element;
    以及根据所述移动管理网元发送的所述缺省承载激活请求,建立所述PDN连接。And establishing the PDN connection according to the default bearer activation request sent by the mobility management network element.
  25. 根据权利要求23所述的用户设备,其特征在于,还包括:The user equipment according to claim 23, further comprising:
    发送模块,用于在所述接收模块接收移动管理网元发送的接入点名称APN之前,向所述移动管理网元发送所述UE中配置的APN。And a sending module, configured to send the APN configured in the UE to the mobility management network element before the receiving module receives the access point name APN sent by the mobility management network element.
  26. 根据权利要求24所述的用户设备,其特征在于,所述发送模块向所述移动管理网元发送所述UE中配置的APN包括:The user equipment according to claim 24, wherein the sending, by the sending module, the APN configured in the UE to the mobility management network element comprises:
    所述发送模块在所述UE发起的附着流程中向所述移动管理网元发送APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN,在所述移动管理网元根据所述APN请求指示发起的会话管理流程中向所述移动管理网元发送所述UE中配置的APN;The sending module sends an APN request indication to the mobility management network element in the attach procedure initiated by the UE, where the APN request indication is used to request the mobility management network element to request the UE to configure in the UE. The APN, in the session management process initiated by the mobility management network element according to the APN request indication, sending the APN configured in the UE to the mobility management network element;
    或者,or,
    所述发送模块在所述UE发起的位置更新流程中向所述移动管理网元发送APN请求指示,所述APN请求指示用于请求所述移动管理网元向所述UE请求所述UE中配置的APN,在所述移动管理网元根据所述APN请求指示发起的会话管理流程中向所述移动管理网元发送所述UE中配置的APN;The sending module sends an APN request indication to the mobility management network element in the location update process initiated by the UE, where the APN request indication is used to request the mobility management network element to request the UE to be configured in the UE. The APN, in the session management process initiated by the mobility management network element according to the APN request indication, sending the APN configured in the UE to the mobility management network element;
    或者, Or,
    所述发送模块在所述UE发起的PDN连接建立流程中向所述移动管理网元发送所述UE中配置的APN。The sending module sends the APN configured in the UE to the mobility management network element in the PDN connection establishment procedure initiated by the UE.
  27. 根据权利要求26所述的用户设备,其特征在于,A user equipment according to claim 26, wherein
    所述接收模块具体用于在所述UE发起的附着流程中接收所述移动管理网元发送的所述APN;The receiving module is specifically configured to receive the APN sent by the mobility management network element in an attach procedure initiated by the UE;
    或者,or,
    所述接收模块具体用于在所述UE发起的位置更新流程完成后,所述移动管理网元发起的会话管理流程中接收所述移动管理网元发送的所述APN;The receiving module is specifically configured to: after the location update process initiated by the UE is completed, the session management process initiated by the mobility management network element receives the APN sent by the mobility management network element;
    或者,or,
    所述接收模块具体用于在所述UE发起的PDN连接建立流程中接收所述移动管理网元发送的所述APN。The receiving module is specifically configured to receive, in the PDN connection establishment process initiated by the UE, the APN sent by the mobility management network element.
  28. 根据权利要求27所述的用户设备,其特征在于,当所述接收模块在所述UE发起的PDN连接建立流程中接收所述移动管理网元发送的所述APN时,The user equipment according to claim 27, wherein when the receiving module receives the APN sent by the mobility management network element in the PDN connection establishment procedure initiated by the UE,
    所述接收模块还用于接收所述移动管理网元发送的原因值,所述原因值用于指示所述UE使用所述移动管理网元发送的所述APN建立所述PDN连接。The receiving module is further configured to receive a cause value sent by the mobility management network element, where the cause value is used to indicate that the UE establishes the PDN connection by using the APN sent by the mobility management network element.
  29. 一种近距离业务通信***,其特征在于,包括:A close-range service communication system, comprising:
    移动管理网元,用户设备;Mobile management network element, user equipment;
    所述移动管理网元如权利要求15至22任一项所述的移动管理网元;The mobility management network element, the mobility management network element according to any one of claims 15 to 22;
    所述用户设备如权利要求23至28任一项所述的用户设备。 The user equipment is the user equipment of any one of claims 23 to 28.
PCT/CN2015/075928 2015-04-03 2015-04-03 Proximity service communication method, related device and system WO2016155025A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/075928 WO2016155025A1 (en) 2015-04-03 2015-04-03 Proximity service communication method, related device and system
CN201580037140.9A CN106489283B (en) 2015-04-03 2015-04-03 Near field service communication method, related equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/075928 WO2016155025A1 (en) 2015-04-03 2015-04-03 Proximity service communication method, related device and system

Publications (1)

Publication Number Publication Date
WO2016155025A1 true WO2016155025A1 (en) 2016-10-06

Family

ID=57003911

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075928 WO2016155025A1 (en) 2015-04-03 2015-04-03 Proximity service communication method, related device and system

Country Status (2)

Country Link
CN (1) CN106489283B (en)
WO (1) WO2016155025A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083174A (en) * 2011-01-25 2011-06-01 电信科学技术研究院 Method and device for controlling local network access
CN102111903A (en) * 2011-01-13 2011-06-29 大唐移动通信设备有限公司 Method, system and equipment for establishing LIPA connection
WO2015005900A1 (en) * 2013-07-08 2015-01-15 Nokia Siemens Networks Oy Establishment of packet data network connection via relay user equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104105086B (en) * 2013-04-11 2019-02-22 中兴通讯股份有限公司 Close on selection method and device, the user registering method and device of service server
EP2833694A3 (en) * 2013-07-29 2015-04-01 HTC Corporation Method of relay discovery and communication in a wireless communications system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111903A (en) * 2011-01-13 2011-06-29 大唐移动通信设备有限公司 Method, system and equipment for establishing LIPA connection
CN102083174A (en) * 2011-01-25 2011-06-01 电信科学技术研究院 Method and device for controlling local network access
WO2015005900A1 (en) * 2013-07-08 2015-01-15 Nokia Siemens Networks Oy Establishment of packet data network connection via relay user equipment

Also Published As

Publication number Publication date
CN106489283A (en) 2017-03-08
CN106489283B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
US11606734B2 (en) Handover method in wireless communication system and apparatus therefor
US9717019B2 (en) Data flow control method, and related device and communications system
KR102255958B1 (en) Apparatus and method for controlling data traffic connections through wlan and cellular systems
CN106465227B (en) Method and apparatus for supporting network IP flow mobility via multiple wireless accesses
KR101731095B1 (en) Systems and methods for accessing a network
CN105934926B (en) Method and apparatus for session and service control of wireless devices using common subscriber information
KR101644870B1 (en) Terminal control method, device, and system
US20210250409A1 (en) Handling of Multi-Access PDU Session Upgrade
US20140245403A1 (en) Method and device for processing data security channel
US20130005332A1 (en) Methods and Apparatus for Multiple Data Packet Connections
WO2014056445A1 (en) Method, system, and controller for routing forwarding
US20160119347A1 (en) Method for Updating Identity Information about Packet Gateway, AAA Server and Packet Gateway
US10568001B2 (en) Method and apparatus for controlling traffic offloading in a communication system
KR20150026759A (en) Apparatus and method for providing multiple connections in wlan systems
JP2019521607A (en) Method for processing PDU session establishment procedure and AMF node
WO2012126302A1 (en) Method and system supporting simultaneous communication for dual-mode, dual-standby terminal
CN109429366B (en) PDU session processing method and device
JP6446546B2 (en) Data processing method, apparatus, terminal, mobility management entity, and system
WO2010099741A1 (en) Network selection method, device and terminal
WO2016191951A1 (en) Method, device and system for switching communication path of proximity service
US20220353941A1 (en) Ma pdu reactivation requested handling
WO2016155025A1 (en) Proximity service communication method, related device and system
US20220353951A1 (en) Collision of ue-requested pdu session release procedure and network-requested pdu session release procedure
EP4366385A1 (en) Ursp rule reusing pdn legged ma pdu session handling

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

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

Country of ref document: EP

Kind code of ref document: A1