[go: up one dir, main page]

CN107615817B - Communication path switching method, device and system for short-range service - Google Patents

Communication path switching method, device and system for short-range service Download PDF

Info

Publication number
CN107615817B
CN107615817B CN201580080074.3A CN201580080074A CN107615817B CN 107615817 B CN107615817 B CN 107615817B CN 201580080074 A CN201580080074 A CN 201580080074A CN 107615817 B CN107615817 B CN 107615817B
Authority
CN
China
Prior art keywords
prose
communication path
communication
application server
path switching
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
CN201580080074.3A
Other languages
Chinese (zh)
Other versions
CN107615817A (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 CN107615817A publication Critical patent/CN107615817A/en
Application granted granted Critical
Publication of CN107615817B publication Critical patent/CN107615817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/142Reselecting a network or an air interface over the same radio air interface technology

Landscapes

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

Abstract

The embodiment of the invention provides a method, a device and a system for switching communication paths of near field service. The invention discloses a communication path switching method of near field service, which comprises the following steps: determining that two User Equipment (UE) performing ProSe communication are within a preset ProSe communication range, wherein the ProSe communication is initiated by a ProSe application on any one of the two UE through a first communication path; respectively sending a communication path switching indication to each UE of the two UEs, wherein the communication path switching indication comprises an identifier of the ProSe application and an application layer identifier of an opposite-end UE which carries out the ProSe communication with the UE receiving the communication path switching indication; and sending a communication path switching request to a Policy and Charging Rule Function (PCRF) device, wherein the communication path switching request comprises the identifier of the ProSe application and the application layer identifiers of the two UEs. The embodiment of the invention improves the utilization rate of resources and solves the problem of resource waste.

Description

近距离业务的通信路径切换方法、装置及系统Communication path switching method, device and system for short-range service

技术领域technical field

本发明实施例涉及通信技术,尤其涉及一种近距离业务的通信路径切换方法、装置及系统。Embodiments of the present invention relate to communication technologies, and in particular, to a method, device, and system for switching communication paths for short-range services.

背景技术Background technique

随着社交类应用的广泛应用,近距离业务越来越重要,包括近距离发现和近距离通信,其中,近距离发现可以使得人们的生活与工作变得更加方便,近距离通信可以使得用户之间通过近距离通信技术直接建立通信。第三代合作伙伴项目(3rd GenerationPartnership Project,简称:3GPP)定义了增强的演进分组系统(Evolved Packet System,简称:EPS),为近距离用户设备(User Equipment,简称:UE)之间提供近距离业务(Proximity Service,简称:ProSe),在网络侧引入了ProSe功能(ProSe Function)网元,用来专门处理ProSe所需的相关动作与流程。With the wide application of social applications, short-range services are becoming more and more important, including short-range discovery and short-range communication. Among them, short-range discovery can make people's life and work more convenient, and short-range communication can make users Communication is established directly between them through short-range communication technology. The 3rd Generation Partnership Project (3GPP) defines an Enhanced Evolved Packet System (EPS) to provide short-range user equipment (UE) The Proximity Service (ProSe for short) introduces a ProSe Function (ProSe Function) network element on the network side to specifically process the related actions and processes required by ProSe.

在3GPP定义的EPS系统架构中,UE与UE之间定义了直接通信接口PC5。当UE发现处于邻近位置的其它UE后,可以通过近距离通信技术建立与其它UE之间的PC5接口直接通信路径,实现两个UE的近距离直接通信。除了通过PC5接口进行直接通信,两个近距离UE之间还可以通过演进分组核心网(Evolved Packet Core,简称:EPC)路径进行近距离通信,参与通信的每个UE分别建立ProSe分组数据网络(Packet Data Network,简称:PDN)连接,实现UE与ProSe应用服务器之间的通信,通过ProSe应用服务器来转发两个UE之间的数据。基于3GPP对于ProSe通信提出的需求,PC5接口直接通信路径应该优于EPC路径,即当两个UE之间的位置距离在近距离通信范围之内时,应该尽可能地通过PC5接口直接通信路径进行ProSe通信。In the EPS system architecture defined by 3GPP, a direct communication interface PC5 is defined between the UE and the UE. After the UE finds other UEs in the vicinity, it can establish a direct communication path of the PC5 interface with other UEs through the short-range communication technology, so as to realize the short-range direct communication between the two UEs. In addition to direct communication through the PC5 interface, two close-range UEs can also conduct close-range communication through the Evolved Packet Core (EPC) path. Each UE participating in the communication establishes a ProSe packet data network ( Packet Data Network, PDN for short) connection, realizes the communication between the UE and the ProSe application server, and forwards the data between the two UEs through the ProSe application server. Based on the requirements of 3GPP for ProSe communication, the direct communication path of the PC5 interface should be superior to the EPC path, that is, when the location distance between the two UEs is within the range of short-range communication, the direct communication path of the PC5 interface should be used as much as possible. ProSe communication.

现有技术中,当两个UE可以通过PC5接口直接通信路径进行ProSe通信时,从EPC路径切换到PC5接口直接通信路径是由UE发起的。例如,当UE A通过执行近距离直接发现流程发现UE B处于近距离通信范围之内时,UE A在PC5接口上发起直接通信请求给UE B,UE B在PC5接口上回复直接通信响应给UE A,UE A与UE B分别生成PC5接口直接通信路径的分组过滤器用来将后续ProSe通信业务过滤到PC5接口,这样UE A与UE B就可以通过PC5接口直接通信路径继续进行ProSe通信。In the prior art, when two UEs can perform ProSe communication through the PC5 interface direct communication path, switching from the EPC path to the PC5 interface direct communication path is initiated by the UEs. For example, when UE A finds that UE B is within the proximity communication range by performing the short-range direct discovery process, UE A initiates a direct communication request to UE B on the PC5 interface, and UE B replies the direct communication response to UE on the PC5 interface A, UE A and UE B respectively generate a packet filter for the direct communication path of the PC5 interface to filter subsequent ProSe communication services to the PC5 interface, so that UE A and UE B can continue ProSe communication through the direct communication path of the PC5 interface.

但是,上述ProSe通信的通信路径切换的过程,当ProSe通信从EPC路径切换到PC5接口直接通信路径后,网络侧为该ProSe通信建立的EPC路径分配的网络资源不能重复被PC5接口直接通信路径利用,从而造成资源浪费。However, in the process of the communication path switching of the above-mentioned ProSe communication, after the ProSe communication is switched from the EPC path to the PC5 interface direct communication path, the network resources allocated by the network side for the EPC path established by the ProSe communication cannot be repeatedly used by the PC5 interface direct communication path , resulting in a waste of resources.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种近距离业务的通信路径切换方法、装置及系统,以提升资源的利用率,解决资源浪费的问题。Embodiments of the present invention provide a communication path switching method, device and system for short-range services, so as to improve the utilization rate of resources and solve the problem of resource waste.

第一方面,本发明实施例提供一种ProSe的通信路径切换方法,包括:In a first aspect, an embodiment of the present invention provides a ProSe communication path switching method, including:

确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内,所述ProSe通信由所述两个UE中的任一个UE上的ProSe应用在第一通信路径发起;It is determined that the two user equipment UEs performing ProSe communication are within a preset ProSe communication range, and the ProSe communication is initiated by the ProSe application on any one of the two UEs in the first communication path;

向所述两个UE中的每个UE分别发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和与接收所述通信路径切换指示的UE进行所述ProSe通信的对端UE的应用层标识,以使所述两个UE分别将所述ProSe通信从所述第一通信路径切换至第二通信路径;Sending a communication path switching instruction to each of the two UEs respectively, where the communication path switching instruction includes the identity of the ProSe application and the opposite end that performs the ProSe communication with the UE that receives the communication path switching instruction An application layer identifier of the UE, so that the two UEs respectively switch the ProSe communication from the first communication path to the second communication path;

向策略与计费规则功能PCRF设备发送通信路径切换请求,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。Send a communication path switching request to the policy and charging rules function PCRF device, the communication path switching request includes the identity of the ProSe application and the application layer identity of the two UEs, so that the PCRF device updates the allocation to the Bearer resources of the first communication path.

结合第一方面,在第一方面的第一种可能的实现方式中,所述第一通信路径为演进分组核心网EPC路径,所述第二通信路径为PC5接口直接通信路径。With reference to the first aspect, in a first possible implementation manner of the first aspect, the first communication path is an evolved packet core network EPC path, and the second communication path is a PC5 interface direct communication path.

结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述确定进行ProSe通信的两个UE处于预设的ProSe通信范围内之前,还包括: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, it is determined that the two UEs performing ProSe communication are within a preset ProSe communication range before ,Also includes:

接收ProSe功能网元发送的近距离指示,所述近距离指示是所述ProSe功能网元在确定所述两个UE处于所述预设的ProSe通信范围内后发送的,所述近距离指示包括所述ProSe应用的标识和所述两个UE的应用层标识;Receive a proximity indication sent by a ProSe functional network element, where the proximity indication is sent by the ProSe functional network element after determining that the two UEs are within the preset ProSe communication range, and the proximity indication includes The identity of the ProSe application and the application layer identity of the two UEs;

所述确定进行ProSe通信的两个UE处于预设的ProSe通信范围内,包括:It is determined that the two UEs performing ProSe communication are within the preset ProSe communication range, including:

根据所述近距离指示确定所述两个UE处于所述预设的ProSe通信范围内。It is determined according to the short-range indication that the two UEs are within the preset ProSe communication range.

结合第一方面、第一方面的第一种至第二种中任一种可能的实现方式,在第一方面的第三种可能的实现方式中,所述向所述UE发送通信路径切换指示,包括:With reference to the first aspect and any one of the possible implementation manners of the first to second aspects of the first aspect, in a third possible implementation manner of the first aspect, the sending a communication path switching indication to the UE ,include:

向ProSe功能网元发送所述通信路径切换指示,以使所述ProSe功能网元向所述UE转发所述通信路径切换指示;或者,sending the communication path switching instruction to the ProSe functional network element, so that the ProSe functional network element forwards the communication path switching instruction to the UE; or,

通过应用层消息直接向所述UE发送所述通信路径切换指示。The communication path switching indication is directly sent to the UE through an application layer message.

第二方面,本发明实施例提供一种ProSe的通信路径切换方法,包括:In a second aspect, an embodiment of the present invention provides a ProSe communication path switching method, including:

用户设备UE接收ProSe应用服务器在确定所述UE和与所述UE进行ProSe通信的对端UE处于预设的ProSe通信范围内时发送的通信路径切换指示,所述ProSe通信由所述UE或所述对端UE上的ProSe应用在第一通信路径发起,所述通信路径切换指示包括所述ProSe应用的标识和所述对端UE的应用层标识;The user equipment UE receives a communication path switching instruction sent by the ProSe application server when it is determined that the UE and the peer UE that performs ProSe communication with the UE are within a preset ProSe communication range, and the ProSe communication is performed by the UE or the UE. The ProSe application on the opposite end UE is initiated on the first communication path, and the communication path switching indication includes the identity of the ProSe application and the application layer identity of the opposite end UE;

所述UE根据所述通信路径切换指示从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;requesting, by the UE, radio resources of the second communication path for performing the ProSe communication from the serving base station according to the communication path switching instruction;

所述UE使用所述无线资源建立与所述对端UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径。The UE establishes the second communication path with the opposite UE using the radio resource, and switches the ProSe communication from the first communication path to the second communication path.

结合第二方面,在第二方面的第一种可能的实现方式中,所述UE接收ProSe应用服务器在确定所述UE和与所述UE进行ProSe通信的对端UE处于预设的ProSe通信范围内时发送的通信路径切换指示,包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the UE receives a ProSe application server that determines that the UE and the peer UE that performs ProSe communication with the UE are within a preset ProSe communication range The communication path switching instruction sent by the internal time, including:

所述UE接收所述ProSe应用服务器通过ProSe功能网元发送的所述通信路径切换指示;或者,The UE receives the communication path switching instruction sent by the ProSe application server through the ProSe function network element; or,

所述UE接收所述ProSe应用服务器通过应用层消息直接发送的所述通信路径切换指示。The UE receives the communication path switching instruction directly sent by the ProSe application server through an application layer message.

结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述方法还包括:With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the method further includes:

所述UE接收分组数据网络网关PDN GW发送的承载修改指示,根据所述承载修改指示更新所述第一通信路径上的承载资源。The UE receives the bearer modification instruction sent by the packet data network gateway PDN GW, and updates the bearer resources on the first communication path according to the bearer modification instruction.

第三方面,本发明实施例提供一种ProSe的通信路径切换方法,包括:In a third aspect, an embodiment of the present invention provides a ProSe communication path switching method, including:

接收ProSe应用服务器在确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内时发送的通信路径切换请求,所述ProSe通信由所述两个UE中的任一个UE上的ProSe应用在第一通信路径发起,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识;Receive a communication path switching request sent by the ProSe application server when it is determined that two user equipment UEs performing ProSe communication are within a preset ProSe communication range, and the ProSe communication is performed by the ProSe application on any one of the two UEs. Initiated at the first communication path, the communication path switching request includes the identity of the ProSe application and the application layer identity of the two UEs;

根据所述通信路径切换请求更新所述第一通信路径上的所述ProSe通信的业务流对应的策略与计费控制PCC策略;Update the policy and charging control PCC policy corresponding to the service flow of the ProSe communication on the first communication path according to the communication path switching request;

将更新后的所述PCC策略发送给分组数据网络网关PDN GW,以使所述PDN GW根据所述更新后的所述PCC策略更新分配给所述第一通信路径的承载资源。Sending the updated PCC policy to the packet data network gateway PDN GW, so that the PDN GW updates the bearer resources allocated to the first communication path according to the updated PCC policy.

第四方面,本发明实施例提供一种ProSe的通信路径切换方法,包括:In a fourth aspect, an embodiment of the present invention provides a ProSe communication path switching method, including:

第一用户设备UE确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内,所述ProSe通信由所述第一UE或所述第二UE上的ProSe应用在第一通信路径发起;The first user equipment UE determines that the second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is initiated by the ProSe application on the first UE or the second UE on the first communication path;

所述第一UE从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;The first UE requests, from the serving base station, radio resources for the second communication path of the ProSe communication;

所述第一UE使用所述无线资源建立与所述第二UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径;the first UE establishes the second communication path with the second UE using the radio resource, and switches the ProSe communication from the first communication path to the second communication path;

所述第一UE向ProSe应用服务器发送通信路径第一切换请求,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识,以使所述ProSe应用服务器向策略与计费规则功能PCRF设备发送通信路径第二切换请求,使所述PCRF设备更新分配给所述第一通信路径的承载资源。The first UE sends a communication path first handover request to the ProSe application server, where the communication path first handover request includes the identity of the ProSe application and the application layer identity of the second UE, so that the ProSe application server Send a second communication path switching request to the policy and charging rules function PCRF device, so that the PCRF device updates the bearer resources allocated to the first communication path.

结合第四方面,在第四方面的第一种可能的实现方式中,所述向ProSe应用服务器发送通信路径第一切换请求,包括:With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the sending of the first communication path switching request to the ProSe application server includes:

所述第一UE向ProSe功能网元发送所述通信路径第一切换请求,以使所述ProSe功能网元向所述ProSe应用服务器转发所述通信路径第一切换请求;或者,The first UE sends the first switching request of the communication path to the ProSe functional network element, so that the ProSe functional network element forwards the first switching request of the communication path to the ProSe application server; or,

所述第一UE通过应用层消息直接向所述ProSe应用服务器发送所述通信路径第一切换请求。The first UE directly sends the first switching request of the communication path to the ProSe application server through an application layer message.

结合第四方面,在第四方面的第二种可能的实现方式中,所述将所述ProSe通信从所述第一通信路径切换至所述第二通信路径之后,还包括:With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, after switching the ProSe communication from the first communication path to the second communication path, the method further includes:

所述第一UE确定是否在所述第一通信路径上与第三UE进行所述ProSe通信;determining, by the first UE, whether to perform the ProSe communication with a third UE on the first communication path;

若确定在所述第一通信路径上与所述第三UE进行所述ProSe通信,则所述第一UE向核心网设备发送ProSe承载修改请求,以释放分配给所述第一通信路径的与所述第二UE的承载资源;If it is determined that the ProSe communication is performed with the third UE on the first communication path, the first UE sends a ProSe bearer modification request to the core network device, so as to release the communication path allocated to the first communication path. bearer resources of the second UE;

若确定在所述第一通信路径上没有与所述第三UE进行所述ProSe通信,则所述第一UE向核心网设备发送ProSe分组数据网络PDN连接去激活请求,以释放分配给所述第一通信路径的所有承载资源。If it is determined that the ProSe communication is not performed with the third UE on the first communication path, the first UE sends a ProSe packet data network PDN connection deactivation request to the core network device to release the PDN connection allocated to the third UE. All bearer resources of the first communication path.

第五方面,本发明实施例提供一种ProSe的通信路径切换方法,包括:In a fifth aspect, an embodiment of the present invention provides a ProSe communication path switching method, including:

接收第一用户设备UE在确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内时发送的通信路径第一切换请求,所述ProSe通信由所述第一UE或所述第二UE上的ProSe应用在第一通信路径发起,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识;Receive a first communication path switching request sent by the first user equipment UE when it determines that the second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is performed by the first UE or the second UE The ProSe application on the above is initiated in the first communication path, and the first handover request of the communication path includes the identity of the ProSe application and the application layer identity of the second UE;

根据所述通信路径第一切换请求向策略与计费规则功能PCRF设备发送通信路径第二切换请求,所述通信路径第二切换请求包括所述ProSe应用的标识,所述第一UE的应用层标识和所述第二UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。Send a second communication path switching request to the policy and charging rule function PCRF device according to the communication path first switching request, where the communication path second switching request includes the identification of the ProSe application, the application layer of the first UE The identifier and the application layer identifier of the second UE, so that the PCRF device can update the bearer resources allocated to the first communication path.

结合第五方面,在第五方面的第一种可能的实现方式中,所述接收第一UE在确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内时发送的通信路径第一切换请求,包括:With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the receiving communication path sent by the first UE when it is determined that the second UE performing ProSe communication is within a preset ProSe communication range is the first Handover requests, including:

接收所述第一UE通过ProSe功能网元发送的所述通信路径第一切换请求;或者,receiving the first switching request of the communication path sent by the first UE through the ProSe function network element; or,

接收所述第一UE通过应用层消息直接发送的所述通信路径第一切换请求。The first switching request of the communication path directly sent by the first UE through an application layer message is received.

第六方面,本发明实施例提供一种ProSe应用服务器,包括:In a sixth aspect, an embodiment of the present invention provides a ProSe application server, including:

确定模块,用于确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内,所述ProSe通信由所述两个UE中的任一个UE上的ProSe应用在第一通信路径发起;a determining module, configured to determine that two user equipment UEs performing ProSe communication are within a preset ProSe communication range, and the ProSe communication is initiated by the ProSe application on any one of the two UEs on the first communication path;

发送模块,用于向所述两个UE中的每个UE分别发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和与接收所述通信路径切换指示的UE进行所述ProSe通信的对端UE的应用层标识,以使所述两个UE分别将所述ProSe通信从所述第一通信路径切换至第二通信路径;向策略与计费规则功能PCRF设备发送通信路径切换请求,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。A sending module, configured to send a communication path switching instruction to each of the two UEs, respectively, where the communication path switching instruction includes the identity of the ProSe application and the communication path switching instruction with the UE receiving the communication path switching instruction. The application layer identifier of the peer UE of ProSe communication, so that the two UEs switch the ProSe communication from the first communication path to the second communication path respectively; send the communication path to the policy and charging rule function PCRF device A handover request, where the communication path handover request includes the identity of the ProSe application and the application layer identity of the two UEs, so that the PCRF device updates the bearer resources allocated to the first communication path.

结合第六方面,在第六方面的第一种可能的实现方式中,所述第一通信路径为演进分组核心网EPC路径,所述第二通信路径为PC5接口直接通信路径。With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the first communication path is an evolved packet core network EPC path, and the second communication path is a PC5 interface direct communication path.

结合第六方面或第六方面的第一种可能的实现方式,在第六方面的第二种可能的实现方式中,还包括:With reference to the sixth aspect or the first possible implementation manner of the sixth aspect, in the second possible implementation manner of the sixth aspect, further includes:

接收模块,用于接收ProSe功能网元发送的近距离指示,所述近距离指示是所述ProSe功能网元在确定所述两个UE处于所述预设的ProSe通信范围内后发送的,所述近距离指示包括所述ProSe应用的标识和所述两个UE的应用层标识;A receiving module, configured to receive a short-range indication sent by a ProSe functional network element, where the short-range indication is sent by the ProSe functional network element after determining that the two UEs are within the preset ProSe communication range. The proximity indication includes the identity of the ProSe application and the application layer identity of the two UEs;

所述确定模块,具体用于根据所述近距离指示确定所述两个UE处于所述预设的ProSe通信范围内。The determining module is specifically configured to determine that the two UEs are within the preset ProSe communication range according to the proximity indication.

结合第六方面、第六方面的第一种至第二种中任一种可能的实现方式,在第六方面的第三种可能的实现方式中,所述发送模块,具体用于向ProSe功能网元发送所述通信路径切换指示,以使所述ProSe功能网元向所述UE转发所述通信路径切换指示;或者,通过应用层消息直接向所述UE发送所述通信路径切换指示。In conjunction with the sixth aspect and the first to second possible implementations of the sixth aspect, in the third possible implementation of the sixth aspect, the sending module is specifically used to send the ProSe function The network element sends the communication path switching instruction, so that the ProSe functional network element forwards the communication path switching instruction to the UE; or directly sends the communication path switching instruction to the UE through an application layer message.

第七方面,本发明实施例提供一种UE,包括:In a seventh aspect, an embodiment of the present invention provides a UE, including:

接收模块,用于接收ProSe应用服务器在确定所述UE和与所述UE进行ProSe通信的对端UE处于预设的ProSe通信范围内时发送的通信路径切换指示,所述ProSe通信由所述UE或所述对端UE上的ProSe应用在第一通信路径发起,所述通信路径切换指示包括所述ProSe应用的标识和所述对端UE的应用层标识;A receiving module, configured to receive a communication path switching instruction sent by the ProSe application server when it is determined that the UE and the peer UE performing ProSe communication with the UE are within a preset ProSe communication range, and the ProSe communication is performed by the UE Or the ProSe application on the opposite end UE is initiated on the first communication path, and the communication path switching indication includes the identity of the ProSe application and the application layer identity of the opposite end UE;

资源请求模块,用于根据所述通信路径切换指示从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;a resource requesting module, configured to request, from the serving base station, radio resources for the second communication path used for the ProSe communication according to the communication path switching instruction;

路径切换模块,用于使用所述无线资源建立与所述对端UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径。A path switching module, configured to use the radio resource to establish the second communication path with the opposite UE, and switch the ProSe communication from the first communication path to the second communication path.

结合第七方面,在第七方面的第一种可能的实现方式中,所述接收模块,具体用于接收所述ProSe应用服务器通过ProSe功能网元发送的所述通信路径切换指示;或者,接收所述ProSe应用服务器通过应用层消息直接发送的所述通信路径切换指示。With reference to the seventh aspect, in a first possible implementation manner of the seventh aspect, the receiving module is specifically configured to receive the communication path switching instruction sent by the ProSe application server through the ProSe function network element; or, receive The communication path switching instruction is directly sent by the ProSe application server through an application layer message.

结合第七方面或第七方面的第一种可能的实现方式,在第七方面的第二种可能的实现方式中,所述接收模块,还用于接收分组数据网络网关PDN GW发送的承载修改指示,根据所述承载修改指示更新所述第一通信路径上的承载资源。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, the receiving module is further configured to receive a bearer modification sent by the packet data network gateway PDN GW indicating that the bearer resources on the first communication path are updated according to the bearer modification instruction.

第八方面,本发明实施例提供一种PCRF设备,包括:In an eighth aspect, an embodiment of the present invention provides a PCRF device, including:

接收模块,用于接收ProSe应用服务器在确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内时发送的通信路径切换请求,所述ProSe通信由所述两个UE中的任一个UE上的ProSe应用在第一通信路径发起,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识;A receiving module, configured to receive a communication path switching request sent by the ProSe application server when it is determined that two user equipment UEs performing ProSe communication are within a preset ProSe communication range, and the ProSe communication is performed by any one of the two UEs. The ProSe application on the UE is initiated on the first communication path, and the communication path switching request includes the identity of the ProSe application and the application layer identity of the two UEs;

策略更新模块,用于根据所述通信路径切换请求更新所述第一通信路径上的所述ProSe通信的业务流对应的策略与计费控制PCC策略;a policy updating module, configured to update a policy and a charging control PCC policy corresponding to the service flow of the ProSe communication on the first communication path according to the communication path switching request;

发送模块,用于将更新后的所述PCC策略发送给分组数据网络网关PDN GW,以使所述PDN GW根据所述更新后的所述PCC策略更新分配给所述第一通信路径的承载资源。A sending module, configured to send the updated PCC policy to the packet data network gateway PDN GW, so that the PDN GW updates the bearer resources allocated to the first communication path according to the updated PCC policy .

第九方面,本发明实施例提供一种UE,包括:In a ninth aspect, an embodiment of the present invention provides a UE, including:

确定模块,用于确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内,所述ProSe通信由所述第一UE或所述第二UE上的ProSe应用在第一通信路径发起;a determining module, configured to determine that the second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is initiated by the ProSe application on the first UE or the second UE on the first communication path;

资源请求模块,用于从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;a resource requesting module, configured to request, from the serving base station, radio resources for performing the second communication path of the ProSe communication;

路径切换模块,用于使用所述无线资源建立与所述第二UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径;a path switching module, configured to use the radio resource to establish the second communication path with the second UE, and switch the ProSe communication from the first communication path to the second communication path;

发送模块,用于向ProSe应用服务器发送通信路径第一切换请求,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识,以使所述ProSe应用服务器向策略与计费规则功能PCRF设备发送通信路径第二切换请求,使所述PCRF设备更新分配给所述第一通信路径的承载资源。A sending module, configured to send a communication path first handover request to the ProSe application server, where the communication path first handover request includes the identity of the ProSe application and the application layer identity of the second UE, so that the ProSe application server Send a second communication path switching request to the policy and charging rules function PCRF device, so that the PCRF device updates the bearer resources allocated to the first communication path.

结合第九方面,在第九方面的第一种可能的实现方式中,所述发送模块,具体用于向ProSe功能网元发送所述通信路径第一切换请求,以使所述ProSe功能网元向所述ProSe应用服务器转发所述通信路径第一切换请求;或者,通过应用层消息直接向所述ProSe应用服务器发送所述通信路径第一切换请求。With reference to the ninth aspect, in the first possible implementation manner of the ninth aspect, the sending module is specifically configured to send the first switching request of the communication path to the ProSe function network element, so that the ProSe function network element Forwarding the first communication path switching request to the ProSe application server; or directly sending the communication path first switching request to the ProSe application server through an application layer message.

结合第九方面,在第九方面的第二种可能的实现方式中,所述确定模块,还用于确定是否在所述第一通信路径上与第三UE进行所述ProSe通信;With reference to the ninth aspect, in a second possible implementation manner of the ninth aspect, the determining module is further configured to determine whether to perform the ProSe communication with the third UE on the first communication path;

所述发送模块,用于当所述确定模块确定在所述第一通信路径上与所述第三UE进行所述ProSe通信,向核心网设备发送ProSe承载修改请求,以释放分配给所述第一通信路径的与所述第二UE的承载资源;当所述确定模块确定在所述第一通信路径上没有与所述第三UE进行所述ProSe通信,向核心网设备发送ProSe分组数据网络PDN连接去激活请求,以释放分配给所述第一通信路径的所有承载资源。The sending module is configured to send a ProSe bearer modification request to the core network device when the determining module determines to perform the ProSe communication with the third UE on the first communication path, so as to release the allocation to the third UE. bearer resources of a communication path with the second UE; when the determining module determines that the ProSe communication is not performed with the third UE on the first communication path, sending the ProSe packet data network to the core network device PDN connection deactivation request to release all bearer resources allocated to the first communication path.

第十方面,本发明实施例提供一种ProSe应用服务器,包括:In a tenth aspect, an embodiment of the present invention provides a ProSe application server, including:

接收模块,用于接收第一用户设备UE在确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内时发送的通信路径第一切换请求,所述ProSe通信由所述第一UE或所述第二UE上的ProSe应用在第一通信路径发起,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识;A receiving module, configured to receive a communication path first switching request sent by the first user equipment UE when it is determined that the second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is performed by the first UE or The ProSe application on the second UE is initiated on the first communication path, and the first handover request of the communication path includes the identity of the ProSe application and the application layer identity of the second UE;

发送模块,用于根据所述通信路径第一切换请求向策略与计费规则功能PCRF设备发送通信路径第二切换请求,所述通信路径第二切换请求包括所述ProSe应用的标识,所述第一UE的应用层标识和所述第二UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。A sending module, configured to send a second communication path switching request to the policy and charging rule function PCRF device according to the communication path first switching request, where the communication path second switching request includes the identification of the ProSe application, the first An application layer identifier of a UE and an application layer identifier of the second UE, so that the PCRF device updates the bearer resources allocated to the first communication path.

结合第十方面,在第十方面的第一种可能的实现方式中,所述接收模块,具体用于接收所述第一UE通过ProSe功能网元发送的所述通信路径第一切换请求;或者,接收所述第一UE通过应用层消息直接发送的所述通信路径第一切换请求。With reference to the tenth aspect, in a first possible implementation manner of the tenth aspect, the receiving module is specifically configured to receive the first switching request of the communication path sent by the first UE through the ProSe function network element; or , receiving the first switching request of the communication path directly sent by the first UE through an application layer message.

第十一方面,本发明实施例提供一种ProSe应用服务器,包括:In an eleventh aspect, an embodiment of the present invention provides a ProSe application server, including:

处理器,用于确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内,所述ProSe通信由所述两个UE中任一个UE上的ProSe应用在第一通信路径发起;a processor, configured to determine that two user equipment UEs performing ProSe communication are within a preset ProSe communication range, and the ProSe communication is initiated by a ProSe application on any one of the two UEs on the first communication path;

发送器,用于向所述两个UE中的每个UE分别发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和与接收所述通信路径切换指示的UE进行所述ProSe通信的对端UE的应用层标识,以使所述两个UE分别将所述ProSe通信从所述第一通信路径切换至第二通信路径;向策略与计费规则功能PCRF设备发送通信路径切换请求,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。A transmitter, configured to send a communication path switching instruction to each of the two UEs respectively, where the communication path switching instruction includes the identity of the ProSe application and the communication path switching instruction with the UE receiving the communication path switching instruction. The application layer identifier of the peer UE of ProSe communication, so that the two UEs switch the ProSe communication from the first communication path to the second communication path respectively; send the communication path to the policy and charging rule function PCRF device A handover request, where the communication path handover request includes the identity of the ProSe application and the application layer identity of the two UEs, so that the PCRF device updates the bearer resources allocated to the first communication path.

结合第十一方面,在第十一方面的第一种可能的实现方式中,所述第一通信路径为演进分组核心网EPC路径,所述第二通信路径为PC5接口直接通信路径。With reference to the eleventh aspect, in a first possible implementation manner of the eleventh aspect, the first communication path is an evolved packet core network EPC path, and the second communication path is a PC5 interface direct communication path.

结合第十一方面或第十一方面的第一种可能的实现方式,在第十一方面的第二种可能的实现方式中,还包括:With reference to the eleventh aspect or the first possible implementation manner of the eleventh aspect, in the second possible implementation manner of the eleventh aspect, it also includes:

接收器,用于接收ProSe功能网元发送的近距离指示,所述近距离指示是所述ProSe功能网元在确定所述两个UE处于所述预设的ProSe通信范围内后发送的,所述近距离指示包括所述ProSe应用的标识和所述两个UE的应用层标识;A receiver, configured to receive a short-range indication sent by a ProSe functional network element, where the short-range indication is sent by the ProSe functional network element after determining that the two UEs are within the preset ProSe communication range. The proximity indication includes the identity of the ProSe application and the application layer identity of the two UEs;

所述处理器,具体用于根据所述近距离指示确定所述两个UE处于所述预设的ProSe通信范围内。The processor is specifically configured to determine that the two UEs are within the preset ProSe communication range according to the proximity indication.

结合第十一方面、第十一方面的第一种至第二种中任一种可能的实现方式,在第十一方面的第三种可能的实现方式中,所述发送器,具体用于向ProSe功能网元发送所述通信路径切换指示,以使所述ProSe功能网元向所述UE转发所述通信路径切换指示;或者,通过应用层消息直接向所述UE发送所述通信路径切换指示。With reference to the eleventh aspect and any one of the possible implementation manners of the first to the second aspect of the eleventh aspect, in a third possible implementation manner of the eleventh aspect, the transmitter is specifically used for Send the communication path switching instruction to the ProSe functional network element, so that the ProSe functional network element forwards the communication path switching instruction to the UE; or directly send the communication path switching instruction to the UE through an application layer message instruct.

第十二方面,本发明实施例提供一种UE,包括:In a twelfth aspect, an embodiment of the present invention provides a UE, including:

接收器,用于接收ProSe应用服务器在确定所述UE和与所述UE进行ProSe通信的对端UE处于预设的ProSe通信范围内时发送的通信路径切换指示,所述ProSe通信由所述UE或所述对端UE上的ProSe应用在第一通信路径发起,所述通信路径切换指示包括所述ProSe应用的标识和所述对端UE的应用层标识;a receiver, configured to receive a communication path switching instruction sent by the ProSe application server when it is determined that the UE and the peer UE performing ProSe communication with the UE are within a preset ProSe communication range, and the ProSe communication is performed by the UE Or the ProSe application on the opposite end UE is initiated on the first communication path, and the communication path switching indication includes the identity of the ProSe application and the application layer identity of the opposite end UE;

处理器,用于根据所述通信路径切换指示从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;使用所述无线资源建立与所述对端UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径。a processor, configured to request, from the serving base station according to the communication path switching instruction, the radio resource of the second communication path for performing the ProSe communication; and using the radio resource to establish the first communication path with the opposite UE two communication paths, and switching the ProSe communication from the first communication path to the second communication path.

结合第十二方面,在第十二方面的第一种可能的实现方式中,所述接收器,具体用于接收所述ProSe应用服务器通过ProSe功能网元发送的所述通信路径切换指示;或者,接收所述ProSe应用服务器通过应用层消息直接发送的所述通信路径切换指示。With reference to the twelfth aspect, in a first possible implementation manner of the twelfth aspect, the receiver is specifically configured to receive the communication path switching instruction sent by the ProSe application server through the ProSe function network element; or , receiving the communication path switching instruction directly sent by the ProSe application server through an application layer message.

结合第十二方面,在第十二方面的第二种可能的实现方式中,所述接收器,还用于接收分组数据网络网关PDN GW发送的承载修改指示,根据所述承载修改指示更新所述第一通信路径上的承载资源。With reference to the twelfth aspect, in a second possible implementation manner of the twelfth aspect, the receiver is further configured to receive a bearer modification instruction sent by the packet data network gateway PDN GW, and update the bearer modification instruction according to the bearer modification instruction. bearer resources on the first communication path.

第十三方面,本发明实施例提供一种PCRF设备,包括:In a thirteenth aspect, an embodiment of the present invention provides a PCRF device, including:

接收器,用于接收ProSe应用服务器在确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内时发送的通信路径切换请求,所述ProSe通信由所述两个UE中的任一个UE上的ProSe应用在第一通信路径发起,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识;A receiver, configured to receive a communication path switching request sent by the ProSe application server when it is determined that two user equipment UEs performing ProSe communication are within a preset ProSe communication range, and the ProSe communication is performed by any one of the two UEs. The ProSe application on the UE is initiated on the first communication path, and the communication path switching request includes the identity of the ProSe application and the application layer identity of the two UEs;

处理器,用于根据所述通信路径切换请求更新所述第一通信路径上的所述ProSe通信的业务流对应的策略与计费控制PCC策略;a processor, configured to update a policy and a charging control PCC policy corresponding to the service flow of the ProSe communication on the first communication path according to the communication path switching request;

发送器,用于将更新后的所述PCC策略发送给分组数据网络网关PDN GW,以使所述PDN GW根据所述更新后的所述PCC策略更新分配给所述第一通信路径的承载资源。a transmitter, configured to send the updated PCC policy to the packet data network gateway PDN GW, so that the PDN GW updates the bearer resources allocated to the first communication path according to the updated PCC policy .

第十四方面,本发明实施例提供一种UE,包括:In a fourteenth aspect, an embodiment of the present invention provides a UE, including:

处理器,用于确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内,所述ProSe通信由所述第一UE或所述第二UE上的ProSe应用在第一通信路径发起;从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;使用所述无线资源建立与所述第二UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径;a processor, configured to determine that the second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is initiated by the first UE or the ProSe application on the second UE on the first communication path; Request radio resources for the second communication path of the ProSe communication from the serving base station; establish the second communication path with the second UE using the radio resources, and transfer the ProSe communication from the switching the first communication path to the second communication path;

发送器,用于向ProSe应用服务器发送通信路径第一切换请求,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识,以使所述ProSe应用服务器向策略与计费规则功能PCRF设备发送通信路径第二切换请求,使所述PCRF设备更新分配给所述第一通信路径的承载资源。A transmitter, configured to send a communication path first handover request to the ProSe application server, where the communication path first handover request includes the identity of the ProSe application and the application layer identity of the second UE, so that the ProSe application server Send a second communication path switching request to the policy and charging rules function PCRF device, so that the PCRF device updates the bearer resources allocated to the first communication path.

结合第十四方面,在第十四方面的第一种可能的实现方式中,所述发送器,具体用于向ProSe功能网元发送所述通信路径第一切换请求,以使所述ProSe功能网元向所述ProSe应用服务器转发所述通信路径第一切换请求;或者,通过应用层消息直接向所述ProSe应用服务器发送所述通信路径第一切换请求。With reference to the fourteenth aspect, in a first possible implementation manner of the fourteenth aspect, the transmitter is specifically configured to send the first switching request of the communication path to the ProSe function network element, so that the ProSe function The network element forwards the first switching request of the communication path to the ProSe application server; or directly sends the first switching request of the communication path to the ProSe application server through an application layer message.

结合第十四方面,在第十四方面的第二种可能的实现方式中,所述处理器,还用于确定是否在所述第一通信路径上与第三UE进行所述ProSe通信;With reference to the fourteenth aspect, in a second possible implementation manner of the fourteenth aspect, the processor is further configured to determine whether to perform the ProSe communication with the third UE on the first communication path;

所述发送器,用于当所述处理器确定在所述第一通信路径上与所述第三UE进行所述ProSe通信,向核心网设备发送ProSe承载修改请求,以释放分配给所述第一通信路径的与所述第二UE的承载资源;当所述处理器确定在所述第一通信路径上没有与所述第三UE进行所述ProSe通信,向核心网设备发送ProSe分组数据网络PDN连接去激活请求,以释放分配给所述第一通信路径的所有承载资源。The transmitter is configured to, when the processor determines to perform the ProSe communication with the third UE on the first communication path, send a ProSe bearer modification request to the core network device to release the allocation to the third UE. bearer resources with the second UE on a communication path; when the processor determines that the ProSe communication is not performed with the third UE on the first communication path, sending the ProSe packet data network to the core network device PDN connection deactivation request to release all bearer resources allocated to the first communication path.

第十五方面,本发明实施例提供一种ProSe应用服务器,包括:A fifteenth aspect, an embodiment of the present invention provides a ProSe application server, including:

接收器,用于接收第一用户设备UE在确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内时发送的通信路径第一切换请求,所述ProSe通信由所述第一UE或所述第二UE上的ProSe应用在第一通信路径发起,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识;A receiver, configured to receive a first communication path switching request sent by the first user equipment UE when it is determined that the second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is performed by the first UE or The ProSe application on the second UE is initiated on the first communication path, and the first handover request of the communication path includes the identity of the ProSe application and the application layer identity of the second UE;

发送器,用于根据所述通信路径第一切换请求向策略与计费规则功能PCRF设备发送通信路径第二切换请求,所述通信路径第二切换请求包括所述ProSe应用的标识,所述第一UE的应用层标识和所述第二UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。A transmitter, configured to send a second communication path switching request to the policy and charging rule function PCRF device according to the communication path first switching request, where the communication path second switching request includes the identifier of the ProSe application, and the first An application layer identifier of a UE and an application layer identifier of the second UE, so that the PCRF device updates the bearer resources allocated to the first communication path.

结合第十五方面,在第十五方面的第一种可能的实现方式中,所述接收器,具体用于接收所述第一UE通过ProSe功能网元发送的所述通信路径第一切换请求;或者,接收所述第一UE通过应用层消息直接发送的所述通信路径第一切换请求。With reference to the fifteenth aspect, in a first possible implementation manner of the fifteenth aspect, the receiver is specifically configured to receive the first switching request of the communication path sent by the first UE through a ProSe function network element or, receiving the first switching request of the communication path directly sent by the first UE through an application layer message.

第十六方面,本发明实施例提供一种通信系统,包括:近距离业务ProSe应用服务器、用户设备UE、策略与计费规则功能PCRF设备以及核心网设备;其中,所述ProSe应用服务器采用第六方面、第六方面的第一种至第三种、第十方面、第十方面的第一种中任一种可能的实现方式所述的ProSe应用服务器;所述UE采用第七方面、第七方面的第一种至第二种、第九方面、第九方面的第一种至第二种中任一种可能的实现方式所述的UE;所述PCRF设备采用第八方面可能的实现方式所述的PCRF设备。In a sixteenth aspect, an embodiment of the present invention provides a communication system, including: a ProSe application server for short-range services, a user equipment UE, a PCRF device with a policy and charging rule function, and a core network device; wherein, the ProSe application server adopts the first The ProSe application server described in any one possible implementation manner of the sixth aspect, the first to third aspects of the sixth aspect, the tenth aspect, and the first aspect of the tenth aspect; the UE adopts the seventh aspect, the The UE described in any of the possible implementation manners of the first to the second aspect of the seventh aspect, the ninth aspect, and the first to the second aspect of the ninth aspect; the PCRF device adopts the possible implementation of the eighth aspect The PCRF device described in the manner.

第十七方面,本发明实施例提供一种通信系统,包括:近距离业务ProSe应用服务器、用户设备UE、策略与计费规则功能PCRF设备以及核心网设备;其中,所述ProSe应用服务器采用第十一方面、第十一方面的第一种至第三种、第十五方面、第十五方面的第一种中任一种可能的实现方式所述的ProSe应用服务器;所述UE采用第十二方面、第十二方面的第一种至第二种、第十四方面、第十四方面的第一种至第二种中任一种可能的实现方式所述的UE;所述PCRF设备采用第十三方面可能的实现方式所述的PCRF设备。In a seventeenth aspect, an embodiment of the present invention provides a communication system, including: a ProSe application server for short-range services, a user equipment UE, a PCRF device with a policy and charging rule function, and a core network device; wherein, the ProSe application server adopts the first The ProSe application server described in any one possible implementation manner of the eleventh aspect, the first to third aspects of the eleventh aspect, the fifteenth aspect, and the first one of the fifteenth aspect; The UE described in any possible implementation manners of the twelfth aspect, the first to the second aspect of the twelfth aspect, the fourteenth aspect, and the first to the second aspect of the fourteenth aspect; the PCRF The device adopts the PCRF device described in the possible implementation manner of the thirteenth aspect.

本发明实施例近距离业务的通信路径切换方法、装置及系统,通过在确定进行ProSe通信的两个UE处于预设的ProSe通信范围内时,指示UE将当前的第一通信路径切换成UE间可直接通信的第二通信路径,并更新分配给所述第一通信路径的承载资源,在不需要UE参与的情况下,实现由网络侧发起UE间通信路径的切换,同时释放在3GPP网络侧为第一通信路径分配的承载资源,在保证ProSe通信连续性的同时,提升资源的利用率,解决资源浪费的问题。The method, device, and system for switching a communication path for a short-range service according to the embodiments of the present invention, when it is determined that two UEs performing ProSe communication are within a preset ProSe communication range, instructing the UE to switch the current first communication path to an inter-UE communication path The second communication path that can communicate directly, and the bearer resources allocated to the first communication path are updated, and the switching of communication paths between UEs is initiated by the network side without the participation of the UE, and is released on the 3GPP network side. The bearer resources allocated for the first communication path not only ensure the continuity of ProSe communication, but also improve the utilization rate of resources and solve the problem of resource waste.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为非漫游场景下的通信系统架构;Figure 1 is a communication system architecture in a non-roaming scenario;

图2为非漫游跨网络场景下的通信系统架构;FIG. 2 is a communication system architecture in a non-roaming cross-network scenario;

图3为漫游场景下的通信系统架构;Fig. 3 is the communication system architecture under the roaming scenario;

图4为本发明ProSe的通信路径切换方法的一个实施例的流程图;4 is a flowchart of an embodiment of a communication path switching method for ProSe of the present invention;

图5为本发明ProSe的通信路径切换方法的另一个实施例的流程图;5 is a flowchart of another embodiment of a communication path switching method for ProSe of the present invention;

图6为本发明ProSe的通信路径切换方法的又一个实施例的流程图;6 is a flowchart of another embodiment of a communication path switching method for ProSe of the present invention;

图7为本发明ProSe的通信路径切换方法的第四个实施例的流程图;Fig. 7 is the flow chart of the fourth embodiment of the communication path switching method of ProSe of the present invention;

图8为本发明ProSe的通信路径切换方法的第五个实施例的流程图;8 is a flowchart of a fifth embodiment of a communication path switching method for ProSe of the present invention;

图9为本发明ProSe的通信路径切换方法的第六个实施例的流程图;Fig. 9 is the flow chart of the sixth embodiment of the communication path switching method of ProSe of the present invention;

图10为本发明ProSe的通信路径切换方法的第七个实施例的流程图;10 is a flowchart of the seventh embodiment of the communication path switching method of ProSe of the present invention;

图11为本发明ProSe的通信路径切换方法的第八个实施例的流程图;11 is a flowchart of the eighth embodiment of the communication path switching method of ProSe of the present invention;

图12为本发明ProSe的通信路径切换方法的第九个实施例的流程图;12 is a flow chart of the ninth embodiment of the communication path switching method of ProSe of the present invention;

图13为本发明ProSe应用服务器的一个实施例的结构示意图;13 is a schematic structural diagram of an embodiment of the ProSe application server of the present invention;

图14为本发明ProSe应用服务器的另一个实施例的结构示意图;14 is a schematic structural diagram of another embodiment of the ProSe application server of the present invention;

图15为本发明UE的一个实施例的结构示意图;FIG. 15 is a schematic structural diagram of an embodiment of a UE of the present invention;

图16为本发明PCRF设备的一个实施例的结构示意图;16 is a schematic structural diagram of an embodiment of the PCRF device of the present invention;

图17为本发明UE的另一个实施例的结构示意图;17 is a schematic structural diagram of another embodiment of the UE of the present invention;

图18为本发明ProSe应用服务器的又一个实施例的结构示意图;18 is a schematic structural diagram of another embodiment of the ProSe application server of the present invention;

图19为本发明ProSe应用服务器的第四个实施例的结构示意图;19 is a schematic structural diagram of the fourth embodiment of the ProSe application server of the present invention;

图20为本发明ProSe应用服务器的第五个实施例的结构示意图;20 is a schematic structural diagram of a fifth embodiment of the ProSe application server of the present invention;

图21为本发明UE的又一个实施例的结构示意图;FIG. 21 is a schematic structural diagram of yet another embodiment of a UE of the present invention;

图22为本发明PCRF设备的另一个实施例的结构示意图;22 is a schematic structural diagram of another embodiment of the PCRF device of the present invention;

图23为本发明UE的第四个实施例的结构示意图;FIG. 23 is a schematic structural diagram of a fourth embodiment of a UE of the present invention;

图24为本发明ProSe应用服务器的第六个实施例的结构示意图;24 is a schematic structural diagram of the sixth embodiment of the ProSe application server of the present invention;

图25为本发明通信系统的一个实施例的结构示意图。FIG. 25 is a schematic structural diagram of an embodiment of a communication system of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, 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 accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明实施例提及的UE可能是人到人(Human to Human,简称:H2H)UE,还可能是机器到机器(Machine to Machine,简称:M2M)UE,或其它类型的UE。其中,M2M UE可称机器类型通信设备(Machine Type Communications Device,简称:MTC Device)。为描述方便,本发明实施例中进行ProSe通信的两个UE分别称为UE A与UE B。The UE mentioned in the embodiments of the present invention may be a Human to Human (Human to Human, H2H for short) UE, a Machine to Machine (Machine to Machine, M2M for short) UE, or other types of UE. The M2M UE may be called a machine type communication device (Machine Type Communications Device, MTC Device for short). For convenience of description, the two UEs performing ProSe communication in the embodiment of the present invention are respectively referred to as UE A and UE B.

本发明实施例提及的归属网络与拜访网络,非漫游状态与漫游状态,是相对于UE来说的。UE的归属网络是UE的国际移动用户标识(International Mobile SubscriberIdentity,简称:IMSI)中包含的公共陆地移动网络(Public Land Mobile Network,简称:PLMN)身份标识(Identity,简称:ID)所标识的网络,若UE处于其归属网络中,则该UE处于非漫游状态,若UE不处于其归属网络中,则该UE处于漫游状态。UE的拜访网络是当UE处于漫游状态时访问的网络。The home network and the visited network, the non-roaming state and the roaming state mentioned in the embodiments of the present invention are relative to the UE. The home network of the UE is the network identified by the Public Land Mobile Network (Public Land Mobile Network, PLMN) Identity (ID) included in the International Mobile Subscriber Identity (International Mobile Subscriber Identity, IMSI) of the UE. , if the UE is in its home network, the UE is in a non-roaming state, and if the UE is not in its home network, the UE is in a roaming state. The visited network of the UE is the network visited when the UE is in a roaming state.

本发明实施例提及的ProSe通信的EPC路径,是指:进行ProSe通信的两个UE中的任一个UE上的ProSe应用发起ProSe通信,两个UE在当前所注册的3GPP系统中建立ProSe PDN连接,实现UE与ProSe应用服务器之间的通信,再通过ProSe应用服务器来实现两个UE之间的ProSe通信。本发明实施例提及的ProSe通信的PC5接口直接通信路径,是指:进行ProSe通信的两个UE通过建立PC5接口连接实现两个UE之间的直接ProSe通信,该通信路径无需经过任何核心网设备、ProSe功能网元以及ProSe应用服务器,该通信路径通常是当进行ProSe通信的两个UE处于预设的ProSe通信范围内时才能建立,PC5接口直接通信路径也称为ProSe演进的通用移动通信系统陆地无线接入(Evolved Universal MobileTelecommunications System Territorial Radio Access Network,简称:E-UTRA)通信路径。The EPC path of ProSe communication mentioned in the embodiment of the present invention refers to: a ProSe application on any one of the two UEs performing ProSe communication initiates ProSe communication, and the two UEs establish a ProSe PDN in the currently registered 3GPP system Connect to realize the communication between the UE and the ProSe application server, and then realize the ProSe communication between the two UEs through the ProSe application server. The PC5 interface direct communication path of ProSe communication mentioned in the embodiment of the present invention refers to: two UEs performing ProSe communication realize direct ProSe communication between the two UEs by establishing a PC5 interface connection, and the communication path does not need to pass through any core network. Device, ProSe functional network element and ProSe application server, the communication path is usually established when the two UEs performing ProSe communication are within the preset ProSe communication range, the direct communication path of the PC5 interface is also called the universal mobile communication of ProSe evolution Evolved Universal Mobile Telecommunications System Territorial Radio Access Network (E-UTRA for short) communication path.

本发明的ProSe的通信路径切换方法可以适用于三个典型的场景,不同的场景对应不同的通信系统架构,图1为非漫游场景下的通信系统架构,图2为非漫游跨网络场景下的通信系统架构,图3为漫游场景下的通信系统架构。The communication path switching method of ProSe of the present invention can be applied to three typical scenarios, and different scenarios correspond to different communication system architectures. FIG. 1 shows the communication system architecture in a non-roaming scenario, and FIG. Communication system architecture, Figure 3 shows the communication system architecture in a roaming scenario.

如图1所示,在非漫游场景下,进行ProSe通信的UE A和UE B驻留在同一个归属网络中,其包括E-UTRAN、核心网设备(例如移动管理实体(Mobility Management Entity,简称:MME)、服务网关(Serving Gateway,简称:S-GW)、PDN-GW)、ProSe应用服务器、ProSe功能网元、归属签约用户服务器(Home Subscriber Server,简称:HSS)以及服务定位协议(Service Location Protocol,简称:SLP)服务器。UE A和UE B可以通过PC3接口与其归属网络的ProSe功能网元进行直接通信。需要说明的是,PC3接口是UE与ProSe功能网元之间的对等接口,PC3接口上的通信是通过EPS的用户面实现的。图1中省略了EPS中的演进型节点B(Evolved Node B,简称:eNodeB),并且下述图2与图3中也进行了相同的省略。As shown in FIG. 1 , in a non-roaming scenario, UE A and UE B performing ProSe communication reside in the same home network, which includes E-UTRAN, core network equipment (such as Mobility Management Entity (Mobility Management Entity, referred to as Mobility Management Entity, for short). : MME), Serving Gateway (Serving Gateway, S-GW for short), PDN-GW), ProSe application server, ProSe functional network element, Home Subscriber Server (Home Subscriber Server, referred to as: HSS) and Service Location Protocol (Service Location Protocol) Location Protocol, referred to as: SLP) server. UE A and UE B can communicate directly with the ProSe functional network elements of their home networks through the PC3 interface. It should be noted that the PC3 interface is a peer-to-peer interface between the UE and the ProSe functional network element, and the communication on the PC3 interface is implemented through the user plane of the EPS. The Evolved Node B (Evolved Node B, eNodeB for short) in the EPS is omitted in FIG. 1 , and the same omission is also performed in the following FIG. 2 and FIG. 3 .

如图2所示,在非漫游跨网络场景下,进行ProSe通信的UE驻留在其各自的归属网络中,处于不同网络中的ProSe功能网元称为本地(Local)ProSe功能网元,例如,PLMN B中的ProSe功能网元对于UE A来说就是本地ProSe功能网元。在该场景下,UE需要与本地ProSe功能网元进行通信以获得进行ProSe通信的授权,该通信是通过UE所在的归属网络中的归属ProSe功能网元实现的,例如,UE A先与PLMN A中的归属ProSe功能网元进行直接通信,再通过PLMN A中的归属ProSe功能网元实现UE A与PLMN B中的本地ProSe功能网元的通信。PLMN A中的ProSe功能网元与PLMN B中的ProSe功能网元之间的通信接口为PC6。As shown in Figure 2, in a non-roaming cross-network scenario, UEs performing ProSe communication reside in their respective home networks, and ProSe-enabled network elements in different networks are called local (Local) ProSe-enabled network elements, such as , the ProSe function network element in PLMN B is the local ProSe function network element for UE A. In this scenario, the UE needs to communicate with the local ProSe functional network element to obtain authorization for ProSe communication. The communication is implemented through the home ProSe functional network element in the home network where the UE is located. For example, UE A first communicates with PLMN A The home ProSe function network element in PLMN A performs direct communication, and then realizes the communication between UE A and the local ProSe function network element in PLMN B through the home ProSe function network element in PLMN A. The communication interface between the ProSe function network element in PLMN A and the ProSe function network element in PLMN B is PC6.

如图3所示,在漫游场景下,进行ProSe通信的UE驻留在漫游地的拜访网络中,拜访网络中的ProSe功能网元称为拜访(Visited)ProSe功能网元,例如,UE A漫游到PLMN C中,PLMN C中的ProSe功能网元对于UE A来说就是拜访ProSe功能网元。UE A需要与PLMN C中的拜访ProSe功能网元进行通信以获得进行ProSe通信的授权,该通信是通过UE所在的归属网络中的归属ProSe功能网元实现的,例如,UE A先与PLMN A中的归属ProSe功能网元进行直接通信,再通过PLMN A中的归属ProSe功能网元实现UE A与PLMN C中的拜访ProSe功能网元的通信。PLMN A中的归属ProSe功能网元与PLMN C中的拜访ProSe功能网元之间的通信接口为PC7。As shown in Figure 3, in the roaming scenario, the UE performing ProSe communication resides in the visited network of the roaming place, and the ProSe function network element in the visited network is called the Visited (Visited) ProSe function network element, for example, UE A roams In PLMN C, the ProSe function network element in PLMN C is the visited ProSe function network element for UE A. UE A needs to communicate with the visited ProSe functional network element in PLMN C to obtain authorization for ProSe communication. The communication is implemented through the home ProSe functional network element in the home network where the UE is located. For example, UE A first communicates with PLMN A The home ProSe function network element in PLMN A performs direct communication, and then the communication between UE A and the visited ProSe function network element in PLMN C is realized through the home ProSe function network element in PLMN A. The communication interface between the home ProSe function network element in PLMN A and the visited ProSe function network element in PLMN C is PC7.

图4为本发明ProSe的通信路径切换方法的一个实施例的流程图,如图4所示,本实施例的方法可以包括:FIG. 4 is a flowchart of an embodiment of a communication path switching method for ProSe of the present invention. As shown in FIG. 4 , the method in this embodiment may include:

步骤101、确定进行ProSe通信的两个UE处于预设的ProSe通信范围内,所述ProSe通信由所述两个UE中的任一个UE上的ProSe应用在第一通信路径发起;Step 101: Determine that the two UEs performing ProSe communication are within a preset ProSe communication range, and the ProSe communication is initiated by the ProSe application on any one of the two UEs in the first communication path;

本实施例中第一通信路径可以是EPC路径,第二通信路径可以是PC5接口直接通信路径,该PC5接口直接通信路径可以是电气和电子工程师协会(Institute of Electricaland Electronics Engineers,简称:IEEE)802系列协议中规定的接口。本实施例的执行主体可以是通信系统中的ProSe应用服务器,为ProSe通信实现应用层的管理与业务功能。进行ProSe通信的两个UE,例如UE A和UE B,当UE A与UE B没有处于预设的ProSe通信范围内时,UE A或UE B上的ProSe应用发起的ProSe通信只能通过第一通信路径来实现,ProSe应用发起ProSe通信后,UE A和UE B分别与3GPP核心网设备建立ProSe PDN连接,实现第一通信路径上的ProSe通信。这里的ProSe应用可以是安装在UE A和UE B上的应用程序(Application,简称:APP),也可以是UE A和UE B上自身具备的功能,UE A和UE B之间的ProSe通信均可以通过该ProSe应用发起。所述预设的ProSe通信范围可以是由网络侧设备预先配置的,比如一个类似于蜂窝小区的区域,当两个UE同时处于该区域时,即满足了本发明通信路径切换的条件。本实施例中,ProSe应用服务器可以根据现有的位置定位技术或者通过ProSe功能网元确定进行ProSe通信的两个UE处于预设的ProSe通信范围内,ProSe功能网元通过执行基于EPC网络的发现流程来发现UE A和UE B是否在预设的ProSe通信范围内。In this embodiment, the first communication path may be an EPC path, the second communication path may be a PC5 interface direct communication path, and the PC5 interface direct communication path may be Institute of Electrical and Electronics Engineers (IEEE) 802 The interface specified in the series of protocols. The execution body of this embodiment may be a ProSe application server in the communication system, which implements management and service functions of the application layer for ProSe communication. Two UEs performing ProSe communication, such as UE A and UE B, when UE A and UE B are not within the preset ProSe communication range, the ProSe communication initiated by the ProSe application on UE A or UE B can only pass through the first ProSe communication. After the ProSe application initiates ProSe communication, UE A and UE B respectively establish ProSe PDN connections with 3GPP core network equipment to implement ProSe communication on the first communication path. The ProSe application here can be an application (Application, APP for short) installed on UE A and UE B, or it can be a function that UE A and UE B have themselves. The ProSe communication between UE A and UE B is It can be initiated through the ProSe application. The preset ProSe communication range may be pre-configured by the network side device, such as an area similar to a cell. When two UEs are in the area at the same time, the conditions for the communication path switching of the present invention are satisfied. In this embodiment, the ProSe application server may determine that the two UEs performing ProSe communication are within the preset ProSe communication range according to the existing location positioning technology or through the ProSe functional network element, and the ProSe functional network element performs discovery based on the EPC network. process to find out whether UE A and UE B are within the preset ProSe communication range.

