Nothing Special   »   [go: up one dir, main page]

CN105265008B - Configuration method and device - Google Patents

Configuration method and device Download PDF

Info

Publication number
CN105265008B
CN105265008B CN201480002663.5A CN201480002663A CN105265008B CN 105265008 B CN105265008 B CN 105265008B CN 201480002663 A CN201480002663 A CN 201480002663A CN 105265008 B CN105265008 B CN 105265008B
Authority
CN
China
Prior art keywords
message
prose
mme
network
request message
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201480002663.5A
Other languages
Chinese (zh)
Other versions
CN105265008A (en
Inventor
周润泽
马景旺
朱奋勤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105265008A publication Critical patent/CN105265008A/en
Application granted granted Critical
Publication of CN105265008B publication Critical patent/CN105265008B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of configuration method and device, wherein this method comprises: UE sends the first request message to the base station of current access zone network, so that base station forwards the first request message to V-MME;The first response message that base station is sent is received, the first response message is that V-MME is sent to base station, and the instruction of the first response message has activated ProSe communication of the UE in current access zone network;And receive the configuration message that H-PDCF network element is sent, configuration message include H-PDCF network element for UE current access zone network and belonging area network and meanwhile allow using ProSe apply the configuration parameter distributed.To which information leakage will not be caused, the privacy and business secret of operator belonging to belonging area network are protected.

Description

Configuration method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a configuration method and a configuration device.
Background
Communication during public safety services of public security such as public security police, fire rescue, medical first aid and the like can meet security factors such as eavesdropping, imposition of a message sender, malicious deletion, message content tampering and the like and time loss caused by signal busy. In the scenes of earthquake, tsunami and the like, no network coverage is caused due to the damage of equipment, so that the communication in the public safety scene needs to be carried out under a special communication network no matter whether the network coverage exists or not. At present, a Long Term Evolution (LTE) enhancement technology called Proximity-based Service (ProSe) can meet the requirement of public safety communication, and public safety communication (ProSe public safety communication) supported by ProSe allows User Equipment (UE) to directly transmit information with the other party without passing through network Equipment when the User Equipment is in no network coverage. When there is network coverage, before the UE performs ProSe Public Safety communication, the home network of the UE needs to authorize the UE and configure communication parameters.
When the UE roams to the visited network, the UE registers a request to a visited network short-range Service Discovery and Communication control function (V-PDCF) network element, the V-PDCF acquires the context information of the UE from a home network short-range Service Discovery and Communication control function (H-PDCF) network element, and then sends a registration success message to the UE to indicate that the UE has obtained the authorization for carrying out the ProSe Public Safety Communication in the current visited network and also allocates Communication parameters for carrying out the ProSe Public Safety Communication for the UE. Therefore, the UE can carry out the ProSe Public Safety communication under the visited network.
However, in the prior art, the Public Safety communication policy supported by each network is different, the communication policy belongs to the secret information of the network, and the visited network can obtain the policy and configuration parameters of the ProSe Public Safety communication from the home network, thereby causing the leakage of the business information of the home network.
Disclosure of Invention
The embodiment of the invention provides a configuration method and a configuration device, which are used for protecting the privacy and the business secret of an operator to which a home network belongs while UE carries out ProSe communication in a visited network.
In a first aspect, an embodiment of the present invention provides a UE, including:
a sending unit, configured to send a first request message to a base station of a current visited network, so that the base station forwards the first request message to a visited network mobility management entity V-MME, where the first request message includes an identifier of the UE, and the first request message is used to request to perform proximity service ProSe communication;
a receiving unit, configured to receive the first response message sent by the base station, where the first response message is sent by the V-MME to the base station, and the first response message indicates that ProSe communication of the UE in a current visited network has been activated; and receiving a configuration message sent by a home network proximity service discovery and communication control H-PDCF network element, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
In a first possible implementation manner of the first aspect, the first response message received by the receiving unit further includes an air interface resource allocated by the base station to perform ProSe communication on the current visited network by the UE, where the air interface resource is added to the first response message by the base station.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the sending unit is further configured to send a first completion message to the base station according to the first response message received by the receiving unit, so that the base station forwards the first completion message to the V-MME.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the first request message sent by the sending unit is an attach request message, the first response message received by the receiving unit is an attach accept message, and the first completion message sent by the sending unit is an attach completion message; or,
the first request message sent by the sending unit is a tracking area update TAU request message, the first response message received by the receiving unit is a TAU accept message, and the first completion message sent by the sending unit is a TAU complete message.
In a second aspect, an embodiment of the present invention provides an MME, including:
a receiving unit, configured to receive, when the MME is a visited network mobility management entity V-MME of a user equipment UE, a first request message sent by the UE and forwarded by a base station of a visited network, where the first request message includes an identifier of the UE, and the first request message is used to request to perform proximity service ProSe communication;
a processing unit, configured to determine, according to the identifier of the UE included in the first request message received by the receiving unit, that the current visited network allows the UE to perform ProSe communication;
a sending unit, configured to send the first response message to the base station, where the first response message indicates that ProSe communication of the UE in a current visited network has been activated, so that the base station sends the first response message to the UE; and sending a first notification message to a home network proximity service discovery and communication control H-PDCF network element of the UE, wherein the first notification message comprises an identification of the UE, and the first notification message is used for indicating that the UE enables ProSe communication, so that the H-PDCF network element sends configuration parameters allocated by ProSe application which is allowed to be used by the H-PDCF network element at the current visited network and the home network of the UE at the same time to the UE.
In a first possible implementation manner of the second aspect, the processing unit is specifically configured to determine, according to ProSe subscription data of the UE, that the current visited network allows the UE to perform ProSe communication, where the ProSe subscription data of the UE includes a visited network list that allows the UE to perform ProSe communication.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the ProSe subscription data of the UE further includes an address of an H-PDCF network element of the UE;
the sending unit is specifically configured to send a first notification message to the H-PDCF network element according to the address of the H-PDCF network element.
With reference to the first possible implementation manner of the second aspect or the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the sending unit is further configured to send, according to the first request message, a second request message to a home subscriber server HSS of the UE before the processing unit determines, according to ProSe subscription data of the UE, that the current visited network allows the UE to perform ProSe communication, where the second request message includes an identifier of the UE, and the second request message is used to request the ProSe subscription data of the UE;
the receiving unit is further configured to receive a second response message sent by the HSS, where the second response message includes ProSe subscription data of the UE.
With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the second request message sent by the sending unit is a location update message, and the second response message received by the receiving unit is a location update confirmation message.
With reference to the first possible implementation manner of the second aspect or the second possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the sending unit is further configured to send, according to the first request message, a third request message to an MME serving the UE last time before the processing unit determines, according to ProSe subscription data of the UE, that the current visited network allows the UE to perform ProSe communication, where the third request message includes an identifier of the UE, and the third request message is used to request the ProSe subscription data of the UE;
the receiving unit receives a third response message sent by the MME serving the UE last time, where the third response message includes ProSe subscription data of the UE.
With reference to the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the third request message sent by the sending unit is an identification request message, and the receiving unit receives the third response message as an identification response message.
With reference to the second aspect or any one of the first to sixth implementation manners of the second aspect, in a seventh possible implementation manner of the second aspect, the processing unit is further configured to record, in ProSe context information of the UE, that the UE enables ProSe communication after the sending unit sends the first response message to the base station.
With reference to the second aspect or any one of the first to seventh implementation manners of the second aspect, in an eighth possible implementation manner of the second aspect, the receiving unit is further configured to receive a first notification acknowledgement message sent by an H-PDCF after the sending unit sends the first notification message to an H-PDCF network element of the UE, where the first notification acknowledgement message includes an identifier of a ProSe application that the UE is allowed to use simultaneously in a current visited network and a home network;
the processing unit is further configured to record, in ProSe context information of the UE, an identity of the ProSe application included in the first notification confirm message received by the receiving unit.
With reference to the second aspect or any one of the first to the eighth implementation manners of the second aspect, in a ninth possible implementation manner of the second aspect, the first notification message sent by the sending unit further includes an address of a visited network proximity service discovery and communication control V-PDCF network element.
With reference to the second aspect or any one of the first to ninth implementation manners of the second aspect, in a tenth possible implementation manner of the second aspect, the receiving unit is further configured to receive, after the sending unit sends the first response message to the base station, the first completion message sent by the UE and forwarded by the base station.
With reference to the tenth possible implementation manner of the second aspect, in an eleventh possible implementation manner of the second aspect, the first request message received by the receiving unit is an attach request message, the first response message sent by the sending unit is an attach accept message, and the first completion message received by the receiving unit is an attach completion message; or,
the first request message received by the receiving unit is a tracking area update TAU request message, the first response message sent by the sending unit is a TAU accept message, and the first completion message received by the receiving unit is a TAU complete message.
In a third aspect, an embodiment of the present invention provides a PDCF network element, including:
a receiving unit, configured to receive a first notification message sent by a V-MME when the PDCF network element is an H-PDCF network element of a UE, where the first notification message includes an identifier of the UE, and the first notification message is used to indicate that the UE has enabled ProSe communication;
a processing unit, configured to determine, according to the identifier of the UE included in the first notification message received by the receiving unit, an identifier of a ProSe application that the UE is allowed to use in a current visited network;
a sending unit, configured to send a configuration message to the UE, where the configuration message includes configuration parameters allocated by the ProSe application that the H-PDCF network element determines, for the current visited network and the home network, that the UE is allowed to use at the same time by the processing unit.
In a first possible implementation manner of the third aspect, the first notification message received by the receiving unit further includes an address of a V-PDCF;
the sending unit is further configured to send a fourth request message to the V-PDCF network element according to the address of the V-PDCF before the processing unit determines, according to the identifier of the UE, an identifier of a ProSe application that the UE allows to use at the same time in the current visited network and the home network, where the fourth request message includes the identifier of the UE and the identifier of the ProSe application that the UE allows to use in the home network;
the receiving unit is further configured to receive a fourth response message sent by the V-PDCF network element, where the fourth response message includes an identifier of the UE and an identifier of a ProSe application that the UE is allowed to use simultaneously in a current visited network and a home network;
the processing unit is specifically configured to acquire, according to the fourth response message, an identifier of a ProSe application that the UE is allowed to use simultaneously in the current visited network and the home network.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the sending unit is further configured to send, to the V-MME, a first notification confirmation message after the processing unit determines, according to the identity of the UE, the identity of a ProSe application that the UE allows to be used by the current visited network, where the first notification confirmation message includes the identity of the ProSe application that the UE allows to be used by both the current visited network and the home network.
In a fourth aspect, an embodiment of the present invention further provides a UE, including: a transmitter, a receiver, a memory, and a processor;
the memory is used for storing a set of program codes for executing the configuration method;
the processor is configured to call program code stored in the memory for performing the following operations:
sending a first request message to a base station of a current visited network through the transmitter so that the base station forwards the first request message to a visited network mobility management entity (V-MME), wherein the first request message comprises an identifier of the UE and is used for requesting to perform proximity service (ProSe) communication;
receiving, by the receiver, the first response message sent by the base station, where the first response message is sent by the V-MME to the base station, and the first response message indicates that ProSe communication of the UE in a current visited network has been activated; and receiving a configuration message sent by a home network proximity service discovery and communication control H-PDCF network element, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
In a first possible implementation manner of the fourth aspect, the first response message received by the receiver further includes an air interface resource allocated by the base station to perform ProSe communication on the current visited network by the UE, where the air interface resource is added to the first response message by the base station.
With reference to the fourth aspect or the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the processor is further configured to send, by the transmitter, a first completion message to the base station according to the first response message received by the receiver, so that the base station forwards the first completion message to the V-MME.
With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, the first request message sent by the transmitter is an attach request message, the first response message received by the receiver is an attach accept message, and the first completion message sent by the transmitter is an attach completion message; or,
the first request message sent by the transmitter is a tracking area update TAU request message, the first response message received by the receiver is a TAU accept message, and the first completion message sent by the transmitter is a TAU complete message.
In a fifth aspect, an embodiment of the present invention further provides an MME, including: a receiver, a transmitter 42, a memory and a processor,
the memory is used for storing a set of program codes for executing the configuration method;
the processor is configured to call program code stored in the memory for performing the following operations:
when the MME is a V-MME of the UE, receiving a first request message sent by the UE and forwarded by a base station of a visited network through the receiver, wherein the first request message comprises an identifier of the UE and is used for requesting to perform ProSe communication;
determining that the current visited network allows the UE to carry out ProSe communication according to the identity of the UE;
transmitting, by the transmitter, a first response message to the base station, the first response message indicating that ProSe communication of the UE in a currently visited network has been activated, so that the base station transmits the first response message to the UE; and sending a first notification message to an H-PDCF network element of the UE, wherein the first notification message comprises an identifier of the UE, and the first notification message is used for indicating that the UE enables ProSe communication, so that the H-PDCF network element sends configuration parameters allocated by the H-PDCF network element for ProSe application allowed to be used by the UE in a current visited network to the UE.
In a first possible implementation manner of the fifth aspect, the determining, by the processor, that the current visited network allows the UE to perform ProSe communication according to the identity of the UE includes:
the processor determines that the current visiting place network allows the UE to carry out the ProSe communication according to the ProSe subscription data of the UE, wherein the ProSe subscription data of the UE comprises a visiting place network list allowing the UE to carry out the ProSe communication.
With reference to the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the ProSe subscription data of the UE further includes an address of an H-PDCF network element of the UE; the processor sends a first notification message to the H-PDCF network element through the transmitter, including: and the processor sends a first notification message to the H-PDCF network element through the transmitter according to the address of the H-PDCF network element.
With reference to the first possible implementation manner of the fifth aspect or the second possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, before determining, according to ProSe subscription data of the UE, that the current visited network allows the UE to perform ProSe communication, the processor is further configured to send, according to the first request message, a second request message to an HSS of the UE, where the second request message includes an identifier of the UE, and the second request message is used to request the ProSe subscription data of the UE;
the processor is further configured to receive, by the receiver, a second response message sent by the HMME, where the second response message includes ProSe subscription data of the UE.
With reference to the third possible implementation manner of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, the second request message sent by the transmitter is a location update message, and the second response message received by the receiver is a location update confirmation message.
With reference to the first possible implementation manner of the fifth aspect or the second possible implementation manner of the fifth aspect, in a fifth possible implementation manner of the fifth aspect, before determining, according to ProSe subscription data of the UE, that the current visited network allows the UE to perform ProSe communication, the processor is further configured to send, by the transmitter, a third request message to an MME serving the UE for the last time, where the third request message includes an identifier of the UE, and the third request message is used to request the ProSe subscription data of the UE;
the processor is further configured to receive, by the receiver, a third response message sent by the MME that last served the UE, the third response message including ProSe subscription data of the UE.
With reference to the fifth possible implementation manner of the fifth aspect, in a sixth possible implementation manner of the fifth aspect, the third request message sent by the transmitter is an identification request message, and the third response message received by the receiver is an identification response message.
With reference to the fifth aspect or any one of the first to sixth implementation manners of the fifth aspect, in a seventh possible implementation manner of the fifth aspect, the processor is further configured to record that the UE enables ProSe communication in ProSe context information of the UE after sending the first response message to the base station through the transmitter.
With reference to the fifth aspect or any one of the first to seventh implementation manners of the fifth aspect, in an eighth possible implementation manner of the fifth aspect, after the processor sends a first notification message to an H-PDCF network element of the UE through the transmitter, the processor is further configured to receive, through a receiver, a first notification confirmation message sent by the H-PDCF, where the first notification confirmation message includes an identification of a ProSe application that the UE is allowed to use at the same time in a current visited network and a home network; and recording an identity of the ProSe application in ProSe context information of the UE.
With reference to the fifth aspect or any one of the first to eighth implementation manners of the fifth aspect, in a ninth possible implementation manner of the fifth aspect, the first notification message received by the receiver further includes an address of the V-PDCF network element.
With reference to the fifth aspect or any one of the first to ninth implementation manners of the fifth aspect, in a tenth possible implementation manner of the fifth aspect, after the transmitter transmits the first response message to the base station, the processor is further configured to receive, by the receiver, a first completion message forwarded by the base station and sent by the UE.
With reference to the tenth possible implementation manner of the fifth aspect, in an eleventh possible implementation manner of the fifth aspect, the first request message received by the receiver is an attach request message, the first response message sent by the transmitter is an attach accept message, and the first completion message received by the receiver is an attach completion message; or,
the first request message received by the receiver is a tracking area update TAU request message, the first response message sent by the transmitter is a TAU accept message, and the first completion message received by the receiver is a TAU complete message.
In a sixth aspect, an embodiment of the present invention further provides a PDCF network element, including: a receiver, a transmitter, a memory, and a processor;
the memory for storing a set of program codes for performing the configuration method;
the processor is configured to call program code stored in the memory 63 for performing the following operations:
when the PDCF network element is an H-PDCF network element of the UE, receiving a first notification message sent by a V-MME through the receiver, wherein the first notification message comprises an identifier of the UE, and the first notification message is used for indicating that the UE starts the ProSe communication;
determining the identifier of the ProSe application allowed to be used by the UE in the current visited network according to the identifier of the UE;
sending a configuration message to the UE through the transmitter, wherein the configuration message comprises configuration parameters allocated by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
In a first possible implementation manner of the sixth aspect, the first notification message received by the receiver further includes an address of a visited network proximity service discovery and communication control V-PDCF;
the processor determines, according to the identity of the UE, an identity of a ProSe application that the UE allows to use in both a current visited network and a home network, including:
the processor sends a fourth request message to the V-PDCF network element through the transmitter according to the address of the V-PDCF, wherein the fourth request message comprises the identification of the UE and the identification of the ProSe application allowed to be used by the UE in a home network; receiving a fourth response message sent by the V-PDCF network element through the receiver, wherein the fourth response message comprises an identifier of a ProSe application which is allowed to be used by the UE in a current visited network and a home network at the same time; and acquiring the identifier of the ProSe application which is allowed to be used by the UE at the current visited network and the home network simultaneously according to the fourth response message received by the receiver.
With reference to the sixth aspect or the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the processor sends, through the transmitter, a first notification confirmation message to the V-MME after determining, according to the identity of the UE, an identity of a ProSe application that the UE allows to use in a current visited network, where the first notification confirmation message includes an identity of a ProSe application that the UE allows to use in both a current visited network and a home network.
In a seventh aspect, an embodiment of the present invention provides a configuration method, including:
user Equipment (UE) sends a first request message to a base station of a current visited network so that the base station forwards the first request message to a visited network mobility management entity (V-MME), wherein the first request message comprises an identifier of the UE and is used for requesting to perform proximity service (ProSe) communication;
the UE receives a first response message sent by the base station, wherein the first response message is sent to the base station by the V-MME, and the first response message indicates that the ProSe communication of the UE in the current visited network is activated;
the UE receives a configuration message sent by a home network proximity service discovery and communication control H-PDCF network element, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
In a first possible implementation manner of the seventh aspect, the first response message received by the UE further includes an air interface resource allocated by the base station to perform ProSe communication on the current visited network by the UE, where the air interface resource is added to the first response message by the base station.
With reference to the seventh aspect or the first possible implementation manner of the seventh aspect, in a second possible implementation manner of the seventh aspect, after the receiving, by the UE, the first response message sent by the base station, the method further includes:
and the UE sends a first completion message to the base station according to the first response message so that the base station forwards the first completion message to the V-MME.
With reference to the second possible implementation manner of the seventh aspect, in a third possible implementation manner of the seventh aspect, the first request message is an attach request message, the first response message is an attach accept message, and the first completion message is an attach completion message; or,
the first request message is a tracking area update TAU request message, the first response message is a TAU accept message, and the first completion message is a TAU complete message.
In an eighth aspect, an embodiment of the present invention provides a configuration method, including:
a visited area network mobility management entity V-MME receives a first request message sent by user equipment UE and forwarded by a base station of a visited area network, wherein the first request message comprises an identifier of the UE, and the first request message is used for requesting to perform proximity service (ProSe) communication;
the V-MME determines that the current visited network allows the UE to carry out ProSe communication according to the identity of the UE;
the V-MME sends a first response message to the base station, wherein the first response message indicates that the ProSe communication of the UE in a current visited network is activated so that the base station sends the first response message to the UE;
the V-MME sends a first notification message to a home network proximity service discovery and communication control H-PDCF network element of the UE, wherein the first notification message comprises an identification of the UE, and the first notification message is used for indicating that the UE enables ProSe communication, so that the H-PDCF network element sends configuration parameters which are allocated by the H-PDCF network element for ProSe application allowed to be used by the UE in a current visited network to the UE.
In a first possible implementation manner of the eighth aspect, the determining, by the V-MME, that the current visited network allows the UE to perform ProSe communication according to the identity of the UE includes:
and the V-MME determines that the current visiting area network allows the UE to carry out the ProSe communication according to the ProSe subscription data of the UE, wherein the ProSe subscription data of the UE comprises a visiting area network list allowing the UE to carry out the ProSe communication.
With reference to the first possible implementation manner of the eighth aspect, in a second possible implementation manner of the eighth aspect, the ProSe subscription data of the UE further includes an address of an H-PDCF network element of the UE;
the V-MME sends a first notification message to the H-PDCF network element, and the first notification message comprises the following steps:
and the V-MME sends a first notification message to the H-PDCF network element according to the address of the H-PDCF network element.
With reference to the first possible implementation manner of the eighth aspect or the second possible implementation manner of the eighth aspect, in a third possible implementation manner of the eighth aspect, before the determining, by the V-MME, that the ProSe communication is allowed by a current visited network according to ProSe subscription data of the UE, the method further includes:
the V-MME sends a second request message to a Home Subscriber Server (HSS) of the UE according to the first request message, wherein the second request message comprises an identifier of the UE and is used for requesting ProSe subscription data of the UE;
the V-MME receives a second response message sent by the HMME, wherein the second response message comprises ProSe subscription data of the UE.
With reference to the third possible implementation manner of the eighth aspect, in a fourth possible implementation manner of the eighth aspect, the second request message is a location update message, and the second response message is a location update confirmation message.
With reference to the first possible implementation manner of the eighth aspect or the second possible implementation manner of the eighth aspect, in a fifth possible implementation manner of the eighth aspect, before the determining, by the V-MME, that the ProSe communication is allowed by a current visited network according to ProSe subscription data of the UE, the method further includes:
the V-MME sends a third request message to a Mobility Management Entity (MME) serving the UE for the last time according to the first request message, wherein the third request message comprises an identifier of the UE and is used for requesting ProSe subscription data of the UE;
the V-MME receives a third response message sent by the MME serving the UE last time, wherein the third response message comprises ProSe subscription data of the UE.
With reference to the fifth possible implementation manner of the eighth aspect, in a sixth possible implementation manner of the eighth aspect, the third request message is an identification request message, and the third response message is an identification response message.
With reference to the eighth aspect or any one of the first to sixth implementation manners of the eighth aspect, in a seventh possible implementation manner of the eighth aspect, after the sending, by the V-MME, the first response message to the base station, the method further includes:
the V-MME records that the UE enables the ProSe communication in the ProSe context information of the UE.
With reference to the eighth aspect or any one of the first to the seventh implementation manners of the eighth aspect, in an eighth possible implementation manner of the eighth aspect, after the sending, by the V-MME, the first notification message to the home network proximity service discovery and communication control H-PDCF network element of the UE, the method further includes: the V-MME receives a first notification confirmation message sent by the H-PDCF, wherein the first notification confirmation message comprises the identification of the ProSe application which is allowed to be used by the UE in the current visited network and the home network;
the V-MME records the identification of the ProSe application in the ProSe context information of the UE.
With reference to the eighth aspect or any one of the first to eighth implementation manners of the eighth aspect, in a ninth possible implementation manner of the eighth aspect, the first notification message further includes an address of a visited network proximity service discovery and communication control V-PDCF network element.
With reference to the eighth aspect or any one of the first to ninth implementation manners of the eighth aspect, in a tenth possible implementation manner of the eighth aspect, after the sending, by the V-MME, the first response message to the base station, the method further includes: and the V-MME receives a first completion message sent by the UE and forwarded by the base station.
With reference to the tenth possible implementation manner of the eighth aspect, in an eleventh possible implementation manner of the eighth aspect, the first request message is an attach request message, the first response message is an attach accept message, and the first completion message is an attach completion message; or,
the first request message is a tracking area update TAU request message, the first response message is a TAU accept message, and the first completion message is a TAU complete message.
In a ninth aspect, an embodiment of the present invention provides a configuration method, including:
a home network short-range service discovery and communication control H-PDCF network element receives a first notification message sent by a visited network mobility management entity V-MME, wherein the first notification message comprises an identifier of User Equipment (UE), and the first notification message is used for indicating that the UE enables ProSe communication;
the H-PDCF network element determines the identifier of the ProSe application allowed to be used by the UE in the current visited network according to the identifier of the UE;
and the H-PDCF network element sends a configuration message to the UE, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network at the same time.
In a first possible implementation manner of the ninth aspect, the first notification message further includes an address of a visited network proximity service discovery and communication control V-PDCF;
the H-PDCF network element determines the identifier of the ProSe application which is allowed to be used by the UE in the current visited network and the home network simultaneously according to the identifier of the UE, and the method comprises the following steps:
the H-PDCF network element sends a fourth request message to the V-PDCF network element according to the address of the V-PDCF, wherein the fourth request message comprises the identification of the UE and the identification of the ProSe application allowed to be used by the UE in a home network;
the H-PDCF network element receives a fourth response message sent by the V-PDCF network element, wherein the fourth response message comprises the identifier of the ProSe application which is allowed to be used by the UE in the current visited network and the home network;
the H-PDCF network element determines the identifier of the ProSe application which is allowed to be used by the UE in the current visited network and the home network simultaneously according to the identifier of the UE, and the method comprises the following steps:
and the H-PDCF network element acquires the identifier of the ProSe application which is allowed to be used by the UE in the current visited network and the home network simultaneously according to the fourth response message.
With reference to the ninth aspect or the first possible implementation manner of the ninth aspect, in a second possible implementation manner of the ninth aspect, after the determining, by the H-PDCF network element, the identifier of the ProSe application that is allowed to be used by the current visited network by the UE according to the identifier of the UE, the method further includes:
and the H-PDCF network element sends a first notification confirmation message to the V-MME, wherein the first notification confirmation message comprises the identification of the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
According to the configuration method and device provided by the embodiment of the invention, the UE requests a visiting area network Mobility Management Entity (V-MME) to carry out ProSe communication through a base station of the current visiting area network, and after the V-MME indicates that the ProSe communication of the UE in the current visiting area network is activated, the H-PDCF network element directly receives the configuration parameters distributed by the H-PDCF network element for the ProSe application allowed to be used by the UE in the current visiting area network. Therefore, after the UE obtains the authorization of the V-MME through the control plane to carry out the ProSe communication, the V-MME triggers the H-PDCF network element to directly send configuration parameters distributed for the ProSe application which is allowed to be used by the UE at the current visited network and the home network without passing through the visited network, thereby avoiding information leakage and protecting the privacy and the commercial secret of an operator to which the home network belongs.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of a first embodiment of a configuration method of the present invention;
FIG. 2 is a flowchart of a second embodiment of a configuration method of the present invention;
FIG. 3 is a flowchart of a third embodiment of a configuration method of the present invention;
FIG. 4 is a flowchart of a fourth embodiment of a configuration method of the present invention;
FIG. 5 is a flow chart of a fifth embodiment of a configuration method of the present invention;
FIG. 6 is a schematic structural diagram of a UE according to a first embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a second UE embodiment according to the present invention;
FIG. 8 is a schematic structural diagram of a first MME embodiment of the invention;
FIG. 9 is a schematic structural diagram of a second MME embodiment of the invention;
FIG. 10 is a schematic structural diagram of a PDCF network element according to a first embodiment of the present invention;
fig. 11 is a schematic structural diagram of a PDCF network element embodiment two of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a first configuration method according to the present invention, and as shown in fig. 1, the method of this embodiment may include:
s101, UE sends a first request message to a base station of a current visited network so that the base station forwards the first request message to a V-MME, wherein the first request message comprises an identifier of the UE and is used for requesting to perform ProSe communication.
In this embodiment, when the UE moves from the home network to the current visited network; or, when the UE moves from a visited network to a current visited network, because the UE has a capability of performing ProSe communication, if the UE is to perform ProSe communication in the current visited network, the UE needs to obtain permission to perform ProSe communication in the current visited network, so the UE can send a first request message to the current visited network, that is, send a first request message to a base station of the current visited network, where the first request message is used to request for performing proximity service ProSe communication, and the first request message includes an identifier of the UE, so that the current visited network knows the UE that needs to request for ProSe communication. After receiving a first request message sent by the UE, the base station forwards the first request message to a Mobility Management Entity (MME), also called a visited network Mobility Management Entity (Visit MME), in the current visited network, where the V-MME can determine, according to an identifier of the UE, that the current visited network allows the UE to perform ProSe communication after receiving the first request message sent by the UE via the base station.
Optionally, the first request message further includes first indication information, where the first indication information is used to indicate that the UE has a capability of performing ProSe communication. Specifically, when the first request message includes the first indication information, the UE may request ProSe communication from the V-MME through the first indication information.
S102, the UE receives a first response message sent by the base station, wherein the first response message is sent to the base station by the V-MME, and the first response message indicates that the ProSe communication of the UE in the current visited network is activated.
In this embodiment, when the V-MME determines that the current visited network allows the UE to perform ProSe communication, that is, it indicates that the ProSe communication of the UE in the current visited network is activated, then the V-MME notifies the UE that the ProSe communication of the UE in the current visited network is activated, that is, the V-MME sends a first response message to the base station, where the first response message indicates that the ProSe communication of the UE in the current visited network is activated, and then the base station sends the first response message to the UE, and correspondingly, the UE receives the first response message sent by the base station, so that the UE knows that the current visited network allows the UE to perform ProSe communication.
Optionally, the method of this embodiment further includes: and the UE sends a first completion message to the base station according to the first response message so that the base station forwards the first completion message to the V-MME. Specifically, the UE sends a first completion message to the base station according to the first response message to indicate that the UE has learned the information, and then the base station forwards the first completion message to the V-MME, so that the V-MME determines that the UE has learned that ProSe communication can be performed.
Optionally, the first response message includes second indication information, where the second indication information is used to indicate that ProSe communication in the UE current visited network has been activated, and the UE may know that the V-MME has activated ProSe communication in the UE current visited network according to the second indication information.
S103, the UE receives a configuration message sent by an H-PDCF network element, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
In this embodiment, the V-MME may send a first notification message to a PDCF network element, also referred to as an H-PDCF network element, in the home network of the UE, the first notification message indicating that the UE has enabled ProSe communication, the first notification message including an identity of the UE, so that the H-PDCF network element determines that the UE is the UE which enables the ProSe communication according to the identity of the UE in the first notification message, then the H-PDCF network element determines the identification of the ProSe application which is allowed to be used by the UE at the current visiting area network and the home area network simultaneously according to the identification of the UE, and then allocating configuration parameters for the applications, and then the H-PDCF network element directly sends a configuration message to the UE, the configuration message includes configuration parameters allocated by the H-PDCF network element for the ProSe application that the UE is allowed to use simultaneously in the current visited network and the home network, and the configuration parameters may include: the application identifier, the identity of the UE in the application, and the ProSe communication may be communication within a group, and a multicast manner is adopted, so the configuration parameters further include group information (such as a group identifier, a multicast address of the group, a key of the group, and the like) corresponding to the application. For example, ProSe applications may be: "police" (corresponds to police), "firefighter" (corresponds to fire), "first-aid" (corresponds to first aid), and the like. The configuration parameters determined by the H-PDCF network element do not need to pass through each network element in the current visited network, so that the current visited network cannot acquire the configuration parameters of the ProSe application used by the UE, and information leakage cannot be caused.
It should be noted that after the UE obtains the authorization for ProSe communication and the configuration parameters of the ProSe application in the current visited network, the UE may perform ProSe communication without network coverage, for example, using the ProSe application for information transmission.
In this embodiment, the UE requests the V-MME to perform ProSe communication through the base station of the current visited network, and directly receives, from the H-PDCF network element, the configuration parameter allocated by the H-PDCF network element to the ProSe application that the UE is allowed to use in the current visited network after the V-MME indicates that the ProSe communication of the UE in the current visited network has been activated. Therefore, after the UE obtains the authorization of the V-MME through the control plane to carry out the ProSe communication, the V-MME triggers the H-PDCF network element to directly send configuration parameters distributed for the ProSe application which is allowed to be used by the UE at the current visited network and the home network without passing through the visited network, thereby avoiding information leakage and protecting the privacy and the commercial secret of an operator to which the home network belongs.
Fig. 2 is a flowchart of a second configuration method embodiment of the present invention, and as shown in fig. 2, the method of this embodiment may include:
s201, a V-MME receives a first request message sent by UE forwarded by a base station, wherein the first request message comprises an identifier of the UE, and the first request message is used for requesting to perform ProSe communication.
In this embodiment, when the UE moves from the home network to the current visited network; or, when the UE moves from a visited network to a current visited network, because the UE has a capability of performing ProSe communication, if the UE is to perform ProSe communication in the current visited network, the UE needs to obtain permission to perform ProSe communication in the current visited network, so the UE can send a first request message to the current visited network, that is, send a first request message to a base station of the current visited network, where the first request message is used to request to perform proximity service ProSe communication, and the first request message includes an identifier of the UE, so that the current visited network knows which UE needs to request to perform ProSe communication. After receiving a first request message sent by the UE, the base station forwards the first request message to an MME (mobility management entity), also called V-MME, in the current visited network, and after receiving the first request message sent by the UE through the base station, the V-MME determines that the UE requests to perform ProSe communication according to the identity of the UE included in the first request message.
Optionally, the first request message further includes first indication information, where the first indication information is used to indicate that the UE has a capability of performing ProSe communication. Specifically, when the first request message includes the first indication information, the V-MME may learn from the first indication information that the UE requests ProSe communication.
S202, the V-MME determines that the current visited network allows the UE to carry out ProSe communication according to the identity of the UE.
In this embodiment, the V-MME may determine, according to the identifier of the UE, that the current visited network allows the UE to perform ProSe communication in the current visited network. For example: the V-MME can store the identification of the UE which allows the ProSe communication in the current visit area network, so that the V-MME can determine whether the current visit area network allows the UE to perform the ProSe communication according to the stored identification of the UE. For example: the V-MME may obtain ProSe subscription data of the UE according to the identifier of the UE, where the ProSe subscription data of the UE includes a visited network list that allows the UE to perform ProSe communication, and the V-MME may determine, according to the visited network list including a current visited network, that the current visited network allows the UE to perform ProSe communication.
S203, the V-MME sends a first response message to the base station, wherein the first response message indicates that the ProSe communication of the UE in the current visited network is activated, so that the base station sends the first response message to the UE.
In this embodiment, when the V-MME determines that the current visited network allows the UE to perform ProSe communication, that is, it indicates that the ProSe communication of the UE in the current visited network is activated, then the V-MME notifies the UE that the ProSe communication of the UE in the current visited network is activated, that is, the V-MME sends a first response message to the base station, where the first response message indicates that the ProSe communication of the UE in the current visited network is activated.
Optionally, the first response message includes second indication information, where the second indication information is used to indicate that ProSe communication in the UE currently visited network has been activated, and the V-MME may notify the UE of the activation of ProSe communication in the UE currently visited network through the second indication information.
Optionally, after the V-MME sends the first response message to the base station, the method further includes: and the V-MME receives a first completion message sent by the UE and forwarded by the base station. In this embodiment, the base station sends the first response message received from the V-MME to the UE, so that the UE knows that the current visited network allows the UE to perform ProSe communication, then the UE sends a first completion message to the base station according to the first response message to indicate that the UE knows the information, the base station forwards the first completion message to the V-MME, and accordingly, the V-MME receives the first completion message forwarded by the base station, so that it is determined that the UE knows that the ProSe communication can be performed.
S204, the V-MME sends a first notification message to an H-PDCF network element of the UE, the first notification message comprises an identifier of the UE, and the first notification message is used for indicating that the UE enables ProSe communication, so that the H-PDCF network element sends configuration parameters distributed by ProSe application which is allowed to be used by the H-PDCF network element at the current visited network and the home network of the UE at the same time to the UE.
In this embodiment, after the V-MME sends the first response message to the UE, optionally, after the V-MME receives the first completion message sent by the UE through the base station, the V-MME sends, to a PDCF network element, also referred to as an H-PDCF network element, in a home network of the UE, a first notification message indicating that the UE has enabled ProSe communication, where the first notification message includes an identifier of the UE, so that the H-PDCF network element determines, according to the identifier of the UE in the first notification message, that the UE is the UE that has enabled ProSe communication, and then, according to the identifier of the UE, the H-PDCF network element determines, according to the identifier of the UE, identifiers of ProSe applications that the UE is allowed to be used by the current visited network and the home network at the same time, and further determines configuration parameters allocated to the applications, and directly sends the configuration parameters allocated to the UE. The configuration parameters determined by the H-PDCF network element do not need to pass through each network element in the current visited network, so that the current visited network cannot acquire the configuration parameters of the ProSe application used by the UE, and information leakage cannot be caused.
It should be noted that after the UE obtains the authorization for ProSe communication and obtains the configuration parameters of the ProSe application in the current visited network, the UE may perform ProSe communication without network coverage, for example, using the ProSe application for information transmission.
In this embodiment, the V-MME learns, through a base station of a current visited network of the UE, that the UE requests to perform ProSe communication; and the V-MME informs an H-PDCF network element that the UE starts the ProSe communication after determining that the current visited network allows the UE to carry out the ProSe communication according to the identification of the UE, so that the H-PDCF network element directly sends the configuration parameters distributed by the H-PDCF network element for the ProSe application which the UE allows to use in the current visited network to the UE. Therefore, after the UE obtains the authorization of the V-MME through the control plane to carry out the ProSe communication, the V-MME triggers the H-PDCF network element to directly send configuration parameters distributed for the ProSe application which is allowed to be used by the UE at the current visited network and the home network without passing through the visited network, thereby avoiding information leakage and protecting the privacy and the commercial secret of an operator to which the home network belongs.
Fig. 3 is a flowchart of a third configuration method embodiment of the present invention, and as shown in fig. 3, the method of this embodiment may include:
s301, an H-PDCF network element receives a first notification message sent by a V-MME, wherein the first notification message comprises an identifier of UE, and the first notification message is used for indicating that the UE enables ProSe communication.
In this embodiment, when the UE moves to the current visited network and the UE obtains the confirmation information that the ProSe communication can be performed in the current visited network from the V-MME, the V-MME sends a first notification message to a PDCF network element, also referred to as an H-PDCF network element, in the home network of the UE, where the first notification message is used to indicate that the UE enables the ProSe communication, and the first notification message includes an identifier of the UE.
S302, the H-PDCF network element determines the identifier of the ProSe application which is allowed to be used by the UE in the current visited network and the home network according to the identifier of the UE.
In this embodiment, the H-PDCF network element may determine, according to the identifier of the UE, an identifier of a ProSe application that the UE is allowed to use in the current visited network and the home network at the same time, for example; the H-PDCF network element can store the identification of the ProSe application allowed to be used by the UE in all the visited networks, so that the H-PDCF network element can acquire the identification of the ProSe application allowed to be used by the UE in the current visited network and the home network at the same time.
S303, the H-PDCF network element sends a configuration message to the UE, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
In this embodiment, after determining the identifier of the ProSe application that the UE allows to use in the current visited network and the home network at the same time, the H-PDCF network element may determine configuration parameters allocated to the applications of the UE, and then directly send a configuration message to the UE, where the configuration message includes configuration parameters allocated by the H-PDCF network element to the ProSe application that the UE allows to use in the current visited network and the home network at the same time, and the configuration parameters may include: the application identifier, the identity of the UE in the application, and the ProSe communication may be communication within a group, and a multicast manner is adopted, so the configuration parameters further include group information (such as a group identifier, a multicast address of the group, a key of the group, and the like) corresponding to the application. The configuration parameters determined by the H-PDCF network element do not need to pass through each network element in the current visited network, so that the current visited network cannot acquire the configuration parameters of the ProSe application used by the UE, and information leakage cannot be caused.
It should be noted that after the UE obtains the authorization for ProSe communication and obtains the configuration parameters of the ProSe application in the current visited network, the UE may perform ProSe communication without network coverage, for example, using the ProSe application for information transmission.
In this embodiment, an H-PDCF network element receives the first notification message sent by the V-MME to indicate that the UE has enabled ProSe communication, and sends, to the UE, configuration parameters allocated by the H-PDCF network element for ProSe applications that the UE is allowed to use simultaneously in the current visited network and the home network. Therefore, after the UE obtains the authorization of the V-MME through the control plane to carry out the ProSe communication, the V-MME triggers the H-PDCF network element to directly send configuration parameters distributed for the ProSe application which is allowed to be used by the UE at the current visited network and the home network without passing through the visited network, thereby avoiding information leakage and protecting the privacy and the commercial secret of an operator to which the home network belongs.
Fig. 4 is a flowchart of a fourth configuration method embodiment of the present invention, and as shown in fig. 4, the method of this embodiment may include:
s401, an attachment request message is sent.
In this embodiment, when accessing a visited network, a UE may Request the visited network to perform ProSe communication, that is, the UE may send a first Request message to a base station of the visited network, where the first Request message may be an Attach Request message (Attach Request), and the Attach Request message includes an identifier of the UE, for example: the UE may further add Indication information for indicating that the UE has a capability of performing ProSe communication to the attach request message, that is, the attach request message may further include a "Public Safety Indication" indicator, where the attach request message provided in this embodiment is used to request to attach to the visited network and also used to request to perform ProSe communication in the visited network. Therefore, the UE may send an Attach Request (IMSI) to the base station.
S402, an attachment request message is sent.
In this embodiment, after receiving the attach request message sent by the UE, the base station of the current visited network forwards the attach request message to an MME, i.e., a V-MME, in the current visited network. After receiving the attach request message sent by the base station forwarding UE, the V-MME may determine that the UE requests ProSe communication according to the "Public Safety Indication" carried in the attach request message. Then, the V-MME can acquire ProSe subscription data of the UE according to the identity of the UE, the ProSe subscription data of the UE comprises a visited network List (specifically comprising the following information: low ProSe Communication in VPLMN, List of VPLMNs) allowing the UE to perform ProSe Communication, and the V-MME determines that the current visited network allows the UE to perform ProSe Communication according to the ProSe subscription data of the UE, wherein the specific implementation process is as follows.
S403, sending a position updating request message.
In this embodiment, the V-MME may obtain ProSe subscription data of the UE from the HSS of the UE. After the V-MME receives an Attach Request including a "Public Safety Indication" indicator, the V-MME may obtain ProSe context information of the UE from an MME serving the UE last time, and if the ProSe context information of the UE obtained by the V-MME from the MME serving the UE last time is empty, that is, it indicates that the V-MME does not obtain ProSe subscription data of the UE from the MME serving the UE last time, the V-MME sends a second Request message to the HSS of the UE, where the second Request message includes an identifier of the UE, and the second Request message is used to Request the ProSe subscription data of the UE. If the ProSe context information of the UE acquired by the V-MME from the MME serving the UE last time is not empty, the specific implementation process may refer to relevant descriptions in the next method embodiment.
Optionally, the second request message further includes indication information of the capability of the UE to perform ProSe communication specifically, and specifically, when the second request message includes the indication information, the V-MME may request the HSS to acquire ProSe subscription data of the UE through the indication information.
For example: the second request message may be a Location Update request message (Update Location), where the Location Update request message includes an IMSI of the UE and indication information (e.g., "public safety indication") of a ProSe communication capability of the UE. It should be noted that the MME serving the UE last time may be an MME of a home network of the UE or another visited network MME.
S404, sending a position updating confirmation message.
In this embodiment, the HSS stores the ProSe subscription data of the UE, so that the HSS can determine the ProSe subscription data of the UE according to the identifier of the UE, and then send a second response message to the V-MME, where the second response message includes the ProSe subscription data of the UE. The second response message may be a Location Update acknowledgement message (Update Location ACK).
S405, according to the ProSe subscription data of the UE, determining that the current visiting area network allows the UE to carry out ProSe communication.
In this embodiment, after acquiring the ProSe subscription data of the UE from the HSS, the V-MME may determine that the current visited network allows the UE to perform ProSe communication according to a visited network list that allows the UE to perform ProSe communication and includes the current visited network.
S406, the attachment acceptance message is sent.
In this embodiment, after determining that the current visited network allows the UE to perform ProSe communication for communication, the V-MME sends a first response message to the base station, where the first response message indicates that the ProSe communication of the UE in the current visited network has been activated; for example: the first response message may be an Attach Accept message (Attach Accept), and the V-MME may further include indication information indicating that ProSe communication of the UE in the current visited network is Activated, that is, the Attach Accept message may further include a "Public Safety Activated" indicator.
S407, sending an attachment acceptance message including air interface resources allocated by the base station to the UE to perform ProSe communication in the current visited network.
In this embodiment, if the air interface resource of the ProSe communication performed by the UE last time is different from the air interface resource of the ProSe communication performed by the current visited network, after receiving the attach accept message sent by the V-MME, the base station assigns the air interface resource of the ProSe communication performed by the UE in the current visited network to the UE, carries the air interface resource in the attach accept message, and sends the air interface resource to the UE. After the UE receives the attach accept message, where the air interface resource sent by the base station and including that allocated by the base station to perform ProSe communication in the current visited network by the UE is carried in the attach accept message, it can be known that the V-MME has confirmed that the V-MME supports the UE to perform ProSe communication in the current visited network, and the UE can subsequently perform ProSe communication according to the air interface resource carried in the attach accept message.
Optionally, if the air interface resource of the ProSe communication performed by the UE last time is the same as the air interface resource of the ProSe communication of the current visited network, the base station may directly forward the attach receive message to the UE after receiving the attach receive message sent by the V-MME.
S408, an attachment completion message is sent.
In this embodiment, after receiving the first response message sent by the base station, the UE may enable ProSe communication, and may send a first completion message to the base station to indicate that the UE knows that the current visited network allows the UE to perform ProSe communication, where the first completion message may be an Attach Complete message (Attach Complete).
And S409, sending an attachment completion message.
In this embodiment, after receiving the first completion message sent by the UE, the base station forwards the first completion message to the V-MME. The first completion message may be an Attach Complete message (Attach Complete).
S410, recording that the UE enables the ProSe communication in the ProSe context information of the UE.
In this embodiment, after receiving the attach complete message sent by the UE, the V-MME records, in the ProSe context information of the UE, that the UE has enabled ProSe communication.
S411, sending a first notification message.
In this embodiment, the ProSe subscription data of the UE acquired by the V-MME in S404 further includes an address of an H-PDCF network element of the UE, for example, an Internet Protocol (IP) address or a Media Access Control (MAC) address, and further, the ProSe subscription data of the UE further includes whether to allow the UE to perform ProSe communication in a home network. After the V-MME receives the first completion message sent by the UE, the V-MME may send a first notification message to an H-PDCF network element according to an address of the H-PDCF network element of the UE, where the first notification message includes an identifier (IMSI) of the UE to notify the H-PDCF network element that the UE has enabled ProSe communication. Optionally, the first notification message further includes an address, such as an IP address or a MAC address, of a current visited network PDCF (also referred to as a V-PDCF), so that the H-PDCF network element and the V-PDCF network element jointly determine a ProSe application that the UE is allowed to use in the current visited network, which is described in the following specific implementation process.
And S412, sending a fourth request message.
In this embodiment, after receiving the first notification message sent by the V-MME, the H-PDCF network element obtains, according to the identifier of the UE included in the first notification message, the identifier of the ProSe application that the UE is allowed to use in the home network, and then sends, according to the address of the V-PDCF network element, to the V-PCCF network element, a fourth request message including the identifier of the UE and the identifier of the ProSe application that the UE is allowed to use in the home network, for example: ProSe Request (IMSI, ProSe Application) in order to query whether the UE is allowed to use the above Application at the current visited network.
And S413, sending a fourth response message.
In this embodiment, the V-PDCF network element receives a fourth request message that is sent by the H-PDCF network element and includes an identifier of the UE and an identifier of a ProSe application that the UE allows to use in the home network, and determines, according to the identifier of the UE, an identifier of an application that the UE is allowed to use in the current visited network from the identifiers of the applications that the UE is allowed to use in the home network. And the V-PDCF network element sends the identifier of the ProSe application which is allowed to be used by the UE in the current visited network and the home network and the identifier of the UE to the H-PDCF network element through a fourth response message, wherein the identifiers are determined by the V-PDCF network element. For example: the fourth Response message may be ProSe Response (IMSI, result).
And S414, acquiring the identifier of the ProSe application which is allowed to be used by the UE in the current visited network and the home network simultaneously according to the fourth response message.
In this embodiment, after receiving the fourth response message sent by the V-PDCF network element, the H-PDCF network element obtains the identifier of the ProSe application and the identifier of the UE that are carried in the fourth response message, thereby determining that the identifier of the ProSe application that is carried in the fourth response message is the identifier of the ProSe application that the UE is allowed to use simultaneously in the current visited network and the home network.
S415, the first notification confirmation message is sent.
In this embodiment, after determining that the UE is allowed to use the identifier of the ProSe application in the current visited network and the home network at the same time, the H-PDCF network element may send the determined identifier of the application to the V-MME through a first notification acknowledgement message, for example: ProSe Notification ACK (Application ID).
S416, recording the identification of the ProSe application in the ProSe context information of the UE.
In this embodiment, after receiving the first notification acknowledgement message including the identifier of the ProSe application sent by the H-PDCF network element, the V-MME may determine that the identifier of the ProSe application is an identifier of the ProSe application that is allowed to be used by the UE by both the current visited network and the home network, and then record the identifier of the ProSe application in the ProSe context information of the UE. Therefore, the V-MME can master the service state of the UE for carrying out the ProSe communication in the ProSe context information of the UE, and management and charging are convenient.
S417, sending a configuration message, wherein the configuration message comprises configuration parameters.
In this embodiment, if the UE requests ProSe communication for the first time, the configuration message sent by the H-PDCF network element to the UE may be a configuration parameter allocation message, and if the UE does not request ProSe communication for the first time, the H-PDCF network element sends the configuration message to the UE as a configuration parameter update message. And the configuration message sent by the total H-PDCF network element to the UE comprises configuration parameters distributed by the H-PDCF network element for the ProSe application allowed to be used by the UE in both the current visited network and the home network. For a specific implementation process, reference may be made to relevant records in S104 of the first embodiment of the method and S304 of the third embodiment of the method, and details are not described here.
In another feasible implementation manner of the embodiment of the present invention, the first Request message may be a Tracking Area Update (Tracking Area Update, abbreviated as "TAU") Request message (TAU Request), the first Request response message may be a TAU Accept message (TAU Accept), and the first completion message may be a TAU Complete message (TAU Complete).
In this embodiment, the UE may Request the network of the current visited place to perform ProSe communication through the Attach/TAU Request, that is, the UE initiates an Attach flow/tracking area update flow and simultaneously requests the network of the current visited place to complete authorization of ProSe communication by combining with the existing standard flow, thereby saving signaling overhead of the network.
In this embodiment, the UE interactively applies for authorization of ProSe communication with the V-MME through the control plane, and the current visited network can check ProSe subscription data of the UE, thereby eliminating potential safety hazards. Meanwhile, the configuration parameters of the ProSe application used by the UE are only mastered by the H-PDCF network element and are directly transmitted to the UE by the H-PDCF network element, the V-PDCF network element in the visited network does not participate in the allocation of the configuration parameters of the applications, the configuration parameters of the applications are not learned, and only whether the current visited network supports the applications is verified, so that the service strategy of an operator of the home network of the UE and key data are protected from being leaked.
Fig. 5 is a flowchart of a fifth configuration method embodiment of the present invention, and as shown in fig. 5, the method of this embodiment may include:
s501, a tracking area updating request message is sent.
In this embodiment, the UE may send a TAU Request (IMSI) to the base station, and a specific implementation process is similar to that of S401 in the fourth embodiment of the method of the present invention, and reference may be made to related records in the above method embodiment of the present invention in detail, which is not described herein again.
And S502, sending a tracking area updating request message.
In this embodiment, a specific implementation process of S502 is similar to a specific implementation process of S402 in the fourth embodiment of the method of the present invention, and reference may be made to related descriptions in the foregoing embodiment of the method of the present invention for details, which are not described herein again.
S503, sending the identification request message.
In this embodiment, the V-MME may obtain ProSe subscription data of the UE from the MME serving the UE for the previous time. After the V-MME receives the Attach Request including the "Public Safety Indication" indicator, a third Request message may be sent to the MME serving the UE for the last time, where the third Request message includes an identifier of the UE, and the third Request message is used to Request ProSe subscription data of the UE, for example: the third Request message may be an identification Identity Request message (Subscriber Identity Request). It should be noted that the MME serving the UE last time may be an MME of a home network of the UE or another visited network MME.
And S504, sending an identification response message.
In this embodiment, if the UE also sends the first request message to the MME serving the UE last time, the MME serving the UE last time stores the ProSe subscription data of the UE, so that the MME serving the UE last time can send a third response message to the V-MME according to the identifier of the UE, where the third response message includes the ProSe subscription data of the UE.
In this embodiment, the third request message may be an Identity identification request message (Subscriber Identity request), the third Response message may be an Identity identification Response message (Subscriber Identity Response), when the MME serving the UE last receives the Identity identification request message sent by the V-MME, the stored context information of the UE is sent to the V-MME through the Identity identification Response message, if the UE also requests ProSe communication last time, the context information of the UE includes ProSe context information, and the ProSe context information includes ProSe subscription data of the UE. If the UE does not request ProSe communication last time, the context information of the UE does not include ProSe context information, that is, the V-MME cannot obtain the ProSe subscription data of the UE from the MME serving the UE last time, the UE may obtain the ProSe subscription data of the UE from a Home Subscriber Server (HSS), which is a Home Subscriber Server (HSS), and a specific process is shown in the following embodiment.
And S505, according to the ProSe subscription data of the UE, determining that the network of the current visit place allows the UE to carry out ProSe communication.
In this embodiment, after the V-MME acquires ProSe subscription data of the UE from the MME serving the UE last time, it may be determined that the ProSe communication is allowed for the UE by the current visited network according to the fact that the visited network list allowing the UE to perform ProSe communication includes the current visited network.
And S506, sending a tracking area updating acceptance message.
And S507, sending a tracking area update acceptance message which comprises air interface resources allocated by the base station to the UE to perform ProSe communication in the current visited network.
And S508, sending a tracking area updating completion message.
And S509, sending a tracking area updating completion message.
S510, recording that the UE enables the ProSe communication in the ProSe context information of the UE.
S511, sending a first notification message.
S512, sending a fourth request message.
And S513, sending a fourth response message.
And S514, acquiring the identifier of the ProSe application which is allowed to be used by the UE in the current visited network and the home network simultaneously according to the fourth response message.
And S515, sending a first notification confirmation message.
S516, recording the identification of the ProSe application in the ProSe context information of the UE.
S517, sending a configuration message, wherein the configuration message comprises configuration parameters.
In this embodiment, the specific implementation process of S505 to S517 is similar to the specific implementation process of S405 to S417 in the fourth embodiment of the method of the present invention, and reference may be made to the related descriptions in the foregoing embodiment of the method of the present invention for details, which are not described herein again.
In another possible implementation manner of the embodiment of the present invention, the first Request message may be an Attach Request message (Attach Request), the first Request response message may be an Attach Accept message (Attach Accept), and the first completion message may be an Attach Complete message (Attach Complete).
In this embodiment, the UE may Request the network in the current visited area to perform ProSe communication through the Attach/TAU Request, that is, the UE initiates an Attach flow/tracking area flow and simultaneously requests the network in the current visited area to complete authorization of ProSe communication by combining with the existing standard flow, thereby saving signaling overhead of the network.
In this embodiment, the UE interactively applies for authorization of ProSe communication with the V-MME through the control plane, and the current visited network can check ProSe subscription data of the UE, thereby eliminating potential safety hazards. Meanwhile, the configuration parameters of the ProSe application used by the UE are only mastered by the H-PDCF network element and are directly transmitted to the UE by the H-PDCF network element, the V-PDCF network element in the visited network does not participate in the allocation of the configuration parameters of the applications, the configuration parameters of the applications are not learned, and only whether the current visited network supports the applications is verified, so that the service strategy of an operator of the home network of the UE and key data are protected from being leaked.
Fig. 6 is a schematic structural diagram of a UE according to a first embodiment of the present invention, and as shown in fig. 6, the UE according to this embodiment may include: a sending unit 11 and a receiving unit 12, where the sending unit 11 is configured to send a first request message to a base station of a current visited network, so that the base station forwards the first request message to a V-MME, where the first request message includes an identifier of the UE, and the first request message is used to request to perform proximity service ProSe communication; the receiving unit 12 is configured to receive the first response message sent by the base station, where the first response message is sent by the V-MME to the base station, and the first response message indicates that ProSe communication of the UE in a current visited network has been activated; and receiving a configuration message sent by an H-PDCF network element, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network at the same time.
Optionally, the first response message received by the receiving unit 12 further includes an air interface resource allocated by the base station to perform ProSe communication on the current visited network by the UE, where the air interface resource is added to the first response message by the base station.
Optionally, the sending unit 11 is further configured to send a first completion message to the base station according to the first response message received by the receiving unit 12, so that the base station forwards the first completion message to the V-MME.
Optionally, the first request message sent by the sending unit 11 is an attach request message, the first response message received by the receiving unit 12 is an attach accept message, and the first completion message sent by the sending unit 11 is an attach completion message; or,
the first request message sent by the sending unit 11 is a tracking area update TAU request message, the first response message received by the receiving unit 12 is a TAU accept message, and the first completion message sent by the sending unit 11 is a TAU complete message.
The UE of this embodiment may be configured to execute the technical solution executed by the UE in the foregoing method embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a second embodiment of the UE of the present invention, and as shown in fig. 7, the UE of this embodiment may include: a transmitter 21, a receiver 22, a memory 23, and a processor 24 respectively connected to the transmitter 21, the receiver 22, and the memory 23, wherein the memory 23 is used for storing a set of program codes for executing the configuration method; processor 24 is operative to call program code stored in memory 23 for performing the following operations:
sending a first request message to a base station of a current visited network through a transmitter 21, so that the base station forwards the first request message to a visited network mobility management entity (V-MME), wherein the first request message comprises an identifier of the UE, and the first request message is used for requesting to perform proximity service (ProSe) communication;
receiving, by a receiver 22, the first response message sent by the base station, where the first response message is sent by the V-MME to the base station, and the first response message indicates that ProSe communication of the UE in a current visited network has been activated; and receiving a configuration message sent by a home network proximity service discovery and communication control H-PDCF network element, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
Optionally, the first response message received by the receiver 22 further includes an air interface resource allocated by the base station to perform ProSe communication on the current visited network by the UE, where the air interface resource is added to the first response message by the base station.
Optionally, the processor 24 is further configured to send, by the transmitter 21, a first completion message to the base station according to the first response message received by the receiver 22, so that the base station forwards the first completion message to the V-MME.
Optionally, the first request message sent by the transmitter 21 is an attach request message, the first response message received by the receiver 22 is an attach accept message, and the first completion message sent by the transmitter 21 is an attach completion message; or,
the first request message sent by the transmitter 21 is a tracking area update TAU request message, the first response message received by the receiver 22 is a TAU accept message, and the first completion message sent by the transmitter 21 is a TAU complete message.
The UE of this embodiment may be configured to execute the technical solution executed by the UE in the foregoing method embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of a first MME according to an embodiment of the present invention, and as shown in fig. 8, the MME according to this embodiment may include: a receiving unit 31, a processing unit 32, and a transmitting unit 33; the receiving unit 31 is configured to receive, when the MME is a visited network mobility management entity V-MME of the UE, a first request message sent by the UE and forwarded by a base station of a visited network, where the first request message includes an identifier of the UE, and the first request message is used to request ProSe communication; the processing unit 32 is configured to determine, according to the identifier of the UE included in the first request message received by the receiving unit 31, that the current visited network allows the UE to perform ProSe communication; a sending unit 33, configured to send the first response message to the base station, where the first response message indicates that ProSe communication of the UE in a current visited network has been activated, so that the base station sends the first response message to the UE; and sending a first notification message to an H-PDCF network element of the UE, wherein the first notification message comprises an identifier of the UE, and the first notification message is used for indicating that the UE enables ProSe communication, so that the H-PDCF network element sends configuration parameters distributed by ProSe application which is allowed to be used by the H-PDCF network element for the UE at the current visited network and the home network at the same time to the UE.
Optionally, the processing unit 32 is specifically configured to determine, according to ProSe subscription data of the UE, that the current visited network allows the UE to perform ProSe communication, where the ProSe subscription data of the UE includes a visited network list that allows the UE to perform ProSe communication.
Optionally, the ProSe subscription data of the UE further includes an address of an H-PDCF network element of the UE; the sending unit 33 is specifically configured to send a first notification message to the H-PDCF network element according to the address of the H-PDCF network element.
Optionally, the sending unit 33 is further configured to send, according to the first request message, a second request message to an HSS of the UE before the processing unit 32 determines, according to the ProSe subscription data of the UE, that the current visited network allows the UE to perform ProSe communication, where the second request message includes an identifier of the UE, and the second request message is used to request the ProSe subscription data of the UE; the receiving unit 31 is further configured to receive a second response message sent by the HSS, where the second response message includes ProSe subscription data of the UE.
Optionally, the second request message sent by the sending unit 33 is a location update message, and the second response message received by the receiving unit 31 is a location update confirmation message.
Optionally, the sending unit 33 is further configured to send, according to the first request message, a third request message to an MME serving the UE last time before the processing unit 32 determines, according to the ProSe subscription data of the UE, that the current visited network allows the UE to perform ProSe communication, where the third request message includes an identifier of the UE, and the third request message is used to request the ProSe subscription data of the UE; the receiving unit 31 receives a third response message sent by the MME serving the UE last time, where the third response message includes ProSe subscription data of the UE.
Optionally, the third request message sent by the sending unit 33 is an identification request message, and the receiving unit 31 receives the third response message as an identification response message.
Optionally, the processing unit 32 is further configured to record that the UE has enabled ProSe communication in ProSe context information of the UE after the transmitting unit 33 transmits the first response message to the base station.
Optionally, the receiving unit 31 is further configured to receive a first notification acknowledgement message sent by the H-PDCF after the sending unit 33 sends the first notification message to the H-PDCF network element of the UE, where the first notification acknowledgement message includes an identifier of a ProSe application that the UE is allowed to use at the same time in the current visited network and the home network; the processing unit 32 is further configured to record, in the ProSe context information of the UE, the identity of the ProSe application included in the first notification confirmation message received by the receiving unit 31.
Optionally, the first notification message sent by the sending unit 33 further includes an address of the V-PDCF network element.
Optionally, the receiving unit 31 is further configured to receive the first completion message sent by the UE forwarded by the base station after the sending unit 33 sends the first response message to the base station.
Optionally, the first request message received by the receiving unit 31 is an attach request message, the first response message sent by the sending unit 33 is an attach accept message, and the first completion message received by the receiving unit 31 is an attach completion message; or,
the first request message received by the receiving unit 31 is a tracking area update TAU request message, the first response message sent by the sending unit 33 is a TAU accept message, and the first completion message received by the receiving unit 31 is a TAU complete message.
The MME of this embodiment may be configured to execute the technical solution executed by the V-MME in the foregoing method embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 9 is a schematic structural diagram of a second MME embodiment of the present invention, and as shown in fig. 9, the MME of this embodiment may include: a receiver 41, a transmitter 42, a memory 43, and a processor 44 respectively connected to the receiver 41, the transmitter 42, and the memory 43, wherein the memory 43 is used for storing a set of program codes for executing the configuration method; the processor 44 is adapted to call the program code stored in the memory 43 for performing the following operations:
when the MME is a V-MME of the UE, receiving, by a receiver 41, a first request message sent by the UE and forwarded by a base station of a visited network, where the first request message includes an identifier of the UE, and the first request message is used to request ProSe communication;
determining that the current visited network allows the UE to carry out ProSe communication according to the identity of the UE;
transmitting, by a transmitter 42, a first response message to the base station, the first response message indicating that ProSe communication of the UE in a currently visited network has been activated, so that the base station transmits the first response message to the UE; and sending a first notification message to an H-PDCF network element of the UE, wherein the first notification message comprises an identifier of the UE, and the first notification message is used for indicating that the UE enables ProSe communication, so that the H-PDCF network element sends configuration parameters allocated by the H-PDCF network element for ProSe application allowed to be used by the UE in a current visited network to the UE.
Optionally, the processor 44 determines, according to the identity of the UE, that the current visited network allows the UE to perform ProSe communication, including:
the processor 44 determines that the current visitor network allows the UE to perform ProSe communication according to the ProSe subscription data of the UE, where the ProSe subscription data of the UE includes a visitor network list allowing the UE to perform ProSe communication.
Optionally, the ProSe subscription data of the UE further includes an address of an H-PDCF network element of the UE; processor 44 sends a first notification message to the H-PDCF network element via transmitter 42, comprising: processor 44 sends a first notification message to the H-PDCF network element via transmitter 42 based on the address of the H-PDCF network element.
Optionally, the processor 44 is further configured to send, by the transmitter 42, a second request message to the HSS of the UE according to the first request message before determining, according to the ProSe subscription data of the UE, that the ProSe communication of the UE is allowed by the current visited network, where the second request message includes an identifier of the UE, and the second request message is used for requesting the ProSe subscription data of the UE;
the processor 44 is further configured to receive, through the receiver 41, a second response message sent by the HMME, where the second response message includes ProSe subscription data of the UE.
Optionally, the second request message sent by the transmitter 42 is a location update message, and the second response message received by the receiver 41 is a location update confirmation message.
Optionally, the processor 44 is further configured to send, by the transmitter 42, a third request message to the MME serving the UE last time according to the first request message before determining, according to the ProSe subscription data of the UE, that the current visited network allows the UE to perform ProSe communication, where the third request message includes an identifier of the UE, and the third request message is used to request the ProSe subscription data of the UE;
processor 44 is further configured to receive, by receiver 41, a third response message sent by the MME that last served the UE, where the third response message includes ProSe subscription data of the UE.
Optionally, the third request message sent by the transmitter 42 is an identification request message, and the third response message received by the receiver 41 is an identification response message.
Optionally, the processor 44 is further configured to record, in the ProSe context information of the UE, that the UE has enabled ProSe communication after sending the first response message to the base station through the transmitter 42.
Optionally, the processor 44 is further configured to receive, by the receiver 41, a first notification acknowledgement message sent by the H-PDCF after sending the first notification message to the H-PDCF network element of the UE through the transmitter 42, where the first notification acknowledgement message includes an identification of a ProSe application that the UE is allowed to use simultaneously in the current visited network and the home network; and recording an identity of the ProSe application in ProSe context information of the UE.
Optionally, the first notification message received by the receiver 41 further includes an address of the V-PDCF network element.
Optionally, the processor 44 is further configured to receive, through the receiver 41, the first completion message forwarded by the base station and sent by the UE, after sending the first response message to the base station through the transmitter 42.
Optionally, the first request message received by the receiver 41 is an attach request message, the first response message sent by the transmitter 42 is an attach accept message, and the first completion message received by the receiver 41 is an attach completion message; or,
the first request message received by the receiver 41 is a tracking area update TAU request message, the first response message sent by the transmitter 42 is a TAU accept message, and the first completion message received by the receiver 41 is a TAU complete message.
The MME of this embodiment may be configured to execute the technical solution executed by the V-MME in the foregoing method embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of a PDCF network element according to a first embodiment of the present invention, and as shown in fig. 10, the PDCF network element according to this embodiment may include: a receiving unit 51, a processing unit 52, and a sending unit 53, where the receiving unit 51 is configured to receive a first notification message sent by a V-MME when the PDCF network element is an H-PDCF network element of a UE, where the first notification message includes an identifier of the UE, and the first notification message is used to indicate that the UE has enabled ProSe communication; the processing unit 52 is configured to determine, according to the identity of the UE included in the first notification message received by the receiving unit 51, an identity of a ProSe application that the UE is allowed to use in the current visited network; the sending unit 53 is configured to send a configuration message to the UE, where the configuration message includes configuration parameters allocated by the ProSe application that the H-PDCF network element determines, by the processing unit 52, that the UE is allowed to use in both the current visited network and the home network.
Optionally, the first notification message received by the receiving unit 51 further includes an address of the V-PDCF;
optionally, the sending unit 53 is further configured to send, before the processing unit 52 determines, according to the identity of the UE, an identity of a ProSe application that the UE allows to use in both a current visited network and a home network, to the V-PDCF network element according to the address of the V-PDCF, where the fourth request message includes the identity of the UE and the identity of the ProSe application that the UE allows to use in the home network;
the receiving unit 51 is further configured to receive a fourth response message sent by the V-PDCF network element, where the fourth response message includes an identifier of the UE and identifiers of ProSe applications that the UE allows to use in both the current visited network and the home network;
the processing unit 52 is specifically configured to acquire, according to the fourth response message, an identifier of a ProSe application that the UE is allowed to use in the current visited network and the home network at the same time.
Optionally, the sending unit 53 is further configured to, after the processing unit 52 determines, according to the identity of the UE, the identity of the ProSe application that the UE allows to use in the current visited network, send a first notification confirmation message to the V-MME, where the first notification confirmation message includes the identity of the ProSe application that the UE allows to use in both the current visited network and the home network.
The PDCF network element of this embodiment may be configured to execute the technical solution executed by the H-PDCF network element in the foregoing method embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 11 is a schematic structural diagram of a PDCF network element according to a second embodiment of the present invention, and as shown in fig. 11, the PDCF network element according to this embodiment may include: a receiver 61, a transmitter 62, a memory 63, and a processor 64 respectively connected to the receiver 61, the transmitter 62, and the memory 63, wherein the memory 63 is used for storing a set of program codes for executing the configuration method; the processor 64 is adapted to call up program code stored in the memory 63 for performing the following operations:
when the PDCF network element is an H-PDCF network element of the UE, receiving a first notification message sent by a V-MME through a receiver 61, wherein the first notification message comprises an identifier of the UE, and the first notification message is used for indicating that the UE starts the ProSe communication;
determining the identifier of the ProSe application allowed to be used by the UE in the current visited network according to the identifier of the UE;
sending a configuration message to the UE through a transmitter 62, where the configuration message includes configuration parameters allocated by the H-PDCF network element for a ProSe application that the UE is allowed to use in both a current visited network and a home network.
Optionally, the first notification message received by the receiver 61 further includes an address of a visited network proximity service discovery and communication control V-PDCF;
the processor 64 determines, according to the identity of the UE, the identity of the ProSe application that the UE allows to use in both the current visited network and the home network, including: the processor 64 sends a fourth request message to the V-PDCF network element through the transmitter 62 according to the address of the V-PDCF, where the fourth request message includes the identity of the UE and the identity of the ProSe application that the UE is allowed to use in the home network; receiving a fourth response message sent by the V-PDCF network element through a receiver 61, where the fourth response message includes an identifier of a ProSe application that the UE is allowed to use simultaneously in a current visited network and a home network; and acquiring the identities of the ProSe applications allowed to be used by the UE at the current visited network and the home network simultaneously according to the fourth response message received by the receiver 61.
Optionally, the processor 64 sends a first notification confirmation message to the V-MME through the transmitter 62 after determining the identity of the ProSe application allowed to be used by the UE in the current visited network according to the identity of the UE, where the first notification confirmation message includes the identity of the ProSe application allowed to be used by the UE in both the current visited network and the home network.
The PDCF network element of this embodiment may be configured to execute the technical solution executed by the H-PDCF network element in the foregoing method embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (32)

1. A User Equipment (UE), comprising:
a sending unit, configured to send a first request message to a base station of a current visited network, so that the base station forwards the first request message to a visited network mobility management entity V-MME, where the first request message includes an identifier of the UE, and the first request message is used to request to perform proximity service ProSe communication;
a receiving unit, configured to receive a first response message sent by the base station, where the first response message is sent by the V-MME to the base station, and the first response message indicates that ProSe communication of the UE in a current visited network has been activated; and receiving a configuration message sent by a home network proximity service discovery and communication control H-PDCF network element, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
2. The UE according to claim 1, wherein the first response message received by the receiving unit further includes an air interface resource allocated by the base station to perform ProSe communication in a current visited network by the UE, and the air interface resource is added to the first response message by the base station.
3. The UE according to claim 1 or 2, wherein the sending unit is further configured to send a first completion message to the base station according to the first response message received by the receiving unit, so that the base station forwards the first completion message to the V-MME.
4. The UE according to claim 3, wherein the first request message sent by the sending unit is an attach request message, the first response message received by the receiving unit is an attach accept message, and the first completion message sent by the sending unit is an attach completion message; or,
the first request message sent by the sending unit is a tracking area update TAU request message, the first response message received by the receiving unit is a TAU accept message, and the first completion message sent by the sending unit is a TAU complete message.
5. A mobility management entity, MME, comprising:
a receiving unit, configured to receive, when the MME is a visited network mobility management entity V-MME of a user equipment UE, a first request message sent by the UE and forwarded by a base station of a visited network, where the first request message includes an identifier of the UE, and the first request message is used to request to perform proximity service ProSe communication;
a processing unit, configured to determine, according to the identifier of the UE included in the first request message received by the receiving unit, that the current visited network allows the UE to perform ProSe communication;
a sending unit, configured to send a first response message to the base station, where the first response message indicates that ProSe communication of the UE in a current visited network has been activated, so that the base station sends the first response message to the UE; and sending a first notification message to a home network proximity service discovery and communication control H-PDCF network element of the UE, wherein the first notification message comprises an identification of the UE, and the first notification message is used for indicating that the UE enables ProSe communication, so that the H-PDCF network element sends configuration parameters allocated by ProSe application which is allowed to be used by the H-PDCF network element at the current visited network and the home network of the UE at the same time to the UE.
6. The MME of claim 5,
the processing unit is specifically configured to determine, according to the ProSe subscription data of the UE, that the current visitor network allows the UE to perform ProSe communication, where the ProSe subscription data of the UE includes a visitor network list allowing the UE to perform ProSe communication.
7. The MME of claim 6, wherein the ProSe subscription data for the UE further comprises an address of an H-PDCF network element of the UE;
the sending unit is specifically configured to send the first notification message to the H-PDCF network element according to the address of the H-PDCF network element.
8. The MME of claim 6 or 7, wherein the sending unit is further configured to send a second request message to a Home Subscriber Server (HSS) of the UE according to the first request message before the processing unit determines that the current visited network allows the UE to perform ProSe communication according to the ProSe subscription data of the UE, and the second request message includes an identifier of the UE and is used for requesting the ProSe subscription data of the UE;
the receiving unit is further configured to receive a second response message sent by the HSS, where the second response message includes ProSe subscription data of the UE.
9. The MME according to claim 8, wherein the second request message sent by the sending unit is a location update message, and the second response message received by the receiving unit is a location update confirmation message.
10. The MME of claim 6 or 7, wherein the sending unit is further configured to send, according to the first request message, a third request message to the MME serving the UE last time according to the first request message before the processing unit determines that the current visited network allows the UE to perform ProSe communication according to the ProSe subscription data of the UE, where the third request message includes an identifier of the UE, and the third request message is used to request the ProSe subscription data of the UE;
the receiving unit receives a third response message sent by the MME serving the UE last time, where the third response message includes ProSe subscription data of the UE.
11. The MME of claim 10, wherein the third request message sent by the sending unit is an identification request message, and wherein the receiving unit receives the third response message as an identification response message.
12. The MME of claim 5, wherein the processing unit is further configured to record that the UE has enabled ProSe communication in ProSe context information of the UE after the sending unit sends the first response message to the base station.
13. The MME of claim 5,
the receiving unit is further configured to receive a first notification acknowledgement message sent by the H-PDCF after the sending unit sends the first notification message to an H-PDCF network element of the UE, where the first notification acknowledgement message includes an identifier of a ProSe application that the UE is allowed to use simultaneously in a current visited network and a home network;
the processing unit is further configured to record, in ProSe context information of the UE, an identity of the ProSe application included in the first notification confirm message received by the receiving unit.
14. The MME of claim 5, wherein the first notification message sent by the sending unit further comprises an address of a visited network proximity service discovery and communication control V-PDCF network element.
15. The MME of claim 5, wherein the receiving unit is further configured to receive a first completion message sent by the UE and forwarded by the base station after the sending unit sends the first response message to the base station.
16. The MME according to claim 15, wherein the first request message received by the receiving unit is an attach request message, the first response message sent by the sending unit is an attach accept message, and the first completion message received by the receiving unit is an attach completion message; or,
the first request message received by the receiving unit is a tracking area update TAU request message, the first response message sent by the sending unit is a TAU accept message, and the first completion message received by the receiving unit is a TAU complete message.
17. A method of configuration, comprising:
user Equipment (UE) sends a first request message to a base station of a current visited network so that the base station forwards the first request message to a visited network mobility management entity (V-MME), wherein the first request message comprises an identifier of the UE and is used for requesting to perform proximity service (ProSe) communication;
the UE receives a first response message sent by the base station, wherein the first response message is sent to the base station by the V-MME, and the first response message indicates that the ProSe communication of the UE in the current visited network is activated;
the UE receives a configuration message sent by a home network proximity service discovery and communication control H-PDCF network element, wherein the configuration message comprises configuration parameters distributed by the H-PDCF network element for the ProSe application which is allowed to be used by the UE in the current visited network and the home network.
18. The method of claim 17, wherein the first response message received by the UE further includes an air interface resource allocated by the base station to the UE for ProSe communication in the current visited network, and the air interface resource is added to the first response message by the base station.
19. The method according to claim 17 or 18, wherein after receiving the first response message sent by the base station, the UE further comprises:
and the UE sends a first completion message to the base station according to the first response message so that the base station forwards the first completion message to the V-MME.
20. The method of claim 19, wherein the first request message is an attach request message, the first response message is an attach accept message, and the first complete message is an attach complete message; or,
the first request message is a tracking area update TAU request message, the first response message is a TAU accept message, and the first completion message is a TAU complete message.
21. A method of configuration, comprising:
a visited area network mobility management entity V-MME receives a first request message sent by user equipment UE and forwarded by a base station of a visited area network, wherein the first request message comprises an identifier of the UE, and the first request message is used for requesting to perform proximity service (ProSe) communication;
the V-MME determines that the current visited network allows the UE to carry out ProSe communication according to the identity of the UE;
the V-MME sends a first response message to the base station, wherein the first response message indicates that the ProSe communication of the UE in a current visited network is activated so that the base station sends the first response message to the UE;
the V-MME sends a first notification message to a home network proximity service discovery and communication control H-PDCF network element of the UE, wherein the first notification message comprises an identification of the UE, and the first notification message is used for indicating that the UE enables ProSe communication, so that the H-PDCF network element sends configuration parameters which are allocated by the H-PDCF network element for ProSe application allowed to be used by the UE in a current visited network to the UE.
22. The method of claim 21, wherein the V-MME determining, based on the identity of the UE, that the UE is allowed ProSe communication by a current visited network, comprises:
and the V-MME determines that the current visiting area network allows the UE to carry out the ProSe communication according to the ProSe subscription data of the UE, wherein the ProSe subscription data of the UE comprises a visiting area network list allowing the UE to carry out the ProSe communication.
23. The method of claim 22, wherein the ProSe subscription data for the UE further comprises an address of an H-PDCF network element for the UE;
the V-MME sends a first notification message to the H-PDCF network element, and the first notification message comprises the following steps:
and the V-MME sends the first notification message to the H-PDCF network element according to the address of the H-PDCF network element.
24. The method of claim 22 or 23, wherein the V-MME determines, before the UE is allowed to perform ProSe communication by a current visited network according to ProSe subscription data of the UE, further comprising:
the V-MME sends a second request message to a Home Subscriber Server (HSS) of the UE according to the first request message, wherein the second request message comprises an identifier of the UE and is used for requesting ProSe subscription data of the UE;
the V-MME receives a second response message sent by the HSS, wherein the second response message comprises ProSe subscription data of the UE.
25. The method of claim 24, wherein the second request message is a location update message and the second response message is a location update confirm message.
26. The method of claim 22 or 23, wherein the V-MME determines, before the UE is allowed to perform ProSe communication by a current visited network according to ProSe subscription data of the UE, further comprising:
the V-MME sends a third request message to a Mobility Management Entity (MME) serving the UE for the last time according to the first request message, wherein the third request message comprises an identifier of the UE and is used for requesting ProSe subscription data of the UE;
the V-MME receives a third response message sent by the MME serving the UE last time, wherein the third response message comprises ProSe subscription data of the UE.
27. The method of claim 26, wherein the third request message is an identification request message and the third response message is an identification response message.
28. The method of claim 21, wherein after the V-MME sends the first response message to the base station, further comprising:
the V-MME records that the UE enables the ProSe communication in the ProSe context information of the UE.
29. The method of claim 21, wherein after the V-MME sends the first notification message to a home network proximity service discovery and communication control H-PDCF network element of the UE, further comprising: the V-MME receives a first notification confirmation message sent by the H-PDCF, wherein the first notification confirmation message comprises the identification of the ProSe application which is allowed to be used by the UE in the current visited network and the home network;
the V-MME records the identification of the ProSe application in the ProSe context information of the UE.
30. The method of claim 21, wherein the first notification message further comprises an address of a visited network proximity service discovery and communication control V-PDCF network element.
31. The method of claim 21, wherein after the V-MME sends the first response message to the base station, further comprising: and the V-MME receives a first completion message sent by the UE and forwarded by the base station.
32. The method of claim 31, wherein the first request message is an attach request message, the first response message is an attach accept message, and the first complete message is an attach complete message; or,
the first request message is a tracking area update TAU request message, the first response message is a TAU accept message, and the first completion message is a TAU complete message.
CN201480002663.5A 2014-03-21 2014-03-21 Configuration method and device Active CN105265008B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/073889 WO2015139314A1 (en) 2014-03-21 2014-03-21 Configuration method and device

Publications (2)

Publication Number Publication Date
CN105265008A CN105265008A (en) 2016-01-20
CN105265008B true CN105265008B (en) 2019-03-26

Family

ID=54143726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480002663.5A Active CN105265008B (en) 2014-03-21 2014-03-21 Configuration method and device

Country Status (2)

Country Link
CN (1) CN105265008B (en)
WO (1) WO2015139314A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013095000A1 (en) * 2011-12-20 2013-06-27 엘지전자 주식회사 Network-initiated control method and apparatus for providing proximity service
WO2013114648A1 (en) * 2012-02-03 2013-08-08 Nec Corporation Mobile communications device and system
CN103634812A (en) * 2013-11-27 2014-03-12 西安电子科技大学 Intra-cell device to device direct communication method based on user device relay

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013095000A1 (en) * 2011-12-20 2013-06-27 엘지전자 주식회사 Network-initiated control method and apparatus for providing proximity service
WO2013114648A1 (en) * 2012-02-03 2013-08-08 Nec Corporation Mobile communications device and system
CN103634812A (en) * 2013-11-27 2014-03-12 西安电子科技大学 Intra-cell device to device direct communication method based on user device relay

Also Published As

Publication number Publication date
CN105265008A (en) 2016-01-20
WO2015139314A1 (en) 2015-09-24

Similar Documents

Publication Publication Date Title
KR102294659B1 (en) Method for supporting ue access control
KR101519547B1 (en) Method and apparatus for updating location information of user equipment
CN102238534B (en) Terminal identifier notification and maintenance methods and equipment
EP3364676B1 (en) Method for supporting pdn gw selection
US20170026896A1 (en) Terminal device, relay terminal device, and communication control method
WO2016187955A1 (en) Position management method of terminal, paging method, device, and terminal
TW201703446A (en) Multiple concurrent contexts virtual evolved session management (virtual ESM)
JP6159020B2 (en) Proximity service permission method, apparatus and system
US10986557B2 (en) Method for sending end marker, device, and system
CN109417699A (en) A kind of state switching method and device
KR20160030285A (en) Method, device and system for network configuration
US10863555B2 (en) Access method, apparatus, device, and system
US11864149B2 (en) Systems and methods for user equipment (UE) registration
US9713176B2 (en) Telecommunication method and telecommunication system
WO2014187289A1 (en) Short-range communication method, user equipment, and mobile management entity
WO2016177106A1 (en) Dedicated core network selection method and device
US10129079B2 (en) Telecommunications system and method
US20190098456A1 (en) Method for associating mission critical user with user equipment of mission critical user, and related device
CN105265008B (en) Configuration method and device
CN107534847B (en) Discovery method and device
CN110830994B (en) Session migration method, device and storage medium
US20160174269A1 (en) Methods and Apparatus for Device to Device Communication
CN103621158B (en) Method for network access, network equipment access point apparatus and mobility management entity device
US20200195576A1 (en) Technique for Providing Content Via a Mobile Communications Network
WO2016112540A1 (en) Service authorization method, proximity-based service server and user equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant