WO2015003590A1 - 一种路径切换的方法、设备和用户设备 - Google Patents

一种路径切换的方法、设备和用户设备 Download PDF

Info

Publication number
WO2015003590A1
WO2015003590A1 PCT/CN2014/081726 CN2014081726W WO2015003590A1 WO 2015003590 A1 WO2015003590 A1 WO 2015003590A1 CN 2014081726 W CN2014081726 W CN 2014081726W WO 2015003590 A1 WO2015003590 A1 WO 2015003590A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
identifier
message
communication path
direct communication
Prior art date
Application number
PCT/CN2014/081726
Other languages
English (en)
French (fr)
Inventor
金辉
欧阳国威
衣强
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2015003590A1 publication Critical patent/WO2015003590A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, a device, and a user equipment for path switching.
  • a data communication path between User Equipments passes through a core network Serving Gateway (SGW) and a Packet Data Network Gateway (PGW).
  • SGW Serving Gateway
  • PGW Packet Data Network Gateway
  • the security key can be negotiated to establish a direct communication path (DCP) for data. transmission.
  • DCP direct communication path
  • Embodiments of the present invention provide a method, a device, and a user equipment for path switching, which can ensure continuity of data transmission between UEs that use direct communication paths for communication, and improve user experience.
  • a method for path switching includes:
  • the first device determines to switch the direct communication path between the first user equipment and the second user equipment into a network communication path, to obtain a first identifier
  • the first device Determining, by the first device, the evolved packet system EPS bearer of the first user equipment and/or the second user equipment, according to the first identifier, to enable the first user equipment and the second user equipment Performing a path switching process from the direct communication path to the network communication path according to the EPS bearer;
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify the first user equipment and the first Direct communication between the two user equipments; or the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the first device determines to switch the direct communication path between the first user equipment and the second user equipment to a network communication path, where the obtaining the first identifier specifically includes:
  • the first device Receiving, by the first device, a fourth message sent by the base station, where the fourth message carries the first identifier, where the fourth message is that the base station receives the first user equipment and/or the second After the first message sent by the user equipment is sent to the first device, the first message carries the first identifier, where the first message is used to enable the base station to learn the corresponding identifier of the first identifier. Signal strength or the first user equipment and/or the second user equipment request to switch the direct communication path to the network communication path; the first device determines, according to the fourth message, the direct Switching the communication path to the network communication path, and obtaining the first identifier; or
  • Signal strength or the first user equipment and/or the second user equipment request to switch the direct communication path to the network communication path; the first device determines, according to the fifth message, the direct Switching the communication path to the network communication path, and obtaining the first identifier; or
  • the first device receives a third message sent by the first user equipment and/or the second user equipment, where the third message carries the first identifier, and the third message is used to The first device learns the signal strength corresponding to the first identifier or the first user equipment and/or the second user equipment requests to switch the direct communication path to the network communication path; Determining, according to the third message, switching the direct communication path to the network communication path, and obtaining the first identifier.
  • the determining, by the first device, that the direct communication path is switched to the network communication path according to the third message includes: :
  • the first device determines to switch the direct communication path to the network communication path;
  • the third message is a handover request or a handover notification for enabling the first device to learn that the first user equipment and/or the second user equipment requests to switch the direct communication path to the network communication path.
  • the first device determines to switch the direct communication path to the network communication path according to the third message.
  • the first device determines the first user equipment according to the first identifier, according to any one of the first aspect to the second possible implementation manner of the first aspect And/or the evolved packet system EPS bearer of the second user equipment specifically includes:
  • the first device sends a sixth message to the gateway device, where the sixth message carries the QoS, and the sixth message is used to notify the gateway device to establish an EPS bearer of the QoS;
  • the seventh message sent by the gateway device sends an eighth message to the first user equipment and/or the second user equipment, where the eighth message carries the first identifier, so that the first user equipment And/or the second user equipment establishes the EP S bearer according to the first identifier, and learns that the EPS bearer is used to replace the direct connection identified by the first identifier, or the direct communication, or At least one of a direct communication path or the direct communication path.
  • the first device determines the first user equipment according to the first identifier, according to any one of the first aspect to the second possible implementation manner of the first aspect And/or the evolved packet system EPS bearer of the second user equipment specifically includes:
  • the first device sends a ninth message to the first user equipment and/or the second user equipment, where the ninth message carries the first identifier, so that the first user equipment and/or Obtaining, by the second user equipment, the QoS corresponding to the first identifier according to the first identifier at least;
  • the eleventh message is used to notify the gateway device to establish an EP S of the QoS Hosted.
  • the first device determines, according to the first identifier, the first user equipment and/or Or the evolved packet system EPS bearer of the second user equipment, specifically: the first device obtains, according to the first identifier, a QoS corresponding to the first identifier; the first device determines, according to the Qo S Whether to switch the direct communication path to the network communication path;
  • the first device determines to switch the direct communication path to the network communication path, and establish the EPS bearer according to the first identifier as the first user equipment and/or the second user equipment.
  • the determining, by the first device, whether to switch the direct communication path to the network communication path according to the QoS includes:
  • the first device sends a request message carrying the QoS to the gateway device, so that the gateway device sends a request message carrying the QoS to the policy charging rule function entity PCRF, so that the PCRF is configured according to the Determining whether the network provides the EPS bearer of the QoS, if yes, determining to switch the direct communication path to the network communication path; or, the first device sends a request message carrying the QoS to the server,
  • the server sends a request message carrying the QoS to the PCRF, and the PCRF determines, according to the QoS, whether the network can provide the EPS bearer of the Qo S, and if yes, determines to switch the direct communication path to the Network communication path.
  • the first device determines, according to the first identifier, the first user equipment and/or the The evolved packet system EPS bearer of the second user equipment specifically includes:
  • the first device Sending, by the first device, the message including the first identifier to the first user equipment and/or the second user equipment, so that the first user equipment and/or the second user equipment are
  • the first identifier is used to search for an EPS bearer corresponding to the first identifier.
  • the first possible implementation of the first aspect is combined to the seventh possible implementation manner, the first message, the second message, or the third message further includes: a first user identifier of the first user equipment and a second user identifier of the second user equipment .
  • the obtaining, by the first device, the QoS corresponding to the first identifier, according to the first identifier specifically includes:
  • the first device obtains Qo S corresponding to the first identifier according to the first identifier, the first user identifier, and the second user identifier.
  • the first device determines, according to the first identifier, the first user equipment And/or before the evolved packet system EPS bearer of the second user equipment, the method further includes:
  • the determining, by the first device, the evolved packet system EPS bearer of the first user equipment and/or the second user equipment, according to the first identifier specifically includes:
  • the first device sends a first request message to the second device, where the first request message includes a second user identifier of the second user equipment and the first identifier, so that the second device is configured according to the second device
  • the second user identifier of the second user equipment and the first identifier establish the EPS bearer for the second user equipment.
  • the first device determines the first user according to the first identifier, according to any one of the first aspect to the ninth possible implementation manner of the first aspect
  • the method further includes:
  • Determining, by the first device, the first user equipment and/or the The evolved packet system EPS bearer of the second user equipment specifically includes:
  • the first device establishes the EPS bearer for the first user equipment according to the first identifier
  • the first device sends a second request message to the first server that serves the first user equipment, where the second request message includes the second user identifier of the second user equipment and the first identifier, And causing the first server to obtain a second server serving the second user equipment according to the second user identifier of the second user equipment, and sending the second user of the second user equipment to the second server And the first identifier, the second server sends a third request message to the second device, where the second device is configured according to the second user identifier and the first identifier of the second user equipment Establishing the EPS bearer for the second user equipment.
  • the first device determines, according to the first identifier, the first Before the evolved packet system EPS bearer of the user equipment and/or the second user equipment, the method further includes:
  • the first device sends a twelfth message to the base station, where the twelfth message carries the first identifier, so that the base station is released or deleted as the first user equipment according to at least the first identifier. And/or a resource allocated by the second user equipment, to enable the base station to send a thirteenth message to the first user equipment and/or the second user equipment, where the thirteenth message is used to indicate the A user equipment and/or the second user equipment is informed that the path switching is performed.
  • a method for path switching includes:
  • the first user equipment sends a message to the third device, where the message carries a first identifier, where the message is used to enable the third device to learn the signal strength corresponding to the first identifier, or for the first
  • the user equipment requests to switch the direct communication path between the first user equipment and the second user equipment to a network communication path, so that the third device determines to switch the direct communication path to the network communication according to the message. Path
  • the first identifier is used by The first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify direct communication between the first user equipment and the second user equipment; The first identifier is used to identify the direct communication Or the first identifier is used to identify at least one bearer in the direct communication path.
  • the third device is specifically a base station or a mobility management entity MME or a server that serves the first user equipment;
  • the device sends a message specifically including:
  • the fourth message carries the first identifier, so that the MME determines to switch the direct communication path to the network communication path according to the fourth message;
  • the fifth message carries the first identifier, so that the MME determines to switch the direct communication path to the network communication path according to the fifth message, and the MME sends the bearer to the base station.
  • the message of the first identifier so that the base station carries the message of the first identifier to the first user equipment; or
  • the first user equipment sends a third message to the MME, so that the MME determines to switch the direct communication path to the network communication path according to the third message.
  • the first user equipment receives, by the third device, a message that includes the first identifier, Determining to switch the direct communication path to the network communication path according to the message specifically includes:
  • the EPS After the first user equipment receives the message that is sent by the third device and includes the first identifier, the EPS is obtained according to the first identifier, and the quality of service QoS corresponding to the first identifier is obtained. And sending the tenth message carrying the QoS to the MME. Established; or,
  • the EPS bearer is configured to obtain, according to the first identifier, a quality of service QoS corresponding to the first identifier, and send the QoS to the mobility management entity, before the first user equipment sends a message to the third device.
  • the tenth message was created afterwards.
  • the determining, according to the message, determining to switch the direct communication path to the network specifically includes:
  • the first user equipment adjusts the priority of the TFT of the direct communication path corresponding to the first identifier to be lower than the priority of the TFT carried by the EP S, so that the first user equipment passes the EPS bearer. Data transmission with the second user equipment.
  • the first user equipment receives, by the third device, a message that includes the first identifier, Determining to switch the direct communication path to the network communication path according to the message specifically includes:
  • the first user equipment receives the third device to send an eighth message, where the eighth message carries the first identifier, and the first user equipment establishes an EPS bearer according to the eighth message, or
  • the first user equipment receives the ninth message sent by the third device, where the ninth message carries the first identifier, and the first user equipment obtains the first identifier according to at least the first identifier.
  • the first user equipment sends a fourteenth message to the MME, where the fourteenth message carries the QoS, so that the MME is the first user according to the QoS
  • the device establishes an EP S bearer.
  • the message further includes: a first identifier of the first user equipment and a second identifier of the second user equipment User ID.
  • the first user equipment, An identifier message, after determining, according to the message, that the direct communication path is switched to the network communication path, the method further includes:
  • the first user equipment sends a fifteenth message to the base station, where the fifteenth message carries the first identifier, so that the base station releases or deletes at least according to the first identifier.
  • the first user equipment sends a fifteenth message to the server, where the fifteenth message carries the first identifier, so that the server learns that the path switch is completed, and the
  • the MME sends a 16th message carrying the first identifier, so that the MME sends a 17th message carrying the first identifier to the base station, so that the base station is released according to at least the first identifier or
  • the resources allocated for the first user equipment and/or the second user equipment are deleted.
  • the fifteenth message further carries the first information, so that the base station sends the carrying a message of information, so that the MME performs charging according to the first information;
  • the fifteenth message further carries the first information, so that the base station sends a message carrying the first information to the MME, so that the MME sends a message carrying the first information to the server, So that the server performs charging according to the first information;
  • the first information includes data traffic and/or communication time.
  • the third aspect provides a method for path switching, where the method includes: receiving, by the fourth device, a message sent by the first user equipment and/or the second user equipment, where the message carries the first identifier, The message is used to enable the fourth device to learn the signal strength corresponding to the first identifier, or to request the first user equipment to switch the direct communication path between the first user equipment and the second user equipment.
  • Network communication path ;
  • the fourth device sends a request to the mobility management entity MME, where the request includes the first identifier, so that the MME determines, according to the request, that the first user equipment and/or the second user equipment correspond to The EPS bearer, the first user equipment and the second user equipment complete a path switching process from the direct communication path to the network communication path according to the EP S bearer.
  • the determining, by the fourth device, that the direct communication path is switched to the network communication path according to the message specifically includes: if the message is carried in the message If the signal strength corresponding to the first identifier is less than or equal to the preset value, the fourth device determines to switch the direct communication path to the network communication path; or The message is used when the first device learns that the first user equipment and/or the second user equipment requests a handover request or a handover notification message to switch the direct communication path to the network communication path, The fourth device determines to switch the direct communication path to the network communication path according to the message.
  • the fourth device when the fourth device is a base station, the fourth device sends a request message to the mobility management entity MME. After that, it also includes:
  • a device is provided, where the device is specifically a first device, and the first device includes: a first determining unit and a second determining unit;
  • the first determining unit is configured to determine to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, to obtain a first identifier
  • the second determining unit is configured to determine, according to the first identifier, an evolved packet system EPS bearer of the first user equipment and/or the second user equipment, to enable the first user equipment and the The second user equipment completes a path switching process from the direct communication path to the network communication path according to the EPS bearer;
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment. Directly communicating; or, the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the first determining unit is specifically configured to:
  • the first message is sent to the first device, and the first message carries the first identifier, where the first message is used to enable the base station to learn the signal corresponding to the first identifier.
  • the server learns the signal strength corresponding to the first identifier or the first user equipment and/or the second user equipment requests to switch the direct communication path to the network communication path; according to the fifth a message, determining to switch the direct communication path to the network communication path, and obtaining the first identifier; or receiving a third message sent by the first user equipment and/or the second user equipment, The third message carries the first identifier, where the third message is used to enable the
  • the first determining unit is specifically configured to:
  • the third message is used When the first device is informed that the first user equipment and/or the second user equipment requests to switch the direct communication path to a handover request or a handover notification message of the network communication path, according to the And three messages, determining to switch the direct communication path to the network communication path.
  • the second determining unit is specifically configured to:
  • the gateway device Obtaining, according to the first identifier, the quality of service QoS corresponding to the first identifier, sending a sixth message to the gateway device, where the sixth message carries the QoS, and the sixth message is used to notify the gateway
  • the device establishes an EPS bearer of the QoS; Receiving a seventh message sent by the gateway device, and sending an eighth message to the first user equipment and/or the second user equipment, where the eighth message carries the first identifier, so that the first user
  • the device and/or the second user equipment establishes the EPS bearer according to the first identifier, and learns that the EPS bearer is used to replace the direct connection identified by the first identifier, or the direct communication, or At least one of a direct communication path or the direct communication path.
  • the second determining unit is specifically configured to:
  • the eleventh message is used to notify the gateway device to establish an EP S bearer of the QoS.
  • the second determining unit is specifically configured to:
  • the EPS bearer is established for the first user equipment and/or the second user equipment according to the first identifier.
  • the determining unit is specifically configured to:
  • the PCRF sends a request message carrying the QoS, and the PCRF determines whether the network can provide the EP S bearer of the Qo S according to the QoS, and if yes, determines to switch the direct communication path to the network communication path.
  • the second determining unit is specifically configured to be used by the first user equipment and Or the second user equipment sends a message including the first identifier, so that the first user equipment and/or the second user equipment searches for the first identifier according to the first identifier.
  • EPS bearer is specifically configured to be used by the first user equipment and Or the second user equipment sends a message including the first identifier, so that the first user equipment and/or the second user equipment searches for the first identifier according to the first identifier.
  • the first message, the second message, or the third message further includes: the first user a first user identifier of the device and a second user identifier of the second user device.
  • the second determining unit is specifically configured to use, according to the first identifier, the first user identifier, and the first The second user identifier obtains the QoS corresponding to the first identifier.
  • the first device further includes: an obtaining unit, in combination with any one of the ninth possible implementation manners of the fourth aspect to the fourth aspect;
  • the obtaining unit is configured to obtain, according to the first identifier, a second user identifier of the second user equipment;
  • the obtaining unit is further configured to obtain, according to the second user identifier of the second user equipment, a second device that serves the second user equipment;
  • the second determining unit is specifically configured to:
  • the first identifier establishing, by the first identifier, the EPS bearer according to the first identifier, and sending, by the second device, a first request message, where the first request message includes a second user identifier of the second user equipment, and The first identifier is configured to enable the second device to establish the EPS 7 as the second user equipment according to the second user identifier of the second user equipment and the first identifier.
  • the first device further includes: an obtaining unit;
  • the obtaining unit is configured to obtain, according to the first identifier, a second user identifier of the second user equipment;
  • the second determining unit is specifically configured to:
  • the EPS bearer according to the first identifier, and sending, by the first server serving the first user equipment, a second request message, where the second request message includes the second user a second user identifier of the device and the first identifier, so that the first server obtains a second server serving the second user device according to the second user identifier of the second user equipment, and The second server sends the second user identifier of the second user equipment and the first identifier, so that the second server sends a third request message to the second device, where the second device is configured according to the The second user identifier of the second user equipment and the first identifier establish the EPS bearer for the second user equipment.
  • the first device further includes: a sending unit, the sending unit, And transmitting, by the base station, a twelfth message, where the twelfth message carries the first identifier, so that the base station is released or deleted as the first user equipment and/or according to the first identifier at least a resource allocated by the second user equipment, to enable the base station to send a thirteenth message to the first user equipment and/or the second user equipment, where the thirteenth message is used to indicate the first user equipment And/or the second user equipment is informed that the path switch is performed.
  • the fifth aspect provides a path switching user equipment, where the user equipment is specifically a first user equipment, where the first user equipment includes: a sending unit, a receiving unit, and a determining unit;
  • the third device sends a message, where the message carries a first identifier, where the message is used to enable the third device to learn the signal strength corresponding to the first identifier, or is used by the first user equipment to request the
  • the direct communication path between the first user equipment and the second user equipment is switched to a network communication path, so that the third device determines to switch the direct communication path to the network communication path according to the message;
  • the receiving unit is configured to receive, by the third device, a message that includes the first identifier
  • the determining unit is configured to determine to switch the direct communication path to the network communication path according to the message
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment.
  • Direct communication or the first identifier is used to identify the direct communication
  • the first identifier is used to identify at least one bearer in the direct communication path.
  • the third device is specifically a base station or a mobility management entity MME or a server that serves the first user equipment, and the sending unit is specifically configured to:
  • the first identifier is carried in the MME, and the MME determines to switch the direct communication path to the network communication path according to the fifth message, where the MME sends the first identifier to the base station. a message, so that the base station carries the message of the first identifier to the first user equipment; or
  • the receiving unit is specifically configured to receive a path switching request sent by the third device;
  • the determining unit is specifically configured to: according to the path switching request, determine to switch the direct communication path to an EP S bearer corresponding to the first identifier;
  • the EPS After the first user equipment receives the message that is sent by the third device and includes the first identifier, the EPS is obtained according to the first identifier, and the quality of service QoS corresponding to the first identifier is obtained. And sending, after the tenth message carrying the QoS, is sent to the MME; or
  • the EPS bearer is configured to obtain, according to the first identifier, a quality of service QoS corresponding to the first identifier, and send the QoS to the mobility management entity, before the first user equipment sends a message to the third device.
  • the tenth message was created afterwards.
  • the determining unit is specifically configured to directly communicate the first identifier according to any one of the second aspect to the second possible implementation manner of the fifth aspect.
  • the priority of the TFT of the path is adjusted to be lower than the priority of the TFT carried by the EP S, so that the first user equipment performs data transmission with the second user equipment by using the EP S bearer.
  • the receiving unit is configured to receive, by the third device, an eighth message, where the eighth The message carries the first identifier;
  • the determining unit is configured to: establish an EPS bearer according to the eighth message; or, the receiving unit is specifically configured to receive a ninth message sent by the third device, where the ninth message carries the First identifier
  • the determining unit is configured to: obtain, according to the first identifier, the quality of service Qo S corresponding to the first identifier, and send a fourteenth message to the MME, where the fourteenth message carries the QoS, such that the MME establishes an EPS bearer for the first user equipment according to the QoS.
  • the message further includes: a first identifier and a second identifier of the first user equipment The second user ID of the user device.
  • the sending unit is further configured to:
  • the fifteenth message further carries the first information, so that the base station sends the carrying information to the MME a message of information, so that the MME performs charging according to the first information;
  • the fifteenth message further carries the first information, so that the base station sends a message carrying the first information to the MME, so that the MME sends a message carrying the first information to the server, So that the server performs charging according to the first information;
  • the first information includes data traffic and/or communication time.
  • the sixth aspect provides a device for path switching, where the device is specifically a fourth device, where the fourth device includes: a receiving unit, a determining unit, and a sending unit;
  • the receiving unit is configured to receive a message sent by the first user equipment and/or the second user equipment, where the message carries a first identifier, where the message is used to enable the fourth device to learn the first identifier.
  • the determining unit is configured to determine to switch the direct communication path to the network communication path according to the message
  • the sending unit is configured to send a request to the mobility management entity MME, where the request includes the first identifier, so that the MME determines the first user equipment and/or the second user equipment according to the request. And corresponding to the EPS bearer, the first user equipment and the second user equipment complete a path switching process from the direct communication path to the network communication path according to the EP S bearer.
  • the determining unit is specifically configured to:
  • the message is used when the first device learns that the first user equipment and/or the second user equipment requests a handover request or a handover notification message to switch the direct communication path to the network communication path, Based on the message, it is determined to switch the direct communication path to the network communication path.
  • the receiving unit is further configured to:
  • the fourth device further includes: a deleting unit;
  • the deleting unit is configured to release or delete at least the resource allocated to the first user equipment and/or the second user equipment according to the first identifier
  • the sending unit is further configured to send a thirteenth message to the first user equipment and/or the second user equipment, where the thirteenth message is used to indicate the first user equipment and/or the The second user equipment is informed that the path switch is performed.
  • the embodiment of the present invention provides a path switching method, a device, and a user equipment, where the method includes: a first user equipment sends a message to a third device, where the message carries a first identifier, where the message is used to The third device learns the signal strength corresponding to the first identifier, or is used by the first user equipment to switch the direct communication path between the first user equipment and the second user equipment to a network communication path, so that The third device determines to switch the direct communication path to the network communication path according to the message; the first user equipment receives a message that is sent by the third device and includes the first identifier, according to the The message determines to switch the direct communication path to the network communication path.
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, The continuity of data transmission between UEs communicating using the direct communication path can be ensured, and the user experience is improved.
  • FIG. 1 is a schematic flowchart of a method for path switching according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for path switching according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of interaction of a method for path switching according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of interaction of another method for path switching according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a first device according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of another first device according to an embodiment of the present disclosure
  • FIG. 10 is a schematic structural diagram of a fourth device according to an embodiment of the present disclosure
  • FIG. 11 is a schematic structural diagram of another fourth device according to an embodiment of the present invention
  • FIG. 12 is a schematic structural diagram of still another first device according to an embodiment of the present invention
  • FIG. 14 is a schematic structural diagram of another first user equipment according to an embodiment of the present invention
  • FIG. 15 is a schematic structural diagram of another fourth device according to an embodiment of the present invention.
  • An embodiment of the present invention provides a method for path switching, where the method is applied to a first device, where the first device may be a Mobility Management Entity (MME), as shown in FIG. Includes:
  • the first device determines to switch the direct communication path between the first user equipment and the second user equipment to a network communication path, and obtains the first identifier.
  • the direct communication path between the first user equipment and the second user equipment has a corresponding identifier.
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify the first user equipment and the first Direct communication or direct one-to-one communication; or An identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the first user equipment may send a third message to the first device, where the third message carries the first identifier.
  • the third message may further carry the signal strength corresponding to the first identifier.
  • the third message further instructs the first device to switch the direct communication path to the network communication path.
  • the third message may be specifically a path switch request message or a path switch notification message. After receiving the third message, the first device determines to switch the direct communication path to a network communication path according to the third message.
  • the first user equipment may also send a first message to the base station serving the first user equipment, where the first message carries the first identifier.
  • the first message may further carry the signal strength corresponding to the first identifier.
  • the first message further instructs the base station to switch the direct communication path to the network communication path.
  • the first message may specifically be a path switch request message or a path switch notification message.
  • the base station determines to switch the direct communication path to a network communication path according to the first message.
  • the base station sends a fourth message to the first device, where the fourth message carries the first identifier.
  • the fourth message may be a path switch request message or a path switch notification message.
  • the first user equipment sends a second message to a server that serves the first user equipment, where the second message carries the first identifier.
  • the second message may further carry the signal strength corresponding to the first identifier.
  • the second message further instructs the server to switch the direct communication path to the network communication path.
  • the second message may specifically be a path switch request message or a path switch notification message.
  • the server determines to switch the direct communication path to a network communication path according to the second message.
  • the server sends a fifth message to the first device, where the fifth message carries the first identifier.
  • the fifth message may be a path switch request message or a path switch notification message.
  • the signal strength corresponding to the first identifier is the signal strength of the direct connection between the first user equipment and the second user equipment that is identified by the first identifier; or, the first identifier a signal strength of the direct communication between the first user equipment and the second user equipment; or a signal strength of the direct communication path identified by the first identifier; or the first identifier At least one of the identified direct communication paths The signal strength of the bearer.
  • the infrastructure communication path or the evolved packet core network Path refers to a traditional communication path through which the core network element SGW and the PGW communicate. This statement is made in the subsequent embodiments and is understood in the same manner as the present embodiment.
  • the first device determines, according to the first identifier, an EPS bearer of the first user equipment and/or the second user equipment, so that the first user equipment and the second user equipment are The EPS bearer completes the path switching process from the direct communication path to the network communication path.
  • the EPS bearer may be that after the first device determines to switch the direct communication path to a network communication path, the first device may be connected to the first user equipment and the second user equipment, and Communicating with the gateway device served by the first user equipment and the second user equipment, and establishing an EPS bearer for the first user equipment and the second user equipment. And after the establishment of the EPS bearer is complete, the first user equipment and the second user equipment complete a path switching process from the direct communication path to the network communication path according to the EPS bearer.
  • the first device may establish the EPS bearer for the first user equipment and the second user equipment according to a Quality of Service (QoS) corresponding to the first identifier.
  • QoS Quality of Service
  • the first device may also establish the EPS bearer according to a direct data transmission rate or a data transmission amount or a data transmission delay of the first user equipment and the second user equipment.
  • the QoS corresponding to the first identifier refers to the QoS of the direct connection between the first user equipment and the second user equipment that is identified by the first identifier; or the first identifier that is identified by the first identifier QoS of the direct communication between the user equipment and the second user equipment; or the QoS of the direct communication path identified by the first identifier; or the direct communication path identified by the first identifier At least one bearer's QoS.
  • the EPS bearer may also be that the first user equipment and the second user equipment are in advance with the first user equipment and the second user equipment.
  • the gateway device of the service is established. After the first user equipment and the second user equipment are informed that the direct communication path to the network communication path is to be switched, the data transmission is performed according to the established EPS bearer corresponding to the first identifier.
  • the EP S bearer corresponding to the first identifier is an EP S bearer corresponding to the direct connection between the first user equipment and the second user equipment identified by the first identifier when performing path switching.
  • an EPS bearer corresponding to direct communication between the first user equipment and the second user equipment identified by the first identifier; or the direct communication with the first identifier An EPS bearer corresponding to the path; or an EPS bearer corresponding to at least one of the direct communication paths identified by the first identifier.
  • any one of the gateway devices such as the base station, the MME, and the server, serving the first user equipment and the second user equipment may be the same or different.
  • the server serving the first user equipment and the second user equipment, and the base station may be: the server, the MME, and the base station are all the same; or the server and the MME are the same, and the base station is different; or The server is the same, the MME is different from the base station; or the server, the MME, and the base station are different.
  • the first user equipment and the second user equipment are required to be used.
  • the base station of the device service releases or deletes resources allocated for the first user equipment and the second user equipment.
  • the first device may send a twelfth message to the base station, where the twelfth message carries the first identifier.
  • the base station releases or deletes resources allocated to the first user equipment and/or the second user equipment according to at least the first identifier.
  • the path switching is performed.
  • the embodiment of the present invention provides a method for path switching, where the first device determines to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, and obtains the first Determining, by the first device, the evolved packet system EP S bearer of the first user equipment and/or the second user equipment according to the first identifier, so that the first user equipment and the The second user equipment completes a path switching procedure from the direct communication path to the network communication path according to the EPS bearer.
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, The continuity of data transmission between UEs communicating using the direct communication path can be ensured, and the user experience is improved.
  • the embodiment of the present invention provides a method for path switching.
  • the executor of the present invention is a first user equipment. As shown in FIG. 2, the method includes:
  • the first user equipment sends a message to the third device, where the message carries a first identifier, where the message is used to enable the third device to learn the signal strength corresponding to the first identifier, or
  • the first user equipment requests to switch the direct communication path between the first user equipment and the second user equipment to a network communication path, so that the third device determines to switch the direct communication path to the location according to the message.
  • the network communication path is a part of the third device.
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment. Directly communicating; or, the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the first user equipment receives the message that is sent by the third device and includes the first identifier, and determines to switch the direct communication path to the network communication path according to the message.
  • the first user equipment receives the path switch request sent by the third device, and determines to switch the direct communication path to the EPS bearer corresponding to the first identifier according to the path switch request.
  • the EPS is obtained according to the first identifier, and the quality of service QoS corresponding to the first identifier is obtained. And sending the tenth message carrying the QoS to the MME, where the EP S bearer is sent by the first user equipment to the third device. Obtaining, according to the first identifier, the quality of service corresponding to the first identifier, before the message
  • the method further includes:
  • the first user equipment sends a fifteenth message to the base station, where the fifteenth message carries the first identifier, so that the base station is released or deleted as the first user according to at least the first identifier.
  • the first user equipment sends a fifteenth message to the server, where the fifteenth message carries the first identifier, so that the server learns that the path switch is complete, and sends the carrying the a 16th message of the first identifier, so that the MME sends a 17th message carrying the first identifier to the base station, so that the base station releases or deletes according to the first identifier as the first A resource allocated by a user equipment and/or a second user equipment.
  • the fifteenth message further includes the first identifier
  • the method further includes: the fifteenth message further carrying the first information, so that the base station sends the first information to the MME a message, so that the MME performs charging according to the first information.
  • the fifteenth message further carries the first information, so that the base station sends a message carrying the first information to the MME, so that the MME sends the first information to the server. a message, so that the server performs charging according to the first information.
  • the first information includes data traffic and/or communication time.
  • An embodiment of the present invention provides a path switching method, where a first user equipment sends a message to a third device, where the message carries a first identifier, where the message is used to enable the third device to learn the first Identifying a corresponding signal strength, or for the first user equipment to request to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, so that the third device according to the message Determining to switch the direct communication path to the network communication path; the first user equipment receives a message including the first identifier sent by the third device, and determines to switch the direct communication path according to the message Is the network communication path.
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, Can guarantee the use of straight
  • the continuity of data transmission between UEs communicating via the communication path improves the user experience.
  • the embodiment of the present invention provides a method for path switching, where the method is applied to a fourth device, and the fourth device may be a server or a base station.
  • the method includes: 301: a fourth device Receiving a message sent by the first user equipment and/or the second user equipment, where the message carries a first identifier, where the message is used to enable the third device to learn the signal strength corresponding to the first identifier, or use And the first user equipment requests to switch the direct communication path between the first user equipment and the second user equipment to a network communication path.
  • the fourth device determines to switch the direct communication path to the network communication path according to the message.
  • the fourth device sends a request to the mobility management entity MME, where the request includes the first identifier, so that the MME determines the first user equipment and/or the second user equipment according to the request. And corresponding to the EPS bearer, the first user equipment and the second user equipment complete a path switching process from the direct communication path to the network communication path according to the EPS bearer.
  • An embodiment of the present invention provides a path switching method, where a fourth device receives a message sent by a first user equipment and/or a second user equipment, where the message carries a first identifier, where the message is used to enable the The third device learns the signal strength corresponding to the first identifier, or is used by the first user equipment to switch the direct communication path between the first user equipment and the second user equipment to a network communication path; The fourth device determines to switch the direct communication path to the network communication path according to the message; the fourth device sends a request to the mobility management entity MME, where the request includes the first identifier, so that the Determining, by the MME, the EPS bearer corresponding to the first user equipment and/or the second user equipment, where the first user equipment and the second user equipment complete the direct communication path according to the EP S bearer.
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, The continuity of data transmission between UEs communicating using the direct communication path can be ensured, and the user experience is improved.
  • the embodiment of the invention provides a method for path switching, as shown in FIG. 4, the method Includes:
  • the first user equipment sends a first message to the base station, where the first message carries the first identifier.
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment. Directly communicating; or, the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the first message carries the first identifier, where the first message is used to enable the base station to learn the signal strength corresponding to the first identifier or the first user equipment and/or the second user.
  • the device requests to switch the direct communication path to the network communication path.
  • the base station determines whether to perform path switching according to the first message.
  • the base station determines whether the signal strength value corresponding to the first identifier is greater than or equal to a preset value. If the signal strength value corresponding to the first identifier is greater than or equal to the preset value, it is proved that the direct communication path signal quality of the first user equipment and the second user equipment is poor, and the direct communication needs to be performed. The path switches to the network communication path.
  • the base station determines that path switch needs to be performed.
  • step 4 03 is performed.
  • the base station sends a fourth message to the MME, where the fourth message carries the first identifier.
  • the fourth message may be a path switch request message or a path switch notification message.
  • the MME sends a path switch request message or a path switch notification message to the server, where the path switch request message or the path switch notification message carries the first identifier.
  • the server sends a path switch response message to the MME.
  • the MME determines, according to the first identifier, a QoS corresponding to the first identifier.
  • the MME stores a correspondence between the identifier of the direct communication path and the corresponding QoS. It should be noted that after the MME obtains the QoS corresponding to the first identifier, the root may be rooted. According to the QoS, it is further determined whether to perform path switching. Specifically, the first device determines, according to the QoS, whether to switch the direct communication path to the network communication path; if the first device determines to switch the direct communication path to the network communication path, according to The first identifier determines the EPS bearer of the first user equipment and/or the second user equipment.
  • Determining, by the first device, whether to switch the direct communication path to the network communication path according to the QoS includes: determining, by the first device, whether the network provides the EPS bearer of the QoS according to the QoS, and if yes, Then, it is determined that the direct communication path is switched to the network communication path. Or the first device sends a request message carrying the QoS to the gateway device, so that the gateway device sends a request for carrying the QoS to a Policy and Charging Rules Function (PCRF) The message, the PCRF determines, according to the QoS, whether the network provides the EPS bearer of the QoS, and if yes, determines to switch the direct communication path to the network communication path.
  • PCRF Policy and Charging Rules Function
  • the first device sends a request message carrying the QoS to the server
  • the server sends a request message carrying the QoS to the PCRF
  • the PCRF determines, according to the QoS, whether the network can provide the The EPS bearer of the QoS, if yes, determines to switch the direct communication path to the network communication path.
  • the MME sends a bearer setup request message to the PGW by using the SGW, where the setup bearer request message carries the Q0S.
  • the PGW sends an update/establishment request to the MME via the SGW.
  • the MME sends a downlink NAS transmission message to the base station, where the downlink NAS transmission message carries a first identifier and an EPS bearer identifier corresponding to the first identifier.
  • the downlink non-access stratum (NAS) transport message is a signaling message between the UE and the MME.
  • the NAS message is sent to the UE through the base station, but the base station does not parse the NAS message.
  • the base station sends a direct transmission message to the first user equipment, where the direct transmission message carries the first identifier and the EPS bearer identifier corresponding to the first identifier.
  • the EPS bearer identifier corresponding to the first identifier is an EPS bearer corresponding to a direct connection between the first user equipment and the second user equipment identified by the first identifier when performing path switching. And an identifier of the EPS bearer corresponding to the direct communication between the first user equipment and the second user equipment identified by the first identifier; Or an identifier of an EPS bearer corresponding to the direct communication path identified by the first identifier; or an EPS 7 corresponding to at least one of the direct communication paths identified by the first identifier Contained logo. This statement is made in the subsequent embodiments and is understood in the same manner as the present embodiment.
  • the first user equipment is switched by the direct communication path to an EPS bearer corresponding to the EPS bearer identifier.
  • the method further includes:
  • the second device sends a twelfth message to the base station, where the message carries the first identifier and an identifier corresponding to the EPS bearer.
  • the base station releases or deletes resources allocated to the first user equipment and/or the second user equipment according to the first identifier.
  • the base station sends a thirteenth message to the first user equipment, where the thirteenth message is used to indicate that the first user equipment and/or the second user equipment learns to perform the path switching.
  • the first user equipment and the second user equipment may also directly go to the first user equipment and the base station without using the base station serving the first user equipment and the second user equipment.
  • the MME served by the second user equipment sends a third message identical to the content of the first message, and the MME determines whether to switch the direct communication path to the network communication path, and obtains the first identifier. And after the MME determines that the path switching is performed, sending the path switch request message or the path switch notification message to the server serving the first user equipment and the second user equipment, and then performing step 405- 41 1.
  • the first user equipment and the second user equipment may also directly go to the first user equipment and not through the base station serving the first user equipment and the second user equipment.
  • the server served by the second user equipment sends a second message that is the same as the content of the first message, and the server determines whether to switch the direct communication path to the network communication path, and obtains the first identifier. .
  • the path switch request message or the path switch notification message is sent to the server that serves the first user equipment and the second user equipment, and then step 406- 41 1.
  • the first user The device and the second user device need to simultaneously switch the network communication path by the direct communication path.
  • the foregoing steps are only described by using the path switching of the first user equipment as an example.
  • the process of performing path switching by the second user equipment is the same as the process of performing path switching by the first user equipment.
  • the base station needs to send the direct transmission message to the second user equipment, and after receiving the direct transmission message, the second user equipment may
  • the direct communication path is switched to an EPS bearer corresponding to the EPS bearer identifier.
  • the MME When the server and the MME serving the first user equipment and the second user equipment are the same, and the base station is different, the MME further obtains the second user identifier of the second user equipment according to the first identifier. Obtaining, according to the second user identifier, a second base station serving the second user identifier, and then sending the downlink NAS transmission message to a second base station serving the second user equipment, where the second base station The same process as the above base station is completed.
  • the MME When the MME is different from the base station, the MME further obtains the second user identifier of the second user equipment according to the first identifier, and obtains the second user equipment according to the second user identifier of the second user equipment. a second device of the service, and then sending a first request message to the second device serving the second user device, where the first request message includes the second user identifier of the second user equipment and the first And the identifier is configured to enable the second device to establish the EPS bearer for the second user equipment according to the second user identifier of the second user equipment and the first identifier.
  • the method is the same, and the embodiments of the present invention are not described herein again.
  • the MME further needs to: obtain the second user identifier of the second user equipment according to the first identifier; Sending a second request message to the first server that is served by the first user equipment, where the second request message includes a second user identifier of the second user equipment and the first identifier; and then, the first server Obtaining, according to the second user identifier of the second user equipment, a second server serving the second user equipment, and sending, to the second server, the second user identifier of the second user equipment, and the first Identifying, to enable the second server to send a third request message to the second device, where the second device is configured according to the The second user identifier of the second user equipment and the first identifier determine the EP S bearer for the second user equipment.
  • the method is the same, and the embodiments of the present invention are not described herein again.
  • An embodiment of the present invention provides a method for path switching. As shown in FIG. 5, the method includes:
  • the first user equipment sends a first message to the base station, where the first message carries the first identifier.
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment. Directly communicating; or, the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the first message carries the first identifier, where the first message is used to enable the base station to learn the signal strength corresponding to the first identifier or the first user equipment and/or the second user.
  • the device requests to switch the direct communication path to the network communication path.
  • the base station determines whether to perform path switching according to the first message.
  • the base station determines whether the signal strength value corresponding to the first identifier is greater than or equal to a preset value. If the signal strength value corresponding to the first identifier is greater than or equal to the preset value, it is proved that the direct communication path signal quality of the first user equipment and the second user equipment is poor, and the direct communication needs to be performed. The path switches to the network communication path.
  • the base station determines that path switch needs to be performed.
  • step 503 is performed.
  • the base station sends a fourth message to the MME, where the fourth message carries the first identifier.
  • the fourth message may be a path switch request message or a path switch notification message.
  • the MME sends a path switch request message or a path switch notification message to the server, where the path switch request message or the path switch notification message carries the first identifier. 505.
  • the server sends a path switch response message to the MME.
  • the MME determines, according to the first identifier, a QoS corresponding to the first identifier.
  • the MME stores a correspondence between the identifier of the direct communication path and the corresponding QoS.
  • the MME sends a path switch request message or a path switch notification message to the first user equipment, where the path switch request message or the path switch notification message carries the first identifier.
  • the first user equipment interacts with the MME according to the path switching request message or the path switching notification message, obtains an EPS bearer that is switched by the direct communication path to a network communication path, and switches to the network. Communication path.
  • the first user equipment and the second user equipment may also directly go to the first user equipment and the base station without using the base station serving the first user equipment and the second user equipment.
  • the MME served by the second user equipment sends a third message identical to the content of the first message, and the MME determines whether to switch the direct communication path to the network communication path, and obtains the first identifier. And after the MME determines that the path switching is performed, sending the path switch request message or the path switch notification message to the server serving the first user equipment and the second user equipment, and then performing step 506- 508.
  • the first user equipment and the second user equipment may also directly go to the first user equipment and not through the base station serving the first user equipment and the second user equipment.
  • the server served by the second user equipment sends a second message that is the same as the content of the first message, and the server determines whether to switch the direct communication path to the network communication path, and obtains the first identifier. .
  • the path switch request message or the path switch notification message is sent to the server that serves the first user equipment and the second user equipment, and then step 506 is performed. 508.
  • the first user equipment and the second user equipment are required to be At the same time, the network communication path is switched by the direct communication path.
  • the foregoing steps are only described by using the path switching of the first user equipment as an example.
  • the process of performing path switching by the second user equipment is the same as the process of performing path switching by the first user equipment.
  • the MME When the MME and the base station are the same, the MME further needs to send the path to the first user equipment. Switching the request message or the path switch notification message, so that the second user equipment interacts with the MME according to the path switch request message or the path switch notification message, and obtains the switch from the direct communication path to the network communication path.
  • the EPS bears and switches to the network communication path.
  • the MME When the MME is different from the base station, the MME further obtains the second user identifier of the second user equipment according to the first identifier, and obtains the second user equipment according to the second user identifier of the second user equipment.
  • a second device of the service and then sending a first request message to the second device serving the second user device, where the first request message includes the second user identifier of the second user equipment and the first And the path, the second user equipment sends the path switch request message or the path switch notification message to the second user equipment, where the second user equipment is configured according to the path switch request message or the path switch notification message.
  • the second device interacts to obtain an EP S bearer that is switched by the direct communication path to the network communication path, and switches to the network communication path.
  • the MME further needs to: obtain the second user identifier of the second user equipment according to the first identifier; Sending a second request message to the first server that is served by the first user equipment, where the second request message includes a second user identifier of the second user equipment and the first identifier; and then, the first server Obtaining, according to the second user identifier of the second user equipment, a second server serving the second user equipment, and sending, to the second server, the second user identifier of the second user equipment, and the first And the second user equipment sends the third request message to the second device, where the second user equipment sends the path switch request message or the path switch notification message, where the second user equipment is configured according to the path Switching the request message or the path switch notification message, interacting with the second device, and obtaining the switch from the direct communication path to the network communication path
  • the EPS bears and switches to the network communication path.
  • the first user equipment or the second user equipment sends a message carrying the first identifier to the network management device (including the base station, the MME, the server, etc.), the first user equipment and The second user equipment establishes the EPS bearer corresponding to the first identifier, and the method for establishing the EPS bearer is the same as that in the foregoing embodiment, and details are not described herein again.
  • the method specifically includes:
  • the first user equipment sends a first message to the base station, where the first message carries the first A logo.
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment. Directly communicating; or, the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the first message carries the first identifier, where the first message is used to enable the base station to learn the signal strength corresponding to the first identifier or the first user equipment and/or the second user.
  • the device requests to switch the direct communication path to the network communication path.
  • the base station determines whether to perform path switching according to the first message.
  • the base station determines whether the signal strength value corresponding to the first identifier is greater than or equal to a preset value. If the signal strength value corresponding to the first identifier is greater than or equal to the preset value, it is proved that the direct communication path signal quality of the first user equipment and the second user equipment is poor, and the direct communication needs to be performed. The path switches to the network communication path.
  • the base station determines that path switch needs to be performed.
  • step 6 03 is performed.
  • the base station sends a fourth message to the MME, where the fourth message carries the first identifier.
  • the fourth message may be a path switch request message or a path switch notification message.
  • the MME sends a path switch request message or a path switch notification message to the server, where the path switch request message or the path switch notification message carries the first identifier.
  • the server sends a path switch response message to the MME.
  • the MME sends a message to the base station, where the message carries a first identifier.
  • the base station sends a message to the first user equipment, where the message carries the first identifier.
  • the message may specifically be a Radio Resource Control (RRC) request message.
  • RRC Radio Resource Control
  • the first user equipment determines an EP S bearer corresponding to the first identifier according to the message sent by the base station, and performs data transmission with the second user equipment according to the EPS.
  • the method further includes:
  • the first user equipment sends a message to the base station, where the message carries the first identifier.
  • the message may be an RRC response message.
  • the base station releases or deletes resources allocated to the first user equipment and/or the second user equipment according to at least the first identifier.
  • the base station sends a message for releasing a resource to the MME.
  • the EPS bearer corresponding to the first identifier refers to an EP S bearer corresponding to a direct connection between the first user equipment and the second user equipment; or an EPS bearer corresponding to the direct communication path. Or alternatively, carrying a corresponding point EPS bearer with at least one of the direct communication paths.
  • the message sent by the first user equipment or the second user equipment to the gateway device may also be included in the message. : a first identity of the first user equipment and a second identity of the second user equipment.
  • An embodiment of the present invention provides a method for path switching, where the first device determines to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, to obtain a first identifier; Determining, by the first identifier, the evolved packet system EPS bearer of the first user equipment and/or the second user equipment, so that the first user equipment and the second user equipment complete the A path switching process of the direct communication path to the network communication path.
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, The continuity of data transmission between UEs communicating using the direct communication path can be ensured, and the user experience is improved.
  • An embodiment of the present invention provides a first device, as shown in FIG. a device 70, the first device 70 includes: a first determining unit 71 and a second determining unit 72; the first determining unit 71 is configured to determine direct communication between the first user equipment and the second user equipment The path is switched to a network communication path, and the first identifier is obtained.
  • the second determining unit 72 is configured to determine, according to the first identifier, an evolved packet system EPS bearer of the first user equipment and/or the second user equipment, so that the first user equipment and the The second user equipment completes a path switching process from the direct communication path to the network communication path according to the EPS bearer.
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment. Directly communicating; or, the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the first determining unit 71 is specifically configured to:
  • the fourth message carries the first identifier
  • the fourth message is sent by the base station to the first user equipment and/or the second user equipment
  • the first message carries the first identifier, where the first message is used to enable the base station to learn the signal strength corresponding to the first identifier or the The first user equipment and/or the second user equipment request to switch the direct communication path to the network communication path; according to the fourth message, determining to switch the direct communication path to the network communication path, And obtaining the first identifier; or receiving a fifth message sent by the server, where the fifth message carries the first identifier, where the fifth message is that the server receives the first user equipment and/or Or the second message that is sent by the second user equipment to the first device, where the second message carries the first identifier, where the second message is used to enable the server to learn the First Identifying a corresponding signal strength or the first user equipment and/or the second user equipment requesting to switch the
  • first determining unit 7 1 is further specifically configured to:
  • the third message is used When the first device is informed that the first user equipment and/or the second user equipment requests to switch the direct communication path to a handover request or a handover notification message of the network communication path, according to the And three messages, determining to switch the direct communication path to the network communication path.
  • the second determining unit 72 is specifically configured to:
  • the gateway device Obtaining, according to the first identifier, the quality of service QoS corresponding to the first identifier, sending a sixth message to the gateway device, where the sixth message carries the QoS, and the sixth message is used to notify the gateway
  • the device establishes an EPS bearer of the QoS
  • the device and/or the second user equipment establishes the EPS bearer according to the first identifier, and learns that the EPS bearer is used to replace the direct connection identified by the first identifier, or the direct communication, or At least one of a direct communication path or the direct communication path.
  • the second determining unit 7 2 is further specifically configured to:
  • the eleventh message is used to notify the gateway device to establish an EP S bearer of the QoS.
  • the second determining unit 72 is further configured to:
  • the EPS bearer is established for the first user equipment and/or the second user equipment according to the first identifier.
  • the second determining unit 72 is specifically configured to:
  • the server sending a request message carrying the QoS to the PCRF, and the PCRF determines, according to the QoS, whether the network can provide the EP S bearer of the Qo S, If yes, it is determined to switch the direct communication path to the network communication path.
  • the second determining unit 72 is specifically configured to the first user equipment and
  • the second user equipment sends a message including the first identifier, so that the first user equipment and/or the second user equipment searches for the first identifier according to the first identifier.
  • EPS bearer
  • first message, the second message, or the third message further includes: a first user identifier of the first user equipment and a second user identifier of the second user equipment.
  • the second determining unit 7 2 is specifically configured to obtain, according to the first identifier, the first user identifier, and the second user identifier, a QoS corresponding to the first identifier.
  • the first device 70 further includes: an obtaining unit 73.
  • the obtaining unit 7 3 is configured to obtain, according to the first identifier, a second user identifier of the second user equipment.
  • the obtaining unit 7 3 is further configured to obtain, according to the second user identifier of the second user equipment, a second device that serves the second user equipment.
  • the second determining unit 72 is specifically configured to:
  • the EPS bearer establishing, by the first identifier, the EPS bearer according to the first identifier, and sending, by the second device, a first request message, where the first request message includes the first a second user identifier of the user equipment and the first identifier, so that the second device establishes the second user equipment according to the second user identifier of the second user equipment and the first identifier EPS 7 loaded.
  • the first device 70 further includes: an obtaining unit 73.
  • the obtaining unit 7 3 is configured to obtain a second user identifier of the second user equipment according to the first identifier.
  • the second determining unit 7 2 is specifically configured to:
  • the EPS bearer according to the first identifier, and sending, by the first server serving the first user equipment, a second request message, where the second request message includes the second user a second user identifier of the device and the first identifier, so that the first server obtains a second server serving the second user device according to the second user identifier of the second user equipment, and The second server sends the second user identifier of the second user equipment and the first identifier, so that the second server sends a third request message to the second device, where the second device is configured according to the The second user identifier of the second user equipment and the first identifier establish the EPS bearer for the second user equipment.
  • the first device further includes: a sending unit 74.
  • the sending unit 74 is configured to send a twelfth message to the base station, where the twelfth message carries the first identifier, so that the base station releases or deletes the first identifier according to the first identifier.
  • a resource allocated by the user equipment and/or the second user equipment to enable the base station to send a thirteenth message to the first user equipment and/or the second user equipment, where the thirteenth message is used to indicate The first user equipment and/or the second user equipment learns to perform the path switching.
  • An embodiment of the present invention provides a first device, where the first determining unit determines to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, to obtain a first identifier; Determining, according to the first identifier, an evolved packet system EP S bearer of the first user equipment and/or the second user equipment, so that the first user equipment and the second user equipment are according to the EP The S bearer completes the path switching process from the direct communication path to the network communication path.
  • the first determining unit determines to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, to obtain a first identifier; Determining, according to the first identifier, an evolved packet system EP S bearer of the first user equipment and/or the second user equipment, so that the first user equipment and the second user equipment are according to the EP
  • the S bearer completes the path switching process from the direct communication path to the network communication path.
  • the embodiment of the present invention provides a first user equipment.
  • the first user equipment 90 specifically includes: a sending unit 9 1 , a receiving unit 92 , and a determining unit 93 .
  • the sending unit 9 1 is configured to send a message to the third device, where the message carries a first identifier, where the message is used to enable the third device to learn the signal strength corresponding to the first identifier, or use And the first user equipment requests to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, so that the third device determines to switch the direct communication path according to the message. Is the network communication path.
  • the receiving unit 92 is configured to receive a message that is sent by the third device and includes the first identifier.
  • the determining unit 9 3 is configured to determine to switch the direct communication path to the network communication path according to the message.
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment. Directly communicating; or, the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the third device is specifically a base station or a mobility management entity MME or a server that serves the first user equipment, and the sending unit 9 1 is specifically configured to:
  • the first identifier is carried in the MME, and the MME determines to switch the direct communication path to the network communication path according to the fifth message, where the MME sends the first identifier to the base station. a message to cause the base station to a user equipment carrying the message of the first identifier; or
  • the receiving unit 92 is specifically configured to receive a path switching request sent by the third device
  • the determining unit 9 3 is specifically configured to: according to the path switching request, determine to switch the direct communication path to an EPS bearer corresponding to the first identifier;
  • the EPS After the first user equipment receives the message that is sent by the third device and includes the first identifier, the EPS is obtained according to the first identifier, and the quality of service QoS corresponding to the first identifier is obtained. And sending, after the tenth message carrying the QoS, is sent to the MME; or
  • the EPS bearer is configured to obtain, according to the first identifier, a quality of service QoS corresponding to the first identifier, and send the QoS to the mobility management entity, before the first user equipment sends a message to the third device.
  • the tenth message was created afterwards.
  • the determining unit 13 is configured to adjust a priority of the TFT of the direct communication path corresponding to the first identifier to be lower than a priority of the TFT of the EPS bearer, so that the first user The device performs data transmission with the second user equipment by using the EPS bearer.
  • the receiving unit 92 is configured to receive, by the third device, an eighth message, where the eighth message carries the first identifier
  • the determining unit 9 3 is specifically configured to establish an EPS bearer according to the eighth message.
  • the receiving unit 92 is configured to receive a ninth message sent by the third device, where the ninth message carries the first identifier;
  • the determining unit 9 3 is specifically configured to obtain, according to the first identifier, a quality of service QoS corresponding to the first identifier, and send a fourteenth message to the MME, where the fourteenth message carries Determining QoS, so that the MME establishes an EPS bearer for the first user equipment according to the QoS.
  • the message further includes: a first identifier of the first user equipment and a second user identifier of the second user equipment.
  • the sending unit 9 1 is further configured to:
  • the fifteenth message further carries the first information, so that the base station sends a message carrying the first information to the MME, so that the MME performs charging according to the first information;
  • the fifteenth message further carries the first information, so that the base station sends a message carrying the first information to the MME, so that the MME sends a message carrying the first information to the server, So that the server performs charging according to the first information;
  • the first information includes data traffic and/or communication time.
  • An embodiment of the present invention provides a first user equipment, where the sending unit sends a message to a third device, where the message carries a first identifier, where the message is used to enable the third device to learn the first identifier.
  • the sending unit sends a message to a third device, where the message carries a first identifier, where the message is used to enable the third device to learn the first identifier.
  • the receiving unit receives a message including the first identifier sent by the third device, and determines to switch the direct communication path to the Network communication path.
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, The continuity of data transmission between UEs communicating using the direct communication path can be ensured, and the user experience is improved.
  • the fourth device 100 includes: a receiving unit 101, a determining unit 102, and a sending unit 103.
  • the receiving unit 101 is configured to receive a message sent by the first user equipment and/or the second user equipment, where the message carries a first identifier, where the message is used to enable the fourth device to learn the first Identifying a corresponding signal strength, or for the first user equipment requesting to switch a direct communication path between the first user equipment and the second user equipment to a network communication path.
  • the determining unit 102 is configured to determine, according to the message, to switch the direct communication path to the network communication path.
  • the sending unit 103 is configured to send a request to the mobility management entity MME, where the request includes the first identifier, so that the MME determines the first user equipment and/or the second according to the request.
  • the EPS bearer corresponding to the user equipment, the first user equipment and the second user equipment complete a path switching process from the direct communication path to the network communication path according to the EPS bearer.
  • the determining unit 102 is specifically configured to:
  • the message is used when the first device learns that the first user equipment and/or the second user equipment requests a handover request or a handover notification message to switch the direct communication path to the network communication path, Based on the message, it is determined to switch the direct communication path to the network communication path.
  • the receiving unit 1 01 is further configured to:
  • the fourth device 100 further includes: a deleting unit 104.
  • the deleting unit 104 is configured to release or delete resources allocated to the first user equipment and/or the second user equipment according to at least the first identifier.
  • the sending unit 103 is further configured to send a thirteenth message to the first user equipment and/or the second user equipment, where the thirteenth message is used to indicate the first user equipment and / or the second user equipment is informed that the path switch is performed.
  • the embodiment of the present invention provides a fourth device, where the receiving unit receives a message sent by the first user equipment and/or the second user equipment, where the message carries a first identifier, and the message is used to enable the
  • the third device learns the signal strength corresponding to the first identifier, or is used by the first user equipment to request a direct communication path between the first user equipment and the second user equipment.
  • the determining unit determines to switch the direct communication path to the network communication path according to the message; the sending unit sends a request to the mobility management entity MME, where the request includes the An identifier, so that the MME determines an EPS bearer corresponding to the first user equipment and/or the second user equipment according to the request, where the first user equipment and the second user equipment are completed according to the EPS bearer A path switching process from the direct communication path to the network communication path.
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, The continuity of data transmission between UEs communicating using the direct communication path can be ensured, and the user experience is improved.
  • the embodiment of the present invention provides a first device, as shown in FIG. 12, the device is specifically a first device 1 20, and the first device 1 20 includes: a processor 1 21 and a processor 1 21;
  • the processor 1 21 is configured to determine to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, to obtain a first identifier.
  • the processor 1 21 is further configured to determine, according to the first identifier, an evolved packet system EPS bearer of the first user equipment and/or the second user equipment, so that the first user equipment and the The second user equipment completes a path switching process from the direct communication path to the network communication path according to the EPS bearer.
  • an evolved packet system EPS bearer of the first user equipment and/or the second user equipment so that the first user equipment and the The second user equipment completes a path switching process from the direct communication path to the network communication path according to the EPS bearer.
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment. Directly communicating; or, the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the processor 1 21 is specifically configured to:
  • the fourth message carries the first identifier
  • the fourth message is sent by the base station to the first user equipment and/or the second user equipment
  • the first message carries the first identifier, where the first message is used to enable the base station to learn the signal strength corresponding to the first identifier or the Determining, by the first user equipment and/or the second user equipment, the direct communication path to the network communication path; determining, according to the fourth message, the straight The communication path is switched to the network communication path, and the first identifier is obtained; or, the fifth message sent by the server is received, the fifth message carries the first identifier, and the fifth message is the
  • the server sends the second message to the first device, where the second message carries the first identifier, where the The second message is used to enable the server to learn the signal strength corresponding to the first identifier or the first user equipment and/or
  • processor 1 2 1 is further specifically configured to:
  • the third message is used When the first device is informed that the first user equipment and/or the second user equipment requests to switch the direct communication path to a handover request or a handover notification message of the network communication path, according to the And three messages, determining to switch the direct communication path to the network communication path.
  • processor 1 2 1 is specifically used to:
  • the gateway device Obtaining, according to the first identifier, the quality of service QoS corresponding to the first identifier, sending a sixth message to the gateway device, where the sixth message carries the QoS, and the sixth message is used to notify the gateway
  • the device establishes an EPS bearer of the QoS
  • the gateway device Receiving a seventh message sent by the gateway device, and sending an eighth message to the first user equipment and/or the second user equipment, where the eighth message carries the first identifier, so that the first user
  • the device and/or the second user equipment establishes the EPS bearer according to the first identifier, and learns that the EPS bearer is used to replace the direct connection identified by the first identifier, or the direct communication, or At least one of a direct communication path or the direct communication path.
  • the processor 1 2 1 is further specifically configured to:
  • the eleventh message is used to notify the gateway device to establish an EP S bearer of the QoS.
  • processor 1 2 1 is further specifically configured to:
  • the EPS bearer is established for the first user equipment and/or the second user equipment according to the first identifier.
  • processor 1 2 1 is specifically configured to:
  • the server sending a request message carrying the QoS to the PCRF, and the PCRF determines, according to the QoS, whether the network can provide the EP S bearer of the Qo S, If yes, it is determined to switch the direct communication path to the network communication path.
  • the processor 1 2 1 is specifically configured to send a message including the first identifier to the first user equipment and/or the second user equipment, so that the first user equipment and/or Or the second user equipment searches for the EPS bearer corresponding to the first identifier according to the first identifier.
  • first message, the second message, or the third message further includes: a first user identifier of a user equipment and a second user identifier of the second user equipment.
  • the processor 1 2 1 is specifically configured to obtain, according to the first identifier, the first user identifier, and the second user identifier, a QoS corresponding to the first identifier.
  • the processor 1 21 is configured to obtain, according to the first identifier, a second user identifier of the second user equipment.
  • the processor 1 21 is further configured to obtain, according to the second user identifier of the second user equipment, a second device that serves the second user equipment.
  • the processor 1 21 is specifically configured to:
  • the first identifier establishing, by the first identifier, the EPS bearer according to the first identifier, and sending, by the second device, a first request message, where the first request message includes a second user identifier of the second user equipment, and The first identifier is configured to enable the second device to establish the EPS 7 as the second user equipment according to the second user identifier of the second user equipment and the first identifier.
  • the first device 120 further includes: a processor 121.
  • the processor 1 21 is configured to obtain a second user identifier of the second user equipment according to the first identifier.
  • the processor 1 21 is specifically configured to:
  • the EPS bearer according to the first identifier, and sending, by the first server serving the first user equipment, a second request message, where the second request message includes the second user a second user identifier of the device and the first identifier, so that the first server obtains a second server serving the second user device according to the second user identifier of the second user equipment, and The second server sends the second user identifier of the second user equipment and the first identifier, so that the second server sends a third request message to the second device, where the second device is configured according to the The second user identifier of the second user equipment and the first identifier establish the EPS bearer for the second user equipment.
  • the first device further includes: a transmitter 1 22 .
  • the transmitter 1 22 is configured to send a twelfth message to the base station, where the twelfth message carries the first identifier, so that the base station is released or deleted according to at least the first identifier.
  • a resource allocated by the first user equipment and/or the second user equipment to enable the base station to send a thirteenth message to the first user equipment and/or the second user equipment.
  • the information is used to indicate that the first user equipment and/or the second user equipment learns to perform the path switching.
  • the embodiment of the present invention provides a first device, where the processor determines to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, to obtain a first identifier, and the processor is configured according to the foregoing Determining an evolved packet system EPS bearer of the first user equipment and/or the second user equipment, such that the first user equipment and the second user equipment are completed according to the EPS bearer A path switching process of direct communication path to the network communication path.
  • EPS bearer evolved packet system
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, The continuity of data transmission between UEs communicating using the direct communication path can be ensured, and the user experience is improved.
  • the first user equipment 140 specifically includes: a transmitter 141, a receiver 142, and a processor 143.
  • the transmitter 1 41 is configured to send a message to the third device, where the message carries a first identifier, where the message is used to enable the third device to learn the signal strength corresponding to the first identifier, or And the first user equipment requests to switch a direct communication path between the first user equipment and the second user equipment to a network communication path, so that the third device determines to switch the direct communication path according to the message. Is the network communication path.
  • the receiver 1 42 is configured to receive a message that is sent by the third device and includes the first identifier.
  • the processor 1 4 3 is configured to determine to switch the direct communication path to the network communication path according to the message.
  • the first identifier is used to identify a direct connection between the first user equipment and the second user equipment; or the first identifier is used to identify between the first user equipment and the second user equipment. Directly communicating; or, the first identifier is used to identify the direct communication path; or the first identifier is used to identify at least one bearer in the direct communication path.
  • the third device is specifically a base station or a mobility management entity MME or a server that serves the first user equipment.
  • the transmitter 1 41 is specifically configured to: Sending a first message to the base station, so that when the base station determines to switch the direct communication path to the network communication path according to the first message, sending a fourth message to the MME, where the fourth message is sent Carrying the first identifier, so that the MME determines to switch the direct communication path to the network communication path according to the fourth message; or, sending a second message to the server, so that the Determining, according to the second message, that the direct communication path is switched to the network communication path; or
  • the first identifier is carried in the MME, and the MME determines to switch the direct communication path to the network communication path according to the fifth message, where the MME sends the first identifier to the base station. a message, so that the base station carries the message of the first identifier to the first user equipment; or
  • the receiver 1 4 2 is specifically configured to receive a path switching request sent by the third device
  • the processor 1 4 3 is specifically configured to: according to the path switching request, determine to switch the direct communication path to an EPS bearer corresponding to the first identifier;
  • the EPS After the first user equipment receives the message that is sent by the third device and includes the first identifier, the EPS is obtained according to the first identifier, and the quality of service QoS corresponding to the first identifier is obtained. And sending, after the tenth message carrying the QoS, is sent to the MME; or
  • the EPS bearer is configured to obtain, according to the first identifier, a quality of service QoS corresponding to the first identifier, and send the QoS to the mobility management entity, before the first user equipment sends a message to the third device.
  • the tenth message was created afterwards.
  • the processor 1 4 3 is specifically configured to adjust a priority of the TFT of the direct communication path corresponding to the first identifier to be lower than a priority of the TFT of the EPS bearer, so that the first The user equipment performs data transmission with the second user equipment by using the EPS bearer.
  • the receiver 1 42 is specifically configured to receive, by the third device, an eighth message, where the eighth message carries the first identifier;
  • the processor 1 4 3 is specifically configured to establish an EPS bearer according to the eighth message; or
  • the receiver 1 42 is specifically configured to receive a ninth message sent by the third device, where the ninth message carries the first identifier;
  • the processor 1 4 3 is specifically configured to obtain, according to the first identifier, a quality of service QoS corresponding to the first identifier, and send a fourteenth message to the MME, where the fourteenth message carries And the QoS, so that the MME establishes an EPS bearer for the first user equipment according to the QoS.
  • the message further includes: a first identifier of the first user equipment and a second user identifier of the second user equipment.
  • the transmitter 1 4 1 is further configured to:
  • a 16th message of the first identifier so that the MME sends a 17th message carrying the first identifier to the base station, so that the base station releases or deletes at least according to the first identifier.
  • the fifteenth message further carries the first information, so that the base station sends a message carrying the first information to the MME, so that the MME performs charging according to the first information;
  • the fifteenth message further carries the first information, so that the base station sends a message carrying the first information to the MME, so that the MME sends a message carrying the first information to the server, So that the server performs charging according to the first information;
  • the first information includes data traffic and/or communication time.
  • An embodiment of the present invention provides a first user equipment, where the sender sends a message to a third device, where the message carries a first identifier, where the message is used to enable the third device to learn the first identifier.
  • the third device determines according to the message Switching the direct communication path to the network
  • the receiver receives the message that is sent by the third device and includes the first identifier, and determines to switch the direct communication path to the network communication path according to the message.
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, The continuity of data transmission between UEs communicating using the direct communication path can be ensured, and the user experience is improved.
  • the fourth device 160 includes: a receiver 1 61, a processor 1 62, and a transmitter 163.
  • the receiver 1 61 is configured to receive a message sent by the first user equipment and/or the second user equipment, where the message carries a first identifier, where the message is used to enable the fourth device to learn the first Identifying a corresponding signal strength, or for the first user equipment requesting to switch a direct communication path between the first user equipment and the second user equipment to a network communication path.
  • the processor 1 62 is configured to determine to switch the direct communication path to the network communication path according to the message.
  • the transmitter 1 6 3 is configured to send a request to the mobility management entity MME, where the request includes the first identifier, so that the MME determines the first user equipment and/or the first according to the request.
  • the EPS bearer corresponding to the two user equipments, the first user equipment and the second user equipment complete a path switching process from the direct communication path to the network communication path according to the EPS bearer.
  • the processor 1 62 is specifically configured to:
  • the message is used when the first device learns that the first user equipment and/or the second user equipment requests a handover request or a handover notification message to switch the direct communication path to the network communication path, Based on the message, it is determined to switch the direct communication path to the network communication path.
  • the receiver 1 61 is further configured to:
  • the fourth device 1 60 further includes: a deleting unit 104.
  • the deleting unit 104 is configured to release or delete resources allocated to the first user equipment and/or the second user equipment according to at least the first identifier.
  • the transmitter 1 6 3 is further configured to send a thirteenth message to the first user equipment and/or the second user equipment, where the thirteenth message is used to indicate the first user equipment And/or the second user equipment is informed that the path switch is performed.
  • the fourth device may specifically be a base station or a server.
  • the embodiment of the present invention provides a fourth device, where the receiver receives a message sent by the first user equipment and/or the second user equipment, where the message carries a first identifier, and the message is used to enable the
  • the third device learns the signal strength corresponding to the first identifier, or is used by the first user equipment to switch the direct communication path between the first user equipment and the second user equipment to a network communication path; Determining to switch the direct communication path to the network communication path according to the message; the sender sends a request to the mobility management entity MME, where the request includes the first identifier, so that the MME is configured according to the Determining an EPS bearer corresponding to the first user equipment and/or the second user equipment, where the first user equipment and the second user equipment complete the direct communication path to the network according to the EPS bearer The path switching process of the communication path.
  • the UE communicating by using the direct communication path when the UE communicating by using the direct communication path is outside the coverage of the direct communication path, it can be determined that the direct communication path needs to be switched to the network communication path, and the UE can be successfully switched to the network communication path, and further, The continuity of data transmission between UEs communicating using the direct communication path can be ensured, and the user experience is improved.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used.
  • Knot The integration can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (pr o ss or ) to perform all or part of the steps of the methods of the various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read only memory (ROM, Rea d-Only Memory), a random access memory (RAM, Random Accece ss Memory), a magnetic disk or an optical disk, and the like.
  • the medium of the program code includes: a USB flash drive, a removable hard disk, a read only memory (ROM, Rea d-Only Memory), a random access memory (RAM, Random Accece ss Memory), a magnetic disk or an optical disk, and the like.
  • the medium of the program code includes: a USB flash drive, a removable hard disk, a read only memory (ROM, Rea d-Only Memory), a random access memory (RAM, Random Accece ss Memory), a magnetic disk or an optical disk, and the like.
  • the medium of the program code includes: a USB flash drive, a removable hard disk, a read only memory (ROM, Rea d-Only Memory), a random access memory (RAM

Abstract

本发明公开一种路径切换的方法、设备和用户设备,能够保证利用直接通信路径进行通信的UE之间数据传输的连续性,提高用户体验。该方法包括:第一用户设备向第三设备发送消息,所述消息中携带有第一标识,所述消息用于使所述第三设备获知所述第一标识对应的信号强度,或用于所述第一用户设备请求将所述第一用户设备和第二用户设备间的直接通信路径切换为网络通信路径,以使得所述第三设备根据所述消息确定将所述直接通信路径切换为所述网络通信路径;所述第一用户设备接收所述第三设备发送的包括所述第一标识的消息,根据所述消息确定将所述直接通信路径切换为所述网络通信路径。本发明涉及通信领域。

Description

一种路径切换的方法、 设备和用户设备 技术领域
本发明涉及通信领域, 尤其涉及一种路径切换的方法、 设备和用户 设备。
背景技术
传统的移动网络中, 用户设备 (User Equipment, UE ) 之间的数据 通信路径要经过核心网网元服务网关 ( Serving Gateway, SGW ) 和分组 数据网关 (Packet Data Network Gateway, PGW ) 。 两个 巨离较近的 UE 之间传递数据时, 也需要经过核心网进行传递, 这样, 对核心网的网络 传输带宽有较大的需求量, 并且使得数据传输效率较低。
为了节省核心网的带宽, 提高近距离 UE的传输效率, 现有技术中, 对于两个近距离的 UE, 可以根据安全密钥进行协商, 建立直接通信路径 ( Direct Communication Path, DCP ) 来进行数据传输。
在两个近距离的 UE使用直接通信路径进行数据传输时, 当两个 UE 进行移动, 超出直接通信路径的通信范围时, 无法为 UE提供连续的数据 连接, 保证业务的连续性。
发明内容
本发明的实施例提供一种路径切换的方法、 设备和用户设备, 能够 保证利用直接通信路径进行通信的 UE之间数据传输的连续性,提高用户 体验。
为达到上述目的, 本发明的实施例釆用如下技术方案:
第一方面, 提供一种路径切换的方法, 所述方法包括:
第一设备确定将第一用户设备和第二用户设备间的直接通信路径切 换为网络通信路径, 获得第一标识;
所述第一设备根据所述第一标识确定所述第一用户设备和 /或所述 第二用户设备的演进的分组系统 EPS承载, 以使得所述第一用户设备与 所述第二用户设备根据所述 EPS承载完成由所述直接通信路径到所述网 络通信路径的路径切换过程;
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
在第一种可能的实现方式中, 结合第一方面, 所述第一设备确定将 第一用户设备和第二用户设备间的直接通信路径切换为网络通信路径, 获得第一标识具体包括:
所述第一设备接收基站发送的第四消息, 所述第四消息中携带所述 第一标识, 所述第四消息是所述基站接收到所述第一用户设备和 /或所述 第二用户设备发送的第一消息后向所述第一设备发送的, 所述第一消息 中携带有所述第一标识, 所述第一消息用于使所述基站获知所述第一标 识对应的信号强度或者所述第一用户设备和 /或所述第二用户设备请求 将所述直接通信路径切换为所述网络通信路径; 所述第一设备根据所述 第四消息, 确定将所述直接通信路径切换为所述网络通信路径, 并获得 所述第一标识; 或者,
所述第一设备接收服务器发送的第五消息, 所述第五消息中携带所 述第一标识, 所述第五消息是所述服务器收到所述第一用户设备和 /或所 述第二用户设备发送的第二消息后向所述第一设备发送的, 所述第二消 息中携带有所述第一标识, 所述第二消息用于使所述服务器获知所述第 一标识对应的信号强度或者所述第一用户设备和 /或所述第二用户设备 请求将所述直接通信路径切换为所述网络通信路径; 所述第一设备根据 所述第五消息, 确定将所述直接通信路径切换为所述网络通信路径, 并 获得所述第一标识; 或者,
所述第一设备接收所述第一用户设备和 /或所述第二用户设备发送 的第三消息, 所述第三消息中携带有所述第一标识, 所述第三消息用于 使所述第一设备获知所述第一标识对应的信号强度或者所述第一用户设 备和 /或所述第二用户设备请求将所述直接通信路径切换为所述网络通 信路径; 所述第一设备根据所述第三消息确定将所述直接通信路径切换 为所述网络通信路径, 并获得所述第一标识。
在第二种可能的实现方式中, 结合第一方面的第一种可能的实现方 式, 所述第一设备根据所述第三消息确定将所述直接通信路径切换为所 述网络通信路径具体包括:
若所述第三消息中携带的所述第一标识对应的信号强度小于或等于 预设值, 则所述第一设备确定将所述直接通信路径切换为所述网络通信 路径; 或者,
所述第三消息为用于使所述第一设备获知所述第一用户设备和 /或 所述第二用户设备请求将所述直接通信路径切换为所述网络通信路径的 切换请求或切换通知消息时, 所述第一设备根据所述第三消息, 确定将 所述直接通信路径切换为所述网络通信路径。
在第三种可能的实现方式中, 结合第一方面至第一方面的第二种可 能的实现方式中的任意一项, 所述第一设备根据所述第一标识确定所述 第一用户设备和 /或所述第二用户设备的演进的分组系统 EPS 承载具体 包括:
所述第一设备根据至少根据所述第一标识获得所述第一标识对应的 服务质量 QoS ;
所述第一设备向网关设备发送第六消息, 所述第六消息中携带所述 QoS , 所述第六消息用于告知所述网关设备建立所述 QoS的 EPS承载; 所述第一设备接收所述网关设备发送的第七消息, 向第一用户设备 和 /或所述第二用户设备发送第八消息, 所述第八消息中携带所述第一标 识, 以使得所述第一用户设备和 /或所述第二用户设备根据所述第一标识 建立所述 EP S承载, 并获知所述 EPS承载用于代替所述第一标识所标识 的直接连接, 或所述直接通信, 或所述直接通信路径或所述直接通信路 径中的至少一个 载。
在第四种可能的实现方式中, 结合第一方面至第一方面的第二种可 能的实现方式中的任意一项, 所述第一设备根据所述第一标识确定所述 第一用户设备和 /或所述第二用户设备的演进的分组系统 EPS 承载具体 包括:
所述第一设备向所述第一用户设备和 /或所述第二用户设备发送第 九消息, 所述第九消息中携带所述第一标识, 以使所述第一用户设备和 / 或所述第二用户设备至少根据所述第一标识获得与所述第一标识对应的 所述 QoS ;
接收所述第一用户设备和 /或所述第二用户设备发送的携带所述 Qo S 的第十消息, 向所述网关设备发送第十一消息, 所述第十一消息中携带 所述 QoS , 所述第十一消息用于告知所述网关设备建立所述 QoS 的 EP S 承载。
在第五种可能的实现方式中, 结合第一方面至第一方面的第四种实 现方式中的任意一项, 所述第一设备根据所述第一标识确定所述第一用 户设备和 /或所述第二用户设备的演进的分组系统 EPS承载具体包括: 所述第一设备至少根据所述第一标识获得所述第一标识对应的 QoS ; 所述第一设备根据所述 Qo S判断是否将所述直接通信路径切换为所 述网络通信路径;
若所述第一设备判断将所述直接通信路径切换为所述网络通信路 径,根据所述第一标识为所述第一用户设备和 /或所述第二用户设备建立 所述 EPS承载。
在第六种可能的实现方式中, 结合第一方面的第五种可能的实现方 式, 所述第一设备根据所述 QoS判断是否将所述直接通信路径切换为所 述网络通信路径具体包括:
所述第一设备根据所述 QoS直接判断网络是否提供所述 QoS 的 EPS 承载, 若是, 则判断将所述直接通信路径切换为所述网络通信路径; 或 者,
所述第一设备向所述网关设备发送携带所述 QoS 的请求消息, 以使 所述网关设备向策略计费规则功能实体 PCRF发送携带所述 QoS的请求消 息, 以使得所述 PCRF根据所述 QoS判断网络是否提供所述 QoS的 EPS承 载, 若是, 则判断将所述直接通信路径切换为所述网络通信路径; 或者, 所述第一设备向所述服务器发送携带所述 QoS 的请求消息, 所述服 务器向所述 PCRF发送携带所述 QoS的请求消息,所述 PCRF根据所述 QoS 判断网络是否可以提供所述 Qo S的 EPS承载, 若是, 则判断将所述直接 通信路径切换为所述网络通信路径。
在第七种可能的实现方式中, 结合第一方面至第一方面的第二种可 能的实现方式, 所述第一设备根据所述第一标识确定所述第一用户设备 和 /或所述第二用户设备的演进的分组系统 EPS承载具体包括:
所述第一设备向所述第一用户设备和 /或所述第二用户设备发送包 括所述第一标识的消息, 以使得所述第一用户设备和 /或所述第二用户设 备根据所述第一标识, 查找所述第一标识对应的 EPS承载。
在第八种可能的实现方式中, 结合第一方面的第一种可能的实现方 式至第七种可能的实现方式, 所述第一消息、 第二消息或第三消息中还 包括: 所述第一用户设备的第一用户标识和所述第二用户设备的第二用 户标识。
在第九种可能的实现方式中, 结合第一方面的第八种可能的实现方 式, 所述第一设备至少根据所述第一标识获得所述第一标识对应的 QoS 具体包括:
所述第一设备根据所述第一标识、 所述第一用户标识和所述第二用 户标识, 获得所述第一标识对应的 Qo S。
在第十种可能的实现方式中, 结合第一方面至第一方面的第九种可 能的实现方式中的任意一项, 所述第一设备根据所述第一标识确定所述 第一用户设备和 /或所述第二用户设备的演进的分组系统 EPS承载之前, 还包括:
所述第一设备根据所述第一标识获得所述第二用户设备的第二用户 标识;
所述第一设备根据所述第二用户设备的第二用户标识获得为所述第 二用户设备服务的第二设备;
所述第一设备根据所述第一标识确定所述第一用户设备和 /或所述 第二用户设备的演进的分组系统 EPS承载具体包括:
所述第一设备根据所述第一标识为所述第一用户设备建立所述 EP S 承载;
所述第一设备向所述第二设备发送第一请求消息, 所述第一请求消 息包括所述第二用户设备的第二用户标识和所述第一标识, 以使得所述 第二设备根据所述第二用户设备的第二用户标识和所述第一标识为所述 第二用户设备建立所述 EPS承载。
在第十一种可能的实现方式中, 结合第一方面至第一方面的第九种 可能的实现方式中的任意一项, 所述第一设备根据所述第一标识确定所 述第一用户设备和 /或所述第二用户设备的演进的分组系统 EPS 承载之 前, 还包括:
所述第一设备根据所述第一标识获得第二用户设备的第二用户标 识;
所述第一设备根据所述第一标识确定所述第一用户设备和 /或所述 第二用户设备的演进的分组系统 EPS承载具体包括:
所述第一设备根据所述第一标识为所述第一用户设备建立所述 EPS 承载;
所述第一设备向为所述第一用户设备服务的第一服务器发送第二请 求消息, 所述第二请求消息包括所述第二用户设备的第二用户标识和所 述第一标识, 以使得所述第一服务器根据所述第二用户设备的第二用户 标识获得为所述第二用户设备服务的第二服务器, 并向所述第二服务器 发送所述第二用户设备的第二用户标识和所述第一标识, 以使得所述第 二服务器向所述第二设备发送第三请求消息, 所述第二设备根据所述第 二用户设备的第二用户标识和所述第一标识为所述第二用户设备建立所 述 EPS承载。
在第十二种可能的实现方式中, 结合第一方面至第一方面的第十一 种可能的实现方式中的任意一项, 所述第一设备根据所述第一标识确定 所述第一用户设备和 /或所述第二用户设备的演进的分组系统 EPS 承载 之前, 还包括:
所述第一设备向所述基站发送第十二消息, 所述第十二消息携带所 述第一标识, 以使所述基站至少根据所述第一标识释放或删除为所述第 一用户设备和 /或第二用户设备分配的资源, 以使所述基站向所述第一用 户设备和 /或所述第二用户设备发送第十三消息, 所述第十三消息用于指 示所述第一用户设备和 /或所述第二用户设备获知进行所述路径切换。
第二方面, 提供一种路径切换的方法, 所述方法包括:
第一用户设备向第三设备发送消息, 所述消息中携带有第一标识, 所述消息用于使所述第三设备获知所述第一标识对应的信号强度, 或用 于所述第一用户设备请求将所述第一用户设备和第二用户设备间的直接 通信路径切换为网络通信路径, 以使得所述第三设备根据所述消息确定 将所述直接通信路径切换为所述网络通信路径;
所述第一用户设备接收所述第三设备发送的包括所述第一标识的消 息, 根据所述消息确定将所述直接通信路径切换为所述网络通信路径; 其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
在第一种可能的实现方式中, 结合第二方面, 所述第三设备具体是 为所述第一用户设备服务的基站或移动性管理实体 MME或服务器; 所述 第一用户设备向第三设备发送消息具体包括:
所述第一用户设备向所述基站发送第一消息, 以使得所述基站根据 所述第一消息确定将所述直接通信路径切换为所述网络通信路径时, 向 所述 MME发送第四消息, 所述第四消息中携带有所述第一标识, 以使得 所述 MME根据所述第四消息确定将所述直接通信路径切换为所述网络通 信路径; 或者,
所述第一用户设备向所述服务器发送第二消息, 以使得所述服务器 根据所述第二消息确定将所述直接通信路径切换为所述网络通信路径 时; 或者,
所述第一用户设备向所述服务器发送第二消息, 以使得所述服务器 根据所述第二消息确定将所述直接通信路径切换为所述网络通信路径 时, 向所述 MME发送第五消息, 所述第五消息中携带有所述第一标识, 以使得所述 MME根据所述第五消息确定将所述直接通信路径切换为所述 网络通信路径, 所述 MME向所述基站发送携带所述第一标识的消息, 以 使所述基站向所述第一用户设备携带所述第一标识的消息; 或者,
所述第一用户设备向所述 MME发送第三消息, 以使得所述 MME根据 所述第三消息确定将所述直接通信路径切换为所述网络通信路径。
在第二种可能的实现方式中, 结合第二方面或第二方面的第一种可 能的实现方式, 所述第一用户设备接收所述第三设备发送的包括所述第 一标识的消息, 根据所述消息确定将所述直接通信路径切换为所述网络 通信路径具体包括:
所述第一用户设备接收所述第三设备发送的路径切换请求, 根据所 述路径切换请求确定将所述直接通信路径切换为所述第一标识对应的 EPS承载;
其中, 所述 EPS承载是所述第一用户设备接收所述第三设备发送的 包括所述第一标识的消息之后, 至少根据所述第一标识获得所述第一标 识对应的服务质量 QoS , 并向所述 MME发送携带所述 QoS 的第十消息后 建立的; 或者,
所述 EPS承载是所述第一用户设备向所述第三设备发送消息之前, 至少根据所述第一标识获得所述第一标识对应的服务质量 QoS , 并向移 动管理实体发送携带所述 QoS的第十消息后建立的。
在第三种可能的实现方式中, 结合第二方面至第二方面的第二种可 能的实现方式中的任意一项, 所述根据所述消息确定将所述直接通信路 径切换为所述网络通信路径具体包括:
所述第一用户设备将所述第一标识对应的直接通信路径的 TFT的优 先级调整为低于所述 EP S承载的 TFT的优先级, 以使得所述第一用户设 备通过所述 EPS承载与所述第二用户设备进行数据传输。
在第四种可能的实现方式中, 结合第二方面或第二方面的第一种可 能的实现方式, 所述第一用户设备接收所述第三设备发送的包括所述第 一标识的消息, 根据所述消息确定将所述直接通信路径切换为所述网络 通信路径具体包括:
所述第一用户设备接收所述第三设备发送第八消息, 所述第八消息 中携带所述第一标识, 所述第一用户设备根据所述第八消息建立 EPS承 载 或者,
所述第一用户设备接收所述第三设备发送的第九消息, 所述第九消 息中携带所述第一标识, 所述第一用户设备至少根据所述第一标识获得 所述第一标识对应的服务质量 QoS , 所述第一用户设备向所述 MME发送 第十四消息, 所述第十四消息中携带有所述 QoS , 以使得所述 MME根据 所述 QoS为所述第一用户设备建立 EP S承载。
在第五种可能的实现方式中, 结合第二方面至第二方面的第四种可 能的实现方式, 所述消息中还包括: 第一用户设备的第一标识和第二用 户设备的第二用户标识。
在第六种可能的实现方式中, 结合第二方面至第二方面的第五种可 能的实现方式中的任意一项, 所述第一用户设备接收所述第三设备发送 的包括所述第一标识的消息, 根据所述消息确定将所述直接通信路径切 换为所述网络通信路径之后, 还包括:
所述第一用户设备向所述基站发送第十五消息, 所述第十五消息携 带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除为所 述第一用户设备和 /或第二用户设备分配的资源; 或者,
所述第一用户设备向所述服务器发送第十五消息, 所述第十五消息 携带所述第一标识, 以使所述服务器获知所述路径切换完成, 并向所述
MME发送携带所述第一标识的第十六消息, 以使所述 MME 向所述基站发 送携带所述第一标识的第十七消息, 以使所述基站至少根据所述第一标 识释放或删除为所述第一用户设备和 /或第二用户设备分配的资源。
在第七种可能的实现方式中, 结合第二方面的第六种可能的实现方 式, 所述第十五消息中还携带第一信息, 以使所述基站向所述 MME发送 携带所述第一信息的消息, 以使所述 MME根据所述第一信息进行计费; 或者,
所述第十五消息还携带第一信息, 以使所述基站向所述 MME发送携 带所述第一信息的消息, 以使所述 MME向所述服务器发送携带所述第一 信息的消息, 以使所述服务器根据所述第一信息进行计费;
所述第一信息包括数据流量和 /或通信时间。
第三方面, 提供一种路径切换的方法, 其特征在于, 所述方法包括: 第四设备接收第一用户设备和 /或第二用户设备发送的消息,所述消 息中携带有第一标识, 所述消息用于使所述第四设备获知所述第一标识 对应的信号强度, 或用于所述第一用户设备请求将所述第一用户设备和 第二用户设备间的直接通信路径切换为网络通信路径;
所述第四设备根据所述消息确定将所述直接通信路径切换为所述网 络通信路径;
所述第四设备向移动性管理实体 MME发送请求, 所述请求中包括所 述第一标识, 以使得所述 MME 根据所述请求确定所述第一用户设备和 / 或第二用户设备对应的 EPS承载, 所述第一用户设备与所述第二用户设 备根据所述 EP S承载完成由所述直接通信路径到所述网络通信路径的路 径切换过程。
在第一种可能的实现方式中, 结合第三方面, 所述第四设备根据所 述消息确定将所述直接通信路径切换为所述网络通信路径具体包括: 若所述消息中携带的所述第一标识对应的信号强度小于或等于预设 值, 则所述第四设备确定将所述直接通信路径切换为所述网络通信路径; 或者, 所述消息为用于所述第一设备获知所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径的切换请 求或切换通知消息时, 所述第四设备根据所述消息, 确定将所述直接通 信路径切换为所述网络通信路径。
在第二种可能的实现方式中, 结合第三方面或第三方面的第一种可 能的实现方式, 所述第四设备为基站时, 所述第四设备向移动性管理实 体 MME发送请求消息之后, 还包括:
接收所述 MME发送的第十二消息, 所述第十二消息携带所述第一标 识;
所述基站至少根据所述第一标识释放或删除为所述第一用户设备和
/或所述第二用户设备分配的资源;
所述基站向所述第一用户设备和 /或所述第二用户设备发送第十三 消息, 所述第十三消息用于指示所述第一用户设备和 /或所述第二用户设 备获知进行所述路径切换。
第四方面, 提供一种设备, 所述设备具体为第一设备, 所述第一设 备包括: 第一确定单元和第二确定单元;
所述第一确定单元, 用于确定将第一用户设备和第二用户设备间的 直接通信路径切换为网络通信路径, 获得第一标识;
所述第二确定单元, 用于根据所述第一标识确定所述第一用户设备 和 /或所述第二用户设备的演进的分组系统 EPS承载, 以使得所述第一用 户设备与所述第二用户设备根据所述 EPS承载完成由所述直接通信路径 到所述网络通信路径的路径切换过程;
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
在第一种可能的实现方式中, 结合第四方面, 所述第一确定单元, 具体用于:
接收基站发送的第四消息, 所述第四消息中携带所述第一标识, 所 述第四消息是所述基站接收到所述第一用户设备和 /或所述第二用户设 备发送的第一消息后向所述第一设备发送的, 所述第一消息中携带有所 述第一标识, 所述第一消息用于使所述基站获知所述第一标识对应的信 号强度或者所述第一用户设备和 /或所述第二用户设备请求将所述直接 通信路径切换为所述网络通信路径; 根据所述第四消息, 确定将所述直 接通信路径切换为所述网络通信路径, 并获得所述第一标识; 或者, 接收服务器发送的第五消息, 所述第五消息中携带所述第一标识, 所述第五消息是所述服务器收到所述第一用户设备和 /或所述第二用户 设备发送的第二消息后向所述第一设备发送的, 所述第二消息中携带有 所述第一标识, 所述第二消息用于使所述服务器获知所述第一标识对应 的信号强度或者所述第一用户设备和 /或所述第二用户设备请求将所述 直接通信路径切换为所述网络通信路径; 根据所述第五消息, 确定将所 述直接通信路径切换为所述网络通信路径, 并获得所述第一标识; 或者, 接收所述第一用户设备和 /或所述第二用户设备发送的第三消息,所 述第三消息中携带有所述第一标识, 所述第三消息用于使所述第一设备 获知所述第一标识对应的信号强度或者所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径; 根据所 述第三消息确定将所述直接通信路径切换为所述网络通信路径, 并获得 所述第一标识。
在第二种可能的实现方式中, 结合第四方面的第一种可能的实现方 式, 所述第一确定单元, 具体用于:
若所述第三消息中携带的所述第一标识对应的信号强度小于或等于 预设值, 则确定将所述直接通信路径切换为所述网络通信路径; 或者, 所述第三消息为用于使所述第一设备获知所述第一用户设备和 /或 所述第二用户设备请求将所述直接通信路径切换为所述网络通信路径的 切换请求或切换通知消息时, 根据所述第三消息, 确定将所述直接通信 路径切换为所述网络通信路径。
在第三种可能的实现方式中, 结合第四方面至第四方面的第二种可 能的实现方式中的任意一项, 所述第二确定单元, 具体用于:
根据至少根据所述第一标识获得所述第一标识对应的服务质量 QoS ; 向网关设备发送第六消息, 所述第六消息中携带所述 QoS , 所述第 六消息用于告知所述网关设备建立所述 QoS的 EPS承载; 接收所述网关设备发送的第七消息, 向第一用户设备和 /或所述第二 用户设备发送第八消息, 所述第八消息中携带所述第一标识, 以使得所 述第一用户设备和 /或所述第二用户设备根据所述第一标识建立所述 EPS 承载, 并获知所述 EPS承载用于代替所述第一标识所标识的直接连接, 或所述直接通信, 或所述直接通信路径或所述直接通信路径中的至少一 个承载。
在第四种可能的实现方式中, 结合第四方面至第四方面的第三种可 能的实现方式, 所述第二确定单元, 具体用于:
向所述第一用户设备和 /或所述第二用户设备发送第九消息,所述第 九消息中携带所述第一标识, 以使所述第一用户设备和 /或所述第二用户 设备至少根据所述第一标识获得与所述第一标识对应的所述 QoS ;
接收所述第一用户设备和 /或所述第二用户设备发送的携带所述 Qo S 的第十消息, 向所述网关设备发送第十一消息, 所述第十一消息中携带 所述 QoS , 所述第十一消息用于告知所述网关设备建立所述 QoS 的 EP S 承载。
在第五种可能的实现方式中, 结合第四方面至第四方面的第四种可 能的实现方式中的任意一项, 所述第二确定单元, 具体用于:
至少根据所述第一标识获得所述第一标识对应的 QoS ;
根据所述 QoS判断是否将所述直接通信路径切换为所述网络通信路 径;
若判断将所述直接通信路径切换为所述网络通信路径, 根据所述第 一标识为所述第一用户设备和 /或所述第二用户设备建立所述 EPS承载。
在第六种可能的实现方式中, 结合第四方面的第五种可能的实现方 式, 所述确定单元, 具体用于:
根据所述 QoS直接判断网络是否提供所述 QoS的 EPS承载, 若是, 则判断将所述直接通信路径切换为所述网络通信路径; 或者,
向所述网关设备发送携带所述 QoS 的请求消息, 以使所述网关设备 向策略计费规则功能实体 PCRF发送携带所述 QoS的请求消息, 以使得所 述 PCRF根据所述 QoS判断网络是否提供所述 QoS的 EPS承载, 若是, 则 判断将所述直接通信路径切换为所述网络通信路径; 或者,
向所述服务器发送携带所述 QoS 的请求消息, 所述服务器向所述 PCRF发送携带所述 QoS的请求消息, 所述 PCRF根据所述 QoS判断网络 是否可以提供所述 Qo S的 EP S承载, 若是, 则判断将所述直接通信路径 切换为所述网络通信路径。
在第七种可能的实现方式中, 结合第四方面至第四方面的第六种可 能的实现方式中的任意一项, 所述第二确定单元, 具体用于向所述第一 用户设备和 /或所述第二用户设备发送包括所述第一标识的消息, 以使得 所述第一用户设备和 /或所述第二用户设备根据所述第一标识, 查找所述 第一标识对应的 EPS承载。
在第八种可能的实现方式中, 结合第四方面的第一种可能的实现方 式中的任意一项, 所述第一消息、 第二消息或第三消息中还包括: 所述 第一用户设备的第一用户标识和所述第二用户设备的第二用户标识。
在第九种可能的实现方式中, 结合第四方面的第八种可能的实现方 式, 所述第二确定单元, 具体用于根据所述第一标识、 所述第一用户标 识和所述第二用户标识, 获得所述第一标识对应的 QoS。
在第十种可能的实现方式中, 结合第四方面至第四方面的第九种可 能的实现方式中的任意一项, 所述第一设备还包括: 获得单元;
所述获得单元, 用于根据所述第一标识获得所述第二用户设备的第 二用户标识;
所述获得单元, 还用于根据所述第二用户设备的第二用户标识获得 为所述第二用户设备服务的第二设备;
所述第二确定单元, 具体用于:
根据所述第一标识为所述第一用户设备建立所述 EPS承载; 向所述第二设备发送第一请求消息, 所述第一请求消息包括所述第 二用户设备的第二用户标识和所述第一标识, 以使得所述第二设备根据 所述第二用户设备的第二用户标识和所述第一标识为所述第二用户设备 建立所述 EPS 7 载。
在第十一种可能的实现方式中, 结合第四方面至第四方面的第九种 可能的实现方式, 所述第一设备还包括: 获得单元;
所述获得单元, 用于根据所述第一标识获得第二用户设备的第二用 户标识; 所述第二确定单元, 具体用于:
根据所述第一标识为所述第一用户设备建立所述 EPS承载; 向为所述第一用户设备服务的第一服务器发送第二请求消息, 所述 第二请求消息包括所述第二用户设备的第二用户标识和所述第一标识, 以使得所述第一服务器根据所述第二用户设备的第二用户标识获得为所 述第二用户设备服务的第二服务器, 并向所述第二服务器发送所述第二 用户设备的第二用户标识和所述第一标识, 以使得所述第二服务器向所 述第二设备发送第三请求消息, 所述第二设备根据所述第二用户设备的 第二用户标识和所述第一标识为所述第二用户设备建立所述 EPS承载。 在第十二中可能的实现方式中, 结合第四方面至第四方面的第十一 中可能的实现方式中的任意一项, 所述第一设备还包括: 发送单元; 所述发送单元, 用于向所述基站发送第十二消息, 所述第十二消息 携带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除为 所述第一用户设备和 /或第二用户设备分配的资源, 以使所述基站向所述 第一用户设备和 /或所述第二用户设备发送第十三消息, 所述第十三消息 用于指示所述第一用户设备和 /或所述第二用户设备获知进行所述路径 切换。
第五方面, 提供一种路径切换的用户设备, 所述用户设备具体为第 一用户设备, 所述第一用户设备包括: 发送单元、 接收单元和确定单元; 所述发送单元, 用于向第三设备发送消息, 所述消息中携带有第一 标识, 所述消息用于使所述第三设备获知所述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述第一用户设备和第二用户设备间的 直接通信路径切换为网络通信路径, 以使得所述第三设备根据所述消息 确定将所述直接通信路径切换为所述网络通信路径;
所述接收单元, 用于接收所述第三设备发送的包括所述第一标识的 消息;
所述确定单元, 用于根据所述消息确定将所述直接通信路径切换为 所述网络通信路径;
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
在第一种可能的实现方式中, 结合第五方面, 所述第三设备具体是 为所述第一用户设备服务的基站或移动性管理实体 MME或服务器; 所述 发送单元, 具体用于:
向所述基站发送第一消息, 以使得所述基站根据所述第一消息确定 将所述直接通信路径切换为所述网络通信路径时, 向所述 MME发送第四 消息, 所述第四消息中携带有所述第一标识, 以使得所述 MME根据所述 第四消息确定将所述直接通信路径切换为所述网络通信路径; 或者, 向所述服务器发送第二消息, 以使得所述服务器根据所述第二消息 确定将所述直接通信路径切换为所述网络通信路径时; 或者,
向所述服务器发送第二消息, 以使得所述服务器根据所述第二消息 确定将所述直接通信路径切换为所述网络通信路径时, 向所述 MME发送 第五消息, 所述第五消息中携带有所述第一标识, 以使得所述 MME根据 所述第五消息确定将所述直接通信路径切换为所述网络通信路径, 所述 MME 向所述基站发送携带所述第一标识的消息, 以使所述基站向所述第 一用户设备携带所述第一标识的消息; 或者,
向所述 MME发送第三消息, 以使得所述 MME根据所述第三消息确定 将所述直接通信路径切换为所述网络通信路径。
在第二种可能的实现方式中, 结合第五方面或第五方面的第一种可 能的实现方式, 所述接收单元, 具体用于接收所述第三设备发送的路径 切换请求;
所述确定单元, 具体用于根据所述路径切换请求确定将所述直接通 信路径切换为所述第一标识对应的 EP S承载;
其中, 所述 EPS承载是所述第一用户设备接收所述第三设备发送的 包括所述第一标识的消息之后, 至少根据所述第一标识获得所述第一标 识对应的服务质量 QoS , 并向所述 MME发送携带所述 QoS 的第十消息后 建立的; 或者,
所述 EPS承载是所述第一用户设备向所述第三设备发送消息之前, 至少根据所述第一标识获得所述第一标识对应的服务质量 QoS , 并向移 动管理实体发送携带所述 QoS的第十消息后建立的。 在第三种可能的实现方式中, 结合第五方面至第五方面的第二种可 能的实现方式中的任意一项, 所述确定单元, 具体用于将所述第一标识 对应的直接通信路径的 TFT的优先级调整为低于所述 EP S承载的 TFT的 优先级, 以使得所述第一用户设备通过所述 EP S承载与所述第二用户设 备进行数据传输。
在第四种可能的实现方式中, 结合第五方面或第五方面的第一种可 能的实现方式, 所述接收单元, 具体用于接收所述第三设备发送第八消 息, 所述第八消息中携带所述第一标识;
则所述确定单元, 具体用于根据所述第八消息建立 EPS承载; 或者, 所述接收单元, 具体用于接收所述第三设备发送的第九消息, 所述 第九消息中携带所述第一标识;
则所述确定单元, 具体用于至少根据所述第一标识获得所述第一标 识对应的服务质量 Qo S , 向所述 MME发送第十四消息, 所述第十四消息 中携带有所述 QoS , 以使得所述 MME根据所述 QoS为所述第一用户设备 建立 EPS承载。
在第五种可能的实现方式中, 结合第五方面至第五方面的第四种可 能的实现方式中的任意一项, 所述消息中还包括: 第一用户设备的第一 标识和第二用户设备的第二用户标识。
在第六种可能的实现方式中, 结合第五方面至第五方面的第五种可 能的实现方式中的任意一项, 所述发送单元, 还用于:
向所述基站发送第十五消息, 所述第十五消息携带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除为所述第一用户设备和 /或第二用户设备分配的资源; 或者,
向所述服务器发送第十五消息,所述第十五消息携带所述第一标识, 以使所述服务器获知所述路径切换完成, 并向所述 MME发送携带所述第 一标识的第十六消息, 以使所述 MME 向所述基站发送携带所述第一标识 的第十七消息, 以使所述基站至少根据所述第一标识释放或删除为所述 第一用户设备和 /或第二用户设备分配的资源。
在第七种可能的实现方式中, 结合第五方面的第六种可能的实现方 式, 所述第十五消息中还携带第一信息, 以使所述基站向所述 MME发送 携带所述第一信息的消息, 以使所述 MME根据所述第一信息进行计费; 或者,
所述第十五消息还携带第一信息, 以使所述基站向所述 MME发送携 带所述第一信息的消息, 以使所述 MME向所述服务器发送携带所述第一 信息的消息, 以使所述服务器根据所述第一信息进行计费;
所述第一信息包括数据流量和 /或通信时间。
第六方面, 提供一种路径切换的设备, 所述设备具体为第四设备, 所述第四设备包括: 接收单元、 确定单元和发送单元;
所述接收单元,用于接收第一用户设备和 /或第二用户设备发送的消 息, 所述消息中携带有第一标识, 所述消息用于使所述第四设备获知所 述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述第一 用户设备和第二用户设备间的直接通信路径切换为网络通信路径;
所述确定单元, 用于根据所述消息确定将所述直接通信路径切换为 所述网络通信路径;
所述发送单元, 用于向移动性管理实体 MME发送请求, 所述请求中 包括所述第一标识, 以使得所述 MME根据所述请求确定所述第一用户设 备和 /或第二用户设备对应的 EPS承载, 所述第一用户设备与所述第二用 户设备根据所述 EP S承载完成由所述直接通信路径到所述网络通信路径 的路径切换过程。
在第一种可能的实现方式中, 结合第六方面, 所述确定单元, 具体 用于:
若所述消息中携带的所述第一标识对应的信号强度小于或等于预设 值, 则确定将所述直接通信路径切换为所述网络通信路径; 或者,
所述消息为用于所述第一设备获知所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径的切换请 求或切换通知消息时, 根据所述消息, 确定将所述直接通信路径切换为 所述网络通信路径。
在第二种可能的实现方式中, 结合第六方面或第六方面的第一种可 能的实现方式, 所述接收单元, 还用于:
接收所述 MME发送的第十二消息, 所述第十二消息携带所述第一标 识; 所述第四设备还包括: 删除单元;
所述删除单元, 用于至少根据所述第一标识释放或删除为所述第一 用户设备和 /或所述第二用户设备分配的资源;
所述发送单元,还用于向所述第一用户设备和 /或所述第二用户设备 发送第十三消息, 所述第十三消息用于指示所述第一用户设备和 /或所述 第二用户设备获知进行所述路径切换。
本发明实施例提供一种路径切换的方法、 设备和用户设备, 所述方 法包括: 第一用户设备向第三设备发送消息, 所述消息中携带有第一标 识, 所述消息用于使所述第三设备获知所述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述第一用户设备和第二用户设备间的 直接通信路径切换为网络通信路径, 以使得所述第三设备根据所述消息 确定将所述直接通信路径切换为所述网络通信路径; 所述第一用户设备 接收所述第三设备发送的包括所述第一标识的消息, 根据所述消息确定 将所述直接通信路径切换为所述网络通信路径。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将 对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见 地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技 术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得 其他的附图。
图 1为本发明实施例提供的一种路径切换的方法的流程示意图; 图 2为本发明实施例提供的另一种路径切换的方法的流程示意图; 图 3为本发明实施例提供的又一种路径切换的方法的流程示意图; 图 4为本发明实施例提供的一种路径切换的方法的交互示意图; 图 5为本发明实施例提供的另一种路径切换的方法的交互示意图; 图 6为本发明实施例提供的又一种路径切换的方法的交互示意图; 图 7为本发明实施例提供的一种第一设备的结构示意图; 图 8为本发明实施例提供的另一种第一设备的结构示意图; 图 9为本发明实施例提供的一种第一用户设备的结构示意图; 图 10为本发明实施例提供的一种第四设备的结构示意图;
图 11为本发明实施例提供的另一种第四设备的结构示意图; 图 12为本发明实施例提供的又一种第一设备的结构示意图; 图 13为本发明实施例提供的又一种第一设备的结构示意图; 图 14为本发明实施例提供的另一种第一用户设备的结构示意图; 图 15为本发明实施例提供的另一种第四设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案 进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实 施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术 人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本 发明保护的范围。
本文中术语 "和 /或" , 仅仅是一种描述关联对象的关联关系, 表示 可以存在三种关系, 例如, A 和 /或 B, 可以表示: 单独存在 A, 同时存 在 A和 B, 单独存在 B这三种情况。 另外, 本文中字符 "/" , 一般表示 前后关联对象是一种 "或" 的关系。
实施例一、
本发明实施例提供一种路径切换的方法,所述方法应用于第一设备, 所述第一设备具体可以为移动性管理实体 ( Mobility Management Entity, MME ) , 如图 1所示, 所述方法包括:
101、第一设备确定将第一用户设备和第二用户设备间的直接通信路 径切换为网络通信路径, 获得第一标识。
需要说明的是, 第一用户设备和第二用户设备之间的直接通信路径 有对应的标识。 其中, 所述第一标识用于标识所述第一用户设备和所述 第二用户设备间的直接连接(direct connection); 或者, 所述第一标识 用于标识第一用户设备和所述第二用户设备间的直接通信(direct communicat ion或 direct one-to-one communication) ; 或者, 所述第 一标识用于标识所述直接通信路径; 或者, 所述第一标识用于标识所述 直接通信路径中的至少一个承载。
具体的, 所述第一用户设备可以向所述第一设备发送第三消息, 所 述第三消息中携带有所述第一标识。 所述第三消息具体还可以携带所述 第一标识对应的信号强度; 或者, 所述第三消息具体还指示所述第一设 备将所述直接通信路径切换为所述网络通信路径, 此时, 所述第三消息 具体可以为路径切换请求消息或路径切换通知消息。 所述第一设备接收 到所述第三消息后, 根据所述第三消息确定将所述直接通信路径切换为 网络通信路径。
可选的, 所述第一用户设备也可以向为所述第一用户设备服务的基 站发送第一消息, 所述第一消息中携带有所述第一标识。 所述第一消息 具体还可以携带所述第一标识对应的信号强度; 或者, 所述第一消息具 体还指示所述基站将所述直接通信路径切换为所述网络通信路径, 此时, 所述第一消息具体可以为路径切换请求消息或路径切换通知消息。 所述 基站接收到所述第一消息后, 根据所述第一消息确定将所述直接通信路 径切换为网络通信路径。 进而, 所述基站向所述第一设备发送第四消息, 所述第四消息中携带有所述第一标识。 所述第四消息可以是路径切换请 求消息或路径切换通知消息。
可选的, 所述第一用户设备向为所述第一用户设备服务的服务器发 送第二消息, 所述第二消息中携带有所述第一标识。 所述第二消息具体 还可以携带所述第一标识对应的信号强度; 或者, 所述第二消息具体还 指示所述服务器将所述直接通信路径切换为所述网络通信路径, 此时, 所述第二消息具体可以为路径切换请求消息或路径切换通知消息。 所述 服务器接收到所述第二消息后, 根据所述第二消息确定将所述直接通信 路径切换为网络通信路径。 进而, 所述服务器向所述第一设备发送第五 消息, 所述第五消息中携带有所述第一标识。 所述第五消息可以是路径 切换请求消息或路径切换通知消息。
本发明实施例中, 第一标识对应的信号强度是指第一标识所标识的 所述第一用户设备和所述第二用户设备间的直接连接的信号强度; 或者, 所述第一标识所标识的所述第一用户设备和所述第二用户设备间的直接 通信的信号强度; 或者, 所述第一标识所标识的所述直接通信路径的信 号强度; 或者, 所述第一标识所标识的所述直接通信路径中的至少一个 承载的信号强度。
这里, 网络通信路径 ( infrastructure communication path 或演 进的分组核心网 Path) 是指传统的, 需通过核心网网元 SGW、 PGW进行 通信的通信路径。 后续实施例出现该说法, 与本实施例相同理解。
102、 所述第一设备根据所述第一标识确定所述第一用户设备和 /或 所述第二用户设备的 EPS承载, 以使得所述第一用户设备与所述第二用 户设备根据所述 EPS承载完成由所述直接通信路径到所述网络通信路径 的路径切换过程。
在所述第一设备确定将所述直接通信路径切换为网络通信路径之 后,根据所述第一标识确定所述第一用户设备和 /或所述第二用户设备的 演进的分组系统 ( Evolved Packet System, EPS ) 承载 ( bearer ) 。
具体的, 所述 EPS承载可以是所述第一设备确定将所述直接通信路 径切换为网络通信路径之后, 所述第一设备可以与所述第一用户设备和 所述第二用户设备, 以及为所述第一用户设备和所述第二用户设备服务 的网关设备进行通信,为所述第一用户设备和所述第二用户设备建立 EPS 承载。 并在所述 EPS承载建立完成后, 所述第一用户设备与所述第二用 户设备根据所述 EPS承载完成由所述直接通信路径到所述网络通信路径 的路径切换过程。
示例性的, 所述第一设备可以根据所述第一标识对应的服务质量 ( Quality of Service, QoS ) 为所述第一用户设备和所述第二用户设备 建立所述 EPS承载。 当然, 所述第一设备也可以根据所述第一用户设备 和所述第二用户设备直接的数据传输速率或数据传输量或数据传输时延 等建立所述 EPS承载。
这里, 第一标识对应的 QoS是指第一标识所标识的所述第一用户设 备和所述第二用户设备间的直接连接的 QoS; 或者, 所述第一标识所标 识的所述第一用户设备和所述第二用户设备间的直接通信的 QoS; 或者, 所述第一标识所标识的所述直接通信路径的 QoS; 或者, 所述第一标识 所标识的所述直接通信路径中的至少一个承载的 QoS。 后续实施例出现 该说法, 与本实施例相同理解。
当然, 为了提高用户体验, 所述 EPS承载也可以是所述第一用户设 备和所述第二用户设备提前与为所述第一用户设备和所述第二用户设备 服务的网关设备建立的。 使得所述第一用户设备和所述第二用户设备获 知要进行由直接通信路径到网络通信路径的切换之后, 根据所述第一标 识对应的已建立的 EPS承载, 进行数据传输。
这里, 第一标识对应的 EP S承载是指, 进行路径切换时, 与所述第 一标识所标识的所述第一用户设备和所述第二用户设备间的直接连接相 对应的 EP S承载; 或者, 与所述第一标识所标识的所述第一用户设备和 所述第二用户设备间的直接通信相对应的 EPS承载; 或者, 与所述第一 标识所标识的所述直接通信路径相对应的 EPS承载; 或者, 与所述第一 标识所标识的所述直接通信路径中的至少一个承载相对应的 EPS承载。 后续实施例出现该说法, 与本实施例相同理解。
需要说明的是, 为所述第一用户设备和所述第二用户设备服务的基 站、 MME 和服务器等网关设备中的任一项可以是一样的, 也可以是不一 样的。 具体的, 为所述第一用户设备和所述第二用户设备服务的服务器、 丽8、 基站可以是: 服务器、 MME、 基站都是相同的; 或者, 服务器和 MME 相同, 基站不同; 或者, 服务器相同, MME和基站不同; 或者, 服务器、 MME和基站都不同。
进一步的, 为了节省资源, 在所述第一用户设备与所述第二用户设 备完成由所述直接通信路径到网络通信路径的切换之前, 需要为所述第 一用户设备和所述第二用户设备服务的基站释放或删除为所述第一用户 设备和所述第二用户设备分配的资源。
具体的, 所述第一设备可以向所述基站发送第十二消息, 所述第十 二消息携带所述第一标识。 所述基站接收所述第十二消息后, 至少根据 所述第一标识释放或删除为所述第一用户设备和 /或第二用户设备分配 的资源。所述基站向所述第一用户设备和 /或所述第二用户设备发送第十 三消息, 所述第十三消息用于指示所述第一用户设备和 /或所述第二用户 设备获知进行所述路径切换。
需要说明的是,本发明实施例中所述涉及的第一用户设备和 /或第二 用户设备, 当为所述第一用户设备和所述第二用户设备服务的 MME相同 时, 为 "和" 的关系, 当为所述第一用户设备和所述第二用户设备服务 的 MME不同时, 为 "或" 的关系。
本发明实施例提供了一种路径切换的方法, 第一设备确定将第一用 户设备和第二用户设备间的直接通信路径切换为网络通信路径, 获得第 一标识; 所述第一设备根据所述第一标识确定所述第一用户设备和 /或所 述第二用户设备的演进的分组系统 EP S承载, 以使得所述第一用户设备 与所述第二用户设备根据所述 EPS承载完成由所述直接通信路径到所述 网络通信路径的路径切换过程。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
实施例二、
本发明实施例提供了一种路径切换的方法, 本发明的执行主体是第 一用户设备, 如图 2所示, 所述方法包括:
2 01、 第一用户设备向第三设备发送消息, 所述消息中携带有第一标 识, 所述消息用于使所述第三设备获知所述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述第一用户设备和第二用户设备间的 直接通信路径切换为网络通信路径, 以使得所述第三设备根据所述消息 确定将所述直接通信路径切换为所述网络通信路径。
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
2 02、所述第一用户设备接收所述第三设备发送的包括所述第一标识 的消息, 根据所述消息确定将所述直接通信路径切换为所述网络通信路 径。
具体的,所述第一用户设备接收所述第三设备发送的路径切换请求, 根据所述路径切换请求确定将所述直接通信路径切换为所述第一标识对 应的 EPS承载。
其中, 所述 EPS承载是所述第一用户设备接收所述第三设备发送的 包括所述第一标识的消息之后, 至少根据所述第一标识获得所述第一标 识对应的服务质量 QoS , 并向所述 MME发送携带所述 QoS 的第十消息后 建立的; 或者, 所述 EP S承载是所述第一用户设备向所述第三设备发送 消息之前, 至少根据所述第一标识获得所述第一标识对应的服务质量
QoS , 并向移动管理实体发送携带所述 QoS的第十消息后建立的。
可选的, 所述第一用户设备接收所述第三设备发送的包括所述第一 标识的消息, 根据所述消息确定将所述直接通信路径切换为所述网络通 信路径之后, 还包括:
所述第一用户设备向所述基站发送第十五消息, 所述第十五消息携 带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除为所 述第一用户设备和 /或第二用户设备分配的资源; 或者,
所述第一用户设备向所述服务器发送第十五消息, 所述第十五消息 携带所述第一标识, 以使所述服务器获知所述路径切换完成, 并向所述 MME发送携带所述第一标识的第十六消息, 以使所述 MME 向所述基站发 送携带所述第一标识的第十七消息, 以使所述基站至少根据所述第一标 识释放或删除为所述第一用户设备和 /或第二用户设备分配的资源。
进一步的, 所述第十五消息中还携带所述第一标识, 还包括: 所述第十五消息还携带第一信息, 以使所述基站向所述 MME发送携 带所述第一信息的消息, 以使所述 MME根据所述第一信息进行计费。 或 者, 所述第十五消息还携带第一信息, 以使所述基站向所述 MME发送携 带所述第一信息的消息, 以使所述 MME向所述服务器发送携带所述第一 信息的消息, 以使所述服务器根据所述第一信息进行计费。
其中, 所述第一信息包括数据流量和 /或通信时间。
本发明实施例提供了一种路径切换的方法, 第一用户设备向第三设 备发送消息, 所述消息中携带有第一标识, 所述消息用于使所述第三设 备获知所述第一标识对应的信号强度, 或用于所述第一用户设备请求将 所述第一用户设备和第二用户设备间的直接通信路径切换为网络通信路 径, 以使得所述第三设备根据所述消息确定将所述直接通信路径切换为 所述网络通信路径; 所述第一用户设备接收所述第三设备发送的包括所 述第一标识的消息, 根据所述消息确定将所述直接通信路径切换为所述 网络通信路径。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
实施例三、
本发明实施例提供了一种路径切换的方法, 所述方法应用于第四设 备, 所述第四设备可以是为服务器或基站, 如图 3所示, 所述方法包括: 301、 第四设备接收第一用户设备和 /或第二用户设备发送的消息, 所述消息中携带有第一标识, 所述消息用于使所述第三设备获知所述第 一标识对应的信号强度, 或用于所述第一用户设备请求将所述第一用户 设备和第二用户设备间的直接通信路径切换为网络通信路径。
302、所述第四设备根据所述消息确定将所述直接通信路径切换为所 述网络通信路径。
303、 所述第四设备向移动性管理实体 MME发送请求, 所述请求中包 括所述第一标识, 以使得所述 MME根据所述请求确定所述第一用户设备 和 /或第二用户设备对应的 EPS承载, 所述第一用户设备与所述第二用户 设备根据所述 EPS承载完成由所述直接通信路径到所述网络通信路径的 路径切换过程。
本发明实施例提供了一种路径切换的方法, 第四设备接收第一用户 设备和 /或第二用户设备发送的消息, 所述消息中携带有第一标识, 所述 消息用于使所述第三设备获知所述第一标识对应的信号强度, 或用于所 述第一用户设备请求将所述第一用户设备和第二用户设备间的直接通信 路径切换为网络通信路径; 所述第四设备根据所述消息确定将所述直接 通信路径切换为所述网络通信路径;所述第四设备向移动性管理实体 MME 发送请求, 所述请求中包括所述第一标识, 以使得所述 MME根据所述请 求确定所述第一用户设备和 /或第二用户设备对应的 EPS承载, 所述第一 用户设备与所述第二用户设备根据所述 EP S承载完成由所述直接通信路 径到所述网络通信路径的路径切换过程。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
实施例四、
本发明实施例提供了一种路径切换的方法, 如图 4所示, 所述方法 包括:
4 01、 第一用户设备向基站发送第一消息, 所述第一消息中携带有第 一标识。
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
所述第一消息中携带有所述第一标识, 所述第一消息用于使所述基 站获知所述第一标识对应的信号强度或者所述第一用户设备和 /或所述 第二用户设备请求将所述直接通信路径切换为所述网络通信路径。
402、 所述基站根据所述第一消息确定是否进行路径切换。
当所述第一消息中携带有所述第一标识和所述第一标识对应的信号 强度时, 所述基站判断所述第一标识对应的信号强度值是否大于或等于 预设值。 若所述第一标识对应的信号强度值大于或等于所述预设值, 证 明所述第一用户设备与所述第二用户设备的直接通信路径信号质量较 差, 需要进行由所述直接通信路径切换到网络通信路径。
当所述第一消息为携带有所述第一标识的路径切换请求消息或路径 切换通知消息时, 所述基站确定需要进行路径切换。
在所述基站确定进行路径切换时, 执行步骤 4 03。
4 03、 所述基站向 MME发送第四消息, 所述第四消息中携带所述第一 标识。
具体的, 所述第四消息可以为路径切换请求消息或路径切换通知消 息。
4 04、 所述 MME 向服务器发送路径切换请求消息或路径切换通知消 息, 所述路径切换请求消息或路径切换通知消息中携带有所述第一标识。
4 05、 所述服务器向所述 MME发送路径切换响应消息。
4 06、 所述 MME根据所述第一标识确定所述第一标识对应的 QoS。 所述 MME中存储有直接通信路径的标识与对应的 QoS的对应关系。 需要说明的是, 在 MME获得所述第一标识对应的 QoS之后, 可以根 据所述 QoS进一步确定是否进行路径切换。 具体的, 所述第一设备根据 所述 QoS判断是否将所述直接通信路径切换为所述网络通信路径; 若所 述第一设备判断将所述直接通信路径切换为所述网络通信路径, 根据所 述第一标识确定所述第一用户设备和 /或所述第二用户设备的所述 EPS 承载。
所述第一设备根据所述 QoS判断是否将所述直接通信路径切换为所 述网络通信路径具体包括: 所述第一设备根据所述 QoS 直接判断网络是 否提供所述 QoS的 EPS承载, 若是, 则判断将所述直接通信路径切换为 所述网络通信路径。 或者, 所述第一设备向所述网关设备发送携带所述 QoS 的请求消息, 以使所述网关设备向策略计费规则功能实体 (Policy and Charging Rules Function, PCRF ) 发送携带所述 QoS的请求消息, 所述 PCRF根据所述 QoS判断网络是否提供所述 QoS的 EPS承载, 若是, 则判断将所述直接通信路径切换为所述网络通信路径。 或者, 所述第一 设备向所述服务器发送携带所述 QoS 的请求消息, 所述服务器向所述 PCRF发送携带所述 QoS的请求消息, 所述 PCRF根据所述 QoS判断网络 是否可以提供所述 QoS的 EPS承载, 若是, 则判断将所述直接通信路径 切换为所述网络通信路径。
407、 所述 MME经由 SGW, 向 PGW发送建立承载请求消息, 所述建立 承载请求消息中携带有所述 Q 0 S。
408、 所述 PGW经由所述 SGW向所述 MME发送更新 /建立 载请求。
409、 所述 MME向所述基站发送下行 NAS传输消息, 所述下行 NAS传 输消息中携带有第一标识和所述第一标识对应的 EPS承载标识。
其中, 所述下行非接入层 (Non Access Stratum, NAS ) 传输消息是 UE和 MME间的信令消息。 NAS消息是通过基站发送给 UE的, 但是基站不 解析该 NAS消息。
410、 所述基站向所述第一用户设备发送直接传输消息, 所述直接传 输消息中携带有所述第一标识和所述第一标识对应的 EPS承载标识。
这里, 第一标识对应的 EPS承载标识是指, 进行路径切换时, 与所 述第一标识所标识的所述第一用户设备和所述第二用户设备间的直接连 接相对应的 EPS承载的标识; 或者, 与所述第一标识所标识的所述第一 用户设备和所述第二用户设备间的直接通信相对应的 EPS承载的标识; 或者, 与所述第一标识所标识的所述直接通信路径相对应的 EPS承载的 标识; 或者, 与所述第一标识所标识的所述直接通信路径中的至少一个 载相对应的 EPS 7 载的标识。 后续实施例出现该说法, 与本实施例相 同理解。
41 1、所述第一用户设备由所述直接通信路径切换到所述 EPS承载标 识对应的 EPS 载。
为了节省基站为第一用户设备和第二用户设备分配的资源, 在进行 步骤 41 1之前, 所述方法还包括:
41 2、 所述第一设备向所述基站发送第十二消息, 所述消息中携带有 所述第一标识和所述 EPS承载对应的标识。
41 3、所述基站至少根据所述第一标识释放或删除为所述第一用户设 备和 /或第二用户设备分配的资源。
414、 所述基站向所述第一用户设备发送第十三消息, 所述第十三消 息用于指示所述第一用户设备和 /或所述第二用户设备获知进行所述路 径切换。
当然, 所述第一用户设备和所述第二用户设备也可以不通过为所述 第一用户设备和所述第二用户设备服务的基站, 而直接向为所述第一用 户设备和所述第二用户设备服务的 MME发送与所述第一消息内容相同的 第三消息, 由所述 MME确定是否将所述直接通信路径切换为所述网络通 信路径, 并获得所述第一标识。 并在所述 MME确定进行路径切换后, 向 所述为所述第一用户设备和所述第二用户设备服务的服务器发送所述路 径切换请求消息或路径切换通知消息, 之后, 执行步骤 405-41 1。
可选的, 所述第一用户设备和所述第二用户设备也可以不通过为所 述第一用户设备和所述第二用户设备服务的基站, 而直接向为所述第一 用户设备和所述第二用户设备服务的服务器发送与所述第一消息内容相 同的第二消息, 由所述服务器确定是否将所述直接通信路径切换为所述 网络通信路径, 并获得所述第一标识。 并在所述服务器确定进行路径切 换后, 向所述为所述第一用户设备和所述第二用户设备服务的服务器发 送所述路径切换请求消息或路径切换通知消息,之后,执行步骤 406-41 1。
需要说明的是, 为了保证所述第一用户设备, 以及与所述第一用户 设备进行直接通信路径连接的第二用户设备的正常通信, 所述第一用户 设备与所述第二用户设备需要同时由所述直接通信路径切换网络通信路 径。 上述步骤仅以第一用户设备进行路径切换为例进行说明, 所述第二 用户设备进行路径切换的过程与所述第一用户设备进行路径切换的过程 相同。
具体的, 当为所述第一用户设备和所述第二用户设备服务的服务器、
MME、 基站都相同时, 所述基站还需要向所述第二用户设备发送所述直接 传输消息, 所述第二用户设备接收到所述直接传输消息后, 可以根据所 述直接传输消息, 由所述直接通信路径切换到所述 EPS承载标识对应的 EPS承载。
当为所述第一用户设备和所述第二用户设备服务的服务器、 MME 相 同, 而基站不同时, 所述 MME还要根据所述第一标识获得所述第二用户 设备的第二用户标识, 根据所述第二用户标识获得为所述第二用户标识 服务的第二基站, 然后, 向为所述第二用户设备服务的第二基站发送所 述下行 NAS传输消息, 所述第二基站完成与上述基站相同的过程。
当为所述第一用户设备和所述第二用户设备服务的服务器相同, 而
MME 和基站不同时, 所述 MME还要根据所述第一标识获得所述第二用户 设备的第二用户标识; 根据所述第二用户设备的第二用户标识获得为所 述第二用户设备服务的第二设备, 然后, 向为所述第二用户设备服务的 第二设备发送第一请求消息, 所述第一请求消息包括所述第二用户设备 的第二用户标识和所述第一标识, 以使得所述第二设备根据所述第二用 户设备的第二用户标识和所述第一标识为所述第二用户设备建立所述 EPS 承载。 所述第二设备根据所述第一标识为所述第二用户设备确定所 述 EP S承载的方法与所述第一设备根据所述第一标识为所述第一用户设 备确定所述 EPS承载的方法相同, 本发明实施例在此不再赘述。
当为所述第一用户设备和所述第二用户设备服务的服务器、 MME 和 基站都不同时, 所述 MME还需要: 根据所述第一标识获得第二用户设备 的第二用户标识; 向为所述第一用户设备服务的第一服务器发送第二请 求消息, 所述第二请求消息包括所述第二用户设备的第二用户标识和所 述第一标识; 然后, 所述第一服务器根据所述第二用户设备的第二用户 标识获得为所述第二用户设备服务的第二服务器, 并向所述第二服务器 发送所述第二用户设备的第二用户标识和所述第一标识, 以使得所述第 二服务器向所述第二设备发送第三请求消息, 所述第二设备根据所述第 二用户设备的第二用户标识和所述第一标识为所述第二用户设备确定所 述 EP S承载。 所述第二设备根据所述第一标识为所述第二用户设备确定 所述 EPS承载的方法与所述第一设备根据所述第一标识为所述第一用户 设备确定所述 EPS承载的方法相同, 本发明实施例在此不再赘述。
本发明实施例提供一种路径切换的方法, 如图 5 所示, 所述方法包 括;
5 01、 第一用户设备向基站发送第一消息, 所述第一消息中携带有第 一标识。
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
所述第一消息中携带有所述第一标识, 所述第一消息用于使所述基 站获知所述第一标识对应的信号强度或者所述第一用户设备和 /或所述 第二用户设备请求将所述直接通信路径切换为所述网络通信路径。
5 02、 所述基站根据所述第一消息确定是否进行路径切换。
当所述第一消息中携带有所述第一标识和所述第一标识对应的信号 强度时, 所述基站判断所述第一标识对应的信号强度值是否大于或等于 预设值。 若所述第一标识对应的信号强度值大于或等于所述预设值, 证 明所述第一用户设备与所述第二用户设备的直接通信路径信号质量较 差, 需要进行由所述直接通信路径切换到网络通信路径。
当所述第一消息为携带有所述第一标识的路径切换请求消息或路径 切换通知消息时, 所述基站确定需要进行路径切换。
在所述基站确定进行路径切换时, 执行步骤 5 03。
5 03、 所述基站向 MME发送第四消息, 所述第四消息中携带所述第一 标识。
具体的, 所述第四消息可以为路径切换请求消息或路径切换通知消 息。
5 04、 所述 MME 向服务器发送路径切换请求消息或路径切换通知消 息, 所述路径切换请求消息或路径切换通知消息中携带有所述第一标识。 505、 所述服务器向所述 MME发送路径切换响应消息。
506、 所述 MME根据所述第一标识确定所述第一标识对应的 QoS。 所述 MME中存储有直接通信路径的标识与对应的 QoS的对应关系。
507、所述 MME向所述第一用户设备发送路径切换请求消息或路径切 换通知消息, 所述路径切换请求消息或路径切换通知消息中携带所述第 一标识。
508、所述第一用户设备根据所述路径切换请求消息或路径切换通知 消息, 与所述 MME进行交互, 获得由所述直接通信路径切换到网络通信 路径的 EPS承载, 并切换到所述网络通信路径。
当然, 所述第一用户设备和所述第二用户设备也可以不通过为所述 第一用户设备和所述第二用户设备服务的基站, 而直接向为所述第一用 户设备和所述第二用户设备服务的 MME发送与所述第一消息内容相同的 第三消息, 由所述 MME确定是否将所述直接通信路径切换为所述网络通 信路径, 并获得所述第一标识。 并在所述 MME确定进行路径切换后, 向 所述为所述第一用户设备和所述第二用户设备服务的服务器发送所述路 径切换请求消息或路径切换通知消息, 之后, 执行步骤 506-508。
可选的, 所述第一用户设备和所述第二用户设备也可以不通过为所 述第一用户设备和所述第二用户设备服务的基站, 而直接向为所述第一 用户设备和所述第二用户设备服务的服务器发送与所述第一消息内容相 同的第二消息, 由所述服务器确定是否将所述直接通信路径切换为所述 网络通信路径, 并获得所述第一标识。 并在所述服务器确定进行路径切 换后, 向所述为所述第一用户设备和所述第二用户设备服务的服务器发 送所述路径切换请求消息或路径切换通知消息,之后,执行步骤 506-508。
需要说明的是, 为了保证所述第一用户设备, 以及与所述第一用户 设备进行直接通信路径连接的第二用户设备的正常通信, 所述第一用户 设备与所述第二用户设备需要同时由所述直接通信路径切换网络通信路 径。 上述步骤仅以第一用户设备进行路径切换为例进行说明, 所述第二 用户设备进行路径切换的过程与所述第一用户设备进行路径切换的过程 相同。
具体的, 当为所述第一用户设备和所述第二用户设备服务的服务器、
MME、 基站都相同时, 所述 MME还需要向所述第一用户设备发送所述路径 切换请求消息或路径切换通知消息, 以使得所述第二用户设备根据所述 路径切换请求消息或路径切换通知消息, 与所述 MME进行交互, 获得由 所述直接通信路径切换到网络通信路径的 EPS承载, 并切换到所述网络 通信路径。
当为所述第一用户设备和所述第二用户设备服务的服务器相同, 而
MME 和基站不同时, 所述 MME还要根据所述第一标识获得所述第二用户 设备的第二用户标识; 根据所述第二用户设备的第二用户标识获得为所 述第二用户设备服务的第二设备, 然后, 向为所述第二用户设备服务的 第二设备发送第一请求消息, 所述第一请求消息包括所述第二用户设备 的第二用户标识和所述第一标识, 以使得所述第二设备向所述第二用户 设备发送所述路径切换请求消息或路径切换通知消息, 所述第二用户设 备根据所述路径切换请求消息或路径切换通知消息, 与所述第二设备进 行交互, 获得由所述直接通信路径切换到网络通信路径的 EP S承载, 并 切换到所述网络通信路径。
当为所述第一用户设备和所述第二用户设备服务的服务器、 MME 和 基站都不同时, 所述 MME还需要: 根据所述第一标识获得第二用户设备 的第二用户标识; 向为所述第一用户设备服务的第一服务器发送第二请 求消息, 所述第二请求消息包括所述第二用户设备的第二用户标识和所 述第一标识; 然后, 所述第一服务器根据所述第二用户设备的第二用户 标识获得为所述第二用户设备服务的第二服务器, 并向所述第二服务器 发送所述第二用户设备的第二用户标识和所述第一标识, 以使得所述第 二服务器向所述第二设备发送第三请求消息, 所述第二用户设备发送所 述路径切换请求消息或路径切换通知消息, 所述第二用户设备根据所述 路径切换请求消息或路径切换通知消息, 与所述第二设备进行交互, 获 得由所述直接通信路径切换到网络通信路径的 EPS承载, 并切换到所述 网络通信路径。
优选的, 为了保证用户体验, 在所述第一用户设备或第二用户设备 向网管设备(包括基站、 MME、 服务器等)发送携带所述第一标识的消息 之前, 所述第一用户设备和所述第二用户设备建立了所述第一标识对应 的 EPS承载, 建立方法与上述实施例相同, 本发明实施例在此不再赘述。 示例性的, 以图 6进行说明, 所述方法具体包括:
6 01、 第一用户设备向基站发送第一消息, 所述第一消息中携带有第 一标识。
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
所述第一消息中携带有所述第一标识, 所述第一消息用于使所述基 站获知所述第一标识对应的信号强度或者所述第一用户设备和 /或所述 第二用户设备请求将所述直接通信路径切换为所述网络通信路径。
602、 所述基站根据所述第一消息确定是否进行路径切换。
当所述第一消息中携带有所述第一标识和所述第一标识对应的信号 强度时, 所述基站判断所述第一标识对应的信号强度值是否大于或等于 预设值。 若所述第一标识对应的信号强度值大于或等于所述预设值, 证 明所述第一用户设备与所述第二用户设备的直接通信路径信号质量较 差, 需要进行由所述直接通信路径切换到网络通信路径。
当所述第一消息为携带有所述第一标识的路径切换请求消息或路径 切换通知消息时, 所述基站确定需要进行路径切换。
在所述基站确定进行路径切换时, 执行步骤 6 03。
603、 所述基站向 MME发送第四消息, 所述第四消息中携带所述第一 标识。
具体的, 所述第四消息可以为路径切换请求消息或路径切换通知消 息。
604、 所述 MME 向服务器发送路径切换请求消息或路径切换通知消 息, 所述路径切换请求消息或路径切换通知消息中携带有所述第一标识。
605、 所述服务器向所述 MME发送路径切换响应消息。
606、 所述 MME向所述基站发送消息, 所述消息中携带有第一标识。
607、 所述基站向所述第一用户设备发送消息, 所述消息中携带有所 述第一标识。
所述消息具体可以为无线资源控制( Rad i o Re s our ce Con t r o l , RRC ) 请求消息。 6 08、 所述第一用户设备根据所述基站发送的消息, 确定与所述第一 标识对应的 EP S承载, 并根据所述 EPS与所述第二用户设备进行数据传 输。
进一步的, 为了节省网络资源, 释放基站为所述第一用户设备和所 述第二用户设备分配的资源, 所述方法还包括:
6 09、 所述第一用户设备向所述基站发送消息, 所述消息中携带有所 述第一标识。
具体的, 所述消息可以是 RRC响应消息。
6 1 0、所述基站至少根据所述第一标识释放或删除为所述第一用户设 备和 /或第二用户设备分配的资源。
61 1、 所述基站向所述 MME发送资源释放的消息。
其中, 与所述第一标识对应的 EPS承载是指与所述第一用户设备和 所述第二用户设备间的直接连接对应的 EP S承载; 或者, 与所述直接通 信路径对应的 EPS承载; 或者, 与所述直接通信路径中的至少一个承载 对应点 EPS承载。
需要说明的是, 当不同的直接通信路径对应的标识可能相同时, 为 了区分不同用户设备之间的直接通信路径, 上述第一用户设备或第二用 户设备发送给网关设备的消息中还可以包括: 第一用户设备的第一标识 和第二用户设备的第二标识。 本发明实施例提供一种路径切换的方法, 第一设备确定将第一用户 设备和第二用户设备间的直接通信路径切换为网络通信路径, 获得第一 标识; 所述第一设备根据所述第一标识确定所述第一用户设备和 /或所述 第二用户设备的演进的分组系统 EPS承载, 以使得所述第一用户设备与 所述第二用户设备根据所述 EPS承载完成由所述直接通信路径到所述网 络通信路径的路径切换过程。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
实施例五、
本发明实施例提供一种第一设备, 如图 7所示, 所述设备具体为第 一设备 7 0 ,所述第一设备 70包括:第一确定单元 71和第二确定单元 72 ; 所述第一确定单元 71 , 用于确定将第一用户设备和第二用户设备间 的直接通信路径切换为网络通信路径, 获得第一标识。
所述第二确定单元 72 , 用于根据所述第一标识确定所述第一用户设 备和 /或所述第二用户设备的演进的分组系统 EPS承载, 以使得所述第一 用户设备与所述第二用户设备根据所述 EPS承载完成由所述直接通信路 径到所述网络通信路径的路径切换过程。
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
其中, 第一确定单元 71具体用于:
接收基站发送的第四消息, 所述第四消息中携带所述第一标识, 所 述第四消息是所述基站接收到所述第一用户设备和 /或所述第二用户设 备发送的第一消息后向所述第一设备发送的, 所述第一消息中携带有所 述第一标识, 所述第一消息用于使所述基站获知所述第一标识对应的信 号强度或者所述第一用户设备和 /或所述第二用户设备请求将所述直接 通信路径切换为所述网络通信路径; 根据所述第四消息, 确定将所述直 接通信路径切换为所述网络通信路径, 并获得所述第一标识; 或者, 接收服务器发送的第五消息, 所述第五消息中携带所述第一标识, 所述第五消息是所述服务器收到所述第一用户设备和 /或所述第二用户 设备发送的第二消息后向所述第一设备发送的, 所述第二消息中携带有 所述第一标识, 所述第二消息用于使所述服务器获知所述第一标识对应 的信号强度或者所述第一用户设备和 /或所述第二用户设备请求将所述 直接通信路径切换为所述网络通信路径; 根据所述第五消息, 确定将所 述直接通信路径切换为所述网络通信路径, 并获得所述第一标识; 或者, 接收所述第一用户设备和 /或所述第二用户设备发送的第三消息,所 述第三消息中携带有所述第一标识, 所述第三消息用于使所述第一设备 获知所述第一标识对应的信号强度或者所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径; 根据所 述第三消息确定将所述直接通信路径切换为所述网络通信路径, 并获得 所述第一标识。
进一步的, 所述第一确定单元 7 1 , 还具体用于:
若所述第三消息中携带的所述第一标识对应的信号强度小于或等于 预设值, 则确定将所述直接通信路径切换为所述网络通信路径; 或者, 所述第三消息为用于使所述第一设备获知所述第一用户设备和 /或 所述第二用户设备请求将所述直接通信路径切换为所述网络通信路径的 切换请求或切换通知消息时, 根据所述第三消息, 确定将所述直接通信 路径切换为所述网络通信路径。
类似的, 第二确定单元 72 , 具体用于:
根据至少根据所述第一标识获得所述第一标识对应的服务质量 QoS ; 向网关设备发送第六消息, 所述第六消息中携带所述 QoS , 所述第 六消息用于告知所述网关设备建立所述 QoS的 EPS承载;
接收所述网关设备发送的第七消息, 向第一用户设备和 /或所述第二 用户设备发送第八消息, 所述第八消息中携带所述第一标识, 以使得所 述第一用户设备和 /或所述第二用户设备根据所述第一标识建立所述 EPS 承载, 并获知所述 EPS承载用于代替所述第一标识所标识的直接连接, 或所述直接通信, 或所述直接通信路径或所述直接通信路径中的至少一 个承载。
进一步的, 第二确定单元 7 2 , 还具体用于:
向所述第一用户设备和 /或所述第二用户设备发送第九消息,所述第 九消息中携带所述第一标识, 以使所述第一用户设备和 /或所述第二用户 设备至少根据所述第一标识获得与所述第一标识对应的所述 QoS ;
接收所述第一用户设备和 /或所述第二用户设备发送的携带所述 Qo S 的第十消息, 向所述网关设备发送第十一消息, 所述第十一消息中携带 所述 QoS , 所述第十一消息用于告知所述网关设备建立所述 QoS 的 EP S 承载。
进一步的, 所述第二确定单元 72 , 还具体用于:
至少根据所述第一标识获得所述第一标识对应的 QoS ;
根据所述 QoS判断是否将所述直接通信路径切换为所述网络通信路 径;
若判断将所述直接通信路径切换为所述网络通信路径, 根据所述第 一标识为所述第一用户设备和 /或所述第二用户设备建立所述 EPS承载。
进一步的, 所述第二确定单元 72 , 具体用于:
根据所述 QoS直接判断网络是否提供所述 QoS的 EPS承载, 若是, 则判断将所述直接通信路径切换为所述网络通信路径; 或者,
向所述网关设备发送携带所述 QoS 的请求消息, 以使所述网关设备 向策略计费规则功能实体 PCRF发送携带所述 QoS的请求消息, 以使得所 述 PCRF根据所述 QoS判断网络是否提供所述 QoS的 EPS承载, 若是, 则 判断将所述直接通信路径切换为所述网络通信路径; 或者,
向所述服务器发送携带所述 QoS 的请求消息, 所述服务器向所述 PCRF发送携带所述 QoS的请求消息, 所述 PCRF根据所述 QoS判断网络 是否可以提供所述 Qo S的 EP S承载, 若是, 则判断将所述直接通信路径 切换为所述网络通信路径。
进一步的, 所述第二确定单元 72 , 具体用于向所述第一用户设备和
/或所述第二用户设备发送包括所述第一标识的消息, 以使得所述第一用 户设备和 /或所述第二用户设备根据所述第一标识, 查找所述第一标识对 应的 EPS承载。
进一步的, 所述第一消息、 第二消息或第三消息中还包括: 所述第 一用户设备的第一用户标识和所述第二用户设备的第二用户标识。
进一步的, 所述第二确定单元 7 2 , 具体用于根据所述第一标识、 所 述第一用户标识和所述第二用户标识, 获得所述第一标识对应的 QoS。
如图 8所示, 所述第一设备 7 0还包括: 获得单元 7 3。
所述获得单元 7 3 , 用于根据所述第一标识获得所述第二用户设备的 第二用户标识。
所述获得单元 7 3 , 还用于根据所述第二用户设备的第二用户标识获 得为所述第二用户设备服务的第二设备。
则, 所述第二确定单元 72 , 具体用于:
根据所述第一标识为所述第一用户设备建立所述 EPS承载; 向所述第二设备发送第一请求消息, 所述第一请求消息包括所述第 二用户设备的第二用户标识和所述第一标识, 以使得所述第二设备根据 所述第二用户设备的第二用户标识和所述第一标识为所述第二用户设备 建立所述 EPS 7 载。
可选的, 所述第一设备 7 0还包括: 获得单元 7 3。
所述获得单元 7 3 , 用于根据所述第一标识获得第二用户设备的第二 用户标识。
则所述第二确定单元 7 2 , 具体用于:
根据所述第一标识为所述第一用户设备建立所述 EPS承载; 向为所述第一用户设备服务的第一服务器发送第二请求消息, 所述 第二请求消息包括所述第二用户设备的第二用户标识和所述第一标识, 以使得所述第一服务器根据所述第二用户设备的第二用户标识获得为所 述第二用户设备服务的第二服务器, 并向所述第二服务器发送所述第二 用户设备的第二用户标识和所述第一标识, 以使得所述第二服务器向所 述第二设备发送第三请求消息, 所述第二设备根据所述第二用户设备的 第二用户标识和所述第一标识为所述第二用户设备建立所述 EPS承载。
进一步的, 如图 8所示, 所述第一设备还包括: 发送单元 74。
所述发送单元 74 , 用于向所述基站发送第十二消息, 所述第十二消 息携带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除 为所述第一用户设备和 /或第二用户设备分配的资源, 以使所述基站向所 述第一用户设备和 /或所述第二用户设备发送第十三消息, 所述第十三消 息用于指示所述第一用户设备和 /或所述第二用户设备获知进行所述路 径切换。
本发明实施例提供一种第一设备, 所述第一确定单元确定将第一用 户设备和第二用户设备间的直接通信路径切换为网络通信路径, 获得第 一标识; 所述第二确定单元根据所述第一标识确定所述第一用户设备和 / 或所述第二用户设备的演进的分组系统 EP S承载, 以使得所述第一用户 设备与所述第二用户设备根据所述 EP S承载完成由所述直接通信路径到 所述网络通信路径的路径切换过程。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。 实施例六、
本发明实施例提供一种第一用户设备, 如图 9所示, 所述第一用户 设备 9 0具体包括: 发送单元 9 1、 接收单元 92和确定单元 9 3。
所述发送单元 9 1 , 用于向第三设备发送消息, 所述消息中携带有第 一标识, 所述消息用于使所述第三设备获知所述第一标识对应的信号强 度, 或用于所述第一用户设备请求将所述第一用户设备和第二用户设备 间的直接通信路径切换为网络通信路径, 以使得所述第三设备根据所述 消息确定将所述直接通信路径切换为所述网络通信路径。
所述接收单元 92 , 用于接收所述第三设备发送的包括所述第一标识 的消息。
所述确定单元 9 3 , 用于根据所述消息确定将所述直接通信路径切换 为所述网络通信路径。
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
进一步的, 所述第三设备具体是为所述第一用户设备服务的基站或 移动性管理实体 MME或服务器; 所述发送单元 9 1 , 具体用于:
向所述基站发送第一消息, 以使得所述基站根据所述第一消息确定 将所述直接通信路径切换为所述网络通信路径时, 向所述 MME发送第四 消息, 所述第四消息中携带有所述第一标识, 以使得所述 MME根据所述 第四消息确定将所述直接通信路径切换为所述网络通信路径; 或者, 向所述服务器发送第二消息, 以使得所述服务器根据所述第二消息 确定将所述直接通信路径切换为所述网络通信路径时; 或者,
向所述服务器发送第二消息, 以使得所述服务器根据所述第二消息 确定将所述直接通信路径切换为所述网络通信路径时, 向所述 MME发送 第五消息, 所述第五消息中携带有所述第一标识, 以使得所述 MME根据 所述第五消息确定将所述直接通信路径切换为所述网络通信路径, 所述 MME 向所述基站发送携带所述第一标识的消息, 以使所述基站向所述第 一用户设备携带所述第一标识的消息; 或者,
向所述 MME发送第三消息, 以使得所述 MME根据所述第三消息确定 将所述直接通信路径切换为所述网络通信路径。
进一步的, 所述接收单元 92 , 具体用于接收所述第三设备发送的路 径切换请求;
所述确定单元 9 3 , 具体用于根据所述路径切换请求确定将所述直接 通信路径切换为所述第一标识对应的 EPS承载;
其中, 所述 EPS承载是所述第一用户设备接收所述第三设备发送的 包括所述第一标识的消息之后, 至少根据所述第一标识获得所述第一标 识对应的服务质量 QoS , 并向所述 MME发送携带所述 QoS 的第十消息后 建立的; 或者,
所述 EPS承载是所述第一用户设备向所述第三设备发送消息之前, 至少根据所述第一标识获得所述第一标识对应的服务质量 QoS , 并向移 动管理实体发送携带所述 QoS的第十消息后建立的。
进一步的, 所述确定单元 9 3 , 具体用于将所述第一标识对应的直接 通信路径的 TFT的优先级调整为低于所述 EPS承载的 TFT的优先级, 以 使得所述第一用户设备通过所述 EPS承载与所述第二用户设备进行数据 传输。
进一步的, 所述接收单元 92 , 具体用于接收所述第三设备发送第八 消息, 所述第八消息中携带所述第一标识;
则所述确定单元 9 3 , 具体用于根据所述第八消息建立 EPS承载; 或 者,
所述接收单元 92 , 具体用于接收所述第三设备发送的第九消息, 所 述第九消息中携带所述第一标识;
则所述确定单元 9 3 , 具体用于至少根据所述第一标识获得所述第一 标识对应的服务质量 QoS , 向所述 MME发送第十四消息, 所述第十四消 息中携带有所述 QoS , 以使得所述 MME根据所述 QoS为所述第一用户设 备建立 EPS承载。
进一步的, 所述消息中还包括: 第一用户设备的第一标识和第二用 户设备的第二用户标识。 进一步的, 所述发送单元 9 1 , 还用于:
向所述基站发送第十五消息, 所述第十五消息携带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除为所述第一用户设备和 /或第二用户设备分配的资源; 或者,
向所述服务器发送第十五消息,所述第十五消息携带所述第一标识, 以使所述服务器获知所述路径切换完成, 并向所述 MME发送携带所述第 一标识的第十六消息, 以使所述 MME 向所述基站发送携带所述第一标识 的第十七消息, 以使所述基站至少根据所述第一标识释放或删除为所述 第一用户设备和 /或第二用户设备分配的资源。
进一步的, 所述第十五消息中还携带第一信息, 以使所述基站向所 述 MME发送携带所述第一信息的消息, 以使所述 MME根据所述第一信息 进行计费; 或者,
所述第十五消息还携带第一信息, 以使所述基站向所述 MME发送携 带所述第一信息的消息, 以使所述 MME向所述服务器发送携带所述第一 信息的消息, 以使所述服务器根据所述第一信息进行计费;
所述第一信息包括数据流量和 /或通信时间。
本发明实施例提供一种第一用户设备, 所述发送单元向第三设备发 送消息, 所述消息中携带有第一标识, 所述消息用于使所述第三设备获 知所述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述 第一用户设备和第二用户设备间的直接通信路径切换为网络通信路径, 以使得所述第三设备根据所述消息确定将所述直接通信路径切换为所述 网络通信路径; 所述接收单元接收所述第三设备发送的包括所述第一标 识的消息, 根据所述消息确定将所述直接通信路径切换为所述网络通信 路径。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
实施例七、
本发明实施例提供一种第四设备, 如图 1 0所示, 所述第四设备 1 00 包括: 接收单元 1 01、 确定单元 1 02和发送单元 1 03。 所述接收单元 1 01 , 用于接收第一用户设备和 /或第二用户设备发送 的消息, 所述消息中携带有第一标识, 所述消息用于使所述第四设备获 知所述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述 第一用户设备和第二用户设备间的直接通信路径切换为网络通信路径。
所述确定单元 1 02 , 用于根据所述消息确定将所述直接通信路径切 换为所述网络通信路径。
所述发送单元 1 03 , 用于向移动性管理实体 MME发送请求, 所述请 求中包括所述第一标识, 以使得所述 MME根据所述请求确定所述第一用 户设备和 /或第二用户设备对应的 EPS承载, 所述第一用户设备与所述第 二用户设备根据所述 EPS承载完成由所述直接通信路径到所述网络通信 路径的路径切换过程。
所述确定单元 1 02 , 具体用于:
若所述消息中携带的所述第一标识对应的信号强度小于或等于预设 值, 则确定将所述直接通信路径切换为所述网络通信路径; 或者,
所述消息为用于所述第一设备获知所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径的切换请 求或切换通知消息时, 根据所述消息, 确定将所述直接通信路径切换为 所述网络通信路径。
所述接收单元 1 01 , 还用于:
接收所述 MME发送的第十二消息, 所述第十二消息携带所述第一标 识;
如图 1 1所示, 所述第四设备 1 00还包括: 删除单元 1 04。
所述删除单元 1 04 , 用于至少根据所述第一标识释放或删除为所述 第一用户设备和 /或所述第二用户设备分配的资源。
则, 所述发送单元 1 03 , 还用于向所述第一用户设备和 /或所述第二 用户设备发送第十三消息, 所述第十三消息用于指示所述第一用户设备 和 /或所述第二用户设备获知进行所述路径切换。
本发明实施例提供一种第四设备, 所述接收单元接收第一用户设备 和 /或第二用户设备发送的消息, 所述消息中携带有第一标识, 所述消息 用于使所述第三设备获知所述第一标识对应的信号强度, 或用于所述第 一用户设备请求将所述第一用户设备和第二用户设备间的直接通信路径 切换为网络通信路径; 所述确定单元根据所述消息确定将所述直接通信 路径切换为所述网络通信路径; 所述发送单元向移动性管理实体 MME发 送请求, 所述请求中包括所述第一标识, 以使得所述 MME根据所述请求 确定所述第一用户设备和 /或第二用户设备对应的 EPS承载, 所述第一用 户设备与所述第二用户设备根据所述 EPS承载完成由所述直接通信路径 到所述网络通信路径的路径切换过程。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
实施例八、
本发明实施例提供一种第一设备, 如图 1 2所示, 所述设备具体为第 一设备 1 20 , 所述第一设备 1 20包括: 处理器 1 21和处理器 1 21 ;
所述处理器 1 21 , 用于确定将第一用户设备和第二用户设备间的直 接通信路径切换为网络通信路径, 获得第一标识。
所述处理器 1 21 , 还用于根据所述第一标识确定所述第一用户设备 和 /或所述第二用户设备的演进的分组系统 EPS承载, 以使得所述第一用 户设备与所述第二用户设备根据所述 EPS承载完成由所述直接通信路径 到所述网络通信路径的路径切换过程。
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
其中, 处理器 1 21具体用于:
接收基站发送的第四消息, 所述第四消息中携带所述第一标识, 所 述第四消息是所述基站接收到所述第一用户设备和 /或所述第二用户设 备发送的第一消息后向所述第一设备发送的, 所述第一消息中携带有所 述第一标识, 所述第一消息用于使所述基站获知所述第一标识对应的信 号强度或者所述第一用户设备和 /或所述第二用户设备请求将所述直接 通信路径切换为所述网络通信路径; 根据所述第四消息, 确定将所述直 接通信路径切换为所述网络通信路径, 并获得所述第一标识; 或者, 接收服务器发送的第五消息, 所述第五消息中携带所述第一标识, 所述第五消息是所述服务器收到所述第一用户设备和 /或所述第二用户 设备发送的第二消息后向所述第一设备发送的, 所述第二消息中携带有 所述第一标识, 所述第二消息用于使所述服务器获知所述第一标识对应 的信号强度或者所述第一用户设备和 /或所述第二用户设备请求将所述 直接通信路径切换为所述网络通信路径; 根据所述第五消息, 确定将所 述直接通信路径切换为所述网络通信路径, 并获得所述第一标识; 或者, 接收所述第一用户设备和 /或所述第二用户设备发送的第三消息,所 述第三消息中携带有所述第一标识, 所述第三消息用于使所述第一设备 获知所述第一标识对应的信号强度或者所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径; 根据所 述第三消息确定将所述直接通信路径切换为所述网络通信路径, 并获得 所述第一标识。
进一步的, 所述处理器 1 2 1 , 还具体用于:
若所述第三消息中携带的所述第一标识对应的信号强度小于或等于 预设值, 则确定将所述直接通信路径切换为所述网络通信路径; 或者, 所述第三消息为用于使所述第一设备获知所述第一用户设备和 /或 所述第二用户设备请求将所述直接通信路径切换为所述网络通信路径的 切换请求或切换通知消息时, 根据所述第三消息, 确定将所述直接通信 路径切换为所述网络通信路径。
类似的, 处理器 1 2 1 , 具体用于:
根据至少根据所述第一标识获得所述第一标识对应的服务质量 QoS ; 向网关设备发送第六消息, 所述第六消息中携带所述 QoS , 所述第 六消息用于告知所述网关设备建立所述 QoS的 EPS承载;
接收所述网关设备发送的第七消息, 向第一用户设备和 /或所述第二 用户设备发送第八消息, 所述第八消息中携带所述第一标识, 以使得所 述第一用户设备和 /或所述第二用户设备根据所述第一标识建立所述 EPS 承载, 并获知所述 EPS承载用于代替所述第一标识所标识的直接连接, 或所述直接通信, 或所述直接通信路径或所述直接通信路径中的至少一 个承载。 进一步的, 处理器 1 2 1 , 还具体用于:
向所述第一用户设备和 /或所述第二用户设备发送第九消息,所述第 九消息中携带所述第一标识, 以使所述第一用户设备和 /或所述第二用户 设备至少根据所述第一标识获得与所述第一标识对应的所述 QoS ;
接收所述第一用户设备和 /或所述第二用户设备发送的携带所述 Qo S 的第十消息, 向所述网关设备发送第十一消息, 所述第十一消息中携带 所述 QoS , 所述第十一消息用于告知所述网关设备建立所述 QoS 的 EP S 承载。
进一步的, 所述处理器 1 2 1 , 还具体用于:
至少根据所述第一标识获得所述第一标识对应的 QoS ;
根据所述 QoS判断是否将所述直接通信路径切换为所述网络通信路 径;
若判断将所述直接通信路径切换为所述网络通信路径, 根据所述第 一标识为所述第一用户设备和 /或所述第二用户设备建立所述 EPS承载。
进一步的, 所述处理器 1 2 1 , 具体用于:
根据所述 QoS直接判断网络是否提供所述 QoS的 EPS承载, 若是, 则判断将所述直接通信路径切换为所述网络通信路径; 或者,
向所述网关设备发送携带所述 QoS 的请求消息, 以使所述网关设备 向策略计费规则功能实体 PCRF发送携带所述 QoS的请求消息, 以使得所 述 PCRF根据所述 QoS判断网络是否提供所述 QoS的 EPS承载, 若是, 则 判断将所述直接通信路径切换为所述网络通信路径; 或者,
向所述服务器发送携带所述 QoS 的请求消息, 所述服务器向所述 PCRF发送携带所述 QoS的请求消息, 所述 PCRF根据所述 QoS判断网络 是否可以提供所述 Qo S的 EP S承载, 若是, 则判断将所述直接通信路径 切换为所述网络通信路径。
进一步的, 所述处理器 1 2 1 , 具体用于向所述第一用户设备和 /或所 述第二用户设备发送包括所述第一标识的消息, 以使得所述第一用户设 备和 /或所述第二用户设备根据所述第一标识, 查找所述第一标识对应的 EPS承载。
进一步的, 所述第一消息、 第二消息或第三消息中还包括: 所述第 一用户设备的第一用户标识和所述第二用户设备的第二用户标识。
进一步的, 所述处理器 1 2 1 , 具体用于根据所述第一标识、 所述第 一用户标识和所述第二用户标识, 获得所述第一标识对应的 QoS。
所述处理器 1 21 , 用于根据所述第一标识获得所述第二用户设备的 第二用户标识。
所述处理器 1 21 , 还用于根据所述第二用户设备的第二用户标识获 得为所述第二用户设备服务的第二设备。
则, 所述处理器 1 21 , 具体用于:
根据所述第一标识为所述第一用户设备建立所述 EPS承载; 向所述第二设备发送第一请求消息, 所述第一请求消息包括所述第 二用户设备的第二用户标识和所述第一标识, 以使得所述第二设备根据 所述第二用户设备的第二用户标识和所述第一标识为所述第二用户设备 建立所述 EPS 7 载。
可选的, 所述第一设备 1 20还包括: 处理器 1 21。
所述处理器 1 21 , 用于根据所述第一标识获得第二用户设备的第二 用户标识。
则所述处理器 1 21 , 具体用于:
根据所述第一标识为所述第一用户设备建立所述 EPS承载; 向为所述第一用户设备服务的第一服务器发送第二请求消息, 所述 第二请求消息包括所述第二用户设备的第二用户标识和所述第一标识, 以使得所述第一服务器根据所述第二用户设备的第二用户标识获得为所 述第二用户设备服务的第二服务器, 并向所述第二服务器发送所述第二 用户设备的第二用户标识和所述第一标识, 以使得所述第二服务器向所 述第二设备发送第三请求消息, 所述第二设备根据所述第二用户设备的 第二用户标识和所述第一标识为所述第二用户设备建立所述 EPS承载。
进一步的, 如图 1 3所示, 所述第一设备还包括: 发送器 1 22。
所述发送器 1 22 , 用于向所述基站发送第十二消息, 所述第十二消 息携带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除 为所述第一用户设备和 /或第二用户设备分配的资源, 以使所述基站向所 述第一用户设备和 /或所述第二用户设备发送第十三消息, 所述第十三消 息用于指示所述第一用户设备和 /或所述第二用户设备获知进行所述路 径切换。
本发明实施例提供一种第一设备, 所述处理器确定将第一用户设备 和第二用户设备间的直接通信路径切换为网络通信路径,获得第一标识; 所述处理器根据所述第一标识确定所述第一用户设备和 /或所述第二用 户设备的演进的分组系统 EPS承载, 以使得所述第一用户设备与所述第 二用户设备根据所述 EPS承载完成由所述直接通信路径到所述网络通信 路径的路径切换过程。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
实施例九、
本发明实施例提供一种第一用户设备, 如图 14所示, 所述第一用户 设备 140具体包括: 发送器 141、 接收器 142和处理器 14 3。
所述发送器 1 41 , 用于向第三设备发送消息, 所述消息中携带有第 一标识, 所述消息用于使所述第三设备获知所述第一标识对应的信号强 度, 或用于所述第一用户设备请求将所述第一用户设备和第二用户设备 间的直接通信路径切换为网络通信路径, 以使得所述第三设备根据所述 消息确定将所述直接通信路径切换为所述网络通信路径。
所述接收器 1 42 , 用于接收所述第三设备发送的包括所述第一标识 的消息。
所述处理器 1 4 3 , 用于根据所述消息确定将所述直接通信路径切换 为所述网络通信路径。
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
进一步的, 所述第三设备具体是为所述第一用户设备服务的基站或 移动性管理实体 MME或服务器; 所述发送器 1 41 , 具体用于: 向所述基站发送第一消息, 以使得所述基站根据所述第一消息确定 将所述直接通信路径切换为所述网络通信路径时, 向所述 MME发送第四 消息, 所述第四消息中携带有所述第一标识, 以使得所述 MME根据所述 第四消息确定将所述直接通信路径切换为所述网络通信路径; 或者, 向所述服务器发送第二消息, 以使得所述服务器根据所述第二消息 确定将所述直接通信路径切换为所述网络通信路径时; 或者,
向所述服务器发送第二消息, 以使得所述服务器根据所述第二消息 确定将所述直接通信路径切换为所述网络通信路径时, 向所述 MME发送 第五消息, 所述第五消息中携带有所述第一标识, 以使得所述 MME根据 所述第五消息确定将所述直接通信路径切换为所述网络通信路径, 所述 MME 向所述基站发送携带所述第一标识的消息, 以使所述基站向所述第 一用户设备携带所述第一标识的消息; 或者,
向所述 MME发送第三消息, 以使得所述 MME根据所述第三消息确定 将所述直接通信路径切换为所述网络通信路径。
进一步的, 所述接收器 1 4 2 , 具体用于接收所述第三设备发送的路 径切换请求;
所述处理器 1 4 3 , 具体用于根据所述路径切换请求确定将所述直接 通信路径切换为所述第一标识对应的 EPS承载;
其中, 所述 EPS承载是所述第一用户设备接收所述第三设备发送的 包括所述第一标识的消息之后, 至少根据所述第一标识获得所述第一标 识对应的服务质量 QoS , 并向所述 MME发送携带所述 QoS 的第十消息后 建立的; 或者,
所述 EPS承载是所述第一用户设备向所述第三设备发送消息之前, 至少根据所述第一标识获得所述第一标识对应的服务质量 QoS , 并向移 动管理实体发送携带所述 QoS的第十消息后建立的。
进一步的, 所述处理器 1 4 3 , 具体用于将所述第一标识对应的直接 通信路径的 TFT的优先级调整为低于所述 EPS承载的 TFT的优先级, 以 使得所述第一用户设备通过所述 EPS承载与所述第二用户设备进行数据 传输。
进一步的, 所述接收器 1 4 2 , 具体用于接收所述第三设备发送第八 消息, 所述第八消息中携带所述第一标识; 则所述处理器 1 4 3 , 具体用于根据所述第八消息建立 EPS承载; 或 者,
所述接收器 1 42 , 具体用于接收所述第三设备发送的第九消息, 所 述第九消息中携带所述第一标识;
则所述处理器 1 4 3 , 具体用于至少根据所述第一标识获得所述第一 标识对应的服务质量 QoS , 向所述 MME发送第十四消息, 所述第十四消 息中携带有所述 QoS , 以使得所述 MME根据所述 QoS为所述第一用户设 备建立 EPS承载。
进一步的, 所述消息中还包括: 第一用户设备的第一标识和第二用 户设备的第二用户标识。
进一步的, 所述发送器 1 4 1 , 还用于:
向所述基站发送第十五消息, 所述第十五消息携带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除为所述第一用户设备和 /或第二用户设备分配的资源; 或者, 向所述服务器发送第十五消息,所述第十五消息携带所述第一标识, 以使所述服务器获知所述路径切换完成, 并向所述 MME发送携带所述第 一标识的第十六消息, 以使所述 MME 向所述基站发送携带所述第一标识 的第十七消息, 以使所述基站至少根据所述第一标识释放或删除为所述 第一用户设备和 /或第二用户设备分配的资源。
进一步的, 所述第十五消息中还携带第一信息, 以使所述基站向所 述 MME发送携带所述第一信息的消息, 以使所述 MME根据所述第一信息 进行计费; 或者,
所述第十五消息还携带第一信息, 以使所述基站向所述 MME发送携 带所述第一信息的消息, 以使所述 MME向所述服务器发送携带所述第一 信息的消息, 以使所述服务器根据所述第一信息进行计费;
所述第一信息包括数据流量和 /或通信时间。
本发明实施例提供一种第一用户设备, 所述发送器向第三设备发送 消息, 所述消息中携带有第一标识, 所述消息用于使所述第三设备获知 所述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述第 一用户设备和第二用户设备间的直接通信路径切换为网络通信路径, 以 使得所述第三设备根据所述消息确定将所述直接通信路径切换为所述网 络通信路径; 所述接收器接收所述第三设备发送的包括所述第一标识的 消息,根据所述消息确定将所述直接通信路径切换为所述网络通信路径。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
实施例十、
本发明实施例提供一种第四设备, 如图 1 5所示, 所述第四设备 1 6 0 包括: 接收器 1 61、 处理器 1 62和发送器 1 6 3。
所述接收器 1 61 , 用于接收第一用户设备和 /或第二用户设备发送的 消息, 所述消息中携带有第一标识, 所述消息用于使所述第四设备获知 所述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述第 一用户设备和第二用户设备间的直接通信路径切换为网络通信路径。
所述处理器 1 62 , 用于根据所述消息确定将所述直接通信路径切换 为所述网络通信路径。
所述发送器 1 6 3 , 用于向移动性管理实体 MME发送请求, 所述请求 中包括所述第一标识, 以使得所述 MME根据所述请求确定所述第一用户 设备和 /或第二用户设备对应的 EPS承载, 所述第一用户设备与所述第二 用户设备根据所述 EPS承载完成由所述直接通信路径到所述网络通信路 径的路径切换过程。
所述处理器 1 62 , 具体用于:
若所述消息中携带的所述第一标识对应的信号强度小于或等于预设 值, 则确定将所述直接通信路径切换为所述网络通信路径; 或者,
所述消息为用于所述第一设备获知所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径的切换请 求或切换通知消息时, 根据所述消息, 确定将所述直接通信路径切换为 所述网络通信路径。
所述接收器 1 61 , 还用于:
接收所述 MME发送的第十二消息, 所述第十二消息携带所述第一标 识; 如图 1 1所示, 所述第四设备 1 60还包括: 删除单元 1 04。 所述删除单元 1 04 , 用于至少根据所述第一标识释放或删除为所述 第一用户设备和 /或所述第二用户设备分配的资源。
则, 所述发送器 1 6 3 , 还用于向所述第一用户设备和 /或所述第二用 户设备发送第十三消息, 所述第十三消息用于指示所述第一用户设备和 / 或所述第二用户设备获知进行所述路径切换。
所述第四设备具体可以为基站或服务器。
本发明实施例提供一种第四设备,所述接收器接收第一用户设备和 / 或第二用户设备发送的消息, 所述消息中携带有第一标识, 所述消息用 于使所述第三设备获知所述第一标识对应的信号强度, 或用于所述第一 用户设备请求将所述第一用户设备和第二用户设备间的直接通信路径切 换为网络通信路径; 所述处理器根据所述消息确定将所述直接通信路径 切换为所述网络通信路径; 所述发送器向移动性管理实体 MME发送请求, 所述请求中包括所述第一标识, 以使得所述 MME根据所述请求确定所述 第一用户设备和 /或第二用户设备对应的 EPS承载, 所述第一用户设备与 所述第二用户设备根据所述 EPS承载完成由所述直接通信路径到所述网 络通信路径的路径切换过程。
通过本方案, 能够使得利用直接通信路径进行通信的 UE处于直接通 信路径覆盖范围之外时, 能够确定需要将直接通信路径切换到网络通信 路径, 并能够使得 UE成功切换到网络通信路径, 进而, 能够保证利用直 接通信路径进行通信的 UE之间数据传输的连续性, 提高用户体验。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 仅 以上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而 将上述功能分配由不同的功能模块完成, 即将装置的内部结构划分成不 同的功能模块, 以完成以上描述的全部或者部分功能。 上述描述的系统, 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装 置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例 仅仅是示意性的, 例如, 所述模块或单元的划分, 仅仅为一种逻辑功能 划分, 实际实现时可以有另外的划分方式, 例如多个单元或组件可以结 合或者可以集成到另一个系统, 或一些特征可以忽略, 或不执行。 另一 点, 所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过 一些接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其 它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开 的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于 一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选 择其中的部分或者全部单元来实现本实施例方案的目的。 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单 元中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集 成在一个单元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以 釆用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品 销售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的 理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分或者 该技术方案的全部或部分可以以软件产品的形式体现出来, 该计算机软 件产品存储在一个存储介质中, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等)或处理器(pr oce s s or ) 执行本发明各个实施例所述方法的全部或部分步骤。 而前述的存储介质 包括: U盘、 移动硬盘、 只读存储器 (ROM , Rea d-On l y Memory ) 、 随机 存取存储器 (RAM , Random Ac ce s s Memory ) 、 磁碟或者光盘等各种可以 存储程序代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不 局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本 发明的保护范围应以所述权利要求的保护范围为准。

Claims

权 利 要 求
1、 一种路径切换的方法, 其特征在于, 所述方法包括:
第一设备确定将第一用户设备和第二用户设备间的直接通信路径切 换为网络通信路径, 获得第一标识;
所述第一设备根据所述第一标识确定所述第一用户设备和 /或所述 第二用户设备的演进的分组系统 EPS承载, 以使得所述第一用户设备与 所述第二用户设备根据所述 EPS承载完成由所述直接通信路径到所述网 络通信路径的路径切换过程;
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
1、 根据权利要求 1所述的方法, 其特征在于, 所述第一设备确定将 第一用户设备和第二用户设备间的直接通信路径切换为网络通信路径, 获得第一标识具体包括:
所述第一设备接收基站发送的第四消息, 所述第四消息中携带所述 第一标识, 所述第四消息是所述基站接收到所述第一用户设备和 /或所述 第二用户设备发送的第一消息后向所述第一设备发送的, 所述第一消息 中携带有所述第一标识, 所述第一消息用于使所述基站获知所述第一标 识对应的信号强度或者所述第一用户设备和 /或所述第二用户设备请求 将所述直接通信路径切换为所述网络通信路径; 所述第一设备根据所述 第四消息, 确定将所述直接通信路径切换为所述网络通信路径, 并获得 所述第一标识; 或者,
所述第一设备接收服务器发送的第五消息, 所述第五消息中携带所 述第一标识, 所述第五消息是所述服务器收到所述第一用户设备和 /或所 述第二用户设备发送的第二消息后向所述第一设备发送的, 所述第二消 息中携带有所述第一标识, 所述第二消息用于使所述服务器获知所述第 一标识对应的信号强度或者所述第一用户设备和 /或所述第二用户设备 请求将所述直接通信路径切换为所述网络通信路径; 所述第一设备根据 所述第五消息, 确定将所述直接通信路径切换为所述网络通信路径, 并 获得所述第一标识; 或者, 所述第一设备接收所述第一用户设备和 /或所述第二用户设备发送 的第三消息, 所述第三消息中携带有所述第一标识, 所述第三消息用于 使所述第一设备获知所述第一标识对应的信号强度或者所述第一用户设 备和 /或所述第二用户设备请求将所述直接通信路径切换为所述网络通 信路径; 所述第一设备根据所述第三消息确定将所述直接通信路径切换 为所述网络通信路径, 并获得所述第一标识。
3、 根据权利要求 2所述的方法, 其特征在于, 所述第一设备根据所 述第三消息确定将所述直接通信路径切换为所述网络通信路径具体包 括:
若所述第三消息中携带的所述第一标识对应的信号强度小于或等于 预设值, 则所述第一设备确定将所述直接通信路径切换为所述网络通信 路径; 或者,
所述第三消息为用于使所述第一设备获知所述第一用户设备和 /或 所述第二用户设备请求将所述直接通信路径切换为所述网络通信路径的 切换请求或切换通知消息时, 所述第一设备根据所述第三消息, 确定将 所述直接通信路径切换为所述网络通信路径。
4、 根据权利要求 1 - 3任一项所述的方法, 其特征在于, 所述第一设 备根据所述第一标识确定所述第一用户设备和 /或所述第二用户设备的 EPS承载具体包括:
所述第一设备根据至少根据所述第一标识获得所述第一标识对应的 服务质量 QoS ;
所述第一设备向网关设备发送第六消息, 所述第六消息中携带所述 QoS , 所述第六消息用于告知所述网关设备建立所述 QoS的 EPS承载; 所述第一设备接收所述网关设备发送的第七消息, 向第一用户设备 和 /或所述第二用户设备发送第八消息, 所述第八消息中携带所述第一标 识, 以使得所述第一用户设备和 /或所述第二用户设备根据所述第一标识 建立所述 EP S承载, 并获知所述 EPS承载用于代替所述第一标识所标识 的直接连接, 或所述直接通信, 或所述直接通信路径或所述直接通信路 径中的至少一个承载。
5、 根据权利要求 1 - 3任一项所述的方法, 其特征在于, 所述第一设 备根据所述第一标识确定所述第一用户设备和 /或所述第二用户设备的 EPS承载具体包括: 所述第一设备向所述第一用户设备和 /或所述第二用户设备发送第 九消息, 所述第九消息中携带所述第一标识, 以使所述第一用户设备和 / 或所述第二用户设备至少根据所述第一标识获得与所述第一标识对应的 所述 QoS ;
接收所述第一用户设备和 /或所述第二用户设备发送的携带所述 QoS 的第十消息, 向所述网关设备发送第十一消息, 所述第十一消息中携带 所述 QoS , 所述第十一消息用于告知所述网关设备建立所述 QoS 的 EP S 承载。
6、 根据权利要求 1 -5任一项所述的方法, 其特征在于, 所述第一设 备根据所述第一标识确定所述第一用户设备和 /或所述第二用户设备的
EPS承载具体包括:
所述第一设备至少根据所述第一标识获得所述第一标识对应的 QoS ; 所述第一设备根据所述 QoS判断是否将所述直接通信路径切换为所 述网络通信路径;
若所述第一设备判断将所述直接通信路径切换为所述网络通信路 径,根据所述第一标识为所述第一用户设备和 /或所述第二用户设备建立 所述 EPS 7 载。
7、 根据权利要求 6所述的方法, 其特征在于, 所述第一设备根据所 述 QoS 判断是否将所述直接通信路径切换为所述网络通信路径具体包 括:
所述第一设备根据所述 QoS直接判断网络是否提供所述 QoS 的 EPS 承载, 若是, 则判断将所述直接通信路径切换为所述网络通信路径; 或 者,
所述第一设备向所述网关设备发送携带所述 Qo S 的请求消息, 以使 所述网关设备向策略计费规则功能实体 PCRF发送携带所述 QoS的请求消 息, 以使得所述 PCRF根据所述 QoS判断网络是否提供所述 QoS的 EPS承 载, 若是, 则判断将所述直接通信路径切换为所述网络通信路径; 或者, 所述第一设备向所述服务器发送携带所述 QoS 的请求消息, 所述服 务器向所述 PCRF发送携带所述 QoS的请求消息,所述 PCRF根据所述 QoS 判断网络是否可以提供所述 Qo S的 EPS承载, 若是, 则判断将所述直接 通信路径切换为所述网络通信路径。
8、 根据权利要求 1 - 3任一项所述的方法, 其特征在于, 所述第一设 备根据所述第一标识确定所述第一用户设备和 /或所述第二用户设备的
EPS承载具体包括:
所述第一设备向所述第一用户设备和 /或所述第二用户设备发送包 括所述第一标识的消息, 以使得所述第一用户设备和 /或所述第二用户设 备根据所述第一标识, 查找所述第一标识对应的 EPS承载。
9、 根据权利要求 2-8任一项所述的方法, 其特征在于, 所述第一消 息、 第二消息或第三消息中还包括: 所述第一用户设备的第一用户标识 和所述第二用户设备的第二用户标识。
1 0、 根据权利要求 9 所述的方法, 其特征在于, 所述第一设备至少 根据所述第一标识获得所述第一标识对应的 QoS 具体包括:
所述第一设备根据所述第一标识、 所述第一用户标识和所述第二用 户标识, 获得所述第一标识对应的 QoS。
1 1、 根据权利要求 1 -1 0任一项所述的方法, 其特征在于, 所述第一 设备根据所述第一标识确定所述第一用户设备和 /或所述第二用户设备 的 EPS承载之前, 还包括:
所述第一设备根据所述第一标识获得所述第二用户设备的第二用户 标识;
所述第一设备根据所述第二用户设备的第二用户标识获得为所述第 二用户设备服务的第二设备;
所述第一设备根据所述第一标识确定所述第一用户设备和 /或所述 第二用户设备的 EPS承载具体包括:
所述第一设备根据所述第一标识为所述第一用户设备建立所述 EPS 承载;
所述第一设备向所述第二设备发送第一请求消息, 所述第一请求消 息包括所述第二用户设备的第二用户标识和所述第一标识, 以使得所述 第二设备根据所述第二用户设备的第二用户标识和所述第一标识为所述 第二用户设备建立所述 EPS承载。
12、 根据权利要求 1 -1 0任一项所述的方法, 其特征在于, 所述第一 设备根据所述第一标识确定所述第一用户设备和 /或所述第二用户设备 的 EPS承载之前, 还包括:
所述第一设备根据所述第一标识获得第二用户设备的第二用户标 识; 所述第一设备根据所述第一标识确定所述第一用户设备和 /或所述 第二用户设备的 EPS承载具体包括:
所述第一设备根据所述第一标识为所述第一用户设备建立所述 EPS 承载;
所述第一设备向为所述第一用户设备服务的第一服务器发送第二请 求消息, 所述第二请求消息包括所述第二用户设备的第二用户标识和所 述第一标识, 以使得所述第一服务器根据所述第二用户设备的第二用户 标识获得为所述第二用户设备服务的第二服务器, 并向所述第二服务器 发送所述第二用户设备的第二用户标识和所述第一标识, 以使得所述第 二服务器向所述第二设备发送第三请求消息, 所述第二设备根据所述第 二用户设备的第二用户标识和所述第一标识为所述第二用户设备建立所 述 EPS承载。
1 3、 根据权利要求 1-12任一项所述的方法, 其特征在于, 所述第一 设备根据所述第一标识确定所述第一用户设备和 /或所述第二用户设备 的 EPS承载之前, 还包括:
所述第一设备向所述基站发送第十二消息, 所述第十二消息携带所 述第一标识, 以使所述基站至少根据所述第一标识释放或删除为所述第 一用户设备和 /或第二用户设备分配的资源, 以使所述基站向所述第一用 户设备和 /或所述第二用户设备发送第十三消息, 所述第十三消息用于指 示所述第一用户设备和 /或所述第二用户设备获知进行所述路径切换。
14、 一种路径切换的方法, 其特征在于, 所述方法包括:
第一用户设备向第三设备发送消息, 所述消息中携带有第一标识, 所述消息用于使所述第三设备获知所述第一标识对应的信号强度, 或用 于所述第一用户设备请求将所述第一用户设备和第二用户设备间的直接 通信路径切换为网络通信路径, 以使得所述第三设备根据所述消息确定 将所述直接通信路径切换为所述网络通信路径;
所述第一用户设备接收所述第三设备发送的包括所述第一标识的消 息, 根据所述消息确定将所述直接通信路径切换为所述网络通信路径; 其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
1 5、 根据权利要求 1 4所述的方法, 其特征在于, 所述第三设备具体 是为所述第一用户设备服务的基站或移动性管理实体 MME或服务器; 所 述第一用户设备向第三设备发送消息具体包括:
所述第一用户设备向所述基站发送第一消息, 以使得所述基站根据 所述第一消息确定将所述直接通信路径切换为所述网络通信路径时, 向 所述 MME发送第四消息, 所述第四消息中携带有所述第一标识, 以使得 所述 MME根据所述第四消息确定将所述直接通信路径切换为所述网络通 信路径; 或者,
所述第一用户设备向所述服务器发送第二消息, 以使得所述服务器 根据所述第二消息确定将所述直接通信路径切换为所述网络通信路径 时; 或者,
所述第一用户设备向所述服务器发送第二消息, 以使得所述服务器 根据所述第二消息确定将所述直接通信路径切换为所述网络通信路径 时, 向所述 MME发送第五消息, 所述第五消息中携带有所述第一标识, 以使得所述 MME根据所述第五消息确定将所述直接通信路径切换为所述 网络通信路径, 所述 MME向所述基站发送携带所述第一标识的消息, 以 使所述基站向所述第一用户设备携带所述第一标识的消息; 或者,
所述第一用户设备向所述 MME发送第三消息, 以使得所述 MME根据 所述第三消息确定将所述直接通信路径切换为所述网络通信路径。
1 6、 根据权利要求 1 4或 1 5所述的方法, 其特征在于, 所述第一用 户设备接收所述第三设备发送的包括所述第一标识的消息, 根据所述消 息确定将所述直接通信路径切换为所述网络通信路径具体包括:
所述第一用户设备接收所述第三设备发送的路径切换请求, 根据所 述路径切换请求确定将所述直接通信路径切换为所述第一标识对应的 EPS承载;
其中, 所述 EP S承载是所述第一用户设备接收所述第三设备发送的 包括所述第一标识的消息之后, 至少根据所述第一标识获得所述第一标 识对应的 Qo S , 并向所述 MME发送携带所述 QoS 的第十消息后建立的; 或者,
所述 EPS承载是所述第一用户设备向所述第三设备发送消息之前, 至少根据所述第一标识获得所述第一标识对应的 QoS , 并向移动管理实 体发送携带所述 QoS的第十消息后建立的。
1 7、 根据权利要求 1 4- 1 6任一项所述的方法, 其特征在于, 所述根 据所述消息确定将所述直接通信路径切换为所述网络通信路径具体包 括:
所述第一用户设备将所述第一标识对应的直接通信路径的 TFT的优 先级调整为低于所述 EP S承载的 TFT的优先级, 以使得所述第一用户设 备通过所述 EPS承载与所述第二用户设备进行数据传输。
1 8、 根据权利要求 1 4或 1 5所述的方法, 其特征在于, 所述第一用 户设备接收所述第三设备发送的包括所述第一标识的消息, 根据所述消 息确定将所述直接通信路径切换为所述网络通信路径具体包括:
所述第一用户设备接收所述第三设备发送第八消息, 所述第八消息 中携带所述第一标识, 所述第一用户设备根据所述第八消息建立 EPS承 载 或者,
所述第一用户设备接收所述第三设备发送的第九消息, 所述第九消 息中携带所述第一标识, 所述第一用户设备至少根据所述第一标识获得 所述第一标识对应的 QoS , 所述第一用户设备向所述 MME发送第十四消 息, 所述第十四消息中携带有所述 QoS , 以使得所述 MME根据所述 Qo S 为所述第一用户设备建立 EPS承载。
1 9、 根据权利要求 1 4- 1 8任一项所述的方法, 其特征在于, 所述消 息中还包括: 第一用户设备的第一标识和第二用户设备的第二用户标识。
20、 根据权利要求 1 4- 1 9任一项所述的方法, 其特征在于, 所述第 一用户设备接收所述第三设备发送的包括所述第一标识的消息, 根据所 述消息确定将所述直接通信路径切换为所述网络通信路径之后,还包括: 所述第一用户设备向所述基站发送第十五消息, 所述第十五消息携 带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除为所 述第一用户设备和 /或第二用户设备分配的资源; 或者,
所述第一用户设备向所述服务器发送第十五消息, 所述第十五消息 携带所述第一标识, 以使所述服务器获知所述路径切换完成, 并向所述 MME发送携带所述第一标识的第十六消息, 以使所述 MME 向所述基站发 送携带所述第一标识的第十七消息, 以使所述基站至少根据所述第一标 识释放或删除为所述第一用户设备和 /或第二用户设备分配的资源。
21、 根据权利要求 2 0所述的方法, 其特征在于, 所述第十五消息中 还携带第一信息, 以使所述基站向所述 MME发送携带所述第一信息的消 息, 以使所述 MME根据所述第一信息进行计费; 或者,
所述第十五消息还携带第一信息, 以使所述基站向所述 MME发送携 带所述第一信息的消息, 以使所述 MME向所述服务器发送携带所述第一 信息的消息, 以使所述服务器根据所述第一信息进行计费;
所述第一信息包括数据流量和 /或通信时间。
11、 一种路径切换的方法, 其特征在于, 所述方法包括:
第四设备接收第一用户设备和 /或第二用户设备发送的消息, 所述消 息中携带有第一标识, 所述消息用于使所述第四设备获知所述第一标识 对应的信号强度, 或用于所述第一用户设备请求将所述第一用户设备和 第二用户设备间的直接通信路径切换为网络通信路径;
所述第四设备根据所述消息确定将所述直接通信路径切换为所述网 络通信路径;
所述第四设备向 MME发送请求, 所述请求中包括所述第一标识, 以 使得所述 MME 根据所述请求确定所述第一用户设备和 /或第二用户设备 对应的 EPS 承载, 所述第一用户设备与所述第二用户设备根据所述 EPS 承载完成由所述直接通信路径到所述网络通信路径的路径切换过程。
2 3、 根据权利要求 22所述的方法, 其特征在于, 所述第四设备根据 所述消息确定将所述直接通信路径切换为所述网络通信路径具体包括: 若所述消息中携带的所述第一标识对应的信号强度小于或等于预设 值, 则所述第四设备确定将所述直接通信路径切换为所述网络通信路径; 或者,
所述消息为用于所述第一设备获知所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径的切换请 求或切换通知消息时, 所述第四设备根据所述消息, 确定将所述直接通 信路径切换为所述网络通信路径。
24、 根据权利要求 11或 2 3所述的方法, 其特征在于, 所述第四设 备为基站时, 所述第四设备向 MME发送请求消息之后, 还包括:
接收所述 MME发送的第十二消息, 所述第十二消息携带所述第一标 识;
所述基站至少根据所述第一标识释放或删除为所述第一用户设备和 /或所述第二用户设备分配的资源; 所述基站向所述第一用户设备和 /或所述第二用户设备发送第十三 消息, 所述第十三消息用于指示所述第一用户设备和 /或所述第二用户设 备获知进行所述路径切换。
25、 一种设备, 所述设备具体为第一设备, 其特征在于, 所述第一 设备包括: 第一确定单元和第二确定单元;
所述第一确定单元, 用于确定将第一用户设备和第二用户设备间的 直接通信路径切换为网络通信路径, 获得第一标识;
所述第二确定单元, 用于根据所述第一标识确定所述第一用户设备 和 /或所述第二用户设备的 EPS承载, 以使得所述第一用户设备与所述第 二用户设备根据所述 EPS承载完成由所述直接通信路径到所述网络通信 路径的路径切换过程;
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
26、根据权利要求 25所述的设备, 其特征在于, 所述第一确定单元, 具体用于:
接收基站发送的第四消息, 所述第四消息中携带所述第一标识, 所 述第四消息是所述基站接收到所述第一用户设备和 /或所述第二用户设 备发送的第一消息后向所述第一设备发送的, 所述第一消息中携带有所 述第一标识, 所述第一消息用于使所述基站获知所述第一标识对应的信 号强度或者所述第一用户设备和 /或所述第二用户设备请求将所述直接 通信路径切换为所述网络通信路径; 根据所述第四消息, 确定将所述直 接通信路径切换为所述网络通信路径, 并获得所述第一标识; 或者, 接收服务器发送的第五消息, 所述第五消息中携带所述第一标识, 所述第五消息是所述服务器收到所述第一用户设备和 /或所述第二用户 设备发送的第二消息后向所述第一设备发送的, 所述第二消息中携带有 所述第一标识, 所述第二消息用于使所述服务器获知所述第一标识对应 的信号强度或者所述第一用户设备和 /或所述第二用户设备请求将所述 直接通信路径切换为所述网络通信路径; 根据所述第五消息, 确定将所 述直接通信路径切换为所述网络通信路径, 并获得所述第一标识; 或者, 接收所述第一用户设备和 /或所述第二用户设备发送的第三消息,所 述第三消息中携带有所述第一标识, 所述第三消息用于使所述第一设备 获知所述第一标识对应的信号强度或者所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径; 根据所 述第三消息确定将所述直接通信路径切换为所述网络通信路径, 并获得 所述第一标识。
27、根据权利要求 26所述的设备, 其特征在于, 所述第一确定单元, 具体用于:
若所述第三消息中携带的所述第一标识对应的信号强度小于或等于 预设值, 则确定将所述直接通信路径切换为所述网络通信路径; 或者, 所述第三消息为用于使所述第一设备获知所述第一用户设备和 /或 所述第二用户设备请求将所述直接通信路径切换为所述网络通信路径的 切换请求或切换通知消息时, 根据所述第三消息, 确定将所述直接通信 路径切换为所述网络通信路径。
28、 根据权利要求 2 5-2 7任一项所述的设备, 其特征在于, 所述第 二确定单元, 具体用于:
根据至少根据所述第一标识获得所述第一标识对应的 QoS ;
向网关设备发送第六消息, 所述第六消息中携带所述 QoS , 所述第 六消息用于告知所述网关设备建立所述 QoS的 EPS承载;
接收所述网关设备发送的第七消息, 向第一用户设备和 /或所述第二 用户设备发送第八消息, 所述第八消息中携带所述第一标识, 以使得所 述第一用户设备和 /或所述第二用户设备根据所述第一标识建立所述 EPS 承载, 并获知所述 EPS承载用于代替所述第一标识所标识的直接连接, 或所述直接通信, 或所述直接通信路径或所述直接通信路径中的至少一 个承载。
29、 根据权利要求 2 5-2 8任一项所述的设备, 其特征在于, 所述第 二确定单元, 具体用于:
向所述第一用户设备和 /或所述第二用户设备发送第九消息, 所述第 九消息中携带所述第一标识, 以使所述第一用户设备和 /或所述第二用户 设备至少根据所述第一标识获得与所述第一标识对应的所述 QoS ;
接收所述第一用户设备和 /或所述第二用户设备发送的携带所述 QoS 的第十消息, 向所述网关设备发送第十一消息, 所述第十一消息中携带 所述 QoS , 所述第十一消息用于告知所述网关设备建立所述 QoS 的 EP S 承载。
30、 根据权利要求 2 5-2 9任一项所述的设备, 其特征在于, 所述第 二确定单元, 具体用于:
至少根据所述第一标识获得所述第一标识对应的 QoS ;
根据所述 QoS判断是否将所述直接通信路径切换为所述网络通信路 径;
若判断将所述直接通信路径切换为所述网络通信路径, 根据所述第 一标识为所述第一用户设备和 /或所述第二用户设备建立所述 EPS承载。
31、根据权利要求 30所述的设备, 其特征在于, 所述第二确定单元, 具体用于:
根据所述 QoS直接判断网络是否提供所述 QoS的 EPS承载, 若是, 则判断将所述直接通信路径切换为所述网络通信路径; 或者,
向所述网关设备发送携带所述 QoS 的请求消息, 以使所述网关设备 向策略计费规则功能实体 PCRF发送携带所述 QoS的请求消息, 以使得所 述 PCRF根据所述 QoS判断网络是否提供所述 QoS的 EPS承载, 若是, 则 判断将所述直接通信路径切换为所述网络通信路径; 或者,
向所述服务器发送携带所述 QoS 的请求消息, 所述服务器向所述 PCRF发送携带所述 QoS的请求消息, 所述 PCRF根据所述 QoS判断网络 是否可以提供所述 Qo S的 EP S承载, 若是, 则判断将所述直接通信路径 切换为所述网络通信路径。
32、 根据权利要求 2 5-2 7任一项所述的设备, 其特征在于, 所述第 二确定单元, 具体用于向所述第一用户设备和 /或所述第二用户设备发送 包括所述第一标识的消息, 以使得所述第一用户设备和 /或所述第二用户 设备根据所述第一标识, 查找所述第一标识对应的 EPS承载。
33、 根据权利要求 2 6- 32任一项所述的设备, 其特征在于, 所述第 一消息、 第二消息或第三消息中还包括: 所述第一用户设备的第一用户 标识和所述第二用户设备的第二用户标识。
34、根据权利要求 3 3所述的设备, 其特征在于, 所述第二确定单元, 具体用于根据所述第一标识、 所述第一用户标识和所述第二用户标识, 获得所述第一标识对应的 QoS。
35、 根据权利要求 2 5- 34任一项所述的设备, 其特征在于, 所述第 一设备还包括: 获得单元;
所述获得单元, 用于根据所述第一标识获得所述第二用户设备的第 二用户标识;
所述获得单元, 还用于根据所述第二用户设备的第二用户标识获得 为所述第二用户设备服务的第二设备;
所述第二确定单元, 具体用于:
根据所述第一标识为所述第一用户设备建立所述 EPS承载; 向所述第二设备发送第一请求消息, 所述第一请求消息包括所述第 二用户设备的第二用户标识和所述第一标识, 以使得所述第二设备根据 所述第二用户设备的第二用户标识和所述第一标识为所述第二用户设备 建立所述 EPS 7 载。
36、 根据权利要求 25-34任一项所述的设备, 其特征在于, 所述第 一设备还包括: 获得单元;
所述获得单元, 用于根据所述第一标识获得第二用户设备的第二用 户标识;
所述第二确定单元, 具体用于:
根据所述第一标识为所述第一用户设备建立所述 EPS承载; 向为所述第一用户设备服务的第一服务器发送第二请求消息, 所述 第二请求消息包括所述第二用户设备的第二用户标识和所述第一标识, 以使得所述第一服务器根据所述第二用户设备的第二用户标识获得为所 述第二用户设备服务的第二服务器, 并向所述第二服务器发送所述第二 用户设备的第二用户标识和所述第一标识, 以使得所述第二服务器向所 述第二设备发送第三请求消息, 所述第二设备根据所述第二用户设备的 第二用户标识和所述第一标识为所述第二用户设备建立所述 EPS承载。
37、 根据权利要求 25-36任一项所述的设备, 其特征在于, 所述第 一设备还包括: 发送单元;
所述发送单元, 用于向所述基站发送第十二消息, 所述第十二消息 携带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除为 所述第一用户设备和 /或第二用户设备分配的资源, 以使所述基站向所述 第一用户设备和 /或所述第二用户设备发送第十三消息, 所述第十三消息 用于指示所述第一用户设备和 /或所述第二用户设备获知进行所述路径 切换。 38、 一种路径切换的用户设备, 所述用户设备具体为第一用户设备, 其特征在于, 所述第一用户设备包括: 发送单元、 接收单元和确定单元; 所述发送单元, 用于向第三设备发送消息, 所述消息中携带有第一 标识, 所述消息用于使所述第三设备获知所述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述第一用户设备和第二用户设备间的 直接通信路径切换为网络通信路径, 以使得所述第三设备根据所述消息 确定将所述直接通信路径切换为所述网络通信路径;
所述接收单元, 用于接收所述第三设备发送的包括所述第一标识的 消息;
所述确定单元, 用于根据所述消息确定将所述直接通信路径切换为 所述网络通信路径;
其中, 所述第一标识用于标识所述第一用户设备和所述第二用户设 备间的直接连接; 或者, 所述第一标识用于标识第一用户设备和所述第 二用户设备间的直接通信; 或者, 所述第一标识用于标识所述直接通信 路径; 或者, 所述第一标识用于标识所述直接通信路径中的至少一个承 载。
39、 根据权利要求 38所述的用户设备, 其特征在于, 所述第三设备 具体是为所述第一用户设备服务的基站或 MME或服务器; 所述发送单元, 具体用于:
向所述基站发送第一消息, 以使得所述基站根据所述第一消息确定 将所述直接通信路径切换为所述网络通信路径时, 向所述 MME发送第四 消息, 所述第四消息中携带有所述第一标识, 以使得所述 MME根据所述 第四消息确定将所述直接通信路径切换为所述网络通信路径; 或者, 向所述服务器发送第二消息, 以使得所述服务器根据所述第二消息 确定将所述直接通信路径切换为所述网络通信路径时; 或者,
向所述服务器发送第二消息, 以使得所述服务器根据所述第二消息 确定将所述直接通信路径切换为所述网络通信路径时, 向所述 MME发送 第五消息, 所述第五消息中携带有所述第一标识, 以使得所述 MME根据 所述第五消息确定将所述直接通信路径切换为所述网络通信路径, 所述 MME 向所述基站发送携带所述第一标识的消息, 以使所述基站向所述第 一用户设备携带所述第一标识的消息; 或者,
向所述 MME发送第三消息, 以使得所述 MME根据所述第三消息确定 将所述直接通信路径切换为所述网络通信路径。
4 0、 根据权利要求 38或 39所述的用户设备, 其特征在于, 所述接收单元, 具体用于接收所述第三设备发送的路径切换请求; 所述确定单元, 具体用于根据所述路径切换请求确定将所述直接通 信路径切换为所述第一标识对应的 EP S承载;
其中, 所述 EP S承载是所述第一用户设备接收所述第三设备发送的 包括所述第一标识的消息之后, 至少根据所述第一标识获得所述第一标 识对应的 Qo S , 并向所述 MME发送携带所述 QoS 的第十消息后建立的; 或者,
所述 EPS承载是所述第一用户设备向所述第三设备发送消息之前, 至少根据所述第一标识获得所述第一标识对应的 QoS , 并向移动管理实 体发送携带所述 QoS的第十消息后建立的。
4 1、 根据权利要求 38-4 0任一项所述的用户设备, 其特征在于, 所 述确定单元, 具体用于将所述第一标识对应的直接通信路径的 TFT的优 先级调整为低于所述 EP S承载的 TFT的优先级, 以使得所述第一用户设 备通过所述 EPS承载与所述第二用户设备进行数据传输。
42、 根据权利要求 38或 39所述的用户设备, 其特征在于, 所述接 收单元, 具体用于接收所述第三设备发送第八消息, 所述第八消息中携 带所述第一标识;
则所述确定单元, 具体用于根据所述第八消息建立 EPS承载; 或者, 所述接收单元, 具体用于接收所述第三设备发送的第九消息, 所述 第九消息中携带所述第一标识;
则所述确定单元, 具体用于至少根据所述第一标识获得所述第一标 识对应的 Qo S , 向所述 MME发送第十四消息, 所述第十四消息中携带有 所述 QoS , 以使得所述 MME根据所述 Qo S 为所述第一用户设备建立 EP S 承载。
4 3、 根据权利要求 38-4 2任一项所述的用户设备, 其特征在于, 所 述消息中还包括: 第一用户设备的第一标识和第二用户设备的第二用户 标识。
44、 根据权利要求 38-4 3任一项所述的用户设备, 其特征在于, 所 述发送单元, 还用于:
向所述基站发送第十五消息, 所述第十五消息携带所述第一标识, 以使所述基站至少根据所述第一标识释放或删除为所述第一用户设备和 /或第二用户设备分配的资源; 或者,
向所述服务器发送第十五消息, 所述第十五消息携带所述第一标识, 以使所述服务器获知所述路径切换完成, 并向所述 MME发送携带所述第 一标识的第十六消息, 以使所述 MME 向所述基站发送携带所述第一标识 的第十七消息, 以使所述基站至少根据所述第一标识释放或删除为所述 第一用户设备和 /或第二用户设备分配的资源。
45、 根据权利要求 44所述的用户设备, 其特征在于, 所述第十五消 息中还携带第一信息, 以使所述基站向所述 MME发送携带所述第一信息 的消息, 以使所述 MME根据所述第一信息进行计费; 或者,
所述第十五消息还携带第一信息, 以使所述基站向所述 MME发送携 带所述第一信息的消息, 以使所述 MME向所述服务器发送携带所述第一 信息的消息, 以使所述服务器根据所述第一信息进行计费;
所述第一信息包括数据流量和 /或通信时间。
46、 一种路径切换的设备, 所述设备具体为第四设备, 其特征在于, 所述第四设备包括: 接收单元、 确定单元和发送单元;
所述接收单元,用于接收第一用户设备和 /或第二用户设备发送的消 息, 所述消息中携带有第一标识, 所述消息用于使所述第四设备获知所 述第一标识对应的信号强度, 或用于所述第一用户设备请求将所述第一 用户设备和第二用户设备间的直接通信路径切换为网络通信路径;
所述确定单元, 用于根据所述消息确定将所述直接通信路径切换为 所述网络通信路径;
所述发送单元, 用于向 MME发送请求, 所述请求中包括所述第一标 识, 以使得所述 MME根据所述请求确定所述第一用户设备和 /或第二用户 设备对应的 EP S承载, 所述第一用户设备与所述第二用户设备根据所述 EPS承载完成由所述直接通信路径到所述网络通信路径的路径切换过程。
47、 根据权利要求 46所述的设备, 其特征在于, 所述确定单元, 具 体用于:
若所述消息中携带的所述第一标识对应的信号强度小于或等于预设 值, 则确定将所述直接通信路径切换为所述网络通信路径; 或者,
所述消息为用于所述第一设备获知所述第一用户设备和 /或所述第 二用户设备请求将所述直接通信路径切换为所述网络通信路径的切换请 求或切换通知消息时, 根据所述消息, 确定将所述直接通信路径切换为 所述网络通信路径。
48、 根据权利要求 46或 47所述的设备, 其特征在于, 所述接收单 元, 还用于:
接收所述 MME发送的第十二消息, 所述第十二消息携带所述第一标 识;
所述第四设备还包括: 删除单元;
所述删除单元, 用于至少根据所述第一标识释放或删除为所述第一 用户设备和 /或所述第二用户设备分配的资源;
所述发送单元,还用于向所述第一用户设备和 /或所述第二用户设备发送第 十三消息,所述第十三消息用于指示所述第一用户设备和 /或所述第二用户 设备获知进行所述路径切换。
PCT/CN2014/081726 2013-07-08 2014-07-07 一种路径切换的方法、设备和用户设备 WO2015003590A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310284760.5 2013-07-08
CN201310284760.5A CN104284321B (zh) 2013-07-08 2013-07-08 一种路径切换的方法、设备和用户设备

Publications (1)

Publication Number Publication Date
WO2015003590A1 true WO2015003590A1 (zh) 2015-01-15

Family

ID=52258700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081726 WO2015003590A1 (zh) 2013-07-08 2014-07-07 一种路径切换的方法、设备和用户设备

Country Status (2)

Country Link
CN (1) CN104284321B (zh)
WO (1) WO2015003590A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017219289A1 (zh) * 2016-06-22 2017-12-28 华为技术有限公司 一种通信路径变更方法及设备

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018129875A1 (zh) * 2017-01-10 2018-07-19 华为技术有限公司 一种通信路径转换方法及设备
CN108632810B (zh) * 2017-03-24 2021-08-20 华为技术有限公司 控制终端设备状态的方法、终端设备和网络设备
CN111034334B (zh) * 2017-08-11 2022-01-14 华为技术有限公司 一种路径转换方法、相关装置及系统
WO2020191741A1 (zh) 2019-03-28 2020-10-01 Oppo广东移动通信有限公司 连接管理方法、装置、计算机设备和存储介质
CN111769893B (zh) * 2020-06-23 2022-03-25 联想(北京)有限公司 一种信号处理方法及装置
CN116155800A (zh) * 2021-11-22 2023-05-23 华为技术有限公司 一种数据传输的方法和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102948178A (zh) * 2010-06-01 2013-02-27 高通股份有限公司 多归属的对等网络
US20130054763A1 (en) * 2011-08-31 2013-02-28 Jacobus Van Der Merwe Methods and apparatus to configure virtual private mobile networks with virtual private networks
CN103037450A (zh) * 2011-09-29 2013-04-10 华为技术有限公司 通信模式切换的方法和装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549613A (zh) * 2003-05-19 2004-11-24 �ʼҷ����ֵ��ӹɷ����޹�˾ 在无线通信系统的p2p通信模式与传统通信模式之间软切换的方法和装置
US8213360B2 (en) * 2009-04-29 2012-07-03 Nokia Corporation Apparatus and method for flexible switching between device-to-device communication mode and cellular communication mode

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102948178A (zh) * 2010-06-01 2013-02-27 高通股份有限公司 多归属的对等网络
US20130054763A1 (en) * 2011-08-31 2013-02-28 Jacobus Van Der Merwe Methods and apparatus to configure virtual private mobile networks with virtual private networks
CN103037450A (zh) * 2011-09-29 2013-04-10 华为技术有限公司 通信模式切换的方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017219289A1 (zh) * 2016-06-22 2017-12-28 华为技术有限公司 一种通信路径变更方法及设备
US11419013B2 (en) 2016-06-22 2022-08-16 Huawei Technologies Co., Ltd. Communication path switching method and device

Also Published As

Publication number Publication date
CN104284321A (zh) 2015-01-14
CN104284321B (zh) 2018-09-21

Similar Documents

Publication Publication Date Title
EP3528526B1 (en) Communication method, terminal, and system for adjusting a slice resource in a communication network
KR102221747B1 (ko) 스위칭 방법 및 장치
US20190037461A1 (en) Bearer Handover Method, Base Station Device, and Network Node
WO2015003590A1 (zh) 一种路径切换的方法、设备和用户设备
CN109600802B (zh) 数据传输方法、相关设备及系统
US20170238215A1 (en) Mobility management method, apparatus, and system
WO2014198133A1 (zh) 一种数据无线承载drb的资源分配方法及装置
CN110662308B (zh) 一种通信方法及装置
RU2667150C2 (ru) Устройство управления и способ управления передачей обслуживания по однонаправленному каналу
CN110830925A (zh) 一种用户群组的会话管理方法及装置
TWI641273B (zh) Network slice selection method and related equipment
WO2021027435A1 (zh) 一种安全保护方式确定方法及装置
WO2017113130A1 (zh) 一种资源请求方法、设备、网络侧节点及系统
WO2022001761A1 (zh) 通信方法及装置
JP2018532320A (ja) 無線リソース制御(rrc)接続を解放する方法および装置
CN114830818A (zh) 管理QoS的方法、中继终端、PCF网元、SMF网元及远程终端
CN109845389B (zh) 一种通信方法及装置
WO2015124104A1 (zh) 一种路径建立方法、设备及系统、核心网设备
CN114071466A (zh) 用户面完整性保护方法、装置及设备
CN114731723A (zh) 一种通信方法及装置
WO2019137169A1 (zh) 数据传输方法、装置、设备及计算机可读存储介质
WO2015085493A1 (zh) 上行业务数据流的传输装置、方法及系统
WO2015106382A1 (zh) 一种服务质量的协商方法、设备及系统
WO2016191951A1 (zh) 近距离业务的通信路径切换方法、装置及系统
WO2022001958A1 (zh) 一种计算服务的实现方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14823463

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14823463

Country of ref document: EP

Kind code of ref document: A1