步骤102、向所述两个UE中的每个UE分别发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和与接收所述通信路径切换指示的UE进行所述ProSe通信的对端UE的应用层标识,以使所述两个UE分别将所述ProSe通信从所述第一通信路径切换至第二通信路径;Step 102: Send a communication path switching instruction to each of the two UEs respectively, where the communication path switching instruction includes the identity of the ProSe application and performing the ProSe communication with the UE receiving the communication path switching instruction The application layer identifier of the opposite end UE, so that the two UEs respectively switch the ProSe communication from the first communication path to the second communication path;

ProSe应用服务器在确定UE A和UE B处于预设的ProSe通信范围内后,表示这两个UE满足通过第二通信路径实现直接通信的条件了,因此分别向UE A和UE B发送通信路径切换指示,发送给UE A的通信路径切换指示包括ProSe应用的标识和UE B的应用层标识,发送给UE B的通信路径切换指示包括ProSe应用的标识和UE A的应用层标识。UE的应用层标识是ProSe应用服务器分配给UE的一个身份标识,用于在应用层唯一标识出该UE。UE A和UE B均可以根据通信路径切换指示将ProSe通信从第一通信路径切换至第二通信路径。After determining that UE A and UE B are within the preset ProSe communication range, the ProSe application server indicates that the two UEs meet the conditions for realizing direct communication through the second communication path, and therefore sends a communication path switch to UE A and UE B respectively. The communication path switching instruction sent to UE A includes the identification of the ProSe application and the application layer identification of UE B, and the communication path switching instruction sent to UE B includes the identification of the ProSe application and the application layer identification of UE A. The application layer identifier of the UE is an identifier assigned to the UE by the ProSe application server, which is used to uniquely identify the UE at the application layer. Both UE A and UE B may switch the ProSe communication from the first communication path to the second communication path according to the communication path switching instruction.

步骤103、向PCRF设备发送通信路径切换请求,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。Step 103: Send a communication path switching request to the PCRF device, where the communication path switching request includes the identity of the ProSe application and the application layer identity of the two UEs, so that the PCRF device is updated and allocated to the first communication The bearer resource of the path.

ProSe应用服务器可以通过向策略与计费规则功能(Policy and Charging RulesFunction,简称:PCRF)设备发送通信路径切换请求,使PCRF设备基于ProSe通信的特征更新ProSe应用的标识所标识的业务流对应的策略与计费控制(Policy and ChargingControl,简称:PCC)策略(Policy)。The ProSe application server can send a communication path switching request to the Policy and Charging Rules Function (PCRF) device, so that the PCRF device can update the policy corresponding to the service flow identified by the ProSe application identifier based on the characteristics of ProSe communication And charging control (Policy and ChargingControl, referred to as: PCC) policy (Policy).

本实施例,通过在确定进行ProSe通信的两个UE处于预设的ProSe通信范围内时,指示UE将当前的第一通信路径切换成UE间可直接通信的第二通信路径,并更新分配给所述第一通信路径的承载资源,在不需要UE参与的情况下,实现由网络侧发起UE间通信路径的切换,同时释放在3GPP网络侧为第一通信路径分配的承载资源,在保证ProSe通信连续性的同时,提升资源的利用率,解决资源浪费的问题。In this embodiment, when it is determined that the two UEs performing ProSe communication are within the preset ProSe communication range, the UE is instructed to switch the current first communication path to the second communication path that can directly communicate between UEs, and update the allocation to The bearer resources of the first communication path are implemented by the network side to initiate the switching of the communication paths between UEs without the participation of the UE, and at the same time, the bearer resources allocated for the first communication path on the 3GPP network side are released. At the same time of communication continuity, the utilization rate of resources is improved and the problem of resource waste is solved.

进一步的,上述步骤101之前还可以包括:接收ProSe功能网元发送的近距离指示,所述近距离指示是所述ProSe功能网元在确定所述两个UE处于所述预设的ProSe通信范围内后发送的,所述近距离指示包括所述ProSe应用的标识和所述两个UE的应用层标识;步骤101具体的实现方法可以是:根据所述近距离指示确定所述两个UE处于所述预设的ProSe通信范围内。Further, before step 101, the method may further include: receiving a proximity indication sent by a ProSe functional network element, where the proximity indication is when the ProSe functional network element determines that the two UEs are within the preset ProSe communication range. Sent later, the proximity indication includes the identity of the ProSe application and the application layer identities of the two UEs; the specific implementation method of step 101 may be: determining that the two UEs are in within the preset ProSe communication range.

进一步的,上述步骤102具体的实现方法可以是:向ProSe功能网元发送所述通信路径切换指示,以使所述ProSe功能网元向所述UE转发所述通信路径切换指示;或者,通过应用层消息直接向所述UE发送所述通信路径切换指示。Further, the specific implementation method of the above step 102 may be: sending the communication path switching instruction to the ProSe functional network element, so that the ProSe functional network element forwards the communication path switching instruction to the UE; or, through the application The layer message directly sends the communication path switching indication to the UE.

具体来讲,ProSe应用服务器将通信路径切换指示先发送给ProSe功能网元,携带ProSe应用的标识、UE A与UE B的应用层标识,ProSe功能网元在收到通信路径切换指示后,获知UE A与UE B之间的ProSe通信需要从第一通信路径切换到第二通信路径,然后发送通信路径切换指示给UE A,携带ProSe应用的标识和UE B的应用层标识,需要说明的是,ProSe功能网元发送通信路径切换指示给UE A,可以重用已有的ProSe信令消息,比如:近距离警告(Proximity Alert)消息,并在该消息中增加一个新的指示信息用来指示UE进行ProSe通信路径的切换,也可以定义一个新的ProSe信令消息,本发明对此不做限定。可选地,ProSe应用服务器还可以通过应用层消息直接将通信路径切换指示发送给UE A。同样的,ProSe应用服务器也可以通过上述过程将通信路径切换指示发送给UE B,此处不再赘述。Specifically, the ProSe application server first sends the communication path switching instruction to the ProSe functional network element, carrying the identity of the ProSe application and the application layer identities of UE A and UE B. After receiving the communication path switching instruction, the ProSe functional network element learns that The ProSe communication between UE A and UE B needs to be switched from the first communication path to the second communication path, and then a communication path switching instruction is sent to UE A, carrying the identity of the ProSe application and the identity of the application layer of UE B. It should be noted that , the ProSe function network element sends a communication path switching indication to UE A, and can reuse the existing ProSe signaling messages, such as: Proximity Alert (Proximity Alert) message, and add a new indication information to the message to indicate UE A To switch the ProSe communication path, a new ProSe signaling message may also be defined, which is not limited in the present invention. Optionally, the ProSe application server may also directly send the communication path switching instruction to UE A through an application layer message. Similarly, the ProSe application server may also send the communication path switching instruction to UE B through the above process, which will not be repeated here.

图5为本发明ProSe的通信路径切换方法的另一个实施例的流程图,如图5所示,本实施例的方法可以包括:FIG. 5 is a flowchart of another embodiment of the communication path switching method of ProSe according to the present invention. As shown in FIG. 5 , the method of this embodiment may include:

步骤201、UE接收ProSe应用服务器在确定所述UE和与所述UE进行ProSe通信的对端UE处于预设的ProSe通信范围内时发送的通信路径切换指示,所述ProSe通信由所述UE或所述对端UE上的ProSe应用在第一通信路径发起,所述通信路径切换指示包括所述ProSe应用的标识和所述对端UE的应用层标识;Step 201: The UE receives a communication path switching instruction sent by the ProSe application server when it is determined that the UE and the peer UE that performs ProSe communication with the UE are within a preset ProSe communication range, and the ProSe communication is performed by the UE or the UE. The ProSe application on the opposite end UE is initiated on the first communication path, and the communication path switching indication includes the identity of the ProSe application and the application layer identity of the opposite end UE;

本实施例中第一通信路径可以是EPC路径,第二通信路径可以是PC5接口直接通信路径。本实施例的执行主体可以是通信系统中进行ProSe通信的两个UE的其中一个UE,例如UE A。这里以UE A为例进行说明,作为UE侧的实施例,同样也可以在进行ProSe通信的两个UE的另一个UE,例如UE B上执行。本实施例与图4所示方法实施例相对应,UE A接收ProSe应用服务器发送的通信路径切换指示,此时ProSe应用服务器已经确定UE A和UE B均处于预设的ProSe通信范围内。发送给UE A的通信路径切换指示包括ProSe应用的标识和UE B的应用层标识。In this embodiment, the first communication path may be an EPC path, and the second communication path may be a PC5 interface direct communication path. The executive body of this embodiment may be one of the two UEs performing ProSe communication in the communication system, for example, UE A. Herein, UE A is used as an example for description. As an embodiment on the UE side, it can also be performed on another UE of the two UEs performing ProSe communication, for example, UE B. This embodiment corresponds to the method embodiment shown in FIG. 4 , UE A receives the communication path switching instruction sent by the ProSe application server, and the ProSe application server has determined that both UE A and UE B are within the preset ProSe communication range. The communication path switching indication sent to UE A includes the identity of the ProSe application and the identity of the application layer of UE B.

步骤202、所述UE根据所述通信路径切换指示从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;Step 202, the UE requests, according to the communication path switching instruction, a radio resource of a second communication path for performing the ProSe communication from a serving base station;

UE A在收到通信路径切换指示后,向所驻留的服务基站请求用于第二通信路径的无线资源,该无线资源包括空口频段资源。根据UE A的请求,服务基站会根据资源配置策略给UE A分配建立第二通信路径所需的无线资源。After receiving the communication path switching instruction, UE A requests radio resources for the second communication path from the serving base station where it resides, where the radio resources include air interface frequency band resources. According to the request of UE A, the serving base station will allocate radio resources required for establishing the second communication path to UE A according to the resource configuration policy.

步骤203、所述UE使用所述无线资源建立与所述通信对端的UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径。Step 203: The UE uses the radio resource to establish the second communication path with the UE of the communication peer, and switches the ProSe communication from the first communication path to the second communication path .

UE A使用服务基站分配的第二通信路径的无线资源建立与UE B之间的第二通信路径,UE A与UE B可以通过第二通信路径直接进行ProSe通信,二者可以继续使用在第一通信路径中从3GPP网络侧获得的网际协议(Internet Protocol,简称:IP)地址进行第二通信路径的直接通信,也可以重新进行IP地址协商,使用新的IP地址进行第二通信路径的直接通信。UE A uses the radio resources of the second communication path allocated by the serving base station to establish a second communication path with UE B. UE A and UE B can directly perform ProSe communication through the second communication path, and they can continue to use the first communication path. In the communication path, the Internet Protocol (Internet Protocol, IP for short) address obtained from the 3GPP network side is used for direct communication on the second communication path, or the IP address negotiation can be performed again, and the new IP address is used for direct communication on the second communication path .

本实施例,通过在确定进行ProSe通信的两个UE处于预设的ProSe通信范围内时,指示UE将当前的第一通信路径切换成UE间可直接通信的第二通信路径,并更新分配给所述第一通信路径的承载资源,在不需要UE参与的情况下,实现由网络侧发起UE间通信路径的切换,同时释放在3GPP网络侧为第一通信路径分配的承载资源,在保证ProSe通信连续性的同时,提升资源的利用率,解决资源浪费的问题。In this embodiment, when it is determined that the two UEs performing ProSe communication are within the preset ProSe communication range, the UE is instructed to switch the current first communication path to the second communication path that can directly communicate between UEs, and update the allocation to The bearer resources of the first communication path are implemented by the network side to initiate the switching of the communication paths between UEs without the participation of the UE, and at the same time, the bearer resources allocated for the first communication path on the 3GPP network side are released. At the same time of communication continuity, the utilization rate of resources is improved and the problem of resource waste is solved.

进一步的,上述步骤201具体的实现方法可以是:接收所述ProSe应用服务器通过ProSe功能网元发送的所述通信路径切换指示;或者,接收所述ProSe应用服务器通过应用层消息直接发送的所述通信路径切换指示。Further, the specific implementation method of the above-mentioned step 201 may be: receiving the communication path switching instruction sent by the ProSe application server through the ProSe functional network element; or, receiving the ProSe application server directly sent through the application layer message. Communication path switching indication.

进一步的,本实施例的方法还可以包括:接收PDN GW发送的承载修改指示,根据所述承载修改指示更新所述第一通信路径上的承载资源,包括更新EPS承载的服务质量(Quality of Service,简称:QoS)参数以及承载分组过滤器等资源以释放在3GPP网络侧为该ProSe通信建立的EPC路径所需的承载资源。Further, the method of this embodiment may further include: receiving a bearer modification instruction sent by the PDN GW, and updating the bearer resources on the first communication path according to the bearer modification instruction, including updating the quality of service (Quality of Service) of the EPS bearer. , referred to as: QoS) parameters and bearer packet filters and other resources to release bearer resources required by the EPC path established for the ProSe communication on the 3GPP network side.

图6为本发明ProSe的通信路径切换方法的又一个实施例的流程图,如图6所示,本实施例的方法可以包括:FIG. 6 is a flowchart of another embodiment of a communication path switching method for ProSe of the present invention. As shown in FIG. 6 , the method of this embodiment may include:

步骤301、接收ProSe应用服务器在确定进行ProSe通信的两个UE处于预设的ProSe通信范围内时发送的通信路径切换请求,所述ProSe通信由所述两个UE中的任一个UE上的ProSe应用在第一通信路径发起,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识;Step 301: Receive a communication path switching request sent by the ProSe application server when it is determined that two UEs performing ProSe communication are within a preset ProSe communication range, and the ProSe communication is performed by the ProSe on any UE in the two UEs. The application is initiated on the first communication path, and the communication path switching request includes the identity of the ProSe application and the application layer identity of the two UEs;

本实施例中第一通信路径可以是EPC路径,第二通信路径可以是PC5接口直接通信路径。本实施例的执行主体可以是通信系统中的PCRF设备,本实施例与图4、图5所示方法实施例相对应。PCRF设备接收ProSe应用服务器发送的通信路径切换请求。In this embodiment, the first communication path may be an EPC path, and the second communication path may be a PC5 interface direct communication path. The execution subject of this embodiment may be a PCRF device in a communication system, and this embodiment corresponds to the method embodiments shown in FIG. 4 and FIG. 5 . The PCRF device receives the communication path switching request sent by the ProSe application server.

步骤302、根据所述通信路径切换请求更新所述第一通信路径上的所述ProSe通信的业务流对应的PCC策略;Step 302, updating the PCC policy corresponding to the service flow of the ProSe communication on the first communication path according to the communication path switching request;

PCRF设备基于ProSe通信的特征更新第一通信路径上的ProSe应用的标识所标识的业务流对应的PCC策略。The PCRF device updates the PCC policy corresponding to the service flow identified by the identifier of the ProSe application on the first communication path based on the feature of the ProSe communication.

步骤303、将更新后的所述PCC策略发送给PDN GW,以使所述PDN GW根据所述更新后的所述PCC策略更新分配给所述第一通信路径的承载资源。Step 303: Send the updated PCC policy to the PDN GW, so that the PDN GW updates the bearer resources allocated to the first communication path according to the updated PCC policy.

PCRF设备通过发起IP连接访问网络(IP Connectivity Access Network,简称:IP-CAN)会话修改流程将更新后的PCC策略发送给PDN GW,PDN GW根据该PCC策略,发起EPS承载修改流程,包括更新EPS承载的QoS参数以及承载分组过滤器等资源,以更新在3GPP网络侧为第一通信路径分配的承载资源。The PCRF device sends the updated PCC policy to the PDN GW by initiating the IP Connectivity Access Network (IP-CAN) session modification process, and the PDN GW initiates the EPS bearer modification process according to the PCC policy, including updating the EPS The QoS parameters of the bearer and resources such as bearer packet filters are used to update the bearer resources allocated for the first communication path on the 3GPP network side.

本实施例,通过在确定进行ProSe通信的两个UE处于预设的ProSe通信范围内时,指示UE将当前的第一通信路径切换成UE间可直接通信的第二通信路径,并更新分配给所述第一通信路径的承载资源,在不需要UE参与的情况下,实现由网络侧发起UE间通信路径的切换,同时释放在3GPP网络侧为第一通信路径分配的承载资源,在保证ProSe通信连续性的同时,提升资源的利用率,解决资源浪费的问题。In this embodiment, when it is determined that the two UEs performing ProSe communication are within the preset ProSe communication range, the UE is instructed to switch the current first communication path to the second communication path that can directly communicate between UEs, and update the allocation to The bearer resources of the first communication path are implemented by the network side to initiate the switching of the communication paths between UEs without the participation of the UE, and at the same time, the bearer resources allocated for the first communication path on the 3GPP network side are released. At the same time of communication continuity, the utilization rate of resources is improved and the problem of resource waste is solved.

图7为本发明ProSe的通信路径切换方法的第四个实施例的流程图,如图7所示,本实施例的方法可以包括:FIG. 7 is a flowchart of the fourth embodiment of the communication path switching method of ProSe of the present invention. As shown in FIG. 7 , the method of this embodiment may include:

步骤401、UE A和UE B通过与核心网设备建立ProSe PDN连接,进行EPC路径上的ProSe通信,所述ProSe通信由UE A或UE B上的ProSe应用在所述EPC路径发起;Step 401, UE A and UE B perform ProSe communication on the EPC path by establishing a ProSe PDN connection with core network equipment, and the ProSe communication is initiated by the ProSe application on UE A or UE B on the EPC path;

UE A与UE B分别与3GPP核心网设备建立ProSe PDN连接,实现通过EPC路径的ProSe通信。因为当前UE A与UE B没有在预设的ProSe通信范围内,ProSe应用发起的ProSe通信只能通过EPC路径来实现。由于ProSe通信是通过3GPP定义的EPS用户面实现的,则UE A与UE B需要分别发起ProSe PDN连接的建立流程来建立ProSe PDN连接,通过该ProSe PDN连接来传递UE A与UE B之间的ProSe通信的业务流。在ProSe PDN连接的建立流程中,PDNGW会给UE A与UE B分配对应的IP地址。UE A and UE B respectively establish ProSe PDN connections with 3GPP core network equipment to implement ProSe communication through the EPC path. Because the current UE A and UE B are not within the preset ProSe communication range, the ProSe communication initiated by the ProSe application can only be implemented through the EPC path. Since ProSe communication is implemented through the EPS user plane defined by 3GPP, UE A and UE B need to initiate a ProSe PDN connection establishment procedure to establish a ProSe PDN connection, and transmit the communication between UE A and UE B through the ProSe PDN connection. Traffic flow of ProSe communication. In the process of establishing a ProSe PDN connection, the PDNGW will allocate corresponding IP addresses to UE A and UE B.

步骤402、ProSe功能网元通过执行EPC网络发现流程确定UE A和UE B处于预设的ProSe通信范围内;Step 402, the ProSe function network element determines that UE A and UE B are within the preset ProSe communication range by executing the EPC network discovery process;

ProSe功能网元通过执行EPC网络发现流程来发现UE A和UE B是否在预设的ProSe通信范围内。该步骤是现有技术,具体实现细节在此不再赘述。The ProSe functional network element discovers whether UE A and UE B are within the preset ProSe communication range by executing the EPC network discovery process. This step is in the prior art, and the specific implementation details are not repeated here.

步骤403、ProSe功能网元向ProSe应用服务器发送近距离指示,所述近距离指示包括所述ProSe应用的标识、UE A和UE B的应用层标识;Step 403, the ProSe functional network element sends a proximity indication to the ProSe application server, where the proximity indication includes the identity of the ProSe application and the application layer identity of UE A and UE B;

ProSe功能网元发送近距离指示给ProSe应用服务器,可以重用已有的ProSe信令消息,例如近距离警告(Proximity Alert)消息,在该消息中增加一个新的指示信息用来指示UE A和UE B处于预设的ProSe通信范围内,也可以定义一个新的ProSe信令消息,本发明对此不做限定。需要说明的是,ProSe应用服务器是预先知道当前有哪些UE正在进行ProSe通信。The ProSe functional network element sends the proximity indication to the ProSe application server, and can reuse the existing ProSe signaling messages, such as the proximity alert (Proximity Alert) message, and add a new indication information to the message to indicate UE A and UE. B is within the preset ProSe communication range, and a new ProSe signaling message may also be defined, which is not limited in the present invention. It should be noted that the ProSe application server knows in advance which UEs are currently performing ProSe communication.

步骤404、ProSe应用服务器根据所述近距离指示确定UE A和UE B处于所述预设的ProSe通信范围内;Step 404, the ProSe application server determines that UE A and UE B are within the preset ProSe communication range according to the proximity indication;

该步骤与上述步骤101类似,此处不再赘述。This step is similar to the above-mentioned step 101, and will not be repeated here.

步骤405a、ProSe应用服务器通过ProSe功能网元向UE A发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和UE B的应用层标识;Step 405a, the ProSe application server sends a communication path switching instruction to UE A through the ProSe functional network element, where the communication path switching instruction includes the identity of the ProSe application and the application layer identity of UE B;

步骤405b、ProSe应用服务器通过应用层消息直接向UE A发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和UE B的应用层标识;Step 405b, the ProSe application server directly sends a communication path switching instruction to UE A through an application layer message, where the communication path switching instruction includes the identity of the ProSe application and the application layer identity of UE B;

步骤405a和步骤405b可以是二选一,也可以是二者都被执行,若二者都被执行,则UE侧只需响应二者之一。Step 405a and step 405b may be one of two alternatives, or both may be executed. If both are executed, the UE side only needs to respond to one of the two.

步骤406、UE A根据所述通信路径切换指示从服务基站请求用于进行所述ProSe通信的PC5接口直接通信路径的无线资源;Step 406, UE A requests the radio resource of the PC5 interface direct communication path for performing the ProSe communication from the serving base station according to the communication path switching instruction;

该步骤与上述步骤202类似,此处不再赘述。This step is similar to the above-mentioned step 202 and will not be repeated here.

步骤407、UE A使用所述无线资源建立与UE B之间的所述PC5接口直接通信路径,并将所述ProSe通信从所述EPC路径切换至所述PC5接口直接通信路径;Step 407, UE A uses the radio resource to establish the PC5 interface direct communication path with UE B, and switches the ProSe communication from the EPC path to the PC5 interface direct communication path;

该步骤与上述步骤203类似,此处不再赘述。This step is similar to the above-mentioned step 203, and will not be repeated here.

步骤408、ProSe应用服务器向PCRF设备发送通信路径切换请求,所述通信路径切换请求包括所述ProSe应用的标识、UE A和UE B的应用层标识;Step 408, the ProSe application server sends a communication path switching request to the PCRF device, where the communication path switching request includes the identity of the ProSe application and the application layer identities of UE A and UE B;

该步骤与上述步骤103类似,此处不再赘述。This step is similar to the above-mentioned step 103, and will not be repeated here.

步骤409、PCRF设备根据所述通信路径切换请求更新所述EPC路径上的所述ProSe通信的业务流对应的PCC策略;Step 409, the PCRF device updates the PCC policy corresponding to the service flow of the ProSe communication on the EPC path according to the communication path switching request;

该步骤与上述步骤302类似,此处不再赘述。This step is similar to the above-mentioned step 302 and will not be repeated here.

步骤410、PCRF设备将更新后的所述PCC策略发送给PDN GW;Step 410, the PCRF device sends the updated PCC policy to the PDN GW;

步骤411、PDN GW根据更新后的所述PCC策略修改EPS承载和QoS参数,以更新分配给所述EPC路径的承载资源。Step 411: The PDN GW modifies the EPS bearer and QoS parameters according to the updated PCC policy, so as to update the bearer resources allocated to the EPC path.

步骤步骤410-步骤411与上述步骤303类似,此处不再赘述。Steps 410 to 411 are similar to the above-mentioned step 303, and are not repeated here.

步骤405~步骤411也需要并行在UE B执行,图中未示出。若为UE B服务的ProSe功能网元、PCRF设备、PDN GW与为UE A服务的不同,则是为UE B服务的ProSe功能网元、PCRF设备、PDN GW执行上述类似步骤。另外,步骤405~步骤407和步骤408~步骤411的执行顺序不分先后,还可以并行执行。Steps 405 to 411 also need to be executed on UE B in parallel, which is not shown in the figure. If the ProSe function network element, PCRF device, and PDN GW serving UE B are different from those serving UE A, the ProSe function network element, PCRF device, and PDN GW serving UE B perform similar steps above. In addition, the execution order of steps 405 to 407 and steps 408 to 411 is not specific, and may also be executed in parallel.

图8为本发明ProSe的通信路径切换方法的第五个实施例的流程图,如图8所示,本实施例的方法可以包括:FIG. 8 is a flowchart of a fifth embodiment of a ProSe communication path switching method according to the present invention. As shown in FIG. 8 , the method in this embodiment may include:

步骤501、UE A和UE B通过与核心网设备建立ProSe PDN连接,进行EPC路径上的ProSe通信,所述ProSe通信由UE A或UE B上ProSe应用在所述EPC路径发起;Step 501, UE A and UE B perform ProSe communication on the EPC path by establishing a ProSe PDN connection with core network equipment, and the ProSe communication is initiated by the ProSe application on UE A or UE B on the EPC path;

步骤502、ProSe应用服务器根据位置定位技术确定UE A和UE B处于预设的ProSe通信范围内;Step 502, the ProSe application server determines that UE A and UE B are within the preset ProSe communication range according to the location positioning technology;

位置定位技术例如可以是基于蜂窝小区的定位技术、基于全球定位系统(GlobalPosition System,简称:GPS)的定位技术等。The position positioning technology may be, for example, a cell-based positioning technology, a global positioning system (Global Position System, GPS for short)-based positioning technology, and the like.

步骤503a、ProSe应用服务器通过ProSe功能网元向UE A发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和UE B的应用层标识;Step 503a, the ProSe application server sends a communication path switching instruction to UE A through the ProSe functional network element, where the communication path switching instruction includes the identity of the ProSe application and the application layer identity of UE B;

步骤503b、ProSe应用服务器通过应用层消息直接向UE A发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和UE B的应用层标识;Step 503b, the ProSe application server directly sends a communication path switching instruction to UE A through an application layer message, where the communication path switching instruction includes the identity of the ProSe application and the application layer identity of UE B;

步骤503a和步骤503b可以是二选一,也可以是二者都被执行,若二者都被执行,则UE侧只需响应二者之一。Step 503a and step 503b may be one of two alternatives, or both may be executed. If both are executed, the UE side only needs to respond to one of the two.

步骤504、UE A根据所述通信路径切换指示从服务基站请求用于进行所述ProSe通信的PC5接口直接通信路径的无线资源;Step 504, UE A requests, from the serving base station according to the communication path switching instruction, the radio resources of the PC5 interface direct communication path used for performing the ProSe communication;

该步骤与上述步骤202类似,此处不再赘述。This step is similar to the above-mentioned step 202 and will not be repeated here.

步骤505、UE A使用所述无线资源建立与UE B之间的所述PC5接口直接通信路径,并将所述ProSe通信从所述EPC路径切换至所述PC5接口直接通信路径;Step 505, UE A uses the radio resource to establish the PC5 interface direct communication path with UE B, and switches the ProSe communication from the EPC path to the PC5 interface direct communication path;

该步骤与上述步骤203类似,此处不再赘述。This step is similar to the above-mentioned step 203, and will not be repeated here.

步骤506、ProSe应用服务器向PCRF设备发送通信路径切换请求,所述通信路径切换请求包括所述ProSe应用的标识、UE A和UE B的应用层标识;Step 506, the ProSe application server sends a communication path switching request to the PCRF device, where the communication path switching request includes the identity of the ProSe application and the application layer identities of UE A and UE B;

该步骤与上述步骤103类似,此处不再赘述。This step is similar to the above-mentioned step 103, and will not be repeated here.

步骤507、PCRF设备根据所述通信路径切换请求更新所述EPC路径上的所述ProSe通信的业务流对应的PCC策略;Step 507, the PCRF device updates the PCC policy corresponding to the service flow of the ProSe communication on the EPC path according to the communication path switching request;

该步骤与上述步骤302类似,此处不再赘述。This step is similar to the above-mentioned step 302 and will not be repeated here.

步骤508、PCRF设备将更新后的所述PCC策略发送给PDN GW;Step 508, the PCRF device sends the updated PCC policy to the PDN GW;

步骤509、PDN GW根据更新后的所述PCC策略修改EPS承载和QoS参数,以更新分配给所述EPC路径的承载资源。Step 509: The PDN GW modifies the EPS bearer and QoS parameters according to the updated PCC policy, so as to update the bearer resources allocated to the EPC path.

步骤步骤508-步骤509与上述步骤303类似,此处不再赘述。Steps 508 to 509 are similar to the above-mentioned step 303, and are not repeated here.

步骤503~步骤509也需要并行在UE B执行,图中未示出。若为UE B服务的ProSe功能网元、PCRF设备、PDN GW与为UE A服务的不同,则是为UE B服务的ProSe功能网元、PCRF设备、PDN GW执行上述类似步骤。另外,步骤503~步骤505和步骤506~步骤509的执行顺序不分先后,还可以并行执行。Steps 503 to 509 also need to be executed on UE B in parallel, which is not shown in the figure. If the ProSe function network element, PCRF device, and PDN GW serving UE B are different from those serving UE A, the ProSe function network element, PCRF device, and PDN GW serving UE B perform similar steps above. In addition, the execution order of steps 503 to 505 and steps 506 to 509 is not specific, and may also be executed in parallel.

图9为本发明ProSe的通信路径切换方法的第六个实施例的流程图,如图9所示,本实施例的方法可以包括:FIG. 9 is a flowchart of a sixth embodiment of a communication path switching method for ProSe according to the present invention. As shown in FIG. 9 , the method in this embodiment may include:

步骤601、第一UE确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内,所述ProSe通信由所述第一UE或所述第二UE上的ProSe应用在第一通信路径发起;Step 601: The first UE determines that the second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is initiated by the ProSe application on the first UE or the second UE on the first communication path ;

本实施例中第一通信路径可以是EPC路径,第二通信路径可以是PC5接口直接通信路径。本实施例的执行主体可以是通信系统中进行ProSe通信的两个UE的其中一个UE,例如UE A。UE A通过执行直接发现(Direct Discovery)流程发现UE B在预设的ProSe通信范围内,直接发现流程是现有技术,在此不在赘述。In this embodiment, the first communication path may be an EPC path, and the second communication path may be a PC5 interface direct communication path. The executive body of this embodiment may be one of the two UEs performing ProSe communication in the communication system, for example, UE A. UE A discovers that UE B is within the preset ProSe communication range by performing a direct discovery (Direct Discovery) process, and the direct discovery process is in the prior art, and details are not described here.

步骤602、所述第一UE从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;Step 602, the first UE requests, from the serving base station, radio resources used for the second communication path of the ProSe communication;

该无线资源包括空口频段资源。根据UE A的请求,服务基站会根据资源配置策略给UE A分配建立第二通信路径所需的无线资源。The radio resources include air interface frequency band resources. According to the request of UE A, the serving base station will allocate radio resources required for establishing the second communication path to UE A according to the resource configuration policy.

步骤603、所述第一UE使用所述无线资源建立与所述第二UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径;Step 603: The first UE establishes the second communication path with the second UE using the radio resource, and switches the ProSe communication from the first communication path to the second communication path;

该步骤与上述步骤203类似,此处不再赘述。This step is similar to the above-mentioned step 203, and will not be repeated here.

步骤604、所述第一UE向ProSe应用服务器发送通信路径第一切换请求,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识,以使所述ProSe应用服务器向策略与计费规则功能PCRF设备发送通信路径第二切换请求,使所述PCRF设备更新分配给所述第一通信路径的承载资源。Step 604: The first UE sends a communication path first handover request to the ProSe application server, where the communication path first handover request includes the identity of the ProSe application and the application layer identity of the second UE, so that the The ProSe application server sends a second communication path switching request to the policy and charging rule function PCRF device, so that the PCRF device updates the bearer resources allocated to the first communication path.

本实施例,进行ProSe通信的两个UE中的一个UE在确定所述两个UE处于预设的ProSe通信范围内时,将当前的第一通信路径切换成UE间可直接通信的第二通信路径,并通过发送通信路径第一切换请求触发ProSe应用服务器请求PCRF设备发起承载资源更新,实现由UE发起UE间通信路径的切换,同时释放在3GPP网络侧为第一通信路径分配的承载资源,在保证ProSe通信连续性的同时,提升资源的利用率,解决资源浪费的问题。In this embodiment, when one of the two UEs performing ProSe communication determines that the two UEs are within the preset ProSe communication range, it switches the current first communication path to the second communication that can communicate directly between the UEs path, and triggers the ProSe application server to request the PCRF device to initiate bearer resource update by sending the first switching request of the communication path, so that the UE initiates the switching of the communication path between the UEs, and at the same time, the bearer resources allocated for the first communication path on the 3GPP network side are released, While ensuring the continuity of ProSe communication, it improves the utilization of resources and solves the problem of resource waste.

进一步的,上述步骤602具体的实现方法可以是:向ProSe功能网元发送所述通信路径第一切换请求,以使所述ProSe功能网元向所述ProSe应用服务器转发所述通信路径第一切换请求;或者,通过应用层消息直接向所述ProSe应用服务器发送所述通信路径第一切换请求。Further, the specific implementation method of the above step 602 may be: sending the first switching request of the communication path to the ProSe functional network element, so that the ProSe functional network element forwards the first switching of the communication path to the ProSe application server. or, directly sending the first switching request of the communication path to the ProSe application server through an application layer message.

进一步的,上述步骤603之后还可以包括:确定是否在所述第一通信路径上与第三UE进行所述ProSe通信;若确定在所述第一通信路径上与所述第三UE进行所述ProSe通信,则向核心网设备发送ProSe承载修改请求,以释放分配给所述第一通信路径的与所述第二UE的承载资源;若确定在所述第一通信路径上没有与其它第三UE进行所述ProSe通信,则向核心网设备发送ProSe分组数据网络PDN连接去激活请求,以释放分配给所述第一通信路径的所有承载资源,需要说明的是,这里第三UE是除了参与所述ProSe通信的两个UE(即UE A与UE B)之外的其它所有UE中的任意一个。Further, after the above step 603, it may further include: determining whether to perform the ProSe communication with the third UE on the first communication path; if it is determined to perform the ProSe communication with the third UE on the first communication path ProSe communication, sending a ProSe bearer modification request to the core network device to release the bearer resources allocated to the first communication path with the second UE; if it is determined that there is no communication with other third parties on the first communication path When the UE performs the ProSe communication, it sends a ProSe packet data network PDN connection deactivation request to the core network device to release all bearer resources allocated to the first communication path. Any one of all other UEs except the two UEs (ie, UE A and UE B) in the ProSe communication.

图10为本发明ProSe的通信路径切换方法的第七个实施例的流程图,如图10所示,本实施例的方法可以包括:FIG. 10 is a flowchart of the seventh embodiment of the communication path switching method of ProSe according to the present invention. As shown in FIG. 10 , the method of this embodiment may include:

步骤701、接收第一UE在确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内时发送的通信路径第一切换请求,所述ProSe通信由所述第一UE或所述第二UE上的ProSe应用在第一通信路径发起,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识;Step 701: Receive a first switching request of a communication path sent by a first UE when it determines that a second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is performed by the first UE or the second UE. The ProSe application on the UE is initiated on the first communication path, and the first handover request of the communication path includes the identity of the ProSe application and the application layer identity of the second UE;

本实施例中第一通信路径可以是EPC路径,第二通信路径可以是PC5接口直接通信路径。本实施例的执行主体可以是通信系统中的ProSe应用服务器。本实施例与图9所示方法实施例相对应,本实施例是由第一UE确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内,第一UE此时向ProSe应用服务器发起通信路径第一切换请求。In this embodiment, the first communication path may be an EPC path, and the second communication path may be a PC5 interface direct communication path. The execution body of this embodiment may be a ProSe application server in the communication system. This embodiment corresponds to the method embodiment shown in FIG. 9 . In this embodiment, the first UE determines that the second UE performing ProSe communication is within the preset ProSe communication range, and the first UE initiates the ProSe application server at this time. Communication path first switching request.

步骤702、根据所述通信路径第一切换请求向PCRF设备发送通信路径第二切换请求,所述通信路径第二切换请求包括所述ProSe应用的标识,所述第一UE的应用层标识和所述第二UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。Step 702: Send a second communication path switching request to the PCRF device according to the communication path first switching request, where the communication path second switching request includes the identification of the ProSe application, the application layer identification of the first UE and the the application layer identifier of the second UE, so that the PCRF device updates the bearer resources allocated to the first communication path.

本实施例,进行ProSe通信的两个UE中第一UE在确定所述两个UE处于预设的ProSe通信范围内时,将当前的第一通信路径切换成UE间可直接通信的第二通信路径,并通过发送通信路径第一切换请求触发ProSe应用服务器请求PCRF设备发起承载资源更新,实现由UE发起UE间通信路径的切换,同时释放在3GPP网络侧为第一通信路径分配的承载资源,在保证ProSe通信连续性的同时,提升资源的利用率,解决资源浪费的问题。In this embodiment, when the first UE among the two UEs performing ProSe communication determines that the two UEs are within the preset ProSe communication range, the first UE switches the current first communication path to the second communication that can communicate directly between the UEs path, and triggers the ProSe application server to request the PCRF device to initiate bearer resource update by sending the first switching request of the communication path, so that the UE initiates the switching of the communication path between the UEs, and at the same time, the bearer resources allocated for the first communication path on the 3GPP network side are released, While ensuring the continuity of ProSe communication, it improves the utilization of resources and solves the problem of resource waste.

进一步的,上述步骤701具体的实现方法可以是:接收所述第一UE通过ProSe功能网元发送的所述通信路径第一切换请求;或者,接收所述第一UE通过应用层消息直接发送的所述通信路径第一切换请求。Further, the specific implementation method of the above step 701 may be: receiving the first switching request of the communication path sent by the first UE through a ProSe function network element; or receiving a request sent directly by the first UE through an application layer message The communication path first switching request.

图11为本发明ProSe的通信路径切换方法的第八个实施例的流程图,如图11所示,本实施例的方法可以包括:FIG. 11 is a flowchart of the eighth embodiment of the ProSe communication path switching method of the present invention. As shown in FIG. 11 , the method of this embodiment may include:

步骤801、UE A和UE B通过与核心网设备建立ProSe PDN连接,进行EPC路径上的ProSe通信,所述ProSe通信由UE A或UE B上的ProSe应用在所述EPC路径发起;Step 801, UE A and UE B perform ProSe communication on the EPC path by establishing a ProSe PDN connection with core network equipment, and the ProSe communication is initiated by the ProSe application on UE A or UE B on the EPC path;

该步骤与上述步骤步骤401类似,此处不再赘述。This step is similar to the above-mentioned step 401 and will not be repeated here.

步骤802、UE A确定与UE B处于预设的ProSe通信范围内;Step 802, UE A determines that it is within a preset ProSe communication range with UE B;

该步骤与上述步骤601类似,此处不再赘述。This step is similar to the above-mentioned step 601 and will not be repeated here.

步骤803、UE A从服务基站请求用于进行所述ProSe通信的PC5接口直接通信路径的无线资源;Step 803, UE A requests the wireless resources of the PC5 interface direct communication path for carrying out the ProSe communication from the serving base station;

该步骤与上述步骤602类似,此处不再赘述。This step is similar to the above-mentioned step 602, and will not be repeated here.

步骤804、UE A使用所述无线资源建立与UE B之间的所述PC5接口直接通信路径,并将所述ProSe通信从所述EPC路径切换至所述PC5接口直接通信路径;Step 804, UE A uses the radio resource to establish the PC5 interface direct communication path with UE B, and switches the ProSe communication from the EPC path to the PC5 interface direct communication path;

该步骤与上述步骤603类似,此处不再赘述。This step is similar to the above-mentioned step 603 and will not be repeated here.

步骤805a、UE A通过ProSe功能网元向ProSe应用服务器发送通信路径第一切换请求,所述通信路径第一切换请求包括所述ProSe应用的标识和UE B的应用层标识;Step 805a, UE A sends a communication path first switching request to the ProSe application server through the ProSe functional network element, where the communication path first switching request includes the identity of the ProSe application and the application layer identity of UE B;

步骤805b、UE A通过应用层消息直接向ProSe应用服务器发送通信路径第一切换请求,所述通信路径第一切换请求包括所述ProSe应用的标识和UE B的应用层标识;Step 805b, UE A directly sends a communication path first handover request to the ProSe application server through an application layer message, where the communication path first handover request includes the identity of the ProSe application and the application layer identity of UE B;

步骤805a和步骤805b可以是二选一,也可以是二者都被执行,若二者都被执行,则ProSe应用服务器只需响应二者之一。UE-A确定与UE B处于预设的ProSe通信范围内后,决定发起ProSe通信路径的切换请求,即请求网络侧将当前UE A与UE B之间的ProSe通信,从EPC路径切换到PC5接口直接通信路径。UE A可以通过两种途径将通信路径第一切换请求发送给ProSe应用服务器。UE A可以重用已有的ProSe信令消息,在该消息中增加一个新的指示信息用来请求网络侧发起ProSe通信路径的切换,也可以定义一个新的ProSe信令消息,本发明对此不做限定。Step 805a and step 805b may be selected from two alternatives, or both may be executed. If both are executed, the ProSe application server only needs to respond to one of the two. After UE-A determines that it is within the preset ProSe communication range with UE B, it decides to initiate a ProSe communication path switching request, that is, requesting the network side to switch the current ProSe communication between UE A and UE B from the EPC path to the PC5 interface direct communication path. UE A may send the first switching request of the communication path to the ProSe application server in two ways. UE A can reuse the existing ProSe signaling message, add a new indication information to the message to request the network side to initiate the switching of the ProSe communication path, and can also define a new ProSe signaling message, which is not covered by the present invention. Do limit.

步骤806、ProSe应用服务器根据所述通信路径第一切换请求向PCRF设备发送通信路径第二切换请求,所述通信路径第二切换请求包括所述ProSe应用的标识,UE A的应用层标识和UE B的应用层标识;Step 806, the ProSe application server sends the second handover request of the communication path to the PCRF device according to the first handover request of the communication path, and the second handover request of the communication path includes the identification of the ProSe application, the application layer identification of UE A and the UE A B's application layer identifier;

步骤807、PCRF设备根据所述通信路径第二切换请求更新所述EPC路径上的所述ProSe通信的业务流对应的PCC策略;Step 807, the PCRF device updates the PCC policy corresponding to the service flow of the ProSe communication on the EPC path according to the second handover request of the communication path;

该步骤与上述步骤302类似,此处不再赘述。This step is similar to the above-mentioned step 302 and will not be repeated here.

步骤808、PCRF设备将更新后的所述PCC策略发送给PDN GW;Step 808, the PCRF device sends the updated PCC policy to the PDN GW;

步骤809、PDN GW根据更新后的所述PCC策略修改EPS承载和QoS参数,以更新分配给所述EPC路径的承载资源。Step 809: The PDN GW modifies the EPS bearer and QoS parameters according to the updated PCC policy, so as to update the bearer resources allocated to the EPC path.

步骤步骤808-步骤809与上述步骤303类似,此处不再赘述。Steps 808 to 809 are similar to the above-mentioned step 303, and are not repeated here.

步骤803~步骤809也需要并行在UE B执行,图中未示出。若为UE B服务的ProSe功能网元、PCRF设备、PDN GW与为UE A服务的不同,则是为UE B服务的ProSe功能网元、PCRF设备、PDN GW执行上述类似步骤。另外,步骤803~步骤804和步骤805~步骤809的执行顺序不分先后,还可以并行执行。Steps 803 to 809 also need to be executed on UE B in parallel, which is not shown in the figure. If the ProSe function network element, PCRF device, and PDN GW serving UE B are different from those serving UE A, the ProSe function network element, PCRF device, and PDN GW serving UE B perform similar steps above. In addition, steps 803 to 804 and steps 805 to 809 are executed in no particular order, and may also be executed in parallel.

图12为本发明ProSe的通信路径切换方法的第九个实施例的流程图,如图12所示,本实施例的方法可以包括:Fig. 12 is a flow chart of the ninth embodiment of the communication path switching method of ProSe according to the present invention. As shown in Fig. 12 , the method of this embodiment may include:

步骤901、UE A和UE B通过与核心网设备建立ProSe PDN连接,进行EPC路径上的ProSe通信,所述ProSe通信由UE A或UE B上的ProSe应用在所述EPC路径发起;Step 901, UE A and UE B perform ProSe communication on the EPC path by establishing a ProSe PDN connection with the core network equipment, and the ProSe communication is initiated by the ProSe application on UE A or UE B on the EPC path;

该步骤与上述步骤步骤401类似,此处不再赘述。This step is similar to the above-mentioned step 401 and will not be repeated here.

步骤902、UE A确定与UE B处于预设的ProSe通信范围内;Step 902, UE A determines that it is within a preset ProSe communication range with UE B;

该步骤与上述步骤601类似,此处不再赘述。This step is similar to the above-mentioned step 601 and will not be repeated here.

步骤903、UE A从服务基站请求用于进行所述ProSe通信的PC5接口直接通信路径的无线资源;Step 903, UE A requests the wireless resources of the PC5 interface direct communication path for carrying out the ProSe communication from the serving base station;

该步骤与上述步骤602类似,此处不再赘述。This step is similar to the above-mentioned step 602, and will not be repeated here.

步骤904、UE A使用所述无线资源建立与UE B之间的所述PC5接口直接通信路径,并将所述ProSe通信从所述EPC路径切换至所述PC5接口直接通信路径。Step 904: UE A establishes the PC5 interface direct communication path with UE B using the radio resource, and switches the ProSe communication from the EPC path to the PC5 interface direct communication path.

该步骤与上述步骤603类似,此处不再赘述。This step is similar to the above-mentioned step 603 and will not be repeated here.

步骤905、UE A确定是否在所述EPC路径上与UE C进行所述ProSe通信;Step 905, UE A determines whether to perform the ProSe communication with UE C on the EPC path;

步骤906、若UE A确定在所述EPC路径上与UE C进行所述ProSe通信,则向核心网设备发送ProSe承载修改请求,以释放分配给所述EPC路径的与UE B的承载资源;Step 906, if UE A determines to perform the ProSe communication with UE C on the EPC path, then sends a ProSe bearer modification request to the core network device to release the bearer resources allocated to the EPC path with UE B;

若当前UE A正在与UE C通过EPC路径进行ProSe通信,UE A发起ProSe承载修改流程,包括更新EPS承载的QoS参数以及承载分组过滤器等资源,以释放在3GPP网络侧为UE A与UE B之间的ProSe通信建立的EPC路径所需的承载资源,该承载资源是所述ProSe应用的标识所标识的业务流的承载资源。If UE A is currently performing ProSe communication with UE C through the EPC path, UE A initiates the ProSe bearer modification process, including updating the QoS parameters of the EPS bearer and the resources such as the bearer packet filter, so as to release resources for UE A and UE B on the 3GPP network side. The bearer resource required by the EPC path established by the ProSe communication between them is the bearer resource of the service flow identified by the identifier of the ProSe application.

步骤907、若UE A确定在所述EPC路径上没有与UE C进行所述ProSe通信,则向核心网设备发送ProSe PDN连接去激活请求,以释放分配给所述EPC路径的所有承载资源。Step 907: If UE A determines that the ProSe communication is not performed with UE C on the EPC path, it sends a ProSe PDN connection deactivation request to the core network device to release all bearer resources allocated to the EPC path.

若当前UE A没有与UE C通过EPC路径进行ProSe通信,也即UE B是最后一个与UE A通过EPC路径进行ProSe通信的UE,UE A发起ProSe PDN连接去激活流程。该ProSe PDN连接就是s901中为ProSe通信所建立的PDN连接,删除整个ProSe PDN连接可以最大程度地释放3GPP侧为所述EPC路径分配的承载资源。If UE A does not currently communicate with UE C through the EPC path for ProSe, that is, UE B is the last UE to communicate with UE A through the EPC path for ProSe, UE A initiates the ProSe PDN connection deactivation procedure. The ProSe PDN connection is the PDN connection established for ProSe communication in s901, and deleting the entire ProSe PDN connection can release the bearer resources allocated by the 3GPP side for the EPC path to the greatest extent.

步骤906和步骤907是可选步骤。步骤903~步骤907也需要并行在UE B执行,图中未示出。若为UE B服务的ProSe功能网元、PCRF设备、PDN GW与为UE A服务的不同,则是为UEB服务的ProSe功能网元、PCRF设备、PDN GW执行上述类似步骤。Steps 906 and 907 are optional steps. Steps 903 to 907 also need to be executed on UE B in parallel, which is not shown in the figure. If the ProSe functional network element, PCRF device, and PDN GW serving UE B are different from those serving UE A, the ProSe functional network element, PCRF device, and PDN GW serving UE B perform similar steps as above.

图13为本发明ProSe应用服务器的一个实施例的结构示意图,如图13所示,本实施例的装置可以包括:确定模块11和发送模块12,其中,确定模块,用于确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内,所述ProSe通信由所述两个UE中的任一个UE上的ProSe应用在第一通信路径发起;FIG. 13 is a schematic structural diagram of an embodiment of the ProSe application server of the present invention. As shown in FIG. 13 , the apparatus of this embodiment may include: a determination module 11 and a sending module 12 , wherein the determination module is used to determine the device that performs ProSe communication. Two user equipment UEs are within a preset ProSe communication range, and the ProSe communication is initiated by a ProSe application on any one of the two UEs in the first communication path;

发送模块,用于向所述两个UE中的每个UE分别发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和与接收所述通信路径切换指示的UE进行所述ProSe通信的对端UE的应用层标识,以使所述两个UE分别将所述ProSe通信从所述第一通信路径切换至第二通信路径;向策略与计费规则功能PCRF设备发送通信路径切换请求,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。A sending module, configured to send a communication path switching instruction to each of the two UEs, respectively, where the communication path switching instruction includes the identity of the ProSe application and the communication path switching instruction with the UE receiving the communication path switching instruction. The application layer identifier of the peer UE of ProSe communication, so that the two UEs switch the ProSe communication from the first communication path to the second communication path respectively; send the communication path to the policy and charging rule function PCRF device A handover request, where the communication path handover request includes the identity of the ProSe application and the application layer identity of the two UEs, so that the PCRF device updates the bearer resources allocated to the first communication path.

本实施例的装置,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 4 , and the implementation principle and technical effect thereof are similar, and are not repeated here.

进一步的,所述第一通信路径为演进分组核心网EPC路径,所述第二通信路径为PC5接口直接通信路径。Further, the first communication path is an evolved packet core network EPC path, and the second communication path is a PC5 interface direct communication path.

图14为本发明ProSe应用服务器的另一个实施例的结构示意图,如图14所示,本实施例的装置在图13所示装置结构的基础上,进一步地,还可以包括:接收模块13,该接收模块13用于接收ProSe功能网元发送的近距离指示,所述近距离指示是所述ProSe功能网元在确定所述两个UE处于所述预设的ProSe通信范围内后发送的,所述近距离指示包括所述ProSe应用的标识和所述两个UE的应用层标识;所述确定模块11,具体用于根据所述近距离指示确定所述两个UE处于所述预设的ProSe通信范围内。FIG. 14 is a schematic structural diagram of another embodiment of the ProSe application server of the present invention. As shown in FIG. 14 , on the basis of the device structure shown in FIG. 13 , the apparatus of this embodiment may further include: a receiving module 13 , The receiving module 13 is configured to receive a proximity indication sent by a ProSe functional network element, where the proximity indication is sent by the ProSe functional network element after determining that the two UEs are within the preset ProSe communication range, The proximity indication includes the identity of the ProSe application and the application layer identity of the two UEs; the determining module 11 is specifically configured to determine that the two UEs are in the preset according to the proximity indication. within ProSe communication range.

本实施例的装置,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 4 , and the implementation principle and technical effect thereof are similar, and are not repeated here.

进一步的,所述发送模块12,具体用于向ProSe功能网元发送所述通信路径切换指示,以使所述ProSe功能网元向所述UE转发所述通信路径切换指示;或者,通过应用层消息直接向所述UE发送所述通信路径切换指示。Further, the sending module 12 is specifically configured to send the communication path switching instruction to the ProSe functional network element, so that the ProSe functional network element forwards the communication path switching instruction to the UE; or, through the application layer The message directly sends the communication path switching indication to the UE.

图15为本发明UE的一个实施例的结构示意图,如图15所示,本实施例的装置可以包括:接收模块21、资源请求模块22以及路径切换模块23,其中,接收模块21,用于接收ProSe应用服务器在确定所述UE和与所述UE进行ProSe通信的对端UE处于预设的ProSe通信范围内时发送的通信路径切换指示,所述ProSe通信由所述UE和所述对端UE上的ProSe应用在第一通信路径发起,所述通信路径切换指示包括所述ProSe应用的标识和所述对端UE的应用层标识;资源请求模块22,用于根据所述通信路径切换指示从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;路径切换模块23,用于使用所述无线资源建立与所述对端UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径。FIG. 15 is a schematic structural diagram of an embodiment of the UE of the present invention. As shown in FIG. 15 , the apparatus of this embodiment may include: a receiving module 21 , a resource requesting module 22 and a path switching module 23 , wherein the receiving module 21 is used for Receive a communication path switching instruction sent by the ProSe application server when it is determined that the UE and the peer UE performing ProSe communication with the UE are within a preset ProSe communication range, and the ProSe communication is performed by the UE and the peer UE The ProSe application on the UE is initiated on the first communication path, and the communication path switching indication includes the identity of the ProSe application and the application layer identity of the opposite UE; the resource request module 22 is configured to switch according to the communication path indication. Request the radio resource of the second communication path for performing the ProSe communication from the serving base station; the path switching module 23 is configured to use the radio resource to establish the second communication path with the opposite UE, and Switching the ProSe communication from the first communication path to the second communication path.

本实施例的装置,可以用于执行图5所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus of this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 5 , and the implementation principle and technical effect thereof are similar, and are not repeated here.

进一步的,所述接收模块21,具体用于接收所述ProSe应用服务器通过ProSe功能网元发送的所述通信路径切换指示;或者,接收所述ProSe应用服务器通过应用层消息直接发送的所述通信路径切换指示。Further, the receiving module 21 is specifically configured to receive the communication path switching instruction sent by the ProSe application server through a ProSe functional network element; or, receive the communication directly sent by the ProSe application server through an application layer message. Path switching indication.

进一步的,所述接收模块21,还用于接收分组数据网络网关PDN GW发送的承载修改指示,根据所述承载修改指示更新所述第一通信路径上的承载资源。Further, the receiving module 21 is further configured to receive a bearer modification instruction sent by the packet data network gateway PDN GW, and update the bearer resources on the first communication path according to the bearer modification instruction.

图16为本发明PCRF设备的一个实施例的结构示意图,如图16所示,本实施例的装置可以包括:接收模块31、策略更新模块32以及发送模块33,其中,接收模块31,用于接收ProSe应用服务器在确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内时发送的通信路径切换请求,所述ProSe通信由所述两个UE上的ProSe应用在第一通信路径发起,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识;策略更新模块32,用于根据所述通信路径切换请求更新所述第一通信路径上的所述ProSe通信的业务流对应的策略与计费控制PCC策略;发送模块33,用于将更新后的所述PCC策略发送给分组数据网络网关PDN GW,以使所述PDN GW根据所述更新后的所述PCC策略更新分配给所述第一通信路径的承载资源。FIG. 16 is a schematic structural diagram of an embodiment of a PCRF device according to the present invention. As shown in FIG. 16 , the apparatus of this embodiment may include: a receiving module 31 , a policy updating module 32 and a sending module 33 , wherein the receiving module 31 is used for Receive a communication path switching request sent by the ProSe application server when it is determined that the two user equipment UEs performing ProSe communication are within the preset ProSe communication range, and the ProSe communication is applied by the ProSe on the two UEs in the first communication path Initiate, the communication path switching request includes the identification of the ProSe application and the application layer identifications of the two UEs; the policy update module 32 is configured to update all the information on the first communication path according to the communication path switching request. The policy corresponding to the service flow of the ProSe communication and the charging control PCC policy; the sending module 33 is configured to send the updated PCC policy to the packet data network gateway PDN GW, so that the PDN GW can send the updated PCC policy to the PDN GW according to the updated PCC policy. The PCC policy updates the bearer resources allocated to the first communication path.

本实施例的装置,可以用于执行图6所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus of this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 6 , and its implementation principle and technical effect are similar, and details are not repeated here.

图17为本发明UE的另一个实施例的结构示意图,如图17所示,本实施例的装置可以包括:确定模块41、资源请求模块42、路径切换模块43以及发送模块44,其中,确定模块41,用于确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内,所述ProSe通信由所述第一UE和所述第二UE上的ProSe应用在第一通信路径发起;资源请求模块42,用于从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;路径切换模块43,用于使用所述无线资源建立与所述第二UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径;发送模块44,用于向ProSe应用服务器发送通信路径第一切换请求,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识,以使所述ProSe应用服务器向策略与计费规则功能PCRF设备发送通信路径第二切换请求,使所述PCRF设备更新分配给所述第一通信路径的承载资源。FIG. 17 is a schematic structural diagram of another embodiment of the UE of the present invention. As shown in FIG. 17 , the apparatus of this embodiment may include: a determination module 41 , a resource request module 42 , a path switching module 43 and a sending module 44 , wherein the determination module 41 Module 41, configured to determine that the second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is initiated by the ProSe application on the first UE and the second UE on the first communication path; The resource request module 42 is used for requesting the wireless resource of the second communication path used for the ProSe communication from the serving base station; the path switching module 43 is used for using the wireless resource to establish all communication with the second UE. the second communication path, and switch the ProSe communication from the first communication path to the second communication path; the sending module 44 is configured to send a first communication path switching request to the ProSe application server, the communication path The first handover request includes the identity of the ProSe application and the application layer identity of the second UE, so that the ProSe application server sends the second handover request of the communication path to the policy and charging rules function PCRF device, so that the PCRF The device updates bearer resources allocated to the first communication path.

本实施例的装置,可以用于执行图9所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 9 , and the implementation principle and technical effect thereof are similar, and are not repeated here.

进一步的,所述发送模块44,具体用于向ProSe功能网元发送所述通信路径第一切换请求,以使所述ProSe功能网元向所述ProSe应用服务器转发所述通信路径第一切换请求;或者,通过应用层消息直接向所述ProSe应用服务器发送所述通信路径第一切换请求。Further, the sending module 44 is specifically configured to send the first switching request of the communication path to the ProSe functional network element, so that the ProSe functional network element forwards the first switching request of the communication path to the ProSe application server. or, directly sending the first switching request of the communication path to the ProSe application server through an application layer message.

进一步的,所述确定模块41,还用于确定是否在所述第一通信路径上与第三UE进行所述ProSe通信;所述发送模块44,用于当所述确定模块41确定在所述第一通信路径上与所述第三UE进行所述ProSe通信,向核心网设备发送ProSe承载修改请求,以释放分配给所述第一通信路径的与所述第二UE的承载资源;当所述确定模块41确定在所述第一通信路径上没有与所述第三UE进行所述ProSe通信,向核心网设备发送ProSe分组数据网络PDN连接去激活请求,以释放分配给所述第一通信路径的所有承载资源。Further, the determining module 41 is further configured to determine whether to perform the ProSe communication with the third UE on the first communication path; the sending module 44 is configured to determine whether to perform the ProSe communication with the third UE on the first communication path; Perform the ProSe communication with the third UE on the first communication path, and send a ProSe bearer modification request to the core network device to release the bearer resources allocated to the first communication path with the second UE; The determining module 41 determines that the ProSe communication is not performed with the third UE on the first communication path, and sends a ProSe packet data network PDN connection deactivation request to the core network device to release the first communication. All bearer resources for the path.

图18为本发明ProSe应用服务器的又一个实施例的结构示意图,如图18所示,本实施例的装置可以包括:接收模块51和发送模块52,其中,接收模块51,用于接收第一用户设备UE在确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内时发送的通信路径第一切换请求,所述ProSe通信由所述第一UE和所述第二UE上的ProSe应用在第一通信路径发起,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识;发送模块52,用于根据所述通信路径第一切换请求向策略与计费规则功能PCRF设备发送通信路径第二切换请求,所述通信路径第二切换请求包括所述ProSe应用的标识,所述第一UE的应用层标识和所述第二UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。FIG. 18 is a schematic structural diagram of another embodiment of the ProSe application server of the present invention. As shown in FIG. 18, the apparatus of this embodiment may include: a receiving module 51 and a sending module 52, wherein the receiving module 51 is used to receive the first A first communication path handover request sent by the user equipment UE when it determines that it is within a preset ProSe communication range with a second UE performing ProSe communication, where the ProSe communication is performed by ProSe on the first UE and the second UE The application is initiated on the first communication path, and the first handover request of the communication path includes the identification of the ProSe application and the identification of the application layer of the second UE; the sending module 52 is configured to send the request to the communication path according to the first handover request of the communication path. The policy and charging rule function PCRF device sends a communication path second handover request, where the communication path second handover request includes the identification of the ProSe application, the application layer identification of the first UE and the application layer identification of the second UE identification, so that the PCRF device updates the bearer resources allocated to the first communication path.

本实施例的装置,可以用于执行图10所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus of this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 10 , and its implementation principle and technical effect are similar, and details are not repeated here.

进一步的,所述接收模块51,具体用于接收所述第一UE通过ProSe功能网元发送的所述通信路径第一切换请求;或者,接收所述第一UE通过应用层消息直接发送的所述通信路径第一切换请求。Further, the receiving module 51 is specifically configured to receive the first switching request of the communication path sent by the first UE through the ProSe function network element; or, receive the first UE directly sent through the application layer message. the first switching request of the communication path.

图19为本发明ProSe应用服务器的第四个实施例的结构示意图,如图19所示,本实施例的设备可以包括:处理器61和发送器62,其中,处理器61,用于确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内,所述ProSe通信由所述两个UE中的任一个UE上的ProSe应用在第一通信路径发起;发送器62,用于向所述两个UE中的每个UE分别发送通信路径切换指示,所述通信路径切换指示包括所述ProSe应用的标识和与接收所述通信路径切换指示的UE进行所述ProSe通信的对端UE的应用层标识,以使所述两个UE将所述ProSe通信从所述第一通信路径切换至第二通信路径;向策略与计费规则功能PCRF设备发送通信路径切换请求,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。FIG. 19 is a schematic structural diagram of the fourth embodiment of the ProSe application server of the present invention. As shown in FIG. 19 , the device in this embodiment may include: a processor 61 and a transmitter 62, wherein the processor 61 is used to determine the The two user equipment UEs of the ProSe communication are within the preset ProSe communication range, and the ProSe communication is initiated by the ProSe application on any of the two UEs on the first communication path; the transmitter 62 is used to send Each of the two UEs respectively sends a communication path switching instruction, where the communication path switching instruction includes an identifier of the ProSe application and a peer UE that performs the ProSe communication with the UE that receives the communication path switching instruction application layer identifier, so that the two UEs switch the ProSe communication from the first communication path to the second communication path; send a communication path switching request to the policy and charging rules function PCRF device, the communication path The handover request includes the identity of the ProSe application and the application layer identity of the two UEs, so that the PCRF device updates the bearer resources allocated to the first communication path.

本实施例的设备,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 4 , and its implementation principle and technical effect are similar, and details are not repeated here.

进一步的,所述第一通信路径为演进分组核心网EPC路径,所述第二通信路径为PC5接口直接通信路径。Further, the first communication path is an evolved packet core network EPC path, and the second communication path is a PC5 interface direct communication path.

图20为本发明ProSe应用服务器的第五个实施例的结构示意图,如图20所示,本实施例的设备在图19所示设备结构的基础上,进一步地,还可以包括:接收器63,该接收器63用于接收ProSe功能网元发送的近距离指示,所述近距离指示是所述ProSe功能网元在确定所述两个UE处于所述预设的ProSe通信范围内后发送的,所述近距离指示包括所述ProSe应用的标识和所述两个UE的应用层标识;所述处理器61,具体用于根据所述近距离指示确定所述两个UE处于所述预设的ProSe通信范围内。FIG. 20 is a schematic structural diagram of the fifth embodiment of the ProSe application server of the present invention. As shown in FIG. 20 , the device of this embodiment, based on the device structure shown in FIG. 19 , may further include: a receiver 63 , the receiver 63 is configured to receive the proximity indication sent by the ProSe functional network element, where the proximity indication is sent by the ProSe functional network element after determining that the two UEs are within the preset ProSe communication range , the proximity indication includes the identity of the ProSe application and the application layer identities of the two UEs; the processor 61 is specifically configured to determine, according to the proximity indication, that the two UEs are in the preset within the ProSe communication range.

本实施例的设备,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 4 , and its implementation principle and technical effect are similar, and details are not repeated here.

进一步的,所述发送器62,具体用于向ProSe功能网元发送所述通信路径切换指示,以使所述ProSe功能网元向所述UE转发所述通信路径切换指示;或者,通过应用层消息直接向所述UE发送所述通信路径切换指示。Further, the transmitter 62 is specifically configured to send the communication path switching instruction to the ProSe functional network element, so that the ProSe functional network element forwards the communication path switching instruction to the UE; or, through the application layer The message directly sends the communication path switching indication to the UE.

图21为本发明UE的又一个实施例的结构示意图,如图21所示,本实施例的设备可以包括:接收器71和处理器72,其中,接收器71,用于接收ProSe应用服务器在确定所述UE和与所述UE进行ProSe通信的对端UE处于预设的ProSe通信范围内时发送的通信路径切换指示,所述ProSe通信由所述UE和所述对端UE上的ProSe应用在第一通信路径发起,所述通信路径切换指示包括所述ProSe应用的标识和所述对端UE的应用层标识;处理器72,用于根据所述通信路径切换指示从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;使用所述无线资源建立与所述对端UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径。FIG. 21 is a schematic structural diagram of another embodiment of the UE of the present invention. As shown in FIG. 21 , the device in this embodiment may include: a receiver 71 and a processor 72, wherein the receiver 71 is used to receive the ProSe application server in It is determined that the communication path switching instruction sent when the UE and the peer UE performing ProSe communication with the UE are within the preset ProSe communication range, and the ProSe communication is performed by the ProSe application on the UE and the peer UE Initiated at the first communication path, the communication path switching indication includes the identity of the ProSe application and the application layer identity of the opposite UE; the processor 72 is configured to request from the serving base station for performing radio resources of the second communication path of the ProSe communication; using the radio resources to establish the second communication path with the peer UE, and switching the ProSe communication from the first communication path to the second communication path.

本实施例的设备,可以用于执行图5所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 5 , and its implementation principle and technical effect are similar, and details are not repeated here.

进一步的,所述接收器71,具体用于接收所述ProSe应用服务器通过ProSe功能网元发送的所述通信路径切换指示;或者,接收所述ProSe应用服务器通过应用层消息直接发送的所述通信路径切换指示。Further, the receiver 71 is specifically configured to receive the communication path switching instruction sent by the ProSe application server through a ProSe functional network element; or, receive the communication directly sent by the ProSe application server through an application layer message. Path switching indication.

进一步的,所述接收器71,还用于接收分组数据网络网关PDN GW发送的承载修改指示,根据所述承载修改指示更新所述第一通信路径上的承载资源。Further, the receiver 71 is further configured to receive a bearer modification instruction sent by the packet data network gateway PDN GW, and update the bearer resources on the first communication path according to the bearer modification instruction.

图22为本发明PCRF设备的另一个实施例的结构示意图,如图22所示,本实施例的设备可以包括:接收器81、处理器82以及发送器83,其中,接收器81,用于接收ProSe应用服务器在确定进行ProSe通信的两个用户设备UE处于预设的ProSe通信范围内时发送的通信路径切换请求,所述ProSe通信由所述两个UE上的ProSe应用在第一通信路径发起,所述通信路径切换请求包括所述ProSe应用的标识和所述两个UE的应用层标识;处理器82,用于根据所述通信路径切换请求更新所述第一通信路径上的所述ProSe通信的业务流对应的策略与计费控制PCC策略;发送器83,用于将更新后的所述PCC策略发送给分组数据网络网关PDNGW,以使所述PDN GW根据所述更新后的所述PCC策略更新分配给所述第一通信路径的承载资源。FIG. 22 is a schematic structural diagram of another embodiment of a PCRF device according to the present invention. As shown in FIG. 22, the device in this embodiment may include: a receiver 81, a processor 82, and a transmitter 83, wherein the receiver 81 is used for Receive a communication path switching request sent by the ProSe application server when it is determined that the two user equipment UEs performing ProSe communication are within the preset ProSe communication range, and the ProSe communication is applied by the ProSe on the two UEs in the first communication path Initiate, the communication path switching request includes the identification of the ProSe application and the application layer identifications of the two UEs; the processor 82 is configured to update the first communication path according to the communication path switching request. The policy corresponding to the service flow of the ProSe communication and the charging control PCC policy; the transmitter 83 is configured to send the updated PCC policy to the packet data network gateway PDNGW, so that the PDN GW can The PCC policy updates the bearer resources allocated to the first communication path.

本实施例的设备,可以用于执行图6所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 6 , and its implementation principle and technical effect are similar, and details are not repeated here.

图23为本发明UE的第四个实施例的结构示意图,如图23所示,本实施例的设备可以包括:处理器91和发送器92,其中,处理器91,用于确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内,所述ProSe通信由所述第一UE和所述第二UE上的ProSe应用在第一通信路径发起;从服务基站请求用于进行所述ProSe通信的第二通信路径的无线资源;使用所述无线资源建立与所述第二UE之间的所述第二通信路径,并将所述ProSe通信从所述第一通信路径切换至所述第二通信路径;发送器92,用于向ProSe应用服务器发送通信路径第一切换请求,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识,以使所述ProSe应用服务器向策略与计费规则功能PCRF设备发送通信路径第二切换请求,使所述PCRF设备更新分配给所述第一通信路径的承载资源。FIG. 23 is a schematic structural diagram of a fourth embodiment of a UE of the present invention. As shown in FIG. 23, the device in this embodiment may include: a processor 91 and a transmitter 92, wherein the processor 91 is used for determining and performing ProSe The second UE in communication is within a preset ProSe communication range, and the ProSe communication is initiated by the ProSe application on the first UE and the second UE on the first communication path; requesting from the serving base station for performing the radio resources of a second communication path for ProSe communication; establishing the second communication path with the second UE using the radio resources, and switching the ProSe communication from the first communication path to the a second communication path; the transmitter 92 is configured to send a first communication path switching request to the ProSe application server, where the first communication path switching request includes the identity of the ProSe application and the application layer identity of the second UE, to The ProSe application server is made to send a communication path second switching request to the policy and charging rule function PCRF device, so that the PCRF device updates the bearer resources allocated to the first communication path.

本实施例的设备,可以用于执行图9所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 9 , and its implementation principle and technical effect are similar, and details are not repeated here.

进一步的,所述发送器92,具体用于向ProSe功能网元发送所述通信路径第一切换请求,以使所述ProSe功能网元向所述ProSe应用服务器转发所述通信路径第一切换请求;或者,通过应用层消息直接向所述ProSe应用服务器发送所述通信路径第一切换请求。Further, the transmitter 92 is specifically configured to send the first switching request of the communication path to the ProSe functional network element, so that the ProSe functional network element forwards the first switching request of the communication path to the ProSe application server. or, directly sending the first switching request of the communication path to the ProSe application server through an application layer message.

进一步的,所述处理器91,还用于确定是否在所述第一通信路径上与第三UE进行所述ProSe通信;所述发送器92,用于当所述处理器91确定在所述第一通信路径上与所述第三UE进行所述ProSe通信,向核心网设备发送ProSe承载修改请求,以释放分配给所述第一通信路径的与所述第二UE的承载资源;当所述处理器91确定在所述第一通信路径上没有与所述第三UE进行所述ProSe通信,向核心网设备发送ProSe分组数据网络PDN连接去激活请求,以释放分配给所述第一通信路径的所有承载资源。Further, the processor 91 is further configured to determine whether to perform the ProSe communication with the third UE on the first communication path; the transmitter 92 is configured to perform the ProSe communication when the processor 91 determines Perform the ProSe communication with the third UE on the first communication path, and send a ProSe bearer modification request to the core network device to release the bearer resources allocated to the first communication path with the second UE; The processor 91 determines that the ProSe communication is not performed with the third UE on the first communication path, and sends a ProSe packet data network PDN connection deactivation request to the core network device to release the allocation to the first communication. All bearer resources for the path.

图24为本发明ProSe应用服务器的第六个实施例的结构示意图,如图24所示,本实施例的设备可以包括:接收器1001和发送器1002,其中,接收器1001,用于接收第一用户设备UE在确定与进行ProSe通信的第二UE处于预设的ProSe通信范围内时发送的通信路径第一切换请求,所述ProSe通信由所述第一UE和所述第二UE上的ProSe应用在第一通信路径发起,所述通信路径第一切换请求包括所述ProSe应用的标识和所述第二UE的应用层标识;发送器1002,用于根据所述通信路径第一切换请求向策略与计费规则功能PCRF设备发送通信路径第二切换请求,所述通信路径第二切换请求包括所述ProSe应用的标识,所述第一UE的应用层标识和所述第二UE的应用层标识,以使所述PCRF设备更新分配给所述第一通信路径的承载资源。Fig. 24 is a schematic structural diagram of the sixth embodiment of the ProSe application server of the present invention. As shown in Fig. 24, the device in this embodiment may include: a receiver 1001 and a transmitter 1002, wherein the receiver 1001 is used to receive the first A first communication path handover request sent by a user equipment UE when it determines that it is within a preset ProSe communication range with a second UE that performs ProSe communication, the ProSe communication is performed by the first UE and the second UE The ProSe application is initiated on the first communication path, and the first handover request of the communication path includes the identity of the ProSe application and the application layer identity of the second UE; the transmitter 1002 is configured to perform the first handover request according to the communication path Send a communication path second handover request to the policy and charging rules function PCRF device, where the communication path second handover request includes the identity of the ProSe application, the application layer identity of the first UE and the application of the second UE layer identification, so that the PCRF device updates the bearer resources allocated to the first communication path.

本实施例的设备,可以用于执行图10所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 10 , and its implementation principle and technical effect are similar, and details are not repeated here.

进一步的,所述接收器1001,具体用于接收所述第一UE通过ProSe功能网元发送的所述通信路径第一切换请求;或者,接收所述第一UE通过应用层消息直接发送的所述通信路径第一切换请求。Further, the receiver 1001 is specifically configured to receive the first switching request of the communication path sent by the first UE through a ProSe function network element; or, receive the first UE directly sent through an application layer message. the first switching request of the communication path.

图25为本发明通信系统的一个实施例的结构示意图,如图25所示,本实施例的系统包括:ProSe应用服务器1101、UE1102、PCRF设备1103以及核心网设备1104;其中,所述ProSe应用服务器1101可以采用图13~图14、图18~图20任一装置实施例的结构,其对应地,可以执行4或图10所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述;所述UE1102可以采用图15、图17、图21、图23任一装置实施例的结构,其对应地,可以执行图5或图9所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述;所述PCRF设备1103可以采用图16或图22所示装置实施例的结构,其对应地,可以执行图6所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。FIG. 25 is a schematic structural diagram of an embodiment of a communication system of the present invention. As shown in FIG. 25 , the system of this embodiment includes: a ProSe application server 1101, a UE 1102, a PCRF device 1103, and a core network device 1104; wherein, the ProSe application The server 1101 may adopt the structure of any of the apparatus embodiments shown in FIGS. 13 to 14 and FIGS. 18 to 20 , and correspondingly, may implement the technical solutions of the method embodiments shown in FIG. 4 or FIG. 10 , and the implementation principles and technical effects thereof are similar. It will not be repeated here; the UE1102 may adopt the structure of any of the apparatus embodiments shown in FIG. 15 , FIG. 17 , FIG. 21 , and FIG. 23 , and correspondingly, may execute the technical solutions of the method embodiments shown in FIG. 5 or FIG. 9 , Its implementation principle and technical effect are similar, and will not be repeated here; the PCRF device 1103 may adopt the structure of the apparatus embodiment shown in FIG. 16 or FIG. 22 , and correspondingly, may execute the technical solution of the method embodiment shown in FIG. 6 . , its implementation principle and technical effect are similar, and details are not repeated here.

可以理解,本发明实施例中所述的接收器以及发送器可以由一个收发器代替,由该收发器进行各类信息的传输;也可以由一个或多个通信接口代替,由一个或多个通信进行对应的信息的传输。It can be understood that the receiver and the transmitter described in the embodiments of the present invention may be replaced by a transceiver, which transmits various types of information; or may be replaced by one or more communication interfaces, which may be replaced by one or more Communication carries out the transmission of corresponding information.

在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute the methods described in the various embodiments of the present invention. some steps. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, only the division of the above functional modules is used for illustration. The internal structure is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the apparatus described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.

Claims (38)

1. A communication path switching method of ProSe (proximity services), comprising the following steps:
the method comprises the steps that a ProSe application server determines that two User Equipment (UE) performing ProSe communication are in a preset ProSe communication range, and the ProSe communication is initiated by a ProSe application on any one of the two UE through a first communication path;
the ProSe application server respectively sends a communication path switching instruction to each UE of the two UEs, wherein the communication path switching instruction comprises an identifier of the ProSe application and an application layer identifier of an opposite UE which carries out the ProSe communication with the UE receiving the communication path switching instruction, so that the two UEs respectively switch the ProSe communication from the first communication path to a second communication path;
the ProSe application server sends a communication path switching request to Policy and Charging Rules Function (PCRF) equipment, wherein the communication path switching request comprises the identification of the ProSe application and the application layer identifications of the two UEs, so that the PCRF equipment updates Policy and Charging Control (PCC) policies corresponding to the service flow of the ProSe communication on the first communication path according to the communication path switching request; and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
2. The method of claim 1, wherein the first communication path is an Evolved Packet Core (EPC) path and the second communication path is a PC5 interface direct communication path.
3. The method according to claim 1 or 2, wherein before the ProSe application server determines that two UEs in ProSe communication are within the preset ProSe communication range, further comprising:
the ProSe application server receives a close range indication sent by a ProSe functional network element, wherein the close range indication is sent by the ProSe functional network element after the two UEs are determined to be in the preset ProSe communication range, and the close range indication comprises the identification of the ProSe application and the application layer identifications of the two UEs;
the ProSe application server determining that two UEs performing ProSe communication are within a preset ProSe communication range includes:
and the ProSe application server determines that the two UEs are in the preset ProSe communication range according to the close range indication.
4. The method according to any of claims 1-3, wherein the ProSe application server sends a communication path switching indication to the UE, comprising:
the ProSe application server sends the communication path switching instruction to a ProSe functional network element so that the ProSe functional network element forwards the communication path switching instruction to the UE; or,
the ProSe application server directly sends the communication path switching indication to the UE through an application layer message.
5. A communication path switching method of ProSe (proximity services), comprising the following steps:
user Equipment (UE) receives a communication path switching indication sent by a ProSe application server when the UE and an opposite terminal UE which performs ProSe communication with the UE are determined to be in a preset ProSe communication range, the ProSe communication is initiated by the UE or a ProSe application on the opposite terminal UE on a first communication path, and the communication path switching indication comprises a ProSe application identifier and an application layer identifier of the opposite terminal UE;
the UE requesting, from a serving base station, radio resources of a second communication path for conducting the ProSe communication according to the communication path switching indication;
the UE establishing the second communication path with the peer UE using the wireless resources and switching the ProSe communication from the first communication path to the second communication path;
the method further comprises the following steps:
and the UE receives a bearer modification instruction sent by a packet data network gateway (PDN GW), and updates the bearer resource on the first communication path according to the bearer modification instruction.
6. The method of claim 5, wherein the UE receiving a communication path switching indication sent by a ProSe application server when the UE and a peer UE in ProSe communication with the UE are determined to be within a preset ProSe communication range comprises:
the UE receives the communication path switching instruction sent by the ProSe application server through a ProSe functional network element; or,
the UE receives the communication path switching indication directly sent by the ProSe application server through an application layer message.
7. A communication path switching method of ProSe (proximity services), comprising the following steps:
receiving a communication path switching request sent by a ProSe application server when two User Equipment (UE) performing ProSe communication are determined to be in a preset ProSe communication range, wherein the ProSe communication is initiated by a ProSe application on any one of the two UE, and the communication path switching request comprises an identifier of the ProSe application and application layer identifiers of the two UE;
updating a Policy and Charging Control (PCC) policy corresponding to a service flow of the ProSe communication on the first communication path according to the communication path switching request;
and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
8. A communication path switching method of ProSe (proximity services), comprising the following steps:
the method comprises the steps that a first User Equipment (UE) determines that a second UE performing ProSe communication is within a preset ProSe communication range, and the ProSe communication is initiated by a ProSe application on the first UE or the second UE through a first communication path;
the first UE requesting, from a serving base station, radio resources for a second communication path for conducting the ProSe communication;
the first UE establishing the second communication path with the second UE using the wireless resources and switching the ProSe communication from the first communication path to the second communication path;
the first UE sends a communication path first switching request to a ProSe application server, wherein the communication path first switching request comprises an identification of the ProSe application and an application layer identification of the second UE, so that the ProSe application server sends a communication path second switching request to a Policy and Charging Rules Function (PCRF) device, and the PCRF device updates Policy and Charging Control (PCC) policies corresponding to the service flow of the ProSe communication on the first communication path according to the communication path switching request; and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
9. The method of claim 8, wherein sending a communication path first switch request to a ProSe application server comprises:
the first UE sends the communication path first switching request to a ProSe function network element so that the ProSe function network element forwards the communication path first switching request to the ProSe application server; or,
the first UE sends the communication path first switch request directly to the ProSe application server through an application layer message.
10. The method of claim 8, wherein after the switching the ProSe communication from the first communication path to the second communication path, further comprising:
the first UE determining whether to conduct the ProSe communication with a third UE over the first communication path;
if the ProSe communication with the third UE on the first communication path is determined, the first UE sends a ProSe bearer modification request to core network equipment so as to release bearer resources allocated to the first communication path and the second UE;
if it is determined that the ProSe communication is not performed with the third UE on the first communication path, the first UE sends a ProSe packet data network PDN connection deactivation request to a core network device to release all bearer resources allocated to the first communication path.
11. A communication path switching method of ProSe (proximity services), comprising the following steps:
receiving a communication path first switching request sent by a first User Equipment (UE) when the first UE determines that the second UE performing ProSe communication is within a preset ProSe communication range, wherein the ProSe communication is initiated by a ProSe application on the first UE or the second UE on a first communication path, and the communication path first switching request comprises an identification of the ProSe application and an application layer identification of the second UE;
sending a communication path second switching request to a Policy and Charging Rules Function (PCRF) device according to the communication path first switching request, wherein the communication path second switching request comprises an identifier of the ProSe application, an application layer identifier of the first UE and an application layer identifier of the second UE, so that the PCRF device updates a Policy and Charging Control (PCC) policy corresponding to a service flow of the ProSe communication on the first communication path according to the communication path switching request; and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
12. The method of claim 11, wherein the receiving the communication path first handover request sent by the first UE when determining that the second UE in ProSe communication is within a preset ProSe communication range comprises:
receiving the first switching request of the communication path sent by the first UE through a ProSe functional network element; or,
receiving the communication path first switching request directly sent by the first UE through an application layer message.
13. A proximity services ProSe application server, characterized in that it comprises:
a determining module, configured to determine that two User Equipments (UEs) performing ProSe communication are within a preset ProSe communication range, where the ProSe communication is initiated by a ProSe application on any one of the two UEs on a first communication path;
a sending module, configured to send a communication path switching indication to each of the two UEs, where the communication path switching indication includes an identifier of the ProSe application and an application layer identifier of an opposite UE performing ProSe communication with the UE receiving the communication path switching indication, so that the two UEs switch the ProSe communication from the first communication path to a second communication path, respectively; sending a communication path switching request to a Policy and Charging Rules Function (PCRF) device, where the communication path switching request includes an identifier of the ProSe application and application layer identifiers of the two UEs, so that the PCRF device updates Policy and Charging Control (PCC) policies corresponding to a service flow of the ProSe communication on the first communication path according to the communication path switching request; and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
14. The ProSe application server of claim 13, wherein the first communication path is an evolved packet core, EPC, path and the second communication path is a PC5 interface direct communication path.
15. The ProSe application server of claim 13 or 14, further comprising:
a receiving module, configured to receive a close proximity indication sent by a ProSe function network element, where the close proximity indication is sent by the ProSe function network element after determining that the two UEs are within the preset ProSe communication range, and the close proximity indication includes an identifier of the ProSe application and application layer identifiers of the two UEs;
the determining module is specifically configured to determine that the two UEs are within the preset ProSe communication range according to the close proximity indication.
16. The ProSe application server of any of claims 13 to 15, wherein the sending module is specifically configured to send the communication path switching indication to a ProSe function network element, so that the ProSe function network element forwards the communication path switching indication to the UE; or, the communication path switching indication is directly sent to the UE through an application layer message.
17. A User Equipment (UE), comprising:
a receiving module, configured to receive a communication path switching indication sent by a ProSe application server when it is determined that the UE and an opposite UE performing ProSe communication with the UE are within a preset ProSe communication range, where the ProSe communication is initiated by a first communication path of a ProSe application on the UE or the opposite UE, and the communication path switching indication includes an identifier of the ProSe application and an application layer identifier of the opposite UE;
a resource requesting module for requesting, from a serving base station, a wireless resource of a second communication path for performing the ProSe communication according to the communication path switching instruction;
a path switching module for establishing the second communication path with the peer UE using the radio resource and switching the ProSe communication from the first communication path to the second communication path;
the receiving module is further configured to receive a bearer modification instruction sent by a packet data network gateway PDN GW, and update the bearer resource on the first communication path according to the bearer modification instruction.
18. The UE according to claim 17, wherein the receiving module is specifically configured to receive the communication path switching indication sent by the ProSe application server through a ProSe function network element; or receiving the communication path switching instruction directly sent by the ProSe application server through an application layer message.
19. A policy and charging rules function, PCRF, device, comprising:
a receiving module, configured to receive a communication path switching request sent by a ProSe application server when determining that two User Equipments (UEs) performing ProSe communication are within a preset ProSe communication range, where the ProSe communication is initiated by a ProSe application on any one of the two UEs, and the communication path switching request includes an identifier of the ProSe application and application layer identifiers of the two UEs;
a policy updating module, configured to update, according to the communication path switching request, a policy and charging control PCC policy corresponding to a service flow of the ProSe communication on the first communication path;
a sending module, configured to send the updated PCC policy to a packet data network gateway PDN GW, so that the PDN GW updates bearer resources allocated to the first communication path according to the updated PCC policy.
20. A User Equipment (UE), comprising:
a determining module, configured to determine that a second UE performing ProSe communication is within a preset ProSe communication range, where the ProSe communication is initiated by a ProSe application on the first UE or the second UE over a first communication path;
a resource requesting module for requesting a wireless resource of a second communication path for the ProSe communication from a serving base station;
a path switching module to establish the second communication path with the second UE using the wireless resources and to switch the ProSe communication from the first communication path to the second communication path;
a sending module, configured to send a communication path first switching request to a ProSe application server, where the communication path first switching request includes an identifier of the ProSe application and an application layer identifier of the second UE, so that the ProSe application server sends a communication path second switching request to a PCRF device, and the PCRF device updates, according to the communication path switching request, a policy and charging control PCC policy corresponding to a service flow of the ProSe communication on the first communication path; and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
21. The UE of claim 20, wherein the sending module is specifically configured to send the communication path first switching request to a ProSe function network element, so that the ProSe function network element forwards the communication path first switching request to the ProSe application server; or, the communication path first switching request is directly sent to the ProSe application server through an application layer message.
22. The UE of claim 20, wherein the determining module is further configured to determine whether to conduct the ProSe communication with a third UE over the first communication path;
the sending module is configured to send a ProSe bearer modification request to a core network device to release bearer resources allocated to the first communication path and the second UE when the determining module determines that the ProSe communication is performed with the third UE on the first communication path; when the determining module determines that the ProSe communication is not performed with the third UE on the first communication path, sending a ProSe packet data network PDN connection deactivation request to a core network device to release all bearer resources allocated to the first communication path.
23. A proximity services ProSe application server, characterized in that it comprises:
a receiving module, configured to receive a first communication path switching request sent by a first user equipment UE when determining that a second UE performing ProSe communication is within a preset ProSe communication range, where the ProSe communication is initiated by a ProSe application on the first UE or the second UE on a first communication path, and the first communication path switching request includes an identifier of the ProSe application and an application layer identifier of the second UE;
a sending module, configured to send a second communication path handover request to a PCRF device according to the first communication path handover request, where the second communication path handover request includes an identifier of the ProSe application, an application layer identifier of the first UE, and an application layer identifier of the second UE, so that the PCRF device updates a policy and charging control PCC policy corresponding to a service flow of the ProSe communication on the first communication path according to the communication path handover request; and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
24. The ProSe application server of claim 23, wherein the receiving module is specifically configured to receive the first communication path switching request sent by the first UE through a ProSe function network element; or, receiving the communication path first switching request directly sent by the first UE through an application layer message.
25. A proximity services ProSe application server, characterized in that it comprises:
a processor, configured to determine that two User Equipments (UEs) performing ProSe communication are within a preset ProSe communication range, where the ProSe communication is initiated by a ProSe application on any one of the two UEs on a first communication path;
a transmitter, configured to send a communication path switching indication to each of the two UEs, where the communication path switching indication includes an identifier of the ProSe application and an application layer identifier of a peer UE performing ProSe communication with the UE receiving the communication path switching indication, so that the two UEs respectively switch the ProSe communication from the first communication path to a second communication path; sending a communication path switching request to a Policy and Charging Rules Function (PCRF) device, where the communication path switching request includes an identifier of the ProSe application and application layer identifiers of the two UEs, so that the PCRF device updates Policy and Charging Control (PCC) policies corresponding to a service flow of the ProSe communication on the first communication path according to the communication path switching request; and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
26. The ProSe application server of claim 25, wherein the first communication path is an evolved packet core, EPC, path and the second communication path is a PC5 interface direct communication path.
27. The ProSe application server of claim 25 or 26, further comprising:
a receiver, configured to receive a close proximity indication sent by a ProSe function network element, where the close proximity indication is sent by the ProSe function network element after determining that the two UEs are within the preset ProSe communication range, and the close proximity indication includes an identifier of the ProSe application and application layer identifiers of the two UEs;
the processor is specifically configured to determine that the two UEs are within the preset ProSe communication range according to the close proximity indication.
28. The ProSe application server of any of claims 25 to 27, wherein the transmitter is specifically configured to transmit the communication path switching indication to a ProSe function network element, so that the ProSe function network element forwards the communication path switching indication to the UE; or, the communication path switching indication is directly sent to the UE through an application layer message.
29. A User Equipment (UE), comprising:
a receiver, configured to receive a communication path switching indication sent by a ProSe application server when it is determined that the UE and an opposite UE performing ProSe communication with the UE are within a preset ProSe communication range, where the ProSe communication is initiated by a first communication path of a ProSe application on the UE or the opposite UE, and the communication path switching indication includes an identifier of the ProSe application and an application layer identifier of the opposite UE;
a processor configured to request, from a serving base station, a wireless resource of a second communication path for conducting the ProSe communication according to the communication path switching instruction; establishing the second communication path with the peer UE using the wireless resources and switching the ProSe communication from the first communication path to the second communication path;
the receiver is further configured to receive a bearer modification instruction sent by a packet data network gateway PDN GW, and update the bearer resource on the first communication path according to the bearer modification instruction.
30. The UE of claim 29, wherein the receiver is specifically configured to receive the communication path switching indication sent by the ProSe application server through a ProSe function network element; or receiving the communication path switching instruction directly sent by the ProSe application server through an application layer message.
31. A policy and charging rules function, PCRF, device, comprising:
a receiver, configured to receive a communication path switching request sent by a ProSe application server when determining that two User Equipments (UEs) performing ProSe communication are within a preset ProSe communication range, where the ProSe communication is initiated by a ProSe application on any one of the two UEs on a first communication path, and the communication path switching request includes an identifier of the ProSe application and application layer identifiers of the two UEs;
a processor, configured to update a policy and charging control, PCC, policy corresponding to a service flow of the ProSe communication on the first communication path according to the communication path switching request;
a transmitter, configured to send the updated PCC policy to a packet data network gateway PDN GW, so that the PDN GW updates bearer resources allocated to the first communication path according to the updated PCC policy.
32. A User Equipment (UE), comprising:
a processor configured to determine that a second UE in ProSe communication is within a preset ProSe communication range, the ProSe communication initiated by a ProSe application on the first UE or the second UE on a first communication path; requesting, from a serving base station, a wireless resource for a second communication path for conducting the ProSe communication; establishing the second communication path with the second UE using the wireless resources and switching the ProSe communication from the first communication path to the second communication path;
a transmitter, configured to send a communication path first switching request to a ProSe application server, where the communication path first switching request includes an identifier of the ProSe application and an application layer identifier of the second UE, so that the ProSe application server sends a communication path second switching request to a policy and charging rules function PCRF device, and the PCRF device updates, according to the communication path switching request, a policy and charging control PCC policy corresponding to a traffic flow of the ProSe communication on the first communication path; and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
33. The UE of claim 32, wherein the transmitter is specifically configured to transmit the communication path first switch request to a ProSe function network element, so that the ProSe function network element forwards the communication path first switch request to the ProSe application server; or, the communication path first switching request is directly sent to the ProSe application server through an application layer message.
34. The UE of claim 32, wherein the processor is further configured to determine whether to conduct the ProSe communication with a third UE over the first communication path;
the transmitter, configured to send a ProSe bearer modification request to a core network device to release bearer resources allocated to the first communication path with the second UE when the processor determines that the ProSe communication is performed with the third UE on the first communication path; when the processor determines that the ProSe communication is not performed with the third UE on the first communication path, sending a ProSe packet data network PDN connection deactivation request to a core network device to release all bearer resources allocated to the first communication path.
35. A proximity services ProSe application server, characterized in that it comprises:
a receiver configured to receive a communication path first handover request sent by a first user equipment UE when determining that a second UE performing ProSe communication is within a preset ProSe communication range, the ProSe communication being initiated by a ProSe application on the first UE or the second UE over a first communication path, the communication path first handover request including an identity of the ProSe application and an application layer identity of the second UE;
a transmitter, configured to send a communication path second handover request to a PCRF device according to the communication path first handover request, where the communication path second handover request includes an identifier of the ProSe application, an application layer identifier of the first UE, and an application layer identifier of the second UE, so that the PCRF device updates a policy and charging control PCC policy corresponding to a traffic flow of the ProSe communication on the first communication path according to the communication path handover request; and sending the updated PCC policy to a packet data network gateway (PDN GW) so that the PDN GW updates the bearer resource allocated to the first communication path according to the updated PCC policy.
36. The ProSe application server of claim 35, wherein the receiver is specifically configured to receive the first communication path handover request sent by the first UE via a ProSe function network element; or, receiving the communication path first switching request directly sent by the first UE through an application layer message.
37. A communication system, comprising: the system comprises a proximity service ProSe application server, user equipment UE, policy and charging rules function PCRF equipment and core network equipment; the ProSe application server is the ProSe application server of any one of claims 13 to 16 or claims 23 to 24; the UE adopts the UE of any one of claims 17-18 or claims 20-22; the PCRF device employs the PCRF device of claim 19.
38. A communication system, comprising: the system comprises a proximity service ProSe application server, user equipment UE, policy and charging rules function PCRF equipment and core network equipment; wherein, the ProSe application server adopts the ProSe application server of any one of claims 25 to 28 or claims 35 to 36; the UE adopts the UE of any one of claims 29-30 or claims 32-34; the PCRF device employs the PCRF device of claim 31.
CN201580080074.3A 2015-05-29 2015-05-29 Communication path switching method, device and system for short-range service Active CN107615817B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/080321 WO2016191951A1 (en) 2015-05-29 2015-05-29 Method, device and system for switching communication path of proximity service

Publications (2)

Publication Number Publication Date
CN107615817A CN107615817A (en) 2018-01-19
CN107615817B true CN107615817B (en) 2021-03-30

Family

ID=57439963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580080074.3A Active CN107615817B (en) 2015-05-29 2015-05-29 Communication path switching method, device and system for short-range service

Country Status (2)

Country Link
CN (1) CN107615817B (en)
WO (1) WO2016191951A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017095131A1 (en) * 2015-12-01 2017-06-08 Lg Electronics Inc. Method and apparatus for performing application category based traffic steering in wireless communication system
CN114731567A (en) 2019-07-26 2022-07-08 诺基亚通信公司 Method, apparatus and computer readable medium for controlling D2D routing
CN113411911B (en) * 2020-03-17 2023-07-07 维沃移动通信有限公司 An identification update method and device

Family Cites Families (6)

* 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
CN103813402A (en) * 2012-11-15 2014-05-21 中兴通讯股份有限公司 Communication path switching method, device, processing device and system
CN104053192B (en) * 2013-03-12 2018-07-03 电信科学技术研究院 A kind of method and apparatus for establishing adjacent communication, system
CN104053191B (en) * 2013-03-12 2018-03-20 电信科学技术研究院 A kind of method and apparatus for establishing adjacent communication, system
CN104113916A (en) * 2013-04-22 2014-10-22 中兴通讯股份有限公司 Method for establishing direct communication between terminals, server, base station and terminal
CN104284383B (en) * 2013-07-02 2018-01-30 电信科学技术研究院 A kind of method and apparatus for keeping business continuance

Also Published As

Publication number Publication date
CN107615817A (en) 2018-01-19
WO2016191951A1 (en) 2016-12-08

Similar Documents

Publication Publication Date Title
KR101644870B1 (en) Terminal control method, device, and system
US20190313289A1 (en) Quality of Service Rule Management in 5G
CN108029009B (en) Method and apparatus for improving mobility in a wireless communication system
CN103891344B (en) Method, device and system for multi-user cooperative communication
KR20140110853A (en) Method and device for providing a proximity service in a wireless communication system
KR101761632B1 (en) Method and apparatus for changing proximity service-based radio access technology
WO2014005536A1 (en) Communication method, device and system for neighbour terminals
CN109246778A (en) The selection method and relevant device of functional network element
JP2021503199A (en) Communication terminals, how to request a connection, network components and how to service the communication terminal
EP3214805B1 (en) Method and device for transmitting control signalling
US11184875B2 (en) Paging method and apparatus for wireless communication
KR101682925B1 (en) Wireless communication system and method for establishing connection between node in communication system and node in data service network
CN107295564B (en) A flow-based bearer management method, data transmission method and device
CN103428731A (en) Method and system for routing optimization, and service gateway
CN111972038A (en) UE and communication control method for UE
CN103813402A (en) Communication path switching method, device, processing device and system
CN105122888A (en) Routing method between base stations, serving gateway and base station
CN107615817B (en) Communication path switching method, device and system for short-range service
JP6446546B2 (en) Data processing method, apparatus, terminal, mobility management entity, and system
CN106537854B (en) Method and device for switching between network communication and direct communication
CN102036185B (en) Equipment group management method, network node and communication system
US9705685B2 (en) Charging control method and system in communication network
CN106489283B (en) Near field service communication method, related equipment and system
CN108605218B (en) Notification method, notification device and system
CN106797565B (en) A communication method, mobile network device, terminal, application server and system

Legal Events

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