[go: up one dir, main page]

WO2015003591A1 - Method and apparatus for releasing resource - Google Patents

Method and apparatus for releasing resource Download PDF

Info

Publication number
WO2015003591A1
WO2015003591A1 PCT/CN2014/081727 CN2014081727W WO2015003591A1 WO 2015003591 A1 WO2015003591 A1 WO 2015003591A1 CN 2014081727 W CN2014081727 W CN 2014081727W WO 2015003591 A1 WO2015003591 A1 WO 2015003591A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
direct communication
communication path
base station
resources related
Prior art date
Application number
PCT/CN2014/081727
Other languages
French (fr)
Chinese (zh)
Inventor
张娟
周燕飞
Original Assignee
电信科学技术研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 电信科学技术研究院 filed Critical 电信科学技术研究院
Publication of WO2015003591A1 publication Critical patent/WO2015003591A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • 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 claims the priority of the Chinese patent application filed on July 8, 2013, the Chinese Patent Office, the application No. 201310284775.1, entitled “A Resource Release Method and Apparatus", the entire contents of which is incorporated herein by reference. This is incorporated herein by reference.
  • TECHNICAL FIELD The present application relates to the field of communications technologies, and in particular, to a resource release method and apparatus in a path switching from a direct communication path to a communication path via a core network. Communication process between the two terminals BACKGROUND The 3rd Generation Partnership Project (The 3 rf Generation Partnership, 3GPP ) defined in its data channel shown in FIG.
  • UEl User Equipment, UE 1 ; user equipment, known as the terminal Sending data to e B for its service, and the e B will pass the data to the core network device Serving Gateway (SGW) and Packet Data Network Gateway (PDN GW; PGW GW; The PGW will route the data to the PGW and the SGW serving the UE1 according to the route representation of the UE1, and the SGW serving the UE2 will transmit the data to the eNB of the UE2, and then transmit the data to the UE2 through the eNB.
  • SGW Serving Gateway
  • PGW GW Packet Data Network Gateway
  • PGW Packet Data Network Gateway
  • the example shown in FIG. 1 is a scenario when the SGW and the PGW of the UE1 and the UE2 are the same, and the process of routing the data to the PGW serving the UE2 by the PGW serving the UE1 is omitted.
  • FIG. 2A shows a data transmission path between terminals after implementing proximity communication.
  • UE1 and UE2 can directly perform data transmission without going through any network device;
  • FIG. 2B shows another terminal that implements proximity communication.
  • the data transmission path between the UE1 and the UE2 is connected to the same eNB, and the UE1 and the UE2 can forward data only through the eNB without routing the data to the core network for forwarding.
  • the data transmission methods of the above two direct communication paths (also called adjacent communication paths) can reduce the delay of data transmission and save network resources, especially the network resources of the core network.
  • the network support UE has both a communication path transmission mode via the core network and a direct communication path transmission mode not via the core network.
  • the network can switch a certain user service session from the communication path via the core network to the direct communication path; when the direct communication path cannot be maintained, the service data flow path on the direct communication path can also be switched to Via the communication path of the core network.
  • the path of the service data flow between the direct communication path and the communication path via the core network should not affect other activated service data streams. ring.
  • the operator can control and allocate resources for the direct communication path to the UE.
  • the current protocol requires that after the path switching process from the direct communication path to the communication path of the core network occurs, the network side and the UE side The saved resources and context information for the direct communication path need to be released, but there is currently no specific solution.
  • Embodiments of the present application provide a resource release method and apparatus in a path switching from a direct communication path to a communication path via a core network.
  • a resource release method provided by an embodiment of the present application includes:
  • the first terminal determines to terminate the direct communication path with the second terminal
  • the first terminal releases the resource related to the direct communication path that is saved by itself, and the first terminal requests the first base station where the first terminal is located to perform a release process of the resource related to the direct communication path.
  • the first terminal first releases the resource related to the direct communication path that is saved by itself, and then requests the first base station to perform a release process of the resource related to the direct communication path.
  • the first terminal first requests the first base station to perform a release process of the resource related to the direct communication path, and after receiving the response message returned by the first base station, releasing the saved The resource related to the direct communication path, where the response message is sent after the first base station completes a release process of resources related to the direct communication path.
  • the first terminal releases the resources related to the direct communication path that are saved by the first terminal, and specifically includes:
  • the first terminal directly releases the resources related to the direct communication path that are saved by itself; or
  • the first terminal sends a resource release request to the second terminal, and after receiving the resource release response returned by the second terminal, releasing the resource related to the direct communication path saved by the first terminal, the resource release request And configured to request the second terminal to release a resource related to the direct communication path, where the resource release response is sent by the second terminal after completing a release process of a resource related to the direct communication path that is saved by itself Or,
  • the first terminal starts a configured timer, and when the timer expires, releases the resources related to the direct communication path that are saved by itself.
  • the first terminal releases the resources related to the direct communication path that are saved by the first terminal, and specifically includes:
  • the first terminal starts a configured timer; Sending, by the first terminal, a resource release request to the second terminal;
  • the first terminal releases the resource related to the direct communication path that is saved by itself, and closes the timer; otherwise, When the timer expires, the first terminal releases the resources related to the direct communication path that are saved by itself;
  • the resource release request is used to request the second terminal to release the resource related to the direct communication path, where the resource release response is related to the direct communication path that the second terminal completes itself.
  • the resource is sent after the release process.
  • the sending by the first terminal, the resource release request to the second terminal, specifically: the first terminal, by using a direct communication interface with the second terminal, to the second terminal Send the resource release request.
  • the method further includes:
  • the first terminal receives a response message returned by the first base station, where the response message is used to notify the first terminal that the first base station has completed a release process of resources related to the direct communication path.
  • the first base station where the first terminal is located receives the request information sent by the first terminal, and the request information is used to request the first base station to perform a direct communication path between the first terminal and the second terminal. a release process of resources; the first base station performs a release process of resources related to the direct communication path.
  • the method further includes:
  • the first base station sends a response message to the first terminal, where the response message is used to notify the first terminal that the first base station has completed the release process of resources related to the direct communication path.
  • the first base station performs a release process of the resource related to the direct communication path, and specifically includes:
  • the first base station Upon receiving the request information sent by the first terminal, the first base station releases the resources that are saved by itself and related to the direct communication path.
  • the The first base station performs a release process of the resource related to the direct communication path, and specifically includes:
  • the first base station Upon receiving the request information sent by the first terminal, the first base station releases the resource that is saved by itself and is related to the direct communication path; or Upon receiving the request information sent by the first terminal, the first base station releases the resource related to the direct communication path that is saved by itself, and the first base station requests the second base station by using the interface. And releasing the resource related to the direct communication path, where the second base station sends a response message to the first base station after completing a release process of the resource related to the direct communication path.
  • the process of releasing the resources related to the direct communication path by the first base station includes:
  • the first base station Upon receiving the request information sent by the first terminal, the first base station releases the resource that is saved by itself and is related to the direct communication path; or
  • the first base station Upon receiving the request information sent by the first terminal, the first base station releases the resource related to the direct communication path that is saved by the first base station, and the first base station passes the first location where the first terminal is located.
  • the mobility management entity MME and the second MME where the second terminal is located requesting the second base station to release resources related to the direct communication path, where the second base station is related to the direct communication path
  • the second MME and the first MME send a response message to the first base station.
  • a first processing module configured to determine that the direct communication path between itself and the second terminal is stopped
  • a second processing module configured to release the resource related to the direct communication path that is saved by itself, and request the first base station where the first base station is located to perform a release process of the resource related to the direct communication path.
  • the second processing module is specifically configured to: first release a resource that is saved by the direct communication path, and then request the first base station to perform a release process of the resource related to the direct communication path.
  • the second processing module is specifically configured to: first request the first base station to perform a release process of the resource related to the direct communication path, after receiving the response message returned by the first base station, The self-saved resource related to the direct communication path is released, and the response message is sent after the first base station completes the release process of the resource related to the direct communication path.
  • the second processing module releases the resources related to the direct communication path that are saved by the second processing module, and specifically includes:
  • the configured timer is started, and when the timer expires, the resources related to the direct communication path saved by itself are released.
  • the second processing module releases the resources related to the direct communication path that are saved by the second processing module, and specifically includes:
  • the resource related to the direct communication path saved by itself is released, and the timer is turned off; otherwise, the timer is When timed out, releasing the resources saved by itself and related to the direct communication path;
  • the resource release request is used to request the second terminal to release the resource related to the direct communication path, where the resource release response is related to the direct communication path that the second terminal completes itself.
  • the resource is sent after the release process.
  • the second processing module is specifically configured to:
  • the resource release request is sent to the second terminal through a direct communication interface with the second terminal.
  • the second processing module is further configured to:
  • a receiving module configured to receive request information sent by the first terminal, where the request information is used to request to perform a release process of a resource related to a direct communication path between the first terminal and the second terminal;
  • a processing module configured to perform a release process of resources related to the direct communication path.
  • processing module is further configured to:
  • the processing module performs a release process of the resource related to the direct communication path, specifically:
  • the receiving module receives the request information sent by the first terminal, releasing the resource that is saved by the first terminal and related to the direct communication path;
  • the receiving module receives the request information sent by the first terminal, and receives the request information sent by the second terminal for requesting to perform the release process of the resource related to the direct communication path, releasing the self-storing Resources associated with the direct communication path.
  • the processing module performs a related to the direct communication path.
  • the release process of resources is specifically as follows: When the receiving module receives the request information sent by the first terminal, releasing the resource that is saved by itself and related to the direct communication path; or
  • the receiving module When the receiving module receives the request information sent by the first terminal, releasing the resource related to the direct communication path that is saved by itself, and requesting, by the interface, the second base station to release the direct communication a path-related resource; wherein, the second base station sends a response message after completing a release process of the resource related to the direct communication path.
  • the processing module performs related to the direct communication path.
  • the release process of the resources specifically:
  • the receiving module receives the request information sent by the first terminal, releasing the resource that is saved by the first terminal and related to the direct communication path;
  • the receiving module When the receiving module receives the request information sent by the first terminal, releasing the resource related to the direct communication path that is saved by the first terminal, and the first MME and the second And the second MME, where the terminal is located, requests the second base station to release resources related to the direct communication path, where the second base station sends a response message after completing a release process of resources related to the direct communication path.
  • the terminal at least includes: a memory, a processor, and an antenna; wherein:
  • the memory stores at least resources related to a direct communication path between itself and the second terminal, and the resources related to the direct communication path include at least resources allocated for the direct communication and context information corresponding to the direct communication.
  • the processor deletes a resource related to the direct communication path saved in the memory when determining that the direct communication path between itself and the second terminal is terminated, and sends the request information to the first base station through the antenna to request the first base station A release process of resources related to the direct communication path is performed.
  • the processor may first delete the resource related to the direct communication path saved in the memory, and then send the request information to the first base station by using the antenna; or send the request information to the first base station through the antenna first, and After the antenna receives the response message returned by the first base station, the resource related to the direct communication path saved in the memory is deleted.
  • the processor When the processor performs the deletion of the resources related to the direct communication path saved in the memory, the processor specifically includes the following methods:
  • the resource release request is sent to the second terminal by using the antenna, and after the antenna receives the resource release response returned by the second terminal, the resource related to the direct communication path saved in the memory is deleted; or
  • the configured timer is started first, and when the timer expires, the resources related to the direct communication path saved in the memory are deleted.
  • the processor may also use the combination of the explicit signaling and the timer to delete the resources related to the direct communication path saved in the memory.
  • the processor may also use the combination of the explicit signaling and the timer to delete the resources related to the direct communication path saved in the memory.
  • the base station at least includes: a memory, a processor, and an antenna; wherein:
  • the memory stores at least resources related to a direct communication path of each terminal of the service, and related information of a communication path of each terminal of the service via the core network, where the resources related to the direct communication path include at least resources allocated for the direct communication, And context information corresponding to the direct communication.
  • the processor performs a release process of a resource related to the direct communication path according to the request information sent from the terminal, and services the antenna through the antenna after completing the release process of the resource related to the direct communication path.
  • the terminal sends a response message.
  • the processor performs a release process of the resource related to the direct communication path, and specifically includes:
  • the processor executes:
  • the resource related to the direct communication path stored in the memory is deleted.
  • the processor executes:
  • the processor executes:
  • the antenna When receiving the request information sent by the first terminal by using the antenna, deleting the resource related to the direct communication path saved in the memory, and indicating that the antenna passes the first MME where the first terminal is located and the second MME where the second terminal is located Sending a request to the second base station to request the second base station to release its own saved resources related to the direct communication path; wherein, the second base station sends a response message after completing the release process of the resource related to the direct communication path.
  • the first terminal determines that the direct communication path with the second terminal is terminated; the first terminal releases the resource related to the direct communication path that is saved by the first terminal, and the first terminal requests the first base station where the first terminal is located to perform The release process of resources associated with the direct communication path.
  • the UE side provides a specific solution for how to release the resources related to the direct communication path.
  • the first base station where the first terminal is located receives the request information sent by the first terminal, and the request information is used to request the first base station to perform resources related to the direct communication path between the first terminal and the second terminal.
  • FIG. 1 is a schematic diagram of a communication path between two user equipments via a core network in the prior art
  • 2A is a schematic diagram of a direct communication path between two user equipments defined in an existing protocol
  • FIG. 2B is a schematic diagram of a direct communication path between two user equipments that are defined by an eNB according to an existing protocol
  • FIG. 3 is a schematic flowchart of a resource release method according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of signaling interaction between a first terminal and a second terminal according to an embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart of another resource release method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart diagram of Embodiment 1 provided by the present application.
  • FIG. 7 is a schematic flowchart diagram of Embodiment 2 provided by the present application.
  • Embodiment 8A is a schematic flowchart of Embodiment 3 provided by the present application.
  • FIG. 8B is another schematic flowchart of Embodiment 3 provided by the present application.
  • FIG. 9 is a schematic flowchart diagram of Embodiment 4 provided by the present application.
  • Embodiment 10 is a schematic flowchart of Embodiment 5 provided by the present application.
  • FIG. 11 is a schematic diagram of a terminal according to an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a base station according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of another terminal according to an embodiment of the present application.
  • FIG. 14 is a schematic diagram of another base station according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • embodiments of the present application will be further described in detail with reference to the accompanying drawings.
  • a resource release method provided by an embodiment of the present application includes the following steps:
  • Step 31 The first terminal determines to terminate the direct communication path with the second terminal.
  • the first terminal and the second terminal use the direct communication path to transmit the data stream, if the direct communication between the first terminal and the second terminal ends, or the first terminal and the second terminal do not meet the setting.
  • the direct communication condition the first terminal determines that the direct communication path is terminated.
  • the set direct communication condition may be that the distance between the first terminal and the second terminal satisfies the set condition, for example, the distance between the first terminal and the second terminal is not greater than a set threshold; The link shield of the direct communication path between the first terminal and the second terminal is higher than a set threshold; and so on.
  • Step 32 The first terminal releases the resource that is saved by the direct communication path, and the first terminal requests the first base station where the first terminal is located to perform a release process of the resource related to the direct communication path.
  • the resources related to the direct communication path include, but are not limited to, one or more of the following information: a resource allocated to the direct communication path, and context information corresponding to the direct communication path.
  • the method further includes:
  • the first terminal switches the data stream on the direct communication path to a communication path with the second terminal via the core network.
  • step 32 may be performed before the path switching process, or may be performed after the path switching process is completed.
  • step 32 the method further includes:
  • the first terminal receives a response message returned by the first base station, where the response message is used to notify the first terminal that the first base station has completed the release process of the resource related to the direct communication path.
  • the first base station after receiving the request information of the first terminal, performs a release process of the resource related to the direct communication path, and after completing the release process of the resource related to the direct communication path, sends the information to the first terminal. Responding to the message, to inform the first terminal that it has completed the release process of the resources related to the direct communication path.
  • the first terminal may be the initiator device of the direct communication, or may be the peer device of the direct communication, specifically:
  • the second terminal is the peer device of the direct communication; if the first terminal is the peer device of the direct communication, the second terminal is the initiator of the direct communication device.
  • the first terminal is an initiator device of the direct communication.
  • step 32 further includes the following two specific implementation manners:
  • the first terminal after determining that the direct communication path with the second terminal is terminated, the first terminal first releases the resource related to the direct communication path that is saved by itself, and then requests the first base station to perform the direct communication path.
  • the release process of related resources
  • the first terminal may release the resources related to the direct communication path that are saved by itself according to any of the following methods:
  • Method 1 The first terminal directly releases the resources related to the direct communication path that are saved by itself;
  • Method 2 Release the direct communication path by explicit signaling, specifically:
  • the first terminal sends a resource release request to the second terminal, and after receiving the resource release response returned by the second terminal, releasing the resource related to the direct communication path saved by the second terminal, where the resource release request is used to request the second Transmitting, by the terminal, a resource related to the direct communication path, where the resource release response is sent by the second terminal after releasing the resource related to the direct communication path saved by the second terminal;
  • the first terminal after determining that the direct communication path with the second terminal is terminated, the first terminal sends a resource release request to the second terminal; after receiving the resource release request, the second terminal releases the saved data and the direct A resource related to the communication path, and after completing the release process, returning a resource release response to the first terminal; after receiving the resource release response, the first terminal releases the resource that is saved by the direct communication path.
  • the first terminal sends a resource release request to the second terminal by using a direct communication interface with the second terminal.
  • the second terminal after completing the release process of the resource related to the direct communication path saved by the second terminal, the second terminal returns a resource release response to the first terminal by using the directly communicated interface.
  • Method 3 The direct communication path is released by configuring a timer, which is specifically:
  • the first terminal starts the configured timer, and when the timer expires, releasing the resource that is saved by the direct communication path;
  • the configured timer is started, where When the timer expires, it releases its own saved resources related to the direct communication path.
  • the second terminal also uses the method to release the resources related to the direct communication path saved by the second terminal. Specifically, the second terminal determines to terminate the direct communication path with the first terminal, or completes the direct When the communication path to the path switching process via the communication path of the core network, the configured timer is started, and when the timer expires, the resources related to the direct communication path saved by itself are released.
  • Method 4 Combining the explicit signaling and the configuration timer, releasing the direct communication path, specifically including the following two situations: Case 1: The first terminal starts the configured timer, and sends a resource release request to the second terminal, if Receiving the resource release response returned by the second terminal before the timer expires, releasing the resource related to the direct communication path saved by the timer, and closing the timer;
  • the first terminal starts the configured timer when determining that the direct communication path with the second terminal terminates use, or completes a path switching process from the direct communication path to the communication path via the core network; During the period, the resource release request may be sent to the second terminal. If the resource release response returned by the second terminal is received before the timer expires, the resource related to the direct communication path saved by itself is released, and the timer is closed.
  • processing on the second terminal side includes the following two types:
  • the configured timer is also started; During this period, if Receiving the resource release request sent by the first terminal, releasing the resource related to the direct communication path saved by itself, closing the timer, and returning a resource release response to the first terminal; otherwise, releasing the timer when the timer expires a resource that is itself associated with the direct communication path;
  • the second terminal does not perform any operation before.
  • the resource related to the direct communication path saved by itself is released, and the resource release response is returned to the first terminal.
  • the first terminal sends a resource release request to the second terminal by using a direct communication interface with the second terminal.
  • the second terminal after completing the release process of the resource related to the direct communication path saved by the second terminal, the second terminal returns a resource release response to the first terminal by using the directly communicated interface.
  • Case 2 The first terminal starts the configured timer, sends a resource release request to the second terminal, and does not receive the resource release response returned by the second terminal before the timer expires, and then releases the self save when the timer expires. Resources associated with this direct communication path.
  • the first terminal starts the configured timer when determining that the direct communication path with the second terminal terminates use, or completes a path switching process from the direct communication path to the communication path via the core network; During the period, the resource release request may be sent to the second terminal. If the resource release response returned by the second terminal is not received before the timer expires, when the timer expires, the saved relationship related to the direct communication path is released. Resources.
  • the first terminal sends a resource release request to the second terminal by using a direct communication interface with the second terminal.
  • the second terminal after completing the release process of the resource related to the direct communication path saved by the second terminal, the second terminal returns a resource release response to the first terminal by using the directly communicated interface.
  • the first terminal only releases the resources related to the direct communication path that are saved by itself, and does not request the second terminal to release resources related to the direct communication path; In the fourth, the first terminal not only releases the resources saved by the direct communication path, but also requests the second terminal to release resources related to the direct communication path.
  • the first terminal in determining that the direct communication path with the second terminal is terminated, the first terminal first requests the first base station to perform a release process of the resource related to the direct communication path, and receives the return from the first base station. After the response message, the resource related to the direct communication path saved by itself is released, where the response message is sent after the first base station completes the release process of the resource related to the direct communication path.
  • the first terminal may release the resource related to the direct communication path saved by the method according to any one of the methods 1 to 4;
  • Method 4 For details of Method 4, refer to the detailed description above, and details are not described here.
  • the process of explicit signaling interaction between the first terminal and the second terminal includes the following steps:
  • Step 41 The first terminal sends a resource release request to the second terminal, to request the second terminal to release resources related to the direct communication path.
  • Step 42 The second terminal receives the resource release request, releases the resource related to the direct communication path saved by itself, and returns a resource release response to the first terminal.
  • the embodiment of the present application further provides another resource release method. As shown in FIG. 5, the method includes the following steps:
  • Step 51 The first base station where the first terminal is located receives request information sent by the first terminal, where the request information is used to request the first base station to perform a release process of resources related to a direct communication path between the first terminal and the second terminal. ;
  • Step 52 The first base station performs a release process of resources related to the direct communication path.
  • step 52 the method further includes:
  • the first base station After the first base station completes the release process of the resource related to the direct communication path, the first base station sends a response message to the first terminal, where the response message is used to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
  • the resources related to the direct communication include, but are not limited to, one or more of the following information: a resource allocated to the direct communication path, and context information corresponding to the direct communication path.
  • the embodiment of the present application includes the following three specific application scenarios:
  • the first base station and the second base station where the second terminal is located are the same base station.
  • the first base station in step 52 performs a release process of the resource related to the direct communication path, and specifically includes the following two processing modes:
  • the first base station receives the request information sent by the first terminal, and receives the request information sent by the second terminal for requesting the first base station to perform a release process of the resource related to the direct communication path, releasing itself The saved resources associated with the direct communication path;
  • the first terminal and the second terminal respectively send request information to the first base station, to request the first base station to perform a release process of resources related to the direct communication path, where the first base station receives the first terminal and the first When the two terminals separately send the request information, the resources related to the direct communication path saved by themselves are released.
  • Embodiment 1 In this embodiment, UE1 and UE2 are both camped on e B, and UE1 (or UE2) determines the data on the direct communication path after determining that the direct communication path with UE2 (or UE1) is terminated. The flow is switched over to the communication path with UE2 (or UE1) via the core network.
  • the resource release process includes the following:
  • Step 61 The UE1 sends a path switching notification to the eNB, notifying the eNB that the path switching process has been completed, and requesting the eNB to perform a release process of resources related to the direct communication path.
  • Step 61b UE2 sends a path switching notification to the eNB, notifying the eNB that the path switching process has been completed, and requesting the eNB to perform a release process of resources related to the direct communication path.
  • steps 61a and 61b are not limited.
  • Step 62 The eNB locally releases the direct communication path resource, that is, the eNB releases the resource that is saved by itself and is related to the direct communication path. Specifically, the e B releases the air interface resource allocated to the direct communication path between the UE 1 and the UE 2 and deletes the context information about the direct communication path saved by itself.
  • Step 63a After completing the resource release process, the eNB returns a response message to UE1 to notify UE1 that the resource release is completed.
  • Step 63b After completing the resource release process, the eNB returns a response message to the UE2 to notify the UE2 that the resource release is completed.
  • steps 63a and 63b are not limited.
  • Method B When receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that are saved by itself;
  • the first terminal sends the request information to the first base station when determining that the direct communication path between the second terminal and the second terminal is terminated; the first base station directly executes the network when receiving the request information sent by the first terminal The process of releasing the direct communication path by the side, that is, releasing the resources saved by itself and related to the direct communication path.
  • Embodiment 2 In this embodiment, UE1 and UE2 both reside in an eNB, and UE1 (or UE2), after determining that the direct communication path with UE2 (or UE1) is terminated, uses the data flow on the direct communication path. Switched to the communication path with UE2 (or UE1) via the core network.
  • the resource release process is as follows:
  • Step 71 The UE1 sends a path switching notification to the eNB, notifying the eNB that the path switching process has been completed, and requesting the eNB to perform a release process of resources related to the direct communication path.
  • Step 72 The eNB locally releases the direct communication path resource, that is, the eNB releases the resource related to the direct communication path. Specifically, the eNB releases the air interface resource allocated to the direct communication path between the UE 1 and the UE 2, and deletes the self-preserved information about the Context information for the direct communication path.
  • Step 73 After completing the resource release process, the eNB returns a response message to the UE1 to notify the UE1 that the resource release is complete.
  • the first base station specifically performs a release process of the resource related to the direct communication path, which may be specified in the protocol, or may be negotiated and determined by the terminal and the base station, as long as the terminal (the first terminal and the The second terminal) may be identical to the understanding of the base station (the first base station and the second base station).
  • the second base station where the first base station and the second terminal are located are different base stations, and an interface connection exists between the first base station and the second base station.
  • the first base station in step 52 performs a release process of the resource related to the direct communication path, and specifically includes the following two processing modes:
  • Manner 1 After receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that are saved by itself. In this manner, the first terminal sends the request information to the first base station to request the first base station to perform a release process of the resource related to the direct communication path; similarly, the second terminal sends the request information to the second base station to request The second base station performs a release process of the resource related to the direct communication path; when receiving the request information sent by the first terminal, the first base station releases the resource related to the direct communication path saved by itself; similarly, the second When receiving the request information sent by the second terminal, the base station releases the resources stored by itself and related to the direct communication path.
  • Embodiment 3 In this embodiment, UE1 resides in eNB1, UE2 resides in eB2, and UE1 (or UE2) determines the direct communication path after terminating the direct communication path with UE2 (or UE1). The upper data stream is switched over to the communication path with UE2 (or UE1) via the core network.
  • UE1 and eNB1 in the resource release process is as follows:
  • Step 81a The UE1 sends a path switching notification to the eNB1, notifying the eNB1 that the path switching process has been completed, and requesting the eNB1 to perform a release process of resources related to the direct communication path.
  • Step 82a The eNB1 locally releases the direct communication path resource, that is, the eNB1 releases the resource that is saved by itself and is related to the direct communication path;
  • the eNB1 releases the air interface resource allocated to the direct communication path and deletes the context information about the direct communication path saved by itself.
  • Step 83a After completing the resource release process, the eNB1 returns a response message to the UE1.
  • Step 81b The UE2 sends a path switching notification to the eB2, notifying that the e B2 path switching process is completed, and requesting e B2 to perform a release process of resources associated with the direct communication path;
  • Step 82b eNB2 locally releases the direct communication path resource, that is, e B2 releases the resource that is saved by itself and is related to the direct communication path;
  • e B2 releases the air interface resource allocated to the direct communication path and deletes the context information about the direct communication path saved by itself.
  • Step 83b After completing the resource release process, e B2 returns a response message to UE2.
  • Manner 2 After receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that is saved by the first base station, and the first base station requests the second base station by using an interface with the second base station. Release the resources associated with this direct communication path.
  • the first base station may first release the resource related to the direct communication path that is saved by the first base station, and then request the second base station to release the resource related to the direct communication path of the second terminal by using the interface;
  • the first terminal sends request information to the first base station; the first base station receives the request sent by the first terminal When the information is first, the resource related to the direct communication path saved by the first base station is released, and then the first request message is sent to the second base station by using an interface with the second base station to request the second base station to release the direct communication path. resource of.
  • the second base station sends an answer message to the first base station after completing the release process of the resource related to the direct communication path, to notify the first base station that the release process of the resource related to the direct communication path has been completed.
  • the first base station determines that the second base station has completed the release process of the resource related to the direct communication path, and the first base station returns a response message to the first terminal to notify the first terminal itself.
  • the release process of the resources associated with the direct communication path has been completed.
  • the first base station may first request the second base station to release the resources related to the direct communication path through the interface, and release the resources related to the direct communication path saved by the second base station when receiving the response message returned by the second base station.
  • the response message is sent by the second base station after completing the release process of the direct communication path.
  • the first terminal sends the request information to the first base station; when receiving the request information sent by the first terminal, the first base station sends a first request message to the second base station to request the second base station to release the direct request. a resource related to the communication path; when receiving the first request message, the second base station releases the resource related to the direct communication path that is saved by itself, and returns a response message to the first base station by using an interface with the first base station In order to notify the first terminal that the release process of the resource related to the direct communication path has been completed; when receiving the response message, the first base station releases the resource saved by itself and related to the direct communication path.
  • the first base station After releasing the resource related to the direct communication path saved by the first base station, the first base station returns a response message to the first terminal to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
  • Embodiment 4 In this embodiment, UE1 resides in e B 1 , UE2 resides in e B2 , and an interface connection exists between e B 1 and eNB 2, and UE1 (or UE2) determines to be associated with UE2 (or UE1). After the direct communication path is terminated, the data stream on the direct communication path is switched to the communication path with the UE2 (or UE1) via the core network. .
  • the resource release process is as follows:
  • Step 91 UE1 sends a path switching notification to e Bl, notifying that the e Bl path switching process has been completed, and requesting e Bl to perform a release process of resources related to the direct communication path;
  • Step 92 The eNB1 deletes the context information of the UE1 saved by the UE1 on the direct communication path and the air interface resource allocated to the direct communication path, and the eNB1 sends a release direct communication path resource message to the eB2 to request the e B2 to delete the saved information. Context information about the direct communication path and air interface resources allocated to the direct communication path.
  • Step 93 After completing the resource release, the e B2 returns a response message indicating that the resource release is complete to the eNB 1.
  • Step 94 The eNB1 returns a response message indicating that the resource release is completed to the UE1.
  • the first base station specifically performs a release process of the resource related to the direct communication path, which may be specified in the protocol, or may be negotiated and determined by the terminal and the base station, as long as the terminal (the first terminal and the The second terminal) may be identical to the understanding of the base station (the first base station and the second base station).
  • the second base station where the first base station and the second terminal are located are different base stations, and there is no interface connection between the first base station and the second base station.
  • the first base station in step 52 performs a release process of the resource related to the direct communication path, and specifically includes the following two processing modes:
  • Manner 1 When receiving the request information sent by the first terminal, the first base station releases the resource that is saved by itself and is related to the direct communication path.
  • the first terminal sends the request information to the first base station to request the first base station to perform a release process of the resource related to the direct communication path; similarly, the second terminal sends the request information to the second base station to request The second base station performs a release process of the resource related to the direct communication path; when receiving the request information sent by the first terminal, the first base station releases the resource related to the direct communication path saved by itself; similarly, the second When receiving the request information sent by the second terminal, the base station releases the resources stored by itself and related to the direct communication path.
  • the method is the same as the mode 1 in the second application scenario.
  • the first base station when receiving the request information sent by the first terminal, releases the resources related to the direct communication path saved by the first base station, and the first base station passes the first MME where the first terminal is located, and the second terminal The second MME requests the second base station to release resources related to the direct communication path.
  • the first base station may first release the resources related to the direct communication path that are saved by the first base station, and then request the second base station to release the resources related to the direct communication path by using the first MME and the second MME;
  • the first terminal sends request information to the first base station;
  • the request information sent by the first terminal is sent, the resource related to the direct communication path saved by the first terminal is released, and then the first request information is sent to the first terminal and the MME where the second terminal resides to request the second base station to release the information.
  • a resource related to the direct communication path after receiving the first request information, the MME sends a second request message to the second base station to request the second base station to release resources related to the direct communication path;
  • the first terminal sends request information to the first base station; the first base station receives the first MME.
  • the request information is sent by the terminal, the resource related to the direct communication path saved by the terminal is released, and then the first request information is sent to the first MME to request the second base station to release the resource related to the direct communication path;
  • the second request information is sent to the second base station to release the resource related to the direct communication path;
  • the second MME is in the second
  • the base station sends a third request message to request the second base station to release resources related to the direct communication path.
  • the second base station sends a response message after completing the release process of the resource related to the direct communication path, to indicate that the release process of the resource related to the direct communication path has been completed.
  • the second base station completes the release process of the resource related to the direct communication path.
  • the first terminal and the MME where the second terminal resides send a first response message to notify the MME that the release process of the resource related to the direct communication path has been completed; after receiving the first response message, the MME Sending, by the base station, a second response message to notify the first base station that the second base station has completed the release process of the resource related to the direct communication path;
  • the second base station sends the second MME to the second MME after completing the release process of the resources related to the direct communication path.
  • the first base station determines that the second base station has completed the release process of the resource related to the direct communication path, and the first base station returns a response message to the first terminal to notify the first terminal itself.
  • the release process of the resources associated with the direct communication path has been completed.
  • the first base station may first request the second base station to release the resources related to the direct communication path by using the first MME and the second MME, and release the self-save and the direct when receiving the response message returned by the second base station. Communication path related resources.
  • the response message is sent by the second base station after completing the release process of the direct communication path.
  • the first terminal sends request information to the first base station;
  • the first request information is sent to the first terminal and the MME where the second terminal resides to request the second base station to release the resource related to the direct communication path;
  • the MME receives the first After requesting the information, sending a third request message to the second base station to request the second base station to release resources related to the direct communication path; when receiving the third request message, the second base station releases the direct communication saved by the second base station a path-related resource, and sending a first response message to the MME, to notify the MME that the release process of the resource related to the direct communication path has been completed; after receiving the first response message, the MME sends the first response message to the first base station. Sending a second response message to notify the first base station that the second base station has completed the release process of the resource related to the direct communication path;
  • the first terminal sends request information to the first base station; the first base station receives the first terminal. Sending the request information, first sending the first request information to the first MME, requesting the second base station to release resources related to the direct communication path; After receiving the first request information, the MME sends the second request information to the second MME to request the second base station to release the resources related to the direct communication path. After receiving the second request information, the second MME sends the second request information to the second MME.
  • the second base station sends a third request message to request the second base station to release resources related to the direct communication path; when receiving the third request message, the second base station releases the resources related to the direct communication path that are saved by itself, And sending a first response message to the second MME, to notify the second MME that the release process of the resource related to the direct communication path is complete; after receiving the first response message, the second MME sends the first MME to the first MME.
  • a second response message to notify the first MME that the second base station has completed the release process of the resource related to the direct communication path; after receiving the second response message, the first MME sends a third response message to the first base station, to Notifying the first base station that the second base station has completed the release process of the resource related to the direct communication path; when the first base station receives the third response message, Put direct communication path associated with the resource itself saved.
  • the first base station After releasing the resource related to the direct communication path of the first terminal saved by itself, the first base station returns a response message to the first terminal to notify the first terminal that the release of the resource related to the direct communication path is completed. process.
  • first MME and the second MME are the same MME, that is, the first terminal and the second terminal are in the same MME, there is no interaction between the MMEs; if the first MME and the second MME For different MMEs, that is, the first terminal and the second terminal are camped on different MMEs, the first MME and the second MME need to perform interaction to complete the foregoing process.
  • Embodiment 5 UE1 resides in e Bl and MME1, UE2 resides in e B2 and MME2, e Bl and eNB2 are different base stations, and there is no interface connection between them, and MME1 and MME2 are different MMEs, UE1 (or UE2) After determining that the direct communication path between UE2 (or UE1) is terminated, the data stream on the direct communication path is switched over to the communication path with UE2 (or UE1) via the core network. As shown in Figure 10, the resource release process is as follows:
  • Step 101 UE1 sends a path switching notification to eNB1, notifying eNB1 that the path switching process has been completed, and requesting eB1 to perform a release process of resources related to the direct communication path;
  • Step 102 The eNB1 sends a release direct communication path resource message to the eB2 through the interface between the MME1 and the MME2, to request the eB2 to delete the context information of the UE2 on the direct communication path and the air interface resource allocated to the direct communication path.
  • Step 103 the MME1 sends the received release direct communication path resource message to the MME2;
  • Step 104 The MME2 sends the received release direct communication path resource message to e B2.
  • the eB2 After the resource release is completed, the eB2 returns a response message indicating that the resource release is completed to the eNB1 through the interface between the MME2 and the MME1.
  • Step 106 the MME2 sends the received response message to the MME1;
  • Step 107 The MME1 sends the received response message to the eNB1.
  • Step 108 After receiving the response message returned by e B2, the eNB1 deletes the UE1 saved by itself in the direct communication.
  • the first terminal may use any one of the foregoing methods 1 to 4 to release the self-saved related to the direct communication path.
  • the first base station may perform the release process of the resource related to the direct communication path in any one of the foregoing manners, that is, any one of the foregoing methods 1 to 4 may be performed with the first base station. Any one of the methods of releasing the resources related to the direct communication path is implemented in combination.
  • the first terminal releases the resource related to the direct communication path saved by the first terminal, and the first terminal requests the first base station to perform the release process of the resource related to the direct communication path, which is not limited to the foregoing.
  • the preferred method and manner can also be applied to other processing methods.
  • first base station and the second base station are the same base station, then:
  • the first terminal when determining that the direct communication path with the second terminal is terminated, releases the resource related to the direct communication path that is saved by itself, and the first terminal sends the request information to the first base station, where not in the step
  • the execution order of the two processes is limited;
  • the first base station After receiving the request information, the first base station releases the saved resource related to the direct communication path, and the first base station requests the second terminal to release the resource related to the direct communication path saved by the first terminal, where the step is not The order of the two processes in the process is limited.
  • the second terminal sends a feedback message to the first base station after completing the release process of the direct communication path.
  • the first base station determines that the second terminal has completed the release process of the resource related to the direct communication path, and the first base station returns a response message to the first terminal to notify the first terminal itself.
  • the release process of the resources associated with the direct communication path has been completed.
  • the first terminal releases when the direct communication path between the first terminal and the second terminal is terminated.
  • the first base station After receiving the request information, the first base station releases the saved resource related to the direct communication path, and the first base station requests the second base station to release the resource related to the direct communication path through the interface, where the step is not The order of the two processes in the process is limited;
  • the second base station After receiving the request information sent by the first base station, the second base station releases the saved resource related to the direct communication path, and requests the second terminal to release the resource related to the direct communication path that is saved by the second terminal, where the step is not The order of the two processes in the process is limited.
  • the second terminal sends a feedback message to the second base station after completing the release process of the direct communication path.
  • the second base station determines that the second terminal has completed the connection with the direct communication path.
  • the process of releasing the resource the second base station returns a response message to the first base station by using the interface, to notify the first base station that the release process of the resource related to the direct communication path is completed, and the second terminal has completed the The release process of resources related to the direct communication path.
  • the first base station After receiving the response message, the first base station returns a response message to the first terminal to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
  • first base station and the second base station where the second terminal is located are different base stations, and there is no interface connection between the first base station and the second base station, then:
  • the first terminal when determining that the direct communication path with the second terminal is terminated, releases the resource related to the direct communication path that is saved by itself, and the first terminal sends the request information to the first base station, where not in the step
  • the execution order of the two processes is limited;
  • the first base station After receiving the request information, the first base station releases the resource related to the direct communication path that is saved by the first base station, and the first base station requests the first MME where the first terminal is located and the second MME where the second terminal is located.
  • the second base station releases the resources related to the direct communication path, where the sequence of the two processes in the step is not limited;
  • the second base station After receiving the request information sent by the first base station, the second base station releases the saved resource related to the direct communication path, and requests the second terminal to release the resource related to the direct communication path that is saved by the second terminal, where the step is not The order of the two processes in the process is limited.
  • the second terminal sends a feedback message to the second base station after completing the release process of the direct communication path.
  • the second base station determines that the second terminal has completed the release process of the resource related to the direct communication path, and the second base station returns a response to the first base station by using the second MME and the first MME. a message, to inform the first base station that the release process of the resource related to the direct communication path has been completed, and the second terminal has completed the release process of the resource related to the direct communication path.
  • the first base station After receiving the response message, the first base station returns a response message to the first terminal to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
  • first MME and the second MME are the same MME, that is, the first terminal and the second terminal are in the same MME, there is no interaction between the MMEs; if the first MME and the second MME For different MMEs, that is, the first terminal and the second terminal are camped on different MMEs, the first MME and the second MME need to perform interaction to complete the foregoing process.
  • the above method processing flow can be implemented by a software program, which can be stored in a storage medium shield, and when the stored software program is called, the above method steps are performed.
  • a terminal is provided in the embodiment of the present application.
  • the principle of solving the problem is similar to the resource release method shown in FIG. 3, and therefore, the implementation of the terminal can be referred to the method shown in FIG. Implementation, repetition will not be repeated.
  • a terminal provided by an embodiment of the present application (the terminal corresponds to the first terminal mentioned in the foregoing method) End), the terminal includes:
  • the first processing module 111 is configured to determine that the direct communication path with the second terminal is terminated.
  • the second processing module 112 is configured to release the resource related to the direct communication path that is saved by itself, and request the first base station that the UE is in itself to perform a release process of the resource related to the direct communication path.
  • the resources related to the direct communication include, but are not limited to, one or more of the following information: a resource allocated to the direct communication path, and context information corresponding to the direct communication path.
  • the second processing module 112 is specifically configured to:
  • the second processing module 112 releases the resources related to the direct communication path that are saved by the second processing module 112, and specifically includes: directly releasing the resources related to the direct communication path saved by itself; or
  • the configured timer is started, and when the timer expires, the resources related to the direct communication path saved by itself are released. Further, the second processing module 112 releases the resources that are saved by the direct communication path, and further includes: starting the configured timer;
  • the resource release request is used to request the second terminal to release the resource related to the direct communication path, where the resource release response is sent by the second terminal after completing the release process of the resource related to the direct communication path saved by the second terminal.
  • the second processing module 112 is specifically configured to:
  • a resource release request is sent to the second terminal through a direct communication interface with the second terminal.
  • the second processing module 112 is further configured to:
  • the response message is used to notify the first base station that the release process of the resource related to the direct communication path has been completed.
  • the terminal shown in FIG. 11 of the embodiment of the present application may be the initiator device of the direct communication, or For the peer device of the direct communication.
  • a base station is also provided in the embodiment of the present application.
  • the principle of the base station solving the problem is similar to the resource release method shown in FIG. 5 above. Therefore, the implementation of the base station can be referred to the method shown in FIG. Implementation, repetition will not be repeated.
  • a base station is provided in the embodiment of the present application, where the base station is a base station where the first terminal resides, and the base station includes:
  • the receiving module 121 is configured to receive request information sent by the first terminal, where the request information is used to request to perform a release process of a resource related to a direct communication path between the first terminal and the second terminal;
  • the processing module 122 is configured to perform a release process of resources related to the direct communication path.
  • the resources related to the direct communication include, but are not limited to, one or more of the following information: a resource allocated to the direct communication path, and context information corresponding to the direct communication path.
  • processing module 122 is further configured to:
  • a response message is sent to the first terminal, the response message is used to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
  • the processing module 122 performs a release process of the resource related to the direct communication path, specifically:
  • the receiving module 121 When the receiving module 121 receives the request information sent by the first terminal, releasing the resource that is saved by itself and related to the direct communication path; or
  • the processing module 122 performs a release process of the resource related to the direct communication path, specifically:
  • the receiving module 121 When the receiving module 121 receives the request information sent by the first terminal, releasing the resource that is saved by itself and related to the direct communication path; or
  • the receiving module 121 When receiving the request information sent by the first terminal, the receiving module 121 releases the resource related to the direct communication path that is saved by itself, and requests the second base station to release the direct communication path by using an interface with the second base station. The second base station sends a response message after completing the release process of the resource related to the direct communication path.
  • the processing module 122 performs a release process of the resource related to the direct communication path, specifically:
  • the receiving module 121 When the receiving module 121 receives the request information sent by the first terminal, releasing the resource that is saved by itself and related to the direct communication path; or
  • the receiving module 121 When the receiving module 121 receives the request information sent by the first terminal, releasing the saved direct communication path with the first terminal Related resources, and requesting, by the first MME where the first terminal is located, and the second MME where the second terminal is located, to request the second base station to release resources related to the direct communication path, where the second base station completes direct communication with the A response message is sent after the release process of the path-related resource.
  • first MME and the second MME are the same MME, that is, the first terminal and the second terminal are in the same MME, there is no interaction between the MMEs; if the first MME and the second MME For different MMEs, that is, the first terminal and the second terminal are camped on different MMEs, the first MME and the second MME need to perform interaction to complete the foregoing process.
  • the terminal 130 includes at least: a memory 131, a processor 132, and an antenna 133; wherein: the memory 131 stores at least a resource related to a direct communication path between itself and the second terminal, and the direct communication path
  • the related resources include at least resources allocated for the direct communication and context information corresponding to the direct communication.
  • the processor 132 deletes the resource related to the direct communication path saved in the memory 131 when determining that the direct communication path between itself and the second terminal is terminated, and transmits the request information to the first base station through the antenna 133 to request The first base station performs a release procedure of resources related to the direct communication path.
  • the processor 132 may first delete the resource related to the direct communication path saved in the memory 131, and then send the request information to the first base station through the antenna 133; or send the request information to the first base station through the antenna 133. The information is requested, and after the antenna 133 receives the response message returned by the first base station, the resource related to the direct communication path saved in the memory 131 is deleted.
  • the processor 132 When the processor 132 performs the deletion of the resources related to the direct communication path stored in the memory 131, the processor 132 specifically includes the following methods:
  • the resource release request is sent to the second terminal by using the antenna, and after the antenna 133 receives the resource release response returned by the second terminal, the resource related to the direct communication path saved in the memory 131 is deleted; or
  • the configured timer is started first, and when the timer expires, the resources related to the direct communication path saved in the memory 131 are deleted.
  • the processor 132 can also delete the resources related to the direct communication path saved in the memory 131 by using the combination of the explicit signaling and the timer. For details, refer to the description of the foregoing method, and details are not described herein again.
  • the base station 140 includes at least: a memory 141, a processor 142, and an antenna 143; wherein: the memory 141 stores at least resources related to a direct communication path of each terminal of the service, and a core of each terminal of the service Information related to the communication path of the network, the resources related to the direct communication path include at least resources allocated for the direct communication and context information corresponding to the direct communication.
  • the processor 142 performs the direct communication path according to the request information sent by the terminal received by the antenna 143.
  • the release process of the associated resource, and after completing the release process of the resource related to the direct communication path, the response message is sent to the terminal itself served by the antenna 143.
  • the processor 142 performs a release process of the resources related to the direct communication path, and specifically includes:
  • the processor 142 performs:
  • the resource associated with the direct communication path stored in the memory 141 is deleted.
  • the processor 142 performs:
  • the request information sent by the first terminal is received through the antenna 143, the resource related to the direct communication path saved in the memory 141 is deleted, and the indication antenna 143 sends a request to the second base station through the interface to request the second base station. Releasing resources associated with the direct communication path; wherein the second base station sends a response message after completing a release process of resources related to the direct communication path.
  • the processor 142 performs:
  • the request information sent by the first terminal is received by the antenna 143, the resource related to the direct communication path saved in the memory 141 is deleted, and the antenna 143 is indicated by the first MME where the first terminal is located and the second terminal where the second terminal is located.
  • the second MME sends a request to the second base station to request the second base station to release the resource that is saved by the second base station and is related to the direct communication path.
  • the second base station sends a response message after completing the release process of the resource related to the direct communication path. .
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the application can be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • the application can be in the form of a computer program product embodied on one or more computer usable storage modules (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

Disclosed are a method and an apparatus for releasing a resource. The method of an embodiment of the present application comprises: a first terminal determining that a direct communication path to a second terminal is stopped being used; and the first terminal releasing a resource saved by the first terminal and related to the direct communication path, and the first terminal requesting a first base station where the first terminal is located to perform a process of releasing the resource related to the direct communication path. In this manner, when a direct communication path between two UEs is stopped being used, the embodiment of the present application provides a specific solution to solve the problem of how to release, on a network side and a UE side, a resource related to the direct communication path.

Description

一种资源释放方法和装置 本申请要求在 2013年 7月 08日提交中国专利局、 申请号为 201310284775.1、 发明名称为"一 种资源释放方法和装置"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本申请涉及通信技术领域, 特别涉及一种从直接通信路径到经由核心网的通信路径的路 径倒换中的资源释放方法和装置。 背景技术 第三代合作伙伴计划 (The 3rf Generation Partnership, 3GPP ) 中定义的两个终端间的通 信过程, 其数据通道参见图 1所示, UEl ( User Equipment, UE; 用户设备, 又称终端)将 数据发送到为其服务的 e B , 而该 e B 会将数据传递到核心网设备服务网关 (Serving Gateway, SGW )和分组数据网关 ( Packet Data Network Gateway, PDN GW; 筒称 PGW ), PGW会根据 UEl的路由表示将数据路由到为 UEl服务的 PGW和 SGW,为 UE2服务的 SGW 将数据传递到 UE2的 eNB, 再通过 eNB传递给 UE2。 图 1中所示的例子是 UE1和 UE2的 SGW和 PGW相同时的场景, 此时省略了为 UE1服务的 PGW将数据路由到为 UE2服务的 PGW的过程。 The present invention claims the priority of the Chinese patent application filed on July 8, 2013, the Chinese Patent Office, the application No. 201310284775.1, entitled "A Resource Release Method and Apparatus", the entire contents of which is incorporated herein by reference. This is incorporated herein by reference. TECHNICAL FIELD The present application relates to the field of communications technologies, and in particular, to a resource release method and apparatus in a path switching from a direct communication path to a communication path via a core network. Communication process between the two terminals BACKGROUND The 3rd Generation Partnership Project (The 3 rf Generation Partnership, 3GPP ) defined in its data channel shown in FIG. Referring, UEl (User Equipment, UE 1 ; user equipment, known as the terminal Sending data to e B for its service, and the e B will pass the data to the core network device Serving Gateway (SGW) and Packet Data Network Gateway (PDN GW; PGW GW; The PGW will route the data to the PGW and the SGW serving the UE1 according to the route representation of the UE1, and the SGW serving the UE2 will transmit the data to the eNB of the UE2, and then transmit the data to the UE2 through the eNB. The example shown in FIG. 1 is a scenario when the SGW and the PGW of the UE1 and the UE2 are the same, and the process of routing the data to the PGW serving the UE2 by the PGW serving the UE1 is omitted.
从图 1所示的通信过程可以看出, 即使两个终端之间的位置非常近, 其通信数据也需要 经由各自服务的 eNB以及核心网设备才能到达对端, 通信延时非常大, 而且还会占用网络的 资源。 因此 3GPP现在正在研究关于邻近设备之间的通信技术, 即若通信双方距离很近时, 能够实现两个 UE之间直接通信或者仅仅借助 eNB的传递实现两个 UE之间的快速通信。  It can be seen from the communication process shown in FIG. 1 that even if the positions between the two terminals are very close, the communication data needs to reach the opposite end via the eNB and the core network device of the respective services, and the communication delay is very large, and Will occupy the resources of the network. Therefore, 3GPP is now studying communication technology between neighboring devices, that is, if the two parties are close to each other, it is possible to realize direct communication between two UEs or to perform fast communication between two UEs only by means of eNB transmission.
图 2A示出了一种实现邻近通信后终端之间的数据传输路径, 图中 UE1和 UE2可以直接 进行数据传输, 不需要经过任何网络设备; 图 2B 示出了另一种实现邻近通信后终端之间的 数据传输路径,图中 UE1和 UE2连接到同一 eNB, UE1和 UE2可以仅通过该 eNB转发数据, 而不需要将数据路由到核心网进行转发。 以上两种直接通信路径(也称为邻近通信路径) 的 数据传输方式可以减少数据传输的延时, 并且可以节省网络的资源, 特别是核心网的网络资 源。  2A shows a data transmission path between terminals after implementing proximity communication. In the figure, UE1 and UE2 can directly perform data transmission without going through any network device; FIG. 2B shows another terminal that implements proximity communication. The data transmission path between the UE1 and the UE2 is connected to the same eNB, and the UE1 and the UE2 can forward data only through the eNB without routing the data to the core network for forwarding. The data transmission methods of the above two direct communication paths (also called adjacent communication paths) can reduce the delay of data transmission and save network resources, especially the network resources of the core network.
根据当前的协议需求, 网络支持 UE 同时具有经由核心网的通信路径传输方式, 以及不 经由核心网的直接通信路径传输方式。 当两个 UE邻近时, 网络可以将某一用户业务会话从 经由核心网的通信路径倒换到直接通信路径; 当直接通信路径不能保持时, 也可以将直接通 信路径上的业务数据流路径倒换到经由核心网的通信路径上。 另外, 业务数据流在直接通信 路径与经由核心网的通信路径之间的路径倒换过程不应该对其它已激活的业务数据流造成影 响。 According to current protocol requirements, the network support UE has both a communication path transmission mode via the core network and a direct communication path transmission mode not via the core network. When two UEs are adjacent, the network can switch a certain user service session from the communication path via the core network to the direct communication path; when the direct communication path cannot be maintained, the service data flow path on the direct communication path can also be switched to Via the communication path of the core network. In addition, the path of the service data flow between the direct communication path and the communication path via the core network should not affect other activated service data streams. ring.
运营商能控制并为 UE分配用于直接通信路径的资源, 为了避免资源浪费, 目前协议要 求当 UE发生了从直接通信路径到经由核心网的通信路径的路径倒换过程后, 网络侧和 UE 侧需要将保存的用于该直接通信路径的资源和上下文信息释放,但目前还没有具体解决方案。  The operator can control and allocate resources for the direct communication path to the UE. To avoid resource waste, the current protocol requires that after the path switching process from the direct communication path to the communication path of the core network occurs, the network side and the UE side The saved resources and context information for the direct communication path need to be released, but there is currently no specific solution.
综上所述, 目前, 当两个 UE之间的通信路径从直接通信路径倒换到经由核心网的通信路 径时, 对于网络侧和 UE侧保存的用于该直接通信路径的资源和上下文信息的释放, 还没有具 体解决方案。 发明内容 本申请实施例提供了一种从直接通信路径到经由核心网的通信路径的路径倒换中的资源 释放方法和装置。  In summary, at present, when the communication path between two UEs is switched from the direct communication path to the communication path via the core network, the resources and context information for the direct communication path saved by the network side and the UE side are Release, there is no specific solution. SUMMARY OF THE INVENTION Embodiments of the present application provide a resource release method and apparatus in a path switching from a direct communication path to a communication path via a core network.
本申请实施例提供的一种资源释放方法, 该方法包括:  A resource release method provided by an embodiment of the present application, the method includes:
第一终端确定与第二终端之间的直接通信路径终止使用;  The first terminal determines to terminate the direct communication path with the second terminal;
所述第一终端释放自身保存的与所述直接通信路径相关的资源, 且所述第一终端请求自 身所在的第一基站执行与所述直接通信路径相关的资源的释放过程。  The first terminal releases the resource related to the direct communication path that is saved by itself, and the first terminal requests the first base station where the first terminal is located to perform a release process of the resource related to the direct communication path.
作为一种实现方式, 所述第一终端先释放自身保存的与所述直接通信路径相关的资源, 再请求第一基站执行与所述直接通信路径相关的资源的释放过程。  As an implementation manner, the first terminal first releases the resource related to the direct communication path that is saved by itself, and then requests the first base station to perform a release process of the resource related to the direct communication path.
作为另一种实现方式, 所述第一终端先请求第一基站执行与所述直接通信路径相关的资 源的释放过程, 在接收到所述第一基站返回的响应消息后, 释放自身保存的与所述直接通信 路径相关的资源, 所述响应消息为所述第一基站完成与所述直接通信路径相关的资源的释放 过程后发送的。  As another implementation manner, the first terminal first requests the first base station to perform a release process of the resource related to the direct communication path, and after receiving the response message returned by the first base station, releasing the saved The resource related to the direct communication path, where the response message is sent after the first base station completes a release process of resources related to the direct communication path.
基于上述两种不同的实现方式, 所述第一终端释放自身保存的与所述直接通信路径相关 的资源, 具体包括:  Based on the foregoing two different implementation manners, the first terminal releases the resources related to the direct communication path that are saved by the first terminal, and specifically includes:
所述第一终端直接释放自身保存的与所述直接通信路径相关的资源; 或者,  The first terminal directly releases the resources related to the direct communication path that are saved by itself; or
所述第一终端向所述第二终端发送资源释放请求, 在接收到所述第二终端返回的资源释 放响应后, 释放自身保存的与所述直接通信路径相关的资源, 所述资源释放请求用于请求所 述第二终端释放与所述直接通信路径相关的资源, 所述资源释放响应是所述第二终端在完成 自身保存的与所述直接通信路径相关的资源的释放过程后发送的; 或者,  The first terminal sends a resource release request to the second terminal, and after receiving the resource release response returned by the second terminal, releasing the resource related to the direct communication path saved by the first terminal, the resource release request And configured to request the second terminal to release a resource related to the direct communication path, where the resource release response is sent by the second terminal after completing a release process of a resource related to the direct communication path that is saved by itself Or,
所述第一终端启动已配置的定时器, 在所述定时器超时时, 释放自身保存的与所述直接 通信路径相关的资源。  The first terminal starts a configured timer, and when the timer expires, releases the resources related to the direct communication path that are saved by itself.
基于上述两种不同的实现方式, 所述第一终端释放自身保存的与所述直接通信路径相关 的资源, 具体包括:  Based on the foregoing two different implementation manners, the first terminal releases the resources related to the direct communication path that are saved by the first terminal, and specifically includes:
所述第一终端启动已配置的定时器; 所述第一终端向所述第二终端发送资源释放请求; The first terminal starts a configured timer; Sending, by the first terminal, a resource release request to the second terminal;
若在所述定时器超时之前接收到所述第二终端返回的资源释放响应, 所述第一终端释放 自身保存的与所述直接通信路径相关的资源, 并关闭所述定时器; 否则, 所述第一终端在所 述定时器超时时, 释放自身保存的与所述直接通信路径相关的资源;  If the resource release response returned by the second terminal is received before the timer expires, the first terminal releases the resource related to the direct communication path that is saved by itself, and closes the timer; otherwise, When the timer expires, the first terminal releases the resources related to the direct communication path that are saved by itself;
其中, 所述资源释放请求用于请求所述第二终端释放与所述直接通信路径相关的资源, 所述资源释放响应是所述第二终端在完成自身保存的与所述直接通信路径相关的资源的释放 过程后发送的。  The resource release request is used to request the second terminal to release the resource related to the direct communication path, where the resource release response is related to the direct communication path that the second terminal completes itself. The resource is sent after the release process.
在实施中, 所述第一终端向所述第二终端发送所述资源释放请求, 具体包括: 所述第一终端通过与所述第二终端之间的直接通信接口, 向所述第二终端发送所述资源 释放请求。  In an implementation, the sending, by the first terminal, the resource release request to the second terminal, specifically: the first terminal, by using a direct communication interface with the second terminal, to the second terminal Send the resource release request.
在实施中, 所述方法还包括:  In an implementation, the method further includes:
所述第一终端接收所述第一基站返回的响应消息, 所述响应消息用于通知所述第一终端 所述第一基站已完成与所述直接通信路径相关的资源的释放过程。  The first terminal receives a response message returned by the first base station, where the response message is used to notify the first terminal that the first base station has completed a release process of resources related to the direct communication path.
本申请实施例提供的另一种资源释放方法, 该方法包括:  Another resource release method provided by the embodiment of the present application includes:
第一终端所在的第一基站接收所述第一终端发送的请求信息, 所述请求信息用于请求所 述第一基站执行与所述第一终端和第二终端之间的直接通信路径相关的资源的释放过程; 所述第一基站执行与所述直接通信路径相关的资源的释放过程。  The first base station where the first terminal is located receives the request information sent by the first terminal, and the request information is used to request the first base station to perform a direct communication path between the first terminal and the second terminal. a release process of resources; the first base station performs a release process of resources related to the direct communication path.
在实施中, 所述第一基站完成与所述直接通信路径相关的资源的释放过程之后, 所述方 法还包括:  In an implementation, after the first base station completes a release process of the resource related to the direct communication path, the method further includes:
所述第一基站向所述第一终端发送响应消息, 所述响应消息用于通知所述第一终端所述 第一基站已完成与所述直接通信路径相关的资源的释放过程。  The first base station sends a response message to the first terminal, where the response message is used to notify the first terminal that the first base station has completed the release process of resources related to the direct communication path.
作为一种具体应用场景, 若所述第一基站与所述第二终端所在的第二基站为同一基站, 所述第一基站执行与所述直接通信路径相关的资源的释放过程 , 具体包括:  As a specific application scenario, if the first base station and the second base station where the second terminal is located are the same base station, the first base station performs a release process of the resource related to the direct communication path, and specifically includes:
在接收到所述第一终端发送的请求信息, 且接收到所述第二终端发送的用于请求所述第 一基站执行与所述直接通信路径相关的资源的释放过程的请求信息时, 所述第一基站释放自 身保存的与所述直接通信路径相关的资源; 或者,  Receiving the request information sent by the first terminal, and receiving the request information sent by the second terminal for requesting the first base station to perform a release process of a resource related to the direct communication path, where Decoding the first base station to release its own saved resources related to the direct communication path; or
在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源。  Upon receiving the request information sent by the first terminal, the first base station releases the resources that are saved by itself and related to the direct communication path.
作为另一种具体应用场景,若所述第一基站与所述第二终端所在的第二基站为不同基站, 且所述第一基站与所述第二基站之间存在接口连接, 则所述第一基站执行与所述直接通信路 径相关的资源的释放过程, 具体包括:  As another specific application scenario, if the first base station and the second base station where the second terminal is located are different base stations, and the first base station and the second base station have an interface connection, the The first base station performs a release process of the resource related to the direct communication path, and specifically includes:
在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源; 或者, 在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源, 且, 所述第一基站通过所述接口请求所述第二基站释放与所述直接通信 路径相关的资源; 其中, 所述第二基站在完成与所述直接通信路径相关的资源的释放过程后 向所述第一基站发送应答消息。 Upon receiving the request information sent by the first terminal, the first base station releases the resource that is saved by itself and is related to the direct communication path; or Upon receiving the request information sent by the first terminal, the first base station releases the resource related to the direct communication path that is saved by itself, and the first base station requests the second base station by using the interface. And releasing the resource related to the direct communication path, where the second base station sends a response message to the first base station after completing a release process of the resource related to the direct communication path.
作为再一种具体应用场景,若所述第一基站与所述第二终端所在的第二基站为不同基站, 且所述第一基站与所述第二基站之间不存在接口连接 , 则所述第一基站执行与所述直接通信 路径相关的资源的释放过程, 具体包括:  In another specific application scenario, if the first base station and the second base station where the second terminal is located are different base stations, and there is no interface connection between the first base station and the second base station, The process of releasing the resources related to the direct communication path by the first base station includes:
在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源; 或者,  Upon receiving the request information sent by the first terminal, the first base station releases the resource that is saved by itself and is related to the direct communication path; or
在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源, 且, 所述第一基站通过所述第一终端所在的第一移动性管理实体 MME 以及所述第二终端所在的第二 MME , 请求所述第二基站释放与所述直接通信路径相关的资 源; 其中, 所述第二基站在完成与所述直接通信路径相关的资源的释放过程后通过所述第二 MME及所述第一 MME向所述第一基站发送应答消息。  Upon receiving the request information sent by the first terminal, the first base station releases the resource related to the direct communication path that is saved by the first base station, and the first base station passes the first location where the first terminal is located. The mobility management entity MME and the second MME where the second terminal is located, requesting the second base station to release resources related to the direct communication path, where the second base station is related to the direct communication path After the release process of the resource, the second MME and the first MME send a response message to the first base station.
本申请实施例提供的一种终端, 该终端包括:  A terminal provided by an embodiment of the present application, where the terminal includes:
第一处理模块, 用于确定自身与第二终端之间的直接通信路径停止使用;  a first processing module, configured to determine that the direct communication path between itself and the second terminal is stopped;
第二处理模块, 用于释放自身保存的与所述直接通信路径相关的资源, 且请求自身所在 的第一基站执行与所述直接通信路径相关的资源的释放过程。  And a second processing module, configured to release the resource related to the direct communication path that is saved by itself, and request the first base station where the first base station is located to perform a release process of the resource related to the direct communication path.
作为一种实现方式, 所述第二处理模块具体用于: 先释放自身保存的与所述直接通信路 径相关的资源, 再请求第一基站执行与所述直接通信路径相关的资源的释放过程。  As an implementation manner, the second processing module is specifically configured to: first release a resource that is saved by the direct communication path, and then request the first base station to perform a release process of the resource related to the direct communication path.
作为另一种实现方式, 所述第二处理模块具体用于: 先请求第一基站执行与所述直接通 信路径相关的资源的释放过程, 在接收到所述第一基站返回的响应消息后, 释放自身保存的 与所述直接通信路径相关的资源, 所述响应消息为所述第一基站完成与所述直接通信路径相 关的资源的释放过程后发送的。  As another implementation manner, the second processing module is specifically configured to: first request the first base station to perform a release process of the resource related to the direct communication path, after receiving the response message returned by the first base station, The self-saved resource related to the direct communication path is released, and the response message is sent after the first base station completes the release process of the resource related to the direct communication path.
基于上述两种不同的实现方式, 所述第二处理模块释放自身保存的与所述直接通信路径 相关的资源, 具体包括:  Based on the foregoing two different implementation manners, the second processing module releases the resources related to the direct communication path that are saved by the second processing module, and specifically includes:
直接释放自身保存的与所述直接通信路径相关的资源; 或者,  Directly releasing the resources associated with the direct communication path that are saved by itself; or
向所述第二终端发送资源释放请求, 在接收到所述第二终端返回的资源释放响应后, 释 放自身保存的与所述直接通信路径相关的资源, 所述资源释放请求用于请求所述第二终端释 放与所述直接通信路径相关的资源, 所述资源释放响应是所述第二终端在完成自身保存的与 所述直接通信路径相关的资源的释放过程后发送的; 或者,  Sending a resource release request to the second terminal, and after receiving the resource release response returned by the second terminal, releasing the resource related to the direct communication path saved by the second terminal, where the resource release request is used to request the The second terminal releases the resource related to the direct communication path, where the resource release response is sent by the second terminal after completing the release process of the resource related to the direct communication path saved by the second terminal; or
启动已配置的定时器, 在所述定时器超时时, 释放自身保存的与所述直接通信路径相关 的资源。 基于上述两种不同的实现方式, 所述第二处理模块释放自身保存的与所述直接通信路径 相关的资源, 具体包括: The configured timer is started, and when the timer expires, the resources related to the direct communication path saved by itself are released. Based on the foregoing two different implementation manners, the second processing module releases the resources related to the direct communication path that are saved by the second processing module, and specifically includes:
启动已配置的定时器;  Start the configured timer;
向所述第二终端发送资源释放请求;  Sending a resource release request to the second terminal;
若在所述定时器超时之前接收到所述第二终端返回的资源释放响应, 则释放自身保存的 与所述直接通信路径相关的资源, 并关闭所述定时器; 否则, 在所述定时器超时时, 释放自 身保存的与所述直接通信路径相关的资源;  If the resource release response returned by the second terminal is received before the timer expires, the resource related to the direct communication path saved by itself is released, and the timer is turned off; otherwise, the timer is When timed out, releasing the resources saved by itself and related to the direct communication path;
其中, 所述资源释放请求用于请求所述第二终端释放与所述直接通信路径相关的资源, 所述资源释放响应是所述第二终端在完成自身保存的与所述直接通信路径相关的资源的释放 过程后发送的。  The resource release request is used to request the second terminal to release the resource related to the direct communication path, where the resource release response is related to the direct communication path that the second terminal completes itself. The resource is sent after the release process.
在实施中, 所述第二处理模块具体用于:  In an implementation, the second processing module is specifically configured to:
通过与所述第二终端之间的直接通信接口, 向所述第二终端发送所述资源释放请求。 在实施中, 所述第二处理模块还用于:  The resource release request is sent to the second terminal through a direct communication interface with the second terminal. In an implementation, the second processing module is further configured to:
接收所述第一基站返回的响应消息, 所述响应消息用于通知所述第一基站已完成与所述 直接通信路径相关的资源的释放过程。  Receiving a response message returned by the first base station, where the response message is used to notify the first base station that the release process of resources related to the direct communication path has been completed.
本申请实施例提供的一种基站, 该基站包括:  A base station provided by an embodiment of the present application, where the base station includes:
接收模块, 用于接收所述第一终端发送的请求信息, 所述请求信息用于请求执行与所述 第一终端和第二终端之间的直接通信路径相关的资源的释放过程;  a receiving module, configured to receive request information sent by the first terminal, where the request information is used to request to perform a release process of a resource related to a direct communication path between the first terminal and the second terminal;
处理模块, 用于执行与所述直接通信路径相关的资源的释放过程。  And a processing module, configured to perform a release process of resources related to the direct communication path.
在实施中, 所述处理模块还用于:  In an implementation, the processing module is further configured to:
在完成与所述直接通信路径相关的资源的释放过程之后 ,向所述第一终端发送响应消息, 所述响应消息用于通知所述第一终端自身已完成与所述直接通信路径相关的资源的释放过 程。  After completing the release process of the resource related to the direct communication path, sending a response message to the first terminal, where the response message is used to notify the first terminal that the resource related to the direct communication path has been completed. The release process.
作为一种具体应用场景, 若与所述第二终端所在的第二基站为同一基站, 所述处理模块 执行与所述直接通信路径相关的资源的释放过程, 具体为:  As a specific application scenario, if the second base station where the second terminal is located is the same base station, the processing module performs a release process of the resource related to the direct communication path, specifically:
在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源; 或者,  And when the receiving module receives the request information sent by the first terminal, releasing the resource that is saved by the first terminal and related to the direct communication path; or
在所述接收模块接收到所述第一终端发送的请求信息, 且接收到所述第二终端发送的用 于请求执行所述直接通信路径相关的资源的释放过程的请求信息时, 释放自身保存的与所述 直接通信路径相关的资源。  When the receiving module receives the request information sent by the first terminal, and receives the request information sent by the second terminal for requesting to perform the release process of the resource related to the direct communication path, releasing the self-storing Resources associated with the direct communication path.
作为另一种具体应用场景, 若与所述第二终端所在的第二基站为不同基站, 且与所述第 二基站之间存在接口连接 , 所述处理模块执行与所述直接通信路径相关的资源的释放过程, 具体为: 在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源; 或者, As another specific application scenario, if the second base station where the second terminal is located is a different base station, and an interface connection exists with the second base station, the processing module performs a related to the direct communication path. The release process of resources is specifically as follows: When the receiving module receives the request information sent by the first terminal, releasing the resource that is saved by itself and related to the direct communication path; or
在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源, 且, 通过所述接口请求所述第二基站释放与所述直接通信路径相关的资 源; 其中, 所述第二基站在完成与所述直接通信路径相关的资源的释放过程后发送应答消息。  When the receiving module receives the request information sent by the first terminal, releasing the resource related to the direct communication path that is saved by itself, and requesting, by the interface, the second base station to release the direct communication a path-related resource; wherein, the second base station sends a response message after completing a release process of the resource related to the direct communication path.
作为再一种具体应用场景, 若与所述第二终端所在的第二基站为不同基站, 且与所述第 二基站之间不存在接口连接 ,所述处理模块执行与所述直接通信路径相关的资源的释放过程 , 具体为:  In another specific application scenario, if the second base station where the second terminal is located is a different base station, and there is no interface connection with the second base station, the processing module performs related to the direct communication path. The release process of the resources, specifically:
在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源; 或者,  And when the receiving module receives the request information sent by the first terminal, releasing the resource that is saved by the first terminal and related to the direct communication path; or
在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源, 且, 通过所述第一终端所在的第一 MME以及所述第二终端所在的第二 MME, 请求所述第二基站释放与所述直接通信路径相关的资源; 其中, 所述第二基站在完成 与所述直接通信路径相关的资源的释放过程后发送应答消息。  When the receiving module receives the request information sent by the first terminal, releasing the resource related to the direct communication path that is saved by the first terminal, and the first MME and the second And the second MME, where the terminal is located, requests the second base station to release resources related to the direct communication path, where the second base station sends a response message after completing a release process of resources related to the direct communication path.
下面结合具体硬件结构, 对本申请实施例提供的终端的结构、 处理方式进行说明。  The structure and processing manner of the terminal provided by the embodiment of the present application are described below in conjunction with the specific hardware structure.
终端至少包括: 存储器、 处理器、 和天线; 其中:  The terminal at least includes: a memory, a processor, and an antenna; wherein:
该存储器中至少保存有自身与第二终端之间的直接通信路径相关的资源, 该直接通信路 径相关的资源至少包括为该直接通信分配的资源、 以及该直接通信对应的上下文信息。  The memory stores at least resources related to a direct communication path between itself and the second terminal, and the resources related to the direct communication path include at least resources allocated for the direct communication and context information corresponding to the direct communication.
该处理器在确定自身与第二终端之间的直接通信路径终止使用时, 删除存储器中保存的 与该直接通信路径相关的资源, 且通过天线向第一基站发送请求信息, 以请求第一基站执行 与该直接通信路径相关的资源的释放过程。  The processor deletes a resource related to the direct communication path saved in the memory when determining that the direct communication path between itself and the second terminal is terminated, and sends the request information to the first base station through the antenna to request the first base station A release process of resources related to the direct communication path is performed.
该处理器在执行上述过程时,可以先删除存储器中保存的与该直接通信路径相关的资源, 再通过天线向第一基站发送请求信息; 也可以先通过天线向第一基站发送请求信息, 并在天 线接收到第一基站返回的响应消息后,再删除存储器中保存的与该直接通信路径相关的资源。  When performing the foregoing process, the processor may first delete the resource related to the direct communication path saved in the memory, and then send the request information to the first base station by using the antenna; or send the request information to the first base station through the antenna first, and After the antenna receives the response message returned by the first base station, the resource related to the direct communication path saved in the memory is deleted.
该处理器在执行删除存储器中保存的与该直接通信路径相关的资源时, 具体包括以下方 式:  When the processor performs the deletion of the resources related to the direct communication path saved in the memory, the processor specifically includes the following methods:
直接删除存储器中保存的与该直接通信路径相关的资源; 或者,  Directly deleting the resources related to the direct communication path saved in the memory; or
先通过天线向第二终端发送资源释放请求, 在天线接收到第二终端返回的资源释放响应 后, 再删除存储器中保存的与该直接通信路径相关的资源; 或者,  First, the resource release request is sent to the second terminal by using the antenna, and after the antenna receives the resource release response returned by the second terminal, the resource related to the direct communication path saved in the memory is deleted; or
先启动已配置的定时器, 在该定时器超时时, 再删除存储器中保存的与该直接通信路径 相关的资源。  The configured timer is started first, and when the timer expires, the resources related to the direct communication path saved in the memory are deleted.
当然, 处理器还可以釆用显式信令与定时器结合的方式, 删除存储器中保存的与该直接 通信路径相关的资源, 具体参见上述方法的描述, 此处不再赘述。 下面结合具体硬件结构, 对本申请实施例提供的基站的结构、 处理方式进行说明。 Of course, the processor may also use the combination of the explicit signaling and the timer to delete the resources related to the direct communication path saved in the memory. For details, refer to the description of the foregoing method, and details are not described herein again. The structure and processing manner of the base station provided by the embodiment of the present application are described below in conjunction with the specific hardware structure.
基站至少包括: 存储器、 处理器、 和天线; 其中:  The base station at least includes: a memory, a processor, and an antenna; wherein:
该存储器中至少保存服务的各终端的直接通信路径相关的资源, 以及服务的各终端的经 由核心网的通信路径的相关信息, 该直接通信路径相关的资源至少包括为该直接通信分配的 资源、 以及该直接通信对应的上下文信息。  The memory stores at least resources related to a direct communication path of each terminal of the service, and related information of a communication path of each terminal of the service via the core network, where the resources related to the direct communication path include at least resources allocated for the direct communication, And context information corresponding to the direct communication.
该处理器根据天线接收到的来自终端发送的请求信息, 执行与该直接通信路径相关的资 源的释放过程 , 以及在完成与该直接通信路径相关的资源的释放过程之后 , 通过天线向自身 服务的终端发送响应消息。  The processor performs a release process of a resource related to the direct communication path according to the request information sent from the terminal, and services the antenna through the antenna after completing the release process of the resource related to the direct communication path. The terminal sends a response message.
该处理器执行与该直接通信路径相关的资源的释放过程 , 具体包括:  The processor performs a release process of the resource related to the direct communication path, and specifically includes:
一、 若与第二终端所在的第二基站为同一基站, 则该处理器执行:  1. If the second base station where the second terminal is located is the same base station, the processor executes:
在通过天线接收到第一终端发送的请求信息时, 删除存储器中保存的与该直接通信路径 相关的资源; 或者,  When receiving the request information sent by the first terminal through the antenna, deleting the resource related to the direct communication path saved in the memory; or
在通过天线分别接收到第一终端及第二终端发送的请求信息时, 删除存储器中保存的与 该直接通信路径相关的资源。  When the request information transmitted by the first terminal and the second terminal is respectively received through the antenna, the resource related to the direct communication path stored in the memory is deleted.
二、 若与第二终端所在的第二基站为不同基站, 且与第二基站之间存在接口连接, 则该 处理器执行:  2. If the second base station where the second terminal is located is a different base station and has an interface connection with the second base station, the processor executes:
在通过天线接收到第一终端发送的请求信息时, 删除存储器中保存的与该直接通信路径 相关的资源; 或者,  When receiving the request information sent by the first terminal through the antenna, deleting the resource related to the direct communication path saved in the memory; or
在通过天线接收到第一终端发送的请求信息时, 删除存储器中保存的与该直接通信路径 相关的资源, 且, 指示天线通过该接口向第二基站发送请求, 以请求第二基站释放与该直接 通信路径相关的资源; 其中, 第二基站在完成与该直接通信路径相关的资源的释放过程后发 送应答消息。  Receiving, by the antenna, the request information sent by the first terminal, deleting the resource related to the direct communication path saved in the memory, and instructing the antenna to send a request to the second base station by using the interface, to request the second base station to release the a direct communication path related resource; wherein the second base station sends a response message after completing a release process of the resource related to the direct communication path.
三、 若与第二终端所在的第二基站为不同基站, 且与第二基站之间不存在接口连接, 则 该处理器执行:  3. If the second base station where the second terminal is located is a different base station, and there is no interface connection with the second base station, the processor executes:
在通过天线接收到第一终端发送的请求信息时, 删除存储器中保存的与该直接通信路径 相关的资源; 或者,  When receiving the request information sent by the first terminal through the antenna, deleting the resource related to the direct communication path saved in the memory; or
在通过天线接收到第一终端发送的请求信息时, 删除存储器中保存的与该直接通信路径 相关的资源, 且, 指示天线通过第一终端所在的第一 MME 以及第二终端所在的第二 MME 向第二基站发送请求,以请求第二基站释放自身保存的与该直接通信路径相关的资源; 其中, 第二基站在完成与该直接通信路径相关的资源的释放过程后发送应答消息。  When receiving the request information sent by the first terminal by using the antenna, deleting the resource related to the direct communication path saved in the memory, and indicating that the antenna passes the first MME where the first terminal is located and the second MME where the second terminal is located Sending a request to the second base station to request the second base station to release its own saved resources related to the direct communication path; wherein, the second base station sends a response message after completing the release process of the resource related to the direct communication path.
本申请实施例中, 第一终端确定与第二终端之间的直接通信路径终止使用; 第一终端释 放自身保存的与直接通信路径相关的资源, 且第一终端请求自身所在的第一基站执行与该直 接通信路径相关的资源的释放过程。 从而当两个 UE之间的直接通信路径终止使用时, 对于 UE侧如何释放保存与该直接通信路径相关的资源, 本申请实施例提供了具体解决方案。 本申请实施例中, 第一终端所在的第一基站接收第一终端发送的请求信息, 该请求信息 用于请求第一基站执行与第一终端和第二终端之间的直接通信路径相关的资源的释放过程; 第一基站执行与该直接通信路径相关的资源的释放过程。 从而当两个 UE之间的直接通信路 径终止使用时, 对于网络侧如何释放保存与该直接通信路径相关的资源, 本申请实施例提供 了具体解决方案。 附图说明 图 1为现有技术中两个用户设备之间经由核心网的通信路径示意图; In the embodiment of the present application, the first terminal determines that the direct communication path with the second terminal is terminated; the first terminal releases the resource related to the direct communication path that is saved by the first terminal, and the first terminal requests the first base station where the first terminal is located to perform The release process of resources associated with the direct communication path. Thus when the direct communication path between the two UEs is terminated, The UE side provides a specific solution for how to release the resources related to the direct communication path. In the embodiment of the present application, the first base station where the first terminal is located receives the request information sent by the first terminal, and the request information is used to request the first base station to perform resources related to the direct communication path between the first terminal and the second terminal. Release process; the first base station performs a release process of resources associated with the direct communication path. Therefore, when the direct communication path between the two UEs is terminated, the embodiment of the present application provides a specific solution for how to release the resources related to the direct communication path. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic diagram of a communication path between two user equipments via a core network in the prior art;
图 2 A为现有协议中定义的两个用户设备之间直接通信路径示意图;  2A is a schematic diagram of a direct communication path between two user equipments defined in an existing protocol;
图 2B为现有协议中定义的两个用户设备之间仅经由 eNB的直接通信路径示意图; 图 3为本申请实施例提供的一种资源释放方法流程示意图;  2B is a schematic diagram of a direct communication path between two user equipments that are defined by an eNB according to an existing protocol; FIG. 3 is a schematic flowchart of a resource release method according to an embodiment of the present disclosure;
图 4为本申请实施例提供的第一终端与第二终端之间信令交互的示意图;  4 is a schematic diagram of signaling interaction between a first terminal and a second terminal according to an embodiment of the present disclosure;
图 5为本申请实施例提供的另一种资源释放方法流程示意图;  FIG. 5 is a schematic flowchart of another resource release method according to an embodiment of the present disclosure;
图 6为本申请提供的实施例一的流程示意图;  FIG. 6 is a schematic flowchart diagram of Embodiment 1 provided by the present application;
图 7为本申请提供的实施例二的流程示意图;  FIG. 7 is a schematic flowchart diagram of Embodiment 2 provided by the present application;
图 8A为本申请提供的实施例三的流程示意图;  8A is a schematic flowchart of Embodiment 3 provided by the present application;
图 8B为本申请提供的实施例三的另一流程示意图;  FIG. 8B is another schematic flowchart of Embodiment 3 provided by the present application; FIG.
图 9为本申请提供的实施例四的流程示意图;  FIG. 9 is a schematic flowchart diagram of Embodiment 4 provided by the present application;
图 10为本申请提供的实施例五的流程示意图;  10 is a schematic flowchart of Embodiment 5 provided by the present application;
图 11为本申请实施例提供的一种终端的示意图;  FIG. 11 is a schematic diagram of a terminal according to an embodiment of the present application;
图 12为本申请实施例提供的一种基站的示意图;  FIG. 12 is a schematic diagram of a base station according to an embodiment of the present application;
图 13为本申请实施例提供的另一种终端的示意图;  FIG. 13 is a schematic diagram of another terminal according to an embodiment of the present application;
图 14为本申请实施例提供的另一种基站的示意图。 具体实施方式 下面结合说明书附图对本申请实施例作进一步详细描述。  FIG. 14 is a schematic diagram of another base station according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present application will be further described in detail with reference to the accompanying drawings.
参见图 3所示, 本申请实施例提供的一种资源释放方法, 包括以下步骤:  Referring to FIG. 3, a resource release method provided by an embodiment of the present application includes the following steps:
步骤 31、 第一终端确定与第二终端之间的直接通信路径终止使用;  Step 31: The first terminal determines to terminate the direct communication path with the second terminal.
具体的, 假设第一终端与第二终端使用直接通信路径进行数据流的传输, 若第一终端与 第二终端之间的直接通信结束, 或者第一终端与第二终端之间不满足设定的直接通信条件, 则第一终端确定该直接通信路径终止使用。 举例说明,该设定的直接通信条件可以为第一终端与第二终端之间的距离满足设定条件 , 例如, 第一终端与第二终端之间的距离不大于设定的阈值; 又如, 第一终端与第二终端之间 的直接通信路径的链路盾量高于设定的阈值; 等等。 Specifically, it is assumed that the first terminal and the second terminal use the direct communication path to transmit the data stream, if the direct communication between the first terminal and the second terminal ends, or the first terminal and the second terminal do not meet the setting. The direct communication condition, the first terminal determines that the direct communication path is terminated. For example, the set direct communication condition may be that the distance between the first terminal and the second terminal satisfies the set condition, for example, the distance between the first terminal and the second terminal is not greater than a set threshold; The link shield of the direct communication path between the first terminal and the second terminal is higher than a set threshold; and so on.
步骤 32、 第一终端释放自身保存的与该直接通信路径相关的资源, 且第一终端请求自身 所在的第一基站执行与该直接通信路径相关的资源的释放过程。  Step 32: The first terminal releases the resource that is saved by the direct communication path, and the first terminal requests the first base station where the first terminal is located to perform a release process of the resource related to the direct communication path.
本申请实施例中,与该直接通信路径相关的资源包括但不限于下列信息中的一种或多种: 分配给该直接通信路径的资源、 该直接通信路径对应的上下文信息。  In the embodiment of the present application, the resources related to the direct communication path include, but are not limited to, one or more of the following information: a resource allocated to the direct communication path, and context information corresponding to the direct communication path.
在实施中, 优选的, 在第一终端确定与第二终端之间的直接通信路径终止使用之后, 该 方法还包括:  In an implementation, after the first terminal determines that the direct communication path between the second terminal and the second terminal is terminated, the method further includes:
第一终端将该直接通信路径上的数据流倒换到与该第二终端之间的经由核心网的通信路 径上。  The first terminal switches the data stream on the direct communication path to a communication path with the second terminal via the core network.
需要说明的是, 若该方法还包括路径倒换过程, 则步骤 32可以在该路径倒换过程之前执 行, 也可以在该路径倒换过程完成之后执行。  It should be noted that, if the method further includes a path switching process, step 32 may be performed before the path switching process, or may be performed after the path switching process is completed.
在实施中, 进一步, 在步骤 32之后, 该方法还包括:  In an implementation, further, after step 32, the method further includes:
第一终端接收第一基站返回的响应消息, 该响应消息用于通知第一终端第一基站已完成 与该直接通信路径相关的资源的释放过程。  The first terminal receives a response message returned by the first base station, where the response message is used to notify the first terminal that the first base station has completed the release process of the resource related to the direct communication path.
具体的, 第一基站接收到第一终端的请求信息之后 , 执行与该直接通信路径相关的资源 的释放过程, 并在完成与该直接通信路径相关的资源的释放过程后, 向第一终端发送响应消 息, 以通知第一终端自身已完成与该直接通信路径相关的资源的释放过程。  Specifically, after receiving the request information of the first terminal, the first base station performs a release process of the resource related to the direct communication path, and after completing the release process of the resource related to the direct communication path, sends the information to the first terminal. Responding to the message, to inform the first terminal that it has completed the release process of the resources related to the direct communication path.
本申请实施例中, 第一终端可以为直接通信的发起端设备, 也可以为该直接通信的对端 设备, 具体的:  In the embodiment of the present application, the first terminal may be the initiator device of the direct communication, or may be the peer device of the direct communication, specifically:
若第一终端为该直接通信的发起端设备, 则第二终端为该直接通信的对端设备; 若第一 终端为该直接通信的对端设备, 则第二终端为该直接通信的发起端设备。  If the first terminal is the originating device of the direct communication, the second terminal is the peer device of the direct communication; if the first terminal is the peer device of the direct communication, the second terminal is the initiator of the direct communication device.
作为一种优选的实现方式, 该第一终端为该直接通信的发起端设备。  As a preferred implementation manner, the first terminal is an initiator device of the direct communication.
在实施中, 步骤 32进一步包括以下两种具体实现方式:  In the implementation, step 32 further includes the following two specific implementation manners:
第一种实现方式、 在确定与第二终端之间的直接通信路径终止使用后, 第一终端先释放 自身保存的与该直接通信路径相关的资源, 再请求第一基站执行与该直接通信路径相关的资 源的释放过程;  In a first implementation manner, after determining that the direct communication path with the second terminal is terminated, the first terminal first releases the resource related to the direct communication path that is saved by itself, and then requests the first base station to perform the direct communication path. The release process of related resources;
本实现方式中, 第一终端可以按照以下任一方法, 释放自身保存的与该直接通信路径相 关的资源:  In this implementation manner, the first terminal may release the resources related to the direct communication path that are saved by itself according to any of the following methods:
方法一、 第一终端直接释放自身保存的与该直接通信路径相关的资源;  Method 1: The first terminal directly releases the resources related to the direct communication path that are saved by itself;
具体的, 第一终端在确定与第二终端之间的直接通信路径终止使用后, 直接释放自身保 存的与该直接通信路径相关的资源。 方法二、 通过显式信令释放直接通信路径, 具体为: Specifically, after determining that the direct communication path between the second terminal and the second terminal is terminated, the first terminal directly releases the resources related to the direct communication path that are saved by itself. Method 2: Release the direct communication path by explicit signaling, specifically:
第一终端向第二终端发送资源释放请求, 并在接收到第二终端返回的资源释放响应后, 释放自身保存的与该直接通信路径相关的资源, 其中, 该资源释放请求用于请求第二终端释 放与该直接通信路径相关的资源, 该资源释放响应是第二终端在释放完自身保存的与该直接 通信路径相关的资源后发送的;  The first terminal sends a resource release request to the second terminal, and after receiving the resource release response returned by the second terminal, releasing the resource related to the direct communication path saved by the second terminal, where the resource release request is used to request the second Transmitting, by the terminal, a resource related to the direct communication path, where the resource release response is sent by the second terminal after releasing the resource related to the direct communication path saved by the second terminal;
具体的, 第一终端在确定与第二终端之间的直接通信路径终止使用后, 向第二终端发送 资源释放请求; 第二终端在接收到该资源释放请求后, 释放自身保存的与该直接通信路径相 关的资源, 并在完成该释放过程后, 向第一终端返回资源释放响应; 第一终端在接收到该资 源释放响应后, 释放自身保存的与该直接通信路径相关的资源。  Specifically, after determining that the direct communication path with the second terminal is terminated, the first terminal sends a resource release request to the second terminal; after receiving the resource release request, the second terminal releases the saved data and the direct A resource related to the communication path, and after completing the release process, returning a resource release response to the first terminal; after receiving the resource release response, the first terminal releases the resource that is saved by the direct communication path.
优选的, 第一终端通过与第二终端之间的直接通信接口, 向第二终端发送资源释放请求。 相应的, 第二终端在完成自身保存的与该直接通信路径相关的资源的释放过程后, 通过 发送的该直接通信接口, 向第一终端返回资源释放响应。  Preferably, the first terminal sends a resource release request to the second terminal by using a direct communication interface with the second terminal. Correspondingly, after completing the release process of the resource related to the direct communication path saved by the second terminal, the second terminal returns a resource release response to the first terminal by using the directly communicated interface.
方法三、 通过配置定时器释放直接通信路径, 具体为:  Method 3: The direct communication path is released by configuring a timer, which is specifically:
第一终端启动已配置的定时器, 在该定时器超时时, 释放自身保存的与该直接通信路径 相关的资源;  The first terminal starts the configured timer, and when the timer expires, releasing the resource that is saved by the direct communication path;
具体的, 第一终端在确定与第二终端之间的直接通信路径终止使用, 或者完成从该直接 通信路径到经由核心网的通信路径的路径倒换过程时, 启动已配置的定时器, 在该定时器超 时时, 释放自身保存的与该直接通信路径相关的资源。  Specifically, when the first terminal determines to terminate the direct communication path with the second terminal, or completes a path switching process from the direct communication path to the communication path via the core network, the configured timer is started, where When the timer expires, it releases its own saved resources related to the direct communication path.
相应的, 第二终端也釆用该方法释放自身保存的与该直接通信路径相关的资源; 具体的, 第二终端在确定与第一终端之间的直接通信路径终止使用, 或者完成从该直接 通信路径到经由核心网的通信路径的路径倒换过程时, 启动已配置的定时器, 在该定时器超 时时, 释放自身保存的与该直接通信路径相关的资源。  Correspondingly, the second terminal also uses the method to release the resources related to the direct communication path saved by the second terminal. Specifically, the second terminal determines to terminate the direct communication path with the first terminal, or completes the direct When the communication path to the path switching process via the communication path of the core network, the configured timer is started, and when the timer expires, the resources related to the direct communication path saved by itself are released.
方法四、 结合显式信令与配置定时器, 释放直接通信路径, 具体为包括以下两种情况: 情况一、 第一终端启动已配置的定时器, 向第二终端发送资源释放请求, 若在定时器超 时之前接收到第二终端返回的资源释放响应, 则释放自身保存的与该直接通信路径相关的资 源, 并关闭该定时器;  Method 4: Combining the explicit signaling and the configuration timer, releasing the direct communication path, specifically including the following two situations: Case 1: The first terminal starts the configured timer, and sends a resource release request to the second terminal, if Receiving the resource release response returned by the second terminal before the timer expires, releasing the resource related to the direct communication path saved by the timer, and closing the timer;
具体的, 第一终端在确定与第二终端之间的直接通信路径终止使用, 或者完成从该直接 通信路径到经由核心网的通信路径的路径倒换过程时, 启动已配置的定时器; 在此期间, 还 可以向第二终端发送资源释放请求, 若在定时器超时之前接收到第二终端返回的资源释放响 应, 则释放自身保存的与该直接通信路径相关的资源, 并关闭该定时器。  Specifically, the first terminal starts the configured timer when determining that the direct communication path with the second terminal terminates use, or completes a path switching process from the direct communication path to the communication path via the core network; During the period, the resource release request may be sent to the second terminal. If the resource release response returned by the second terminal is received before the timer expires, the resource related to the direct communication path saved by itself is released, and the timer is closed.
相应的, 第二终端侧的处理包括以下两种:  Correspondingly, the processing on the second terminal side includes the following two types:
一是, 第二终端在确定与第一终端之间的直接通信路径终止使用, 或者完成从该直接通 信路径到经由核心网的通信路径的路径倒换过程时, 也启动已配置的定时器; 在此期间, 若 接收到第一终端发送的资源释放请求, 则释放自身保存的与该直接通信路径相关的资源, 关 闭该定时器, 并向第一终端返回资源释放响应; 否则, 在该定时器超时时, 释放自身保存的 与该直接通信路径相关的资源; First, when the second terminal determines to terminate the direct communication path with the first terminal, or completes the path switching process from the direct communication path to the communication path via the core network, the configured timer is also started; During this period, if Receiving the resource release request sent by the first terminal, releasing the resource related to the direct communication path saved by itself, closing the timer, and returning a resource release response to the first terminal; otherwise, releasing the timer when the timer expires a resource that is itself associated with the direct communication path;
二是, 第二终端之前不执行任何操作, 在接收到第一终端发送的资源释放请求时, 释放 自身保存的与该直接通信路径相关的资源, 并向第一终端返回资源释放响应。  Second, the second terminal does not perform any operation before. When receiving the resource release request sent by the first terminal, the resource related to the direct communication path saved by itself is released, and the resource release response is returned to the first terminal.
优选的, 第一终端通过与第二终端之间的直接通信接口, 向第二终端发送资源释放请求。 相应的, 第二终端在完成自身保存的与该直接通信路径相关的资源的释放过程后, 通过 发送的该直接通信接口, 向第一终端返回资源释放响应。  Preferably, the first terminal sends a resource release request to the second terminal by using a direct communication interface with the second terminal. Correspondingly, after completing the release process of the resource related to the direct communication path saved by the second terminal, the second terminal returns a resource release response to the first terminal by using the directly communicated interface.
情况二、 第一终端启动已配置的定时器, 向第二终端发送资源释放请求, 在该定时器超 时之前未接收到第二终端返回的资源释放响应, 则在定时器超时时, 释放自身保存的与该直 接通信路径相关的资源。  Case 2: The first terminal starts the configured timer, sends a resource release request to the second terminal, and does not receive the resource release response returned by the second terminal before the timer expires, and then releases the self save when the timer expires. Resources associated with this direct communication path.
具体的, 第一终端在确定与第二终端之间的直接通信路径终止使用, 或者完成从该直接 通信路径到经由核心网的通信路径的路径倒换过程时, 启动已配置的定时器; 在此期间, 还 可以向第二终端发送资源释放请求, 若在定时器超时之前未接收到第二终端返回的资源释放 响应, 则在该定时器超时时, 释放自身保存的与该直接通信路径相关的资源。  Specifically, the first terminal starts the configured timer when determining that the direct communication path with the second terminal terminates use, or completes a path switching process from the direct communication path to the communication path via the core network; During the period, the resource release request may be sent to the second terminal. If the resource release response returned by the second terminal is not received before the timer expires, when the timer expires, the saved relationship related to the direct communication path is released. Resources.
优选的, 第一终端通过与第二终端之间的直接通信接口, 向第二终端发送资源释放请求。 相应的, 第二终端在完成自身保存的与该直接通信路径相关的资源的释放过程后, 通过 发送的该直接通信接口, 向第一终端返回资源释放响应。  Preferably, the first terminal sends a resource release request to the second terminal by using a direct communication interface with the second terminal. Correspondingly, after completing the release process of the resource related to the direct communication path saved by the second terminal, the second terminal returns a resource release response to the first terminal by using the directly communicated interface.
需要说明的是, 上述方法一及方法三中, 第一终端仅释放自身保存的与该直接通信路径 相关的资源, 不请求第二终端释放与该直接通信路径相关的资源; 上述方法二及方法四中, 第一终端不仅释放自身保存的与该直接通信路径相关的资源, 还请求第二终端释放与该直接 通信路径相关的资源。  It should be noted that, in the foregoing method 1 and method 3, the first terminal only releases the resources related to the direct communication path that are saved by itself, and does not request the second terminal to release resources related to the direct communication path; In the fourth, the first terminal not only releases the resources saved by the direct communication path, but also requests the second terminal to release resources related to the direct communication path.
第二种实现方式、 在确定与第二终端之间的直接通信路径终止使用, 第一终端先请求第 一基站执行与该直接通信路径相关的资源的释放过程 ,在接收到第一基站返回的响应消息后, 释放自身保存的与该直接通信路径相关的资源, 其中, 该响应消息为第一基站完成与该直接 通信路径相关的资源的释放过程后发送的。  a second implementation manner, in determining that the direct communication path with the second terminal is terminated, the first terminal first requests the first base station to perform a release process of the resource related to the direct communication path, and receives the return from the first base station. After the response message, the resource related to the direct communication path saved by itself is released, where the response message is sent after the first base station completes the release process of the resource related to the direct communication path.
本实现方式中, 第一终端接收到第一基站返回的响应消息后,可以按照方法一〜方法四中 的任一方法, 释放自身保存的与该直接通信路径相关的资源; 其中, 方法一〜方法四的具体内 容请参见上述具体描述, 此处不再赘述。  In this implementation manner, after receiving the response message returned by the first base station, the first terminal may release the resource related to the direct communication path saved by the method according to any one of the methods 1 to 4; For details of Method 4, refer to the detailed description above, and details are not described here.
在实施中, 第一终端与第二终端之间的显式信令交互的过程, 参见图 4所示, 包括以下 步骤:  In an implementation, the process of explicit signaling interaction between the first terminal and the second terminal, as shown in FIG. 4, includes the following steps:
步骤 41、 第一终端向第二终端发送资源释放请求, 以请求第二终端释放与该直接通信路 径相关的资源; 步骤 42、第二终端接收该资源释放请求,释放自身保存的与该直接通信路径相关的资源, 并向第一终端返回资源释放响应。 Step 41: The first terminal sends a resource release request to the second terminal, to request the second terminal to release resources related to the direct communication path. Step 42: The second terminal receives the resource release request, releases the resource related to the direct communication path saved by itself, and returns a resource release response to the first terminal.
基于上述实施例, 本申请实施例还提供了另一种资源释放方法, 参见图 5所示, 该方法 包括以下步骤:  Based on the foregoing embodiment, the embodiment of the present application further provides another resource release method. As shown in FIG. 5, the method includes the following steps:
步骤 51、 第一终端所在的第一基站接收第一终端发送的请求信息, 该请求信息用于请求 第一基站执行与第一终端和第二终端之间的直接通信路径相关的资源的释放过程;  Step 51: The first base station where the first terminal is located receives request information sent by the first terminal, where the request information is used to request the first base station to perform a release process of resources related to a direct communication path between the first terminal and the second terminal. ;
步骤 52、 第一基站执行与该直接通信路径相关的资源的释放过程。  Step 52: The first base station performs a release process of resources related to the direct communication path.
进一步, 在步骤 52之后, 该方法还包括:  Further, after step 52, the method further includes:
第一基站完成与该直接通信路径相关的资源的释放过程之后 ,向第一终端发送响应消息, 该响应消息用于通知第一终端自身已完成与该直接通信路径相关的资源的释放过程。  After the first base station completes the release process of the resource related to the direct communication path, the first base station sends a response message to the first terminal, where the response message is used to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
本申请实施例中, 与该直接通信相关的资源包括但不限于下列信息中的一种或多种: 分配给该直接通信路径的资源、 该直接通信路径对应的上下文信息。  In the embodiment of the present application, the resources related to the direct communication include, but are not limited to, one or more of the following information: a resource allocated to the direct communication path, and context information corresponding to the direct communication path.
在实施中, 本申请实施例包括以下三种具体应用场景:  In an implementation, the embodiment of the present application includes the following three specific application scenarios:
第一种应用场景、 第一基站与第二终端所在的第二基站为同一基站。  In the first application scenario, the first base station and the second base station where the second terminal is located are the same base station.
该应用场景下, 步骤 52中第一基站执行与该直接通信路径相关的资源的释放过程 , 具体 包括以下两种处理方式:  In the application scenario, the first base station in step 52 performs a release process of the resource related to the direct communication path, and specifically includes the following two processing modes:
方式 A、 第一基站在接收到第一终端发送的请求信息, 且接收到第二终端发送的用于请 求第一基站执行与该直接通信路径相关的资源的释放过程的请求信息时, 释放自身保存的与 该直接通信路径相关的资源;  Mode A: The first base station receives the request information sent by the first terminal, and receives the request information sent by the second terminal for requesting the first base station to perform a release process of the resource related to the direct communication path, releasing itself The saved resources associated with the direct communication path;
该方式中, 第一终端与第二终端分别向第一基站发送请求信息, 以请求该第一基站执行 与该直接通信路径相关的资源的释放过程 , 第一基站在接收到第一终端与第二终端分别发送 的请求信息时, 才释放自身保存的与该直接通信路径相关的资源。  In this manner, the first terminal and the second terminal respectively send request information to the first base station, to request the first base station to perform a release process of resources related to the direct communication path, where the first base station receives the first terminal and the first When the two terminals separately send the request information, the resources related to the direct communication path saved by themselves are released.
下面结合优选实施例, 对该方式下终端侧与网络侧之间的交互过程进行详细说明。  The interaction process between the terminal side and the network side in this mode will be described in detail below in conjunction with the preferred embodiment.
实施例一、 本实施例中, UE1与 UE2均驻留于 e B, UEl (或 UE2 )在确定与 UE2 (或 UE1 )之间的直接通信路径终止使用后,将该直接通信路径上的数据流倒换到与 UE2(或 UE1 ) 的经由核心网的通信路径上。 参见图 6所示, 资源释放过程包括如下:  Embodiment 1 In this embodiment, UE1 and UE2 are both camped on e B, and UE1 (or UE2) determines the data on the direct communication path after determining that the direct communication path with UE2 (or UE1) is terminated. The flow is switched over to the communication path with UE2 (or UE1) via the core network. Referring to Figure 6, the resource release process includes the following:
步骤 61a、 UEl向 eNB发送路径倒换通知, 通知 eNB路径倒换过程已完成, 并请求 eNB 执行与该直接通信路径相关的资源的释放过程;  Step 61: The UE1 sends a path switching notification to the eNB, notifying the eNB that the path switching process has been completed, and requesting the eNB to perform a release process of resources related to the direct communication path.
步骤 61b、 UE2向 eNB发送路径倒换通知, 通知 eNB路径倒换过程已完成, 并请求 eNB 执行与该直接通信路径相关的资源的释放过程;  Step 61b: UE2 sends a path switching notification to the eNB, notifying the eNB that the path switching process has been completed, and requesting the eNB to perform a release process of resources related to the direct communication path.
本实施例中, 不限定步骤 61a与步骤 61b的执行顺序。  In this embodiment, the order of execution of steps 61a and 61b is not limited.
步骤 62、 eNB本地释放直接通信路径资源, 即 eNB释放自身保存的与该直接通信路径 相关的资源; 具体的, e B释放分配给 UE 1与 UE2之间的直接通信路径的空口资源以及删除自身保 存的关于该直接通信路径的上下文信息。 Step 62: The eNB locally releases the direct communication path resource, that is, the eNB releases the resource that is saved by itself and is related to the direct communication path. Specifically, the e B releases the air interface resource allocated to the direct communication path between the UE 1 and the UE 2 and deletes the context information about the direct communication path saved by itself.
步骤 63a、 在完成资源释放过程后, eNB向 UE1返回响应消息, 以通知 UE1资源释放完 成;  Step 63a: After completing the resource release process, the eNB returns a response message to UE1 to notify UE1 that the resource release is completed.
步骤 63b、 在完成资源释放过程后, eNB向 UE2返回响应消息, 以通知 UE2资源释放完 成;  Step 63b: After completing the resource release process, the eNB returns a response message to the UE2 to notify the UE2 that the resource release is completed.
本实施例中, 不限定步骤 63a与步骤 63b的执行顺序。  In this embodiment, the order of execution of steps 63a and 63b is not limited.
方式 B、 第一基站在接收到第一终端发送的请求信息时, 释放自身保存的与该直接通信 路径相关的资源;  Method B: When receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that are saved by itself;
该方式中, 由第一基站主控网络侧释放直接通信路径的过程;  In this manner, the process of releasing the direct communication path by the first base station master network side;
具体的: 第一终端在确定与第二终端之间的直接通信路径终止使用时, 向第一基站发送 请求信息; 该第一基站在接收到第一终端发送的请求信息时, 直接执行该网络侧释放直接通 信路径的过程, 即释放自身保存的与该直接通信路径相关的资源。  Specifically: the first terminal sends the request information to the first base station when determining that the direct communication path between the second terminal and the second terminal is terminated; the first base station directly executes the network when receiving the request information sent by the first terminal The process of releasing the direct communication path by the side, that is, releasing the resources saved by itself and related to the direct communication path.
下面结合优选实施例, 对该方式下终端侧与网络侧之间的交互过程进行详细说明。  The interaction process between the terminal side and the network side in this mode will be described in detail below in conjunction with the preferred embodiment.
实施例二、 本实施例中, UE1与 UE2均驻留于 eNB, UEl (或 UE2 )在确定与 UE2 (或 UE1 )之间的直接通信路径终止使用后,将该直接通信路径上的数据流倒换到与 UE2(或 UE1 ) 的经由核心网的通信路径上。 参见图 7所示, 资源释放过程如下:  Embodiment 2 In this embodiment, UE1 and UE2 both reside in an eNB, and UE1 (or UE2), after determining that the direct communication path with UE2 (or UE1) is terminated, uses the data flow on the direct communication path. Switched to the communication path with UE2 (or UE1) via the core network. Referring to Figure 7, the resource release process is as follows:
步骤 71、 UE1向 eNB发送路径倒换通知, 通知 eNB路径倒换过程已完成, 并请求 eNB 执行与该直接通信路径相关的资源的释放过程;  Step 71: The UE1 sends a path switching notification to the eNB, notifying the eNB that the path switching process has been completed, and requesting the eNB to perform a release process of resources related to the direct communication path.
步骤 72、 eNB本地释放直接通信路径资源, 即 eNB释放与该直接通信路径相关的资源; 具体的, eNB释放分配给 UE 1与 UE2之间的直接通信路径的空口资源以及删除自身保 存的关于该直接通信路径的上下文信息。  Step 72: The eNB locally releases the direct communication path resource, that is, the eNB releases the resource related to the direct communication path. Specifically, the eNB releases the air interface resource allocated to the direct communication path between the UE 1 and the UE 2, and deletes the self-preserved information about the Context information for the direct communication path.
步骤 73、 在完成资源释放过程后, eNB向 UE1返回响应消息, 以通知 UE1资源释放完 成。  Step 73: After completing the resource release process, the eNB returns a response message to the UE1 to notify the UE1 that the resource release is complete.
上述应用场景下, 第一基站具体釆用哪种方式执行与该直接通信路径相关的资源的释放 过程, 可以在协议中规定, 也可以由终端与基站协商决定, 只要保证终端 (第一终端和第二 终端) 与基站(第一基站和第二基站) 的理解一致即可。 第二种应用场景、 第一基站与第二终端所在的第二基站为不同基站, 且第一基站与第二 基站之间存在接口连接。  In the above application scenario, the first base station specifically performs a release process of the resource related to the direct communication path, which may be specified in the protocol, or may be negotiated and determined by the terminal and the base station, as long as the terminal (the first terminal and the The second terminal) may be identical to the understanding of the base station (the first base station and the second base station). In the second application scenario, the second base station where the first base station and the second terminal are located are different base stations, and an interface connection exists between the first base station and the second base station.
该应用场景下, 步骤 52中第一基站执行与该直接通信路径相关的资源的释放过程 , 具体 包括以下两种处理方式:  In the application scenario, the first base station in step 52 performs a release process of the resource related to the direct communication path, and specifically includes the following two processing modes:
方式一、 第一基站在接收到第一终端发送的请求信息后, 释放自身保存的与该直接通信 路径相关的资源。 该方式中, 第一终端向第一基站发送请求信息, 以请求该第一基站执行与该直接通信路 径相关的资源的释放过程; 类似的, 第二终端向第二基站发送请求信息, 以请求该第二基站 执行与该直接通信路径相关的资源的释放过程; 第一基站在接收到第一终端发送的请求信息 时, 释放自身保存的与该直接通信路径相关的资源; 类似的, 第二基站在接收到第二终端发 送的请求信息时, 释放自身保存的与该直接通信路径相关的资源。 Manner 1: After receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that are saved by itself. In this manner, the first terminal sends the request information to the first base station to request the first base station to perform a release process of the resource related to the direct communication path; similarly, the second terminal sends the request information to the second base station to request The second base station performs a release process of the resource related to the direct communication path; when receiving the request information sent by the first terminal, the first base station releases the resource related to the direct communication path saved by itself; similarly, the second When receiving the request information sent by the second terminal, the base station releases the resources stored by itself and related to the direct communication path.
下面结合优选实施例, 对该方式下终端侧与网络侧之间的交互过程进行详细说明。  The interaction process between the terminal side and the network side in this mode will be described in detail below in conjunction with the preferred embodiment.
实施例三、 本实施例中, UE1驻留于 eNBl , UE2驻留于 e B2, UE1 (或 UE2 )在确定 与 UE2 (或 UE1 )之间的直接通信路径终止使用后, 将该直接通信路径上的数据流倒换到与 UE2 (或 UE1 )的经由核心网的通信路径上。 参见图 8A所示, 资源释放过程中 UE1与 eNBl 之间的交互如下:  Embodiment 3 In this embodiment, UE1 resides in eNB1, UE2 resides in eB2, and UE1 (or UE2) determines the direct communication path after terminating the direct communication path with UE2 (or UE1). The upper data stream is switched over to the communication path with UE2 (or UE1) via the core network. Referring to FIG. 8A, the interaction between UE1 and eNB1 in the resource release process is as follows:
步骤 81a、UEl向 eNBl发送路径倒换通知,通知 eNBl路径倒换过程已完成,并请求 eNBl 执行与该直接通信路径相关的资源的释放过程;  Step 81a: The UE1 sends a path switching notification to the eNB1, notifying the eNB1 that the path switching process has been completed, and requesting the eNB1 to perform a release process of resources related to the direct communication path.
步骤 82a、 eNBl本地释放直接通信路径资源, 即 eNBl释放自身保存的与该直接通信路 径相关的资源;  Step 82a: The eNB1 locally releases the direct communication path resource, that is, the eNB1 releases the resource that is saved by itself and is related to the direct communication path;
具体的, eNBl释放分配给该直接通信路径的空口资源以及删除自身保存的关于该直接通 信路径的上下文信息。  Specifically, the eNB1 releases the air interface resource allocated to the direct communication path and deletes the context information about the direct communication path saved by itself.
步骤 83a、 在完成资源释放过程后, eNBl向 UE1返回响应消息。  Step 83a: After completing the resource release process, the eNB1 returns a response message to the UE1.
本实施例中, 参见图 8B所示, 资源释放过程中 UE2与 eNB2之间的交互如下: 步骤 81b、 UE2向 e B2发送路径倒换通知, 通知 e B2路径倒换过程已完成, 并请求 e B2执行与该直接通信路径相关的资源的释放过程;  In this embodiment, as shown in FIG. 8B, the interaction between the UE2 and the eNB2 in the resource release process is as follows: Step 81b: The UE2 sends a path switching notification to the eB2, notifying that the e B2 path switching process is completed, and requesting e B2 to perform a release process of resources associated with the direct communication path;
步骤 82b、 eNB2本地释放直接通信路径资源, 即 e B2释放自身保存的与该直接通信路 径相关的资源;  Step 82b: eNB2 locally releases the direct communication path resource, that is, e B2 releases the resource that is saved by itself and is related to the direct communication path;
具体的, e B2释放分配给该直接通信路径的空口资源以及删除自身保存的关于该直接通 信路径的上下文信息。  Specifically, e B2 releases the air interface resource allocated to the direct communication path and deletes the context information about the direct communication path saved by itself.
步骤 83b、 在完成资源释放过程后, e B2向 UE2返回响应消息。  Step 83b: After completing the resource release process, e B2 returns a response message to UE2.
方式二、 在接收到第一终端发送的请求信息后, 第一基站释放自身保存的与该直接通信 路径相关的资源, 且, 第一基站通过与第二基站之间的接口, 请求第二基站释放与该直接通 信路径相关的资源。  Manner 2: After receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that is saved by the first base station, and the first base station requests the second base station by using an interface with the second base station. Release the resources associated with this direct communication path.
该方式中, 由第一基站主控网络侧释放直接通信路径的过程。  In this manner, the process of releasing the direct communication path by the first base station master network side.
本方式中, 不对上述两个过程的执行顺序进行限定, 具体的:  In this mode, the execution order of the above two processes is not limited, specifically:
一、 第一基站可以先释放自身保存的与该直接通信路径相关的资源, 再通过该接口, 请 求第二基站释放第二终端的与该直接通信路径相关的资源;  The first base station may first release the resource related to the direct communication path that is saved by the first base station, and then request the second base station to release the resource related to the direct communication path of the second terminal by using the interface;
具体的: 第一终端向第一基站发送请求信息; 该第一基站在接收到第一终端发送的请求 信息时, 先释放自身保存的与该直接通信路径相关的资源, 然后通过与第二基站之间的接口, 向第二基站发送第一请求消息, 以请求第二基站释放与该直接通信路径相关的资源。 Specifically: the first terminal sends request information to the first base station; the first base station receives the request sent by the first terminal When the information is first, the resource related to the direct communication path saved by the first base station is released, and then the first request message is sent to the second base station by using an interface with the second base station to request the second base station to release the direct communication path. resource of.
进一步, 第二基站在完成与该直接通信路径相关的资源的释放过程后向第一基站发送应 答消息, 以通知第一基站自身已完成与该直接通信路径相关的资源的释放过程。  Further, the second base station sends an answer message to the first base station after completing the release process of the resource related to the direct communication path, to notify the first base station that the release process of the resource related to the direct communication path has been completed.
进一步, 第一基站在接收到该应答消息后, 确定第二基站已完成与该直接通信路径相关 的资源的释放过程, 则该第一基站向第一终端返回响应消息, 以通知第一终端自身已完成与 该直接通信路径相关的资源的释放过程。  Further, after receiving the response message, the first base station determines that the second base station has completed the release process of the resource related to the direct communication path, and the first base station returns a response message to the first terminal to notify the first terminal itself. The release process of the resources associated with the direct communication path has been completed.
二、 第一基站可以先通过该接口请求第二基站释放与该直接通信路径相关的资源, 并在 接收到第二基站返回的应答消息时, 释放自身保存的与该直接通信路径相关的资源, 其中, 该应答消息是第二基站在完成直接通信路径的释放过程后发送的。  The first base station may first request the second base station to release the resources related to the direct communication path through the interface, and release the resources related to the direct communication path saved by the second base station when receiving the response message returned by the second base station. The response message is sent by the second base station after completing the release process of the direct communication path.
具体的: 第一终端向第一基站发送请求信息; 该第一基站在接收到第一终端发送的请求 信息时, 先向第二基站发送第一请求消息, 以请求第二基站释放与该直接通信路径相关的资 源; 第二基站在接收到该第一请求消息时, 释放自身保存的与该直接通信路径相关的资源, 并通过与第一基站之间的接口, 向第一基站返回应答消息, 以通知第一终端自身已完成与该 直接通信路径相关的资源的释放过程; 第一基站在接收到该应答消息时, 释放自身保存的与 该直接通信路径相关的资源。  Specifically, the first terminal sends the request information to the first base station; when receiving the request information sent by the first terminal, the first base station sends a first request message to the second base station to request the second base station to release the direct request. a resource related to the communication path; when receiving the first request message, the second base station releases the resource related to the direct communication path that is saved by itself, and returns a response message to the first base station by using an interface with the first base station In order to notify the first terminal that the release process of the resource related to the direct communication path has been completed; when receiving the response message, the first base station releases the resource saved by itself and related to the direct communication path.
进一步, 第一基站在释放自身保存的与该直接通信路径相关的资源后, 向第一终端返回 响应消息, 以通知第一终端自身已完成与该直接通信路径相关的资源的释放过程。  Further, after releasing the resource related to the direct communication path saved by the first base station, the first base station returns a response message to the first terminal to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
下面结合优选实施例, 对该方式下终端侧与网络侧之间的交互过程进行详细说明。  The interaction process between the terminal side and the network side in this mode will be described in detail below in conjunction with the preferred embodiment.
实施例四、 本实施例中, UE1驻留于 e B 1 , UE2驻留于 e B2 , 且 e B 1与 eNB2之间 存在接口连接, UE1 (或 UE2 )在确定与 UE2 (或 UE1 )之间的直接通信路径终止使用后, 将该直接通信路径上的数据流倒换到与 UE2 (或 UE1 ) 的经由核心网的通信路径上。。 参见 图 9所示, 资源释放过程如下:  Embodiment 4 In this embodiment, UE1 resides in e B 1 , UE2 resides in e B2 , and an interface connection exists between e B 1 and eNB 2, and UE1 (or UE2) determines to be associated with UE2 (or UE1). After the direct communication path is terminated, the data stream on the direct communication path is switched to the communication path with the UE2 (or UE1) via the core network. . Referring to Figure 9, the resource release process is as follows:
步骤 91、UE1向 e Bl发送路径倒换通知,通知 e Bl路径倒换过程已完成,并请求 e Bl 执行与该直接通信路径相关的资源的释放过程;  Step 91: UE1 sends a path switching notification to e Bl, notifying that the e Bl path switching process has been completed, and requesting e Bl to perform a release process of resources related to the direct communication path;
步骤 92、 eNBl删除自身保存的 UE1在该直接通信路径上的上下文信息和分配给该直接 通信路径的空口资源, 并且 eNBl向 e B2发送释放直接通信路径资源消息, 以请求 e B2删 除自身保存的关于该直接通信路径的上下文信息和分配给该直接通信路径的空口资源。  Step 92: The eNB1 deletes the context information of the UE1 saved by the UE1 on the direct communication path and the air interface resource allocated to the direct communication path, and the eNB1 sends a release direct communication path resource message to the eB2 to request the e B2 to delete the saved information. Context information about the direct communication path and air interface resources allocated to the direct communication path.
步骤 93、 e B2完成资源释放后 , 向 eNB 1返回用于表示资源释放完成的响应消息; 步骤 94、 eNBl向 UE1返回用于表示资源释放完成的响应消息。  Step 93: After completing the resource release, the e B2 returns a response message indicating that the resource release is complete to the eNB 1. Step 94: The eNB1 returns a response message indicating that the resource release is completed to the UE1.
上述应用场景下, 第一基站具体釆用哪种方式执行与该直接通信路径相关的资源的释放 过程, 可以在协议中规定, 也可以由终端与基站协商决定, 只要保证终端 (第一终端和第二 终端) 与基站(第一基站和第二基站) 的理解一致即可。 第三种应用场景、 第一基站与第二终端所在的第二基站为不同基站, 且第一基站与第二 基站之间不存在接口连接。 In the above application scenario, the first base station specifically performs a release process of the resource related to the direct communication path, which may be specified in the protocol, or may be negotiated and determined by the terminal and the base station, as long as the terminal (the first terminal and the The second terminal) may be identical to the understanding of the base station (the first base station and the second base station). In a third application scenario, the second base station where the first base station and the second terminal are located are different base stations, and there is no interface connection between the first base station and the second base station.
该应用场景下, 步骤 52中第一基站执行与该直接通信路径相关的资源的释放过程 , 具体 包括以下两种处理方式:  In the application scenario, the first base station in step 52 performs a release process of the resource related to the direct communication path, and specifically includes the following two processing modes:
方式 1、 在接收到第一终端发送的请求信息时, 第一基站释放自身保存的与该直接通信 路径相关的资源。  Manner 1: When receiving the request information sent by the first terminal, the first base station releases the resource that is saved by itself and is related to the direct communication path.
该方式中, 第一终端向第一基站发送请求信息, 以请求该第一基站执行与该直接通信路 径相关的资源的释放过程; 类似的, 第二终端向第二基站发送请求信息, 以请求该第二基站 执行与该直接通信路径相关的资源的释放过程; 第一基站在接收到第一终端发送的请求信息 时, 释放自身保存的与该直接通信路径相关的资源; 类似的, 第二基站在接收到第二终端发 送的请求信息时, 释放自身保存的与该直接通信路径相关的资源。  In this manner, the first terminal sends the request information to the first base station to request the first base station to perform a release process of the resource related to the direct communication path; similarly, the second terminal sends the request information to the second base station to request The second base station performs a release process of the resource related to the direct communication path; when receiving the request information sent by the first terminal, the first base station releases the resource related to the direct communication path saved by itself; similarly, the second When receiving the request information sent by the second terminal, the base station releases the resources stored by itself and related to the direct communication path.
由于该方式与上述第二种应用场景下的方式一相同, 具体请参见上述方式一的描述, 此 处不再赘述。  The method is the same as the mode 1 in the second application scenario. For details, refer to the description of the foregoing mode 1, and details are not described herein again.
方式 2、 在接收到第一终端发送的请求信息时, 第一基站释放自身保存的与该直接通信 路径相关的资源, 且, 第一基站通过第一终端所在的第一 MME 以及第二终端所在的第二 MME , 请求第二基站释放与该直接通信路径相关的资源。  In the mode 2, when receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path saved by the first base station, and the first base station passes the first MME where the first terminal is located, and the second terminal The second MME requests the second base station to release resources related to the direct communication path.
该方式中, 由第一基站主控网络侧释放直接通信路径的过程。  In this manner, the process of releasing the direct communication path by the first base station master network side.
本方式中, 不对上述两个过程的执行顺序进行限定, 具体的:  In this mode, the execution order of the above two processes is not limited, specifically:
一、 第一基站可以先释放自身保存的与该直接通信路径相关的资源, 再通过第一 MME 以及第二 MME , 请求第二基站释放与该直接通信路径相关的资源;  The first base station may first release the resources related to the direct communication path that are saved by the first base station, and then request the second base station to release the resources related to the direct communication path by using the first MME and the second MME;
具体为: 若第一 MME与第二 MME为同一个 MME, 即第一终端与第二终端驻留在同一 个 MME, 则: 第一终端向第一基站发送请求信息; 该第一基站在接收到第一终端发送的请求 信息时, 先释放自身保存的与该直接通信路径相关的资源, 然后向第一终端及第二终端驻留 的 MME发送第一请求信息, 以请求第二基站释放与该直接通信路径相关的资源; 该 MME 接收到该第一请求信息后, 向第二基站发送第二请求消息, 以请求第二基站释放与该直接通 信路径相关的资源;  Specifically, if the first MME and the second MME are the same MME, that is, the first terminal and the second terminal are in the same MME, the first terminal sends request information to the first base station; When the request information sent by the first terminal is sent, the resource related to the direct communication path saved by the first terminal is released, and then the first request information is sent to the first terminal and the MME where the second terminal resides to request the second base station to release the information. a resource related to the direct communication path; after receiving the first request information, the MME sends a second request message to the second base station to request the second base station to release resources related to the direct communication path;
若第一 MME与第二 MME为不同的 MME,即第一终端与第二终端驻留在不同的 MME, 则: 第一终端向第一基站发送请求信息; 该第一基站在接收到第一终端发送的请求信息时, 先释放自身保存的与该直接通信路径相关的资源, 然后向第一 MME发送第一请求信息, 以 请求第二基站释放与该直接通信路径相关的资源; 第一 MME接收到该第一请求信息后, 向 第二 MME发送第二请求信息,以请求第二基站释放与该直接通信路径相关的资源;第二 MME 在接收到该第二请求信息后, 向第二基站发送第三请求消息, 以请求第二基站释放与该直接 通信路径相关的资源。 进一步, 第二基站在完成与该直接通信路径相关的资源的释放过程后发送应答消息, 以 指示自身已完成与该直接通信路径相关的资源的释放过程。 If the first MME and the second MME are different MMEs, that is, the first terminal and the second terminal are in different MMEs, the first terminal sends request information to the first base station; the first base station receives the first MME. When the request information is sent by the terminal, the resource related to the direct communication path saved by the terminal is released, and then the first request information is sent to the first MME to request the second base station to release the resource related to the direct communication path; After receiving the first request information, sending the second request information to the second MME to request the second base station to release the resource related to the direct communication path; after receiving the second request information, the second MME is in the second The base station sends a third request message to request the second base station to release resources related to the direct communication path. Further, the second base station sends a response message after completing the release process of the resource related to the direct communication path, to indicate that the release process of the resource related to the direct communication path has been completed.
具体为: 若第一 MME与第二 MME为同一 MME, 即第一终端与第二终端驻留在同一个 MME, 则: 第二基站在完成与该直接通信路径相关的资源的释放过程后向第一终端及第二终 端驻留的 MME发送第一应答消息, 以通知该 MME 自身已完成与该直接通信路径相关的资 源的释放过程; 该 MME在接收到该第一应答消息后, 向第一基站发送第二应答消息, 以通 知第一基站第二基站已完成与该直接通信路径相关的资源的释放过程;  Specifically, if the first MME and the second MME are in the same MME, that is, the first terminal and the second terminal reside in the same MME, the second base station completes the release process of the resource related to the direct communication path. The first terminal and the MME where the second terminal resides send a first response message to notify the MME that the release process of the resource related to the direct communication path has been completed; after receiving the first response message, the MME Sending, by the base station, a second response message to notify the first base station that the second base station has completed the release process of the resource related to the direct communication path;
若第一 MME与第二 MME为不同 MME, 即第一终端与第二终端驻留在不同的 MME, 则: 第二基站在完成与该直接通信路径相关的资源的释放过程后向第二 MME发送第一应答 消息, 以通知第二 MME 自身已完成与该直接通信路径相关的资源的释放过程; 第二 MME 在接收到该第一应答消息后, 向第一 MME发送第二应答消息, 以通知第一 MME第二基站 已完成与该直接通信路径相关的资源的释放过程; 第一 MME在接收到该第二应答消息后, 向第一基站发送第三应答消息, 以通知第一基站第二基站已完成与该直接通信路径相关的资 源的释放过程。  If the first MME and the second MME are different MMEs, that is, the first terminal and the second terminal camp on different MMEs, the second base station sends the second MME to the second MME after completing the release process of the resources related to the direct communication path. Sending a first response message to notify the second MME that the release process of the resource related to the direct communication path is completed; after receiving the first response message, the second MME sends a second response message to the first MME, to Notifying the first MME that the second base station has completed the release process of the resource related to the direct communication path; after receiving the second response message, the first MME sends a third response message to the first base station to notify the first base station The second base station has completed the release process of resources related to the direct communication path.
进一步, 第一基站在接收到该应答消息后, 确定第二基站已完成与该直接通信路径相关 的资源的释放过程, 则该第一基站向第一终端返回响应消息, 以通知第一终端自身已完成与 该直接通信路径相关的资源的释放过程。  Further, after receiving the response message, the first base station determines that the second base station has completed the release process of the resource related to the direct communication path, and the first base station returns a response message to the first terminal to notify the first terminal itself. The release process of the resources associated with the direct communication path has been completed.
二、第一基站可以先通过第一 MME以及第二 MME,请求第二基站释放与该直接通信路 径相关的资源, 并在接收到第二基站返回的应答消息时, 释放自身保存的与该直接通信路径 相关的资源。 其中, 该应答消息是第二基站在完成直接通信路径的释放过程后发送的。  The first base station may first request the second base station to release the resources related to the direct communication path by using the first MME and the second MME, and release the self-save and the direct when receiving the response message returned by the second base station. Communication path related resources. The response message is sent by the second base station after completing the release process of the direct communication path.
具体为: 若第一 MME与第二 MME为同一 MME, 即第一终端与第二终端驻留在同一个 MME, 则: 第一终端向第一基站发送请求信息; 该第一基站在接收到第一终端发送的请求信 息时, 先向第一终端及第二终端驻留的 MME发送第一请求信息, 以请求第二基站释放与该 直接通信路径相关的资源; 该 MME接收到该第一请求信息后, 向第二基站发送第三请求消 息, 以请求第二基站释放与该直接通信路径相关的资源; 第二基站在接收到该第三请求消息 时, 释放自身保存的与该直接通信路径相关的资源, 并向该 MME发送第一应答消息, 以通 知该 MME 自身已完成与该直接通信路径相关的资源的释放过程; 该 MME在接收到该第一 应答消息后, 向第一基站发送第二应答消息, 以通知第一基站第二基站已完成与该直接通信 路径相关的资源的释放过程; 第一基站在接收到该第二应答消息时, 释放自身保存的与该直 接通信路径相关的资源;  Specifically, if the first MME and the second MME are in the same MME, that is, the first terminal and the second terminal are in the same MME, the first terminal sends request information to the first base station; When the first terminal sends the request information, the first request information is sent to the first terminal and the MME where the second terminal resides to request the second base station to release the resource related to the direct communication path; the MME receives the first After requesting the information, sending a third request message to the second base station to request the second base station to release resources related to the direct communication path; when receiving the third request message, the second base station releases the direct communication saved by the second base station a path-related resource, and sending a first response message to the MME, to notify the MME that the release process of the resource related to the direct communication path has been completed; after receiving the first response message, the MME sends the first response message to the first base station. Sending a second response message to notify the first base station that the second base station has completed the release process of the resource related to the direct communication path; the first base station is receiving When the second response message is sent, the resources related to the direct communication path saved by itself are released;
若第一 MME与第二 MME为不同 MME, 即第一终端与第二终端驻留在不同的 MME, 则: 第一终端向第一基站发送请求信息; 该第一基站在接收到第一终端发送的请求信息时, 先向第一 MME发送第一请求信息, 以请求第二基站释放与该直接通信路径相关的资源; 第 一 MME接收到该第一请求信息后, 向第二 MME发送第二请求信息, 以请求第二基站释放 与该直接通信路径相关的资源; 第二 MME在接收到该第二请求信息后, 向第二基站发送第 三请求消息, 以请求第二基站释放与该直接通信路径相关的资源; 第二基站在接收到该第三 请求消息时, 释放自身保存的与该直接通信路径相关的资源, 并向第二 MME发送第一应答 消息, 以通知第二 MME 自身已完成与该直接通信路径相关的资源的释放过程; 第二 MME 在接收到该第一应答消息后, 向第一 MME发送第二应答消息, 以通知第一 MME第二基站 已完成与该直接通信路径相关的资源的释放过程; 第一 MME在接收到该第二应答消息后, 向第一基站发送第三应答消息, 以通知第一基站第二基站已完成与该直接通信路径相关的资 源的释放过程; 第一基站在接收到该第三应答消息时, 释放自身保存的与该直接通信路径相 关的资源。 If the first MME and the second MME are different MMEs, that is, the first terminal and the second terminal are in different MMEs, the first terminal sends request information to the first base station; the first base station receives the first terminal. Sending the request information, first sending the first request information to the first MME, requesting the second base station to release resources related to the direct communication path; After receiving the first request information, the MME sends the second request information to the second MME to request the second base station to release the resources related to the direct communication path. After receiving the second request information, the second MME sends the second request information to the second MME. The second base station sends a third request message to request the second base station to release resources related to the direct communication path; when receiving the third request message, the second base station releases the resources related to the direct communication path that are saved by itself, And sending a first response message to the second MME, to notify the second MME that the release process of the resource related to the direct communication path is complete; after receiving the first response message, the second MME sends the first MME to the first MME. a second response message, to notify the first MME that the second base station has completed the release process of the resource related to the direct communication path; after receiving the second response message, the first MME sends a third response message to the first base station, to Notifying the first base station that the second base station has completed the release process of the resource related to the direct communication path; when the first base station receives the third response message, Put direct communication path associated with the resource itself saved.
进一步, 第一基站在释放自身保存的第一终端的与该直接通信路径相关的资源后, 向第 一终端返回响应消息,以通知第一终端自身已完成与该直接通信路径相关的资源的释放过程。  Further, after releasing the resource related to the direct communication path of the first terminal saved by itself, the first base station returns a response message to the first terminal to notify the first terminal that the release of the resource related to the direct communication path is completed. process.
需要说明的是, 若第一 MME与第二 MME为同一个 MME, 即第一终端与第二终端驻留 在同一个 MME, 则不存在 MME之间的交互; 若第一 MME与第二 MME为不同的 MME, 即第一终端与第二终端驻留在不同的 MME , 则第一 MME与第二 MME之间需要进行交互, 以完成上述过程。  It should be noted that, if the first MME and the second MME are the same MME, that is, the first terminal and the second terminal are in the same MME, there is no interaction between the MMEs; if the first MME and the second MME For different MMEs, that is, the first terminal and the second terminal are camped on different MMEs, the first MME and the second MME need to perform interaction to complete the foregoing process.
下面结合优选实施例, 对该方式下终端侧与网络侧之间的交互过程进行详细说明。  The interaction process between the terminal side and the network side in this mode will be described in detail below in conjunction with the preferred embodiment.
实施例五、 UE1驻留于 e Bl及 MME1 , UE2驻留于 e B2及 MME2, e Bl与 eNB2为 不同基站且之间不存在接口连接, MME1与 MME2为不同的 MME, UE1 (或 UE2 )在确定 与 UE2 (或 UE1 )之间的直接通信路径终止使用后, 将该直接通信路径上的数据流倒换到与 UE2 (或 UE1 ) 的经由核心网的通信路径上。 参见图 10所示, 资源释放过程中如下:  Embodiment 5: UE1 resides in e Bl and MME1, UE2 resides in e B2 and MME2, e Bl and eNB2 are different base stations, and there is no interface connection between them, and MME1 and MME2 are different MMEs, UE1 (or UE2) After determining that the direct communication path between UE2 (or UE1) is terminated, the data stream on the direct communication path is switched over to the communication path with UE2 (or UE1) via the core network. As shown in Figure 10, the resource release process is as follows:
步骤 101、 UE1 向 eNBl发送路径倒换通知, 通知 eNBl路径倒换过程已完成, 并请求 e B 1执行与该直接通信路径相关的资源的释放过程;  Step 101: UE1 sends a path switching notification to eNB1, notifying eNB1 that the path switching process has been completed, and requesting eB1 to perform a release process of resources related to the direct communication path;
步骤 102、 eNBl通过 MME1与 MME2之间的接口向 e B2发送释放直接通信路径资源 消息, 以请求 e B2删除 UE2在该直接通信路径上的上下文信息和分配给该直接通信路径的 空口资源;  Step 102: The eNB1 sends a release direct communication path resource message to the eB2 through the interface between the MME1 and the MME2, to request the eB2 to delete the context information of the UE2 on the direct communication path and the air interface resource allocated to the direct communication path.
步骤 103、 MME1将接收到的释放直接通信路径资源消息发送给 MME2;  Step 103, the MME1 sends the received release direct communication path resource message to the MME2;
步骤 104、 MME2将接收到的释放直接通信路径资源消息发送给 e B2;  Step 104: The MME2 sends the received release direct communication path resource message to e B2.
步骤 105、 e B2完成资源释放后, 通过 MME2与 MME1的接口向 eNBl返回用于表示 资源释放完成的响应消息;  After the resource release is completed, the eB2 returns a response message indicating that the resource release is completed to the eNB1 through the interface between the MME2 and the MME1.
步骤 106、 MME2将接收到的响应消息发送给 MME1;  Step 106, the MME2 sends the received response message to the MME1;
步骤 107、 MME1将接收到的响应消息发送给 eNBl ;  Step 107: The MME1 sends the received response message to the eNB1.
步骤 108、 eNBl在接收到 e B2返回的响应消息后,删除自身保存的 UE1在该直接通信 路径上的上下文信息和分配给该直接通信路径的空口资源, 并向 UE1返回用于表示资源释放 完成的响应消息。 Step 108: After receiving the response message returned by e B2, the eNB1 deletes the UE1 saved by itself in the direct communication. The context information on the path and the air interface resource allocated to the direct communication path, and return a response message indicating completion of the resource release to the UE1.
需要说明的是, 步骤 52中, 针对第一种实现方式及第二种实现方式, 第一终端可以釆用 上述方法一〜方法四中的任一方法释放自身保存的与该直接通信路径相关的资源,第一基站针 对不同应用场景, 可以釆用上述任一方式执行与该直接通信路径相关的资源的释放过程, 即 上述方法一〜方法四中的任一方法,可以与上述第一基站执行与该直接通信路径相关的资源的 释放过程的任一方式进行组合实施。  It should be noted that, in step 52, for the first implementation manner and the second implementation manner, the first terminal may use any one of the foregoing methods 1 to 4 to release the self-saved related to the direct communication path. The first base station may perform the release process of the resource related to the direct communication path in any one of the foregoing manners, that is, any one of the foregoing methods 1 to 4 may be performed with the first base station. Any one of the methods of releasing the resources related to the direct communication path is implemented in combination.
本申请实施例中, 步骤 52中第一终端释放自身保存的与该直接通信路径相关的资源, 且 第一终端请求第一基站执行与该直接通信路径相关的资源的释放过程 , 并不限于上述优选的 方法和方式, 还可以釆用其他处理方式。  In the embodiment of the present application, the first terminal releases the resource related to the direct communication path saved by the first terminal, and the first terminal requests the first base station to perform the release process of the resource related to the direct communication path, which is not limited to the foregoing. The preferred method and manner can also be applied to other processing methods.
例如, 若第一基站与第二基站为同一基站, 则:  For example, if the first base station and the second base station are the same base station, then:
第一终端在确定与第二终端之间的直接通信路径终止使用时, 释放自身保存的与该直接 通信路径相关的资源, 且第一终端向第一基站发送请求信息, 其中, 不对该步骤中的两个过 程的执行顺序进行限定;  The first terminal, when determining that the direct communication path with the second terminal is terminated, releases the resource related to the direct communication path that is saved by itself, and the first terminal sends the request information to the first base station, where not in the step The execution order of the two processes is limited;
第一基站在接收到该请求信息后, 释放保存的与该直接通信路径相关的资源, 且, 第一 基站请求第二终端释放自身保存的与该直接通信路径相关的资源, 其中, 不对该步骤中的两 个过程的先后顺序进行限定。  After receiving the request information, the first base station releases the saved resource related to the direct communication path, and the first base station requests the second terminal to release the resource related to the direct communication path saved by the first terminal, where the step is not The order of the two processes in the process is limited.
进一步, 第二终端在完成直接通信路径的释放过程后向第一基站发送反馈消息。  Further, the second terminal sends a feedback message to the first base station after completing the release process of the direct communication path.
进一步, 第一基站在接收到该反馈消息后, 确定第二终端已完成与该直接通信路径相关 的资源的释放过程, 则该第一基站向第一终端返回响应消息, 以通知第一终端自身已完成与 该直接通信路径相关的资源的释放过程。  Further, after receiving the feedback message, the first base station determines that the second terminal has completed the release process of the resource related to the direct communication path, and the first base station returns a response message to the first terminal to notify the first terminal itself. The release process of the resources associated with the direct communication path has been completed.
又如, 第一基站与第二基站为不同基站, 且第一基站与第二基站之间存在接口连接, 则: 第一终端在确定与第二终端之间的直接通信路径终止使用时, 释放自身保存的与该直接 通信路径相关的资源, 且第一终端向第一基站发送请求信息, 其中, 不对该步骤中的两个过 程的执行顺序进行限定;  For another example, if the first base station and the second base station are different base stations, and the first base station and the second base station have an interface connection, the first terminal releases when the direct communication path between the first terminal and the second terminal is terminated. a resource that is associated with the direct communication path, and the first terminal sends the request information to the first base station, where the execution order of the two processes in the step is not limited;
第一基站在接收到该请求信息后, 释放保存的与该直接通信路径相关的资源, 且, 第一 基站通过该接口请求第二基站释放与该直接通信路径相关的资源, 其中, 不对该步骤中的两 个过程的先后顺序进行限定;  After receiving the request information, the first base station releases the saved resource related to the direct communication path, and the first base station requests the second base station to release the resource related to the direct communication path through the interface, where the step is not The order of the two processes in the process is limited;
第二基站接收到第一基站发送的请求信息后,释放保存的与该直接通信路径相关的资源, 且, 请求第二终端释放自身保存的与该直接通信路径相关的资源, 其中, 不对该步骤中的两 个过程的先后顺序进行限定。  After receiving the request information sent by the first base station, the second base station releases the saved resource related to the direct communication path, and requests the second terminal to release the resource related to the direct communication path that is saved by the second terminal, where the step is not The order of the two processes in the process is limited.
进一步, 第二终端在完成直接通信路径的释放过程后向第二基站发送反馈消息。  Further, the second terminal sends a feedback message to the second base station after completing the release process of the direct communication path.
进一步, 第二基站在接收到该反馈消息后, 确定第二终端已完成与该直接通信路径相关 的资源的释放过程, 则该第二基站通过该接口向第一基站返回应答消息, 以通知第一基站自 身已完成与该直接通信路径相关的资源的释放过程, 且第二终端已完成与该直接通信路径相 关的资源的释放过程。 Further, after receiving the feedback message, the second base station determines that the second terminal has completed the connection with the direct communication path. The process of releasing the resource, the second base station returns a response message to the first base station by using the interface, to notify the first base station that the release process of the resource related to the direct communication path is completed, and the second terminal has completed the The release process of resources related to the direct communication path.
进一步, 第一基站在接收到该应答消息后, 向第一终端返回响应消息, 以通知第一终端 自身已完成与该直接通信路径相关的资源的释放过程。  Further, after receiving the response message, the first base station returns a response message to the first terminal to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
再如, 若第一基站与第二终端所在的第二基站为不同基站, 且第一基站与第二基站之间 不存在接口连接, 则:  For another example, if the first base station and the second base station where the second terminal is located are different base stations, and there is no interface connection between the first base station and the second base station, then:
第一终端在确定与第二终端之间的直接通信路径终止使用时, 释放自身保存的与该直接 通信路径相关的资源, 且第一终端向第一基站发送请求信息, 其中, 不对该步骤中的两个过 程的执行顺序进行限定;  The first terminal, when determining that the direct communication path with the second terminal is terminated, releases the resource related to the direct communication path that is saved by itself, and the first terminal sends the request information to the first base station, where not in the step The execution order of the two processes is limited;
第一基站在接收到该请求信息后, 释放自身保存的与该直接通信路径相关的资源, 且, 第一基站通过第一终端所在的第一 MME及第二终端所在的第二 MME ,请求第二基站释放与 该直接通信路径相关的资源, 其中, 不对该步骤中的两个过程的先后顺序进行限定;  After receiving the request information, the first base station releases the resource related to the direct communication path that is saved by the first base station, and the first base station requests the first MME where the first terminal is located and the second MME where the second terminal is located. The second base station releases the resources related to the direct communication path, where the sequence of the two processes in the step is not limited;
第二基站接收到第一基站发送的请求信息后,释放保存的与该直接通信路径相关的资源, 且, 请求第二终端释放自身保存的与该直接通信路径相关的资源, 其中, 不对该步骤中的两 个过程的先后顺序进行限定。  After receiving the request information sent by the first base station, the second base station releases the saved resource related to the direct communication path, and requests the second terminal to release the resource related to the direct communication path that is saved by the second terminal, where the step is not The order of the two processes in the process is limited.
进一步, 第二终端在完成直接通信路径的释放过程后向第二基站发送反馈消息。  Further, the second terminal sends a feedback message to the second base station after completing the release process of the direct communication path.
进一步, 第二基站在接收到该反馈消息后, 确定第二终端已完成与该直接通信路径相关 的资源的释放过程, 则该第二基站通过第二 MME及第一 MME向第一基站返回应答消息, 以通知第一基站自身已完成与该直接通信路径相关的资源的释放过程, 且第二终端已完成与 该直接通信路径相关的资源的释放过程。  Further, after receiving the feedback message, the second base station determines that the second terminal has completed the release process of the resource related to the direct communication path, and the second base station returns a response to the first base station by using the second MME and the first MME. a message, to inform the first base station that the release process of the resource related to the direct communication path has been completed, and the second terminal has completed the release process of the resource related to the direct communication path.
进一步, 第一基站在接收到该应答消息后, 向第一终端返回响应消息, 以通知第一终端 自身已完成与该直接通信路径相关的资源的释放过程。  Further, after receiving the response message, the first base station returns a response message to the first terminal to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
需要说明的是, 若第一 MME与第二 MME为同一个 MME, 即第一终端与第二终端驻留 在同一个 MME, 则不存在 MME之间的交互; 若第一 MME与第二 MME为不同的 MME, 即第一终端与第二终端驻留在不同的 MME , 则第一 MME与第二 MME之间需要进行交互, 以完成上述过程。  It should be noted that, if the first MME and the second MME are the same MME, that is, the first terminal and the second terminal are in the same MME, there is no interaction between the MMEs; if the first MME and the second MME For different MMEs, that is, the first terminal and the second terminal are camped on different MMEs, the first MME and the second MME need to perform interaction to complete the foregoing process.
上述方法处理流程可以用软件程序实现, 该软件程序可以存储在存储介盾中, 当存储的 软件程序被调用时, 执行上述方法步骤。  The above method processing flow can be implemented by a software program, which can be stored in a storage medium shield, and when the stored software program is called, the above method steps are performed.
基于同一发明构思, 本申请实施例中还提供了一种终端, 由于该终端解决问题的原理与 上述图 3所示的资源释放方法相似, 因此该终端的实施可以参见图 3所示的方法的实施, 重 复之处不再赘述。  Based on the same inventive concept, a terminal is provided in the embodiment of the present application. The principle of solving the problem is similar to the resource release method shown in FIG. 3, and therefore, the implementation of the terminal can be referred to the method shown in FIG. Implementation, repetition will not be repeated.
参见图 11 所示, 本申请实施例提供的一种终端 (该终端对应上述方法中提及的第一终 端) , 该终端包括: Referring to FIG. 11 , a terminal provided by an embodiment of the present application (the terminal corresponds to the first terminal mentioned in the foregoing method) End), the terminal includes:
第一处理模块 111 , 用于确定与第二终端之间的直接通信路径终止使用;  The first processing module 111 is configured to determine that the direct communication path with the second terminal is terminated.
第二处理模块 112, 用于释放自身保存的与该直接通信路径相关的资源, 且请求自身所 在的第一基站执行与该直接通信路径相关的资源的释放过程。  The second processing module 112 is configured to release the resource related to the direct communication path that is saved by itself, and request the first base station that the UE is in itself to perform a release process of the resource related to the direct communication path.
本申请实施例中, 与该直接通信相关的资源包括但不限于下列信息中的一种或多种: 分配给该直接通信路径的资源、 该直接通信路径对应的上下文信息。  In the embodiment of the present application, the resources related to the direct communication include, but are not limited to, one or more of the following information: a resource allocated to the direct communication path, and context information corresponding to the direct communication path.
在实施中, 第二处理模块 112具体用于:  In an implementation, the second processing module 112 is specifically configured to:
先释放自身保存的与该直接通信路径相关的资源, 再请求第一基站执行与该直接通信路 径相关的资源的释放过程; 或者,  First releasing the resource that is saved in the direct communication path, and then requesting the first base station to perform a release process of the resource related to the direct communication path; or
先请求第一基站执行与该直接通信路径相关的资源的释放过程 , 在接收到第一基站返回 的响应消息后, 释放自身保存的与该直接通信路径相关的资源, 响应消息为第一基站完成与 该直接通信路径相关的资源的释放过程后发送的。  First, requesting the first base station to perform a release process of the resource related to the direct communication path, and after receiving the response message returned by the first base station, releasing the resource related to the direct communication path saved by itself, the response message is completed by the first base station Sent after the release process of the resource associated with the direct communication path.
在实施中, 第二处理模块 112释放自身保存的与该直接通信路径相关的资源,具体包括: 直接释放自身保存的与该直接通信路径相关的资源; 或者,  In the implementation, the second processing module 112 releases the resources related to the direct communication path that are saved by the second processing module 112, and specifically includes: directly releasing the resources related to the direct communication path saved by itself; or
向第二终端发送资源释放请求, 在接收到第二终端返回的资源释放响应后, 释放自身保 存的与该直接通信路径相关的资源, 该资源释放请求用于请求第二终端释放与该直接通信路 径相关的资源, 该资源释放响应是第二终端在完成自身保存的与该直接通信路径相关的资源 的释放过程后发送的; 或者,  Sending a resource release request to the second terminal, and after receiving the resource release response returned by the second terminal, releasing the resource related to the direct communication path saved by the second terminal, where the resource release request is used to request the second terminal to release the direct communication a path-related resource, where the resource release response is sent by the second terminal after completing the release process of the resource related to the direct communication path that is saved by the second terminal; or
启动已配置的定时器,在定时器超时时,释放自身保存的与该直接通信路径相关的资源。 进一步, 第二处理模块 112释放自身保存的与该直接通信路径相关的资源, 还包括: 启动已配置的定时器;  The configured timer is started, and when the timer expires, the resources related to the direct communication path saved by itself are released. Further, the second processing module 112 releases the resources that are saved by the direct communication path, and further includes: starting the configured timer;
向第二终端发送资源释放请求;  Sending a resource release request to the second terminal;
若在定时器超时之前接收到第二终端返回的资源释放响应, 则释放自身保存的与该直接 通信路径相关的资源, 并关闭定时器; 否则在定时器超时时, 释放自身保存的与该直接通信 路径相关的资源;  If the resource release response returned by the second terminal is received before the timer expires, the resource related to the direct communication path saved by itself is released, and the timer is turned off; otherwise, when the timer expires, the self saved and the direct release are released. Communication path related resources;
其中, 该资源释放请求用于请求第二终端释放与该直接通信路径相关的资源, 该资源释 放响应是第二终端在完成自身保存的与该直接通信路径相关的资源的释放过程后发送的。  The resource release request is used to request the second terminal to release the resource related to the direct communication path, where the resource release response is sent by the second terminal after completing the release process of the resource related to the direct communication path saved by the second terminal.
在实施中, 第二处理模块 112具体用于:  In an implementation, the second processing module 112 is specifically configured to:
通过与第二终端之间的直接通信接口, 向第二终端发送资源释放请求。  A resource release request is sent to the second terminal through a direct communication interface with the second terminal.
在实施中, 第二处理模块 112还用于:  In an implementation, the second processing module 112 is further configured to:
接收第一基站返回的响应消息, 该响应消息用于通知第一基站已完成与该直接通信路径 相关的资源的释放过程。  Receiving a response message returned by the first base station, the response message is used to notify the first base station that the release process of the resource related to the direct communication path has been completed.
需要说明的是, 本申请实施例图 11所示的终端可以为该直接通信的发起方设备, 也可以 为该直接通信的对端设备。 It should be noted that the terminal shown in FIG. 11 of the embodiment of the present application may be the initiator device of the direct communication, or For the peer device of the direct communication.
基于同一发明构思, 本申请实施例中还提供了一种基站, 由于该基站解决问题的原理与 上述图 5所示的资源释放方法相似, 因此该基站的实施可以参见图 5所示的方法的实施, 重 复之处不再赘述。  Based on the same inventive concept, a base station is also provided in the embodiment of the present application. The principle of the base station solving the problem is similar to the resource release method shown in FIG. 5 above. Therefore, the implementation of the base station can be referred to the method shown in FIG. Implementation, repetition will not be repeated.
参见图 12所示, 本申请实施例提供的一种基站, 该基站为第一终端驻留的基站, 该基站 包括:  Referring to FIG. 12, a base station is provided in the embodiment of the present application, where the base station is a base station where the first terminal resides, and the base station includes:
接收模块 121 , 用于接收第一终端发送的请求信息, 该请求信息用于请求执行与第一终 端和第二终端之间的直接通信路径相关的资源的释放过程;  The receiving module 121 is configured to receive request information sent by the first terminal, where the request information is used to request to perform a release process of a resource related to a direct communication path between the first terminal and the second terminal;
处理模块 122, 用于执行与直接通信路径相关的资源的释放过程。  The processing module 122 is configured to perform a release process of resources related to the direct communication path.
本申请实施例中, 与该直接通信相关的资源包括但不限于下列信息中的一种或多种: 分配给该直接通信路径的资源、 该直接通信路径对应的上下文信息。  In the embodiment of the present application, the resources related to the direct communication include, but are not limited to, one or more of the following information: a resource allocated to the direct communication path, and context information corresponding to the direct communication path.
进一步, 处理模块 122还用于:  Further, the processing module 122 is further configured to:
在完成与该直接通信路径相关的资源的释放过程之后, 向第一终端发送响应消息, 该响 应消息用于通知第一终端自身已完成与该直接通信路径相关的资源的释放过程。  After completing the release process of the resource related to the direct communication path, a response message is sent to the first terminal, the response message is used to notify the first terminal that the release process of the resource related to the direct communication path has been completed.
在实施中, 若与第二终端所在的第二基站为同一基站, 则处理模块 122执行与该直接通 信路径相关的资源的释放过程, 具体为:  In the implementation, if the second base station where the second terminal is located is the same base station, the processing module 122 performs a release process of the resource related to the direct communication path, specifically:
在接收模块 121接收到第一终端发送的请求信息时, 释放自身保存的与该直接通信路径 相关的资源; 或者,  When the receiving module 121 receives the request information sent by the first terminal, releasing the resource that is saved by itself and related to the direct communication path; or
在接收模块 121接收到第一终端发送的请求信息, 且接收到第二终端发送的用于请求执 行该直接通信路径相关的资源的释放过程的请求信息时, 释放自身保存的与该直接通信路径 相关的资源。  Receiving the request information sent by the first terminal, and receiving the request information sent by the second terminal for requesting to perform the release process of the resource related to the direct communication path, releasing the saved direct communication path Related resources.
在实施中, 若与第二终端所在的第二基站为不同基站,且与第二基站之间存在接口连接, 处理模块 122执行与该直接通信路径相关的资源的释放过程, 具体为:  In an implementation, if the second base station where the second terminal is located is a different base station, and the interface is connected to the second base station, the processing module 122 performs a release process of the resource related to the direct communication path, specifically:
在接收模块 121接收到第一终端发送的请求信息时, 释放自身保存的与该直接通信路径 相关的资源; 或者,  When the receiving module 121 receives the request information sent by the first terminal, releasing the resource that is saved by itself and related to the direct communication path; or
在接收模块 121接收到第一终端发送的请求信息时, 释放自身保存的与该直接通信路径 相关的资源, 且, 通过与第二基站之间的接口请求第二基站释放与该直接通信路径相关的资 源; 其中, 第二基站在完成与该直接通信路径相关的资源的释放过程后发送应答消息。  When receiving the request information sent by the first terminal, the receiving module 121 releases the resource related to the direct communication path that is saved by itself, and requests the second base station to release the direct communication path by using an interface with the second base station. The second base station sends a response message after completing the release process of the resource related to the direct communication path.
在实施中, 若与第二终端所在的第二基站为不同基站, 且与第二基站之间不存在接口连 接, 处理模块 122执行与该直接通信路径相关的资源的释放过程, 具体为:  In an implementation, if the second base station where the second terminal is located is a different base station, and there is no interface connection with the second base station, the processing module 122 performs a release process of the resource related to the direct communication path, specifically:
在接收模块 121接收到第一终端发送的请求信息时, 释放自身保存的与该直接通信路径 相关的资源; 或者,  When the receiving module 121 receives the request information sent by the first terminal, releasing the resource that is saved by itself and related to the direct communication path; or
在接收模块 121接收到第一终端发送的请求信息时, 释放自身保存的与该直接通信路径 相关的资源, 且, 通过第一终端所在的第一 MME以及第二终端所在的第二 MME, 请求第二 基站释放与该直接通信路径相关的资源; 其中, 第二基站在完成与该直接通信路径相关的资 源的释放过程后发送应答消息。 When the receiving module 121 receives the request information sent by the first terminal, releasing the saved direct communication path with the first terminal Related resources, and requesting, by the first MME where the first terminal is located, and the second MME where the second terminal is located, to request the second base station to release resources related to the direct communication path, where the second base station completes direct communication with the A response message is sent after the release process of the path-related resource.
需要说明的是, 若第一 MME与第二 MME为同一个 MME, 即第一终端与第二终端驻留 在同一个 MME, 则不存在 MME之间的交互; 若第一 MME与第二 MME为不同的 MME, 即第一终端与第二终端驻留在不同的 MME , 则第一 MME与第二 MME之间需要进行交互, 以完成上述过程。  It should be noted that, if the first MME and the second MME are the same MME, that is, the first terminal and the second terminal are in the same MME, there is no interaction between the MMEs; if the first MME and the second MME For different MMEs, that is, the first terminal and the second terminal are camped on different MMEs, the first MME and the second MME need to perform interaction to complete the foregoing process.
下面结合具体硬件结构, 对本申请实施例提供的终端的结构、 处理方式进行说明。  The structure and processing manner of the terminal provided by the embodiment of the present application are described below in conjunction with the specific hardware structure.
如图 13所示, 终端 130至少包括: 存储器 131、 处理器 132、 和天线 133; 其中: 该存储器 131 中至少保存有自身与第二终端之间的直接通信路径相关的资源, 该直接通 信路径相关的资源至少包括为该直接通信分配的资源、 以及该直接通信对应的上下文信息。  As shown in FIG. 13, the terminal 130 includes at least: a memory 131, a processor 132, and an antenna 133; wherein: the memory 131 stores at least a resource related to a direct communication path between itself and the second terminal, and the direct communication path The related resources include at least resources allocated for the direct communication and context information corresponding to the direct communication.
该处理器 132在确定自身与第二终端之间的直接通信路径终止使用时, 删除存储器 131 中保存的与该直接通信路径相关的资源, 且通过天线 133向第一基站发送请求信息, 以请求 第一基站执行与该直接通信路径相关的资源的释放过程。  The processor 132 deletes the resource related to the direct communication path saved in the memory 131 when determining that the direct communication path between itself and the second terminal is terminated, and transmits the request information to the first base station through the antenna 133 to request The first base station performs a release procedure of resources related to the direct communication path.
该处理器 132在执行上述过程时, 可以先删除存储器 131中保存的与该直接通信路径相 关的资源, 再通过天线 133向第一基站发送请求信息; 也可以先通过天线 133向第一基站发 送请求信息, 并在天线 133接收到第一基站返回的响应消息后, 再删除存储器 131中保存的 与该直接通信路径相关的资源。  The processor 132 may first delete the resource related to the direct communication path saved in the memory 131, and then send the request information to the first base station through the antenna 133; or send the request information to the first base station through the antenna 133. The information is requested, and after the antenna 133 receives the response message returned by the first base station, the resource related to the direct communication path saved in the memory 131 is deleted.
该处理器 132在执行删除存储器 131中保存的与该直接通信路径相关的资源时, 具体包 括以下方式:  When the processor 132 performs the deletion of the resources related to the direct communication path stored in the memory 131, the processor 132 specifically includes the following methods:
直接删除存储器 131中保存的与该直接通信路径相关的资源; 或者,  Directly deleting the resources related to the direct communication path saved in the memory 131; or
先通过天线向第二终端发送资源释放请求, 在天线 133接收到第二终端返回的资源释放 响应后, 再删除存储器 131中保存的与该直接通信路径相关的资源; 或者,  First, the resource release request is sent to the second terminal by using the antenna, and after the antenna 133 receives the resource release response returned by the second terminal, the resource related to the direct communication path saved in the memory 131 is deleted; or
先启动已配置的定时器, 在该定时器超时时, 再删除存储器 131 中保存的与该直接通信 路径相关的资源。  The configured timer is started first, and when the timer expires, the resources related to the direct communication path saved in the memory 131 are deleted.
当然, 处理器 132还可以釆用显式信令与定时器结合的方式, 删除存储器 131中保存的 与该直接通信路径相关的资源, 具体参见上述方法的描述, 此处不再赘述。  Of course, the processor 132 can also delete the resources related to the direct communication path saved in the memory 131 by using the combination of the explicit signaling and the timer. For details, refer to the description of the foregoing method, and details are not described herein again.
下面结合具体硬件结构, 对本申请实施例提供的基站的结构、 处理方式进行说明。  The structure and processing manner of the base station provided by the embodiment of the present application are described below in conjunction with the specific hardware structure.
如图 14所示, 基站 140至少包括: 存储器 141、 处理器 142、 和天线 143; 其中: 该存储器 141 中至少保存服务的各终端的直接通信路径相关的资源, 以及服务的各终端 的经由核心网的通信路径的相关信息, 该直接通信路径相关的资源至少包括为该直接通信分 配的资源、 以及该直接通信对应的上下文信息。  As shown in FIG. 14, the base station 140 includes at least: a memory 141, a processor 142, and an antenna 143; wherein: the memory 141 stores at least resources related to a direct communication path of each terminal of the service, and a core of each terminal of the service Information related to the communication path of the network, the resources related to the direct communication path include at least resources allocated for the direct communication and context information corresponding to the direct communication.
该处理器 142根据天线 143接收到的来自终端发送的请求信息, 执行与该直接通信路径 相关的资源的释放过程 , 以及在完成与该直接通信路径相关的资源的释放过程之后 , 通过天 线 143向自身服务的终端发送响应消息。 The processor 142 performs the direct communication path according to the request information sent by the terminal received by the antenna 143. The release process of the associated resource, and after completing the release process of the resource related to the direct communication path, the response message is sent to the terminal itself served by the antenna 143.
该处理器 142执行与该直接通信路径相关的资源的释放过程, 具体包括:  The processor 142 performs a release process of the resources related to the direct communication path, and specifically includes:
一、 若与第二终端所在的第二基站为同一基站, 则该处理器 142执行:  1. If the second base station where the second terminal is located is the same base station, the processor 142 performs:
在通过天线 143接收到第一终端发送的请求信息时, 删除存储器 141中保存的与该直接 通信路径相关的资源; 或者,  When receiving the request information sent by the first terminal through the antenna 143, deleting the resource related to the direct communication path saved in the memory 141; or
在通过天线 143分别接收到第一终端及第二终端发送的请求信息时, 删除存储器 141中 保存的与该直接通信路径相关的资源。  When the request information transmitted by the first terminal and the second terminal is respectively received through the antenna 143, the resource associated with the direct communication path stored in the memory 141 is deleted.
二、 若与第二终端所在的第二基站为不同基站, 且与第二基站之间存在接口连接, 则该 处理器 142执行:  2. If the second base station where the second terminal is located is a different base station and has an interface connection with the second base station, the processor 142 performs:
在通过天线 143接收到第一终端发送的请求信息时, 删除存储器 141中保存的与该直接 通信路径相关的资源; 或者,  When receiving the request information sent by the first terminal through the antenna 143, deleting the resource related to the direct communication path saved in the memory 141; or
在通过天线 143接收到第一终端发送的请求信息时, 删除存储器 141中保存的与该直接 通信路径相关的资源, 且, 指示天线 143通过该接口向第二基站发送请求, 以请求第二基站 释放与该直接通信路径相关的资源; 其中, 第二基站在完成与该直接通信路径相关的资源的 释放过程后发送应答消息。  When the request information sent by the first terminal is received through the antenna 143, the resource related to the direct communication path saved in the memory 141 is deleted, and the indication antenna 143 sends a request to the second base station through the interface to request the second base station. Releasing resources associated with the direct communication path; wherein the second base station sends a response message after completing a release process of resources related to the direct communication path.
三、 若与第二终端所在的第二基站为不同基站, 且与第二基站之间不存在接口连接, 则 该处理器 142执行:  3. If the second base station where the second terminal is located is a different base station, and there is no interface connection with the second base station, the processor 142 performs:
在通过天线 143接收到第一终端发送的请求信息时, 删除存储器 141中保存的与该直接 通信路径相关的资源; 或者,  When receiving the request information sent by the first terminal through the antenna 143, deleting the resource related to the direct communication path saved in the memory 141; or
在通过天线 143接收到第一终端发送的请求信息时, 删除存储器 141中保存的与该直接 通信路径相关的资源, 且, 指示天线 143通过第一终端所在的第一 MME以及第二终端所在 的第二 MME向第二基站发送请求, 以请求第二基站释放自身保存的与该直接通信路径相关 的资源; 其中, 第二基站在完成与该直接通信路径相关的资源的释放过程后发送应答消息。  When the request information sent by the first terminal is received by the antenna 143, the resource related to the direct communication path saved in the memory 141 is deleted, and the antenna 143 is indicated by the first MME where the first terminal is located and the second terminal where the second terminal is located. The second MME sends a request to the second base station to request the second base station to release the resource that is saved by the second base station and is related to the direct communication path. The second base station sends a response message after completing the release process of the resource related to the direct communication path. .
本领域内的技术人员应明白, 本申请的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本申请可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的 形式。 而且, 本申请可釆用在一个或多个其中包含有计算机可用程序代码的计算机可用存储 介盾 (包括但不限于磁盘存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形 式。  Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the application can be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the application can be in the form of a computer program product embodied on one or more computer usable storage modules (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
本申请是参照根据本申请实施例的方法、设备(系统)、 和计算机程序产品的流程图和 / 或方框图来描述的。 应理解可由计算机程序指令实现流程图和 /或方框图中的每一流程和 / 或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令 到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个 机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程 图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的装置。 The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to generate a A machine that causes instructions executed by a processor of a computer or other programmable data processing device to generate means for implementing the functions specified in a block or blocks of a flow or a flow and/or a block diagram of the flowchart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工 作的计算机可读存储器中, 使得存储在该计算机可读存储器中的指令产生包括指令装置的制 造品, 该指令装置实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指 定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或 其他可编程设备上执行一系列操作步骤以产生计算机实现的处理, 从而在计算机或其他可编 程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个方框或多 个方框中指定的功能的步骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念 , 则可对这些实施例作出另外的变更和修改。 所以, 所附权利要求意欲解释为包括优选实施例 以及落入本申请范围的所有变更和修改。  While the preferred embodiment of the present application has been described, those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然, 本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范 围。 这样, 倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内, 则 本申请也意图包含这些改动和变型在内。  It will be apparent that those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and modifications of

Claims

权 利 要 求 Rights request
1、 一种资源释放方法, 其特征在于, 该方法包括: 1. A resource release method, characterized in that the method includes:
第一终端确定与第二终端之间的直接通信路径终止使用; The first terminal determines that the direct communication path with the second terminal is terminated;
所述第一终端释放自身保存的与所述直接通信路径相关的资源, 且所述第一终端请求自 身所在的第一基站执行与所述直接通信路径相关的资源的释放过程。 The first terminal releases the resources related to the direct communication path that it has saved, and the first terminal requests the first base station where it is located to perform a release process of the resources related to the direct communication path.
2、 如权利要求 1所述的方法, 其特征在于, 2. The method according to claim 1, characterized in that,
所述第一终端先释放自身保存的与所述直接通信路径相关的资源, 再请求第一基站执行 与所述直接通信路径相关的资源的释放过程; 或者, The first terminal first releases the resources related to the direct communication path that it has saved, and then requests the first base station to perform a release process of the resources related to the direct communication path; or,
所述第一终端先请求第一基站执行与所述直接通信路径相关的资源的释放过程 , 在接收 到所述第一基站返回的响应消息后, 释放自身保存的与所述直接通信路径相关的资源, 所述 响应消息为所述第一基站完成与所述直接通信路径相关的资源的释放过程后发送的。 The first terminal first requests the first base station to perform a release process of resources related to the direct communication path, and after receiving the response message returned by the first base station, releases the resources related to the direct communication path that it has saved. resources, and the response message is sent by the first base station after completing the release process of resources related to the direct communication path.
3、如权利要求 2所述的方法, 其特征在于, 所述第一终端释放自身保存的与所述直接通 信路径相关的资源, 具体包括: 3. The method of claim 2, wherein the first terminal releases its own saved resources related to the direct communication path, specifically including:
所述第一终端直接释放自身保存的与所述直接通信路径相关的资源; 或者, The first terminal directly releases the resources related to the direct communication path that it saves; or,
所述第一终端向所述第二终端发送资源释放请求, 在接收到所述第二终端返回的资源释 放响应后, 释放自身保存的与所述直接通信路径相关的资源, 所述资源释放请求用于请求所 述第二终端释放与所述直接通信路径相关的资源, 所述资源释放响应是所述第二终端在完成 自身保存的与所述直接通信路径相关的资源的释放过程后发送的; 或者, The first terminal sends a resource release request to the second terminal, and after receiving the resource release response returned by the second terminal, releases the resources related to the direct communication path that it has saved, and the resource release request Used to request the second terminal to release resources related to the direct communication path. The resource release response is sent by the second terminal after completing the release process of the resources related to the direct communication path saved by the second terminal. ; or,
所述第一终端启动已配置的定时器, 在所述定时器超时时, 释放自身保存的与所述直接 通信路径相关的资源。 The first terminal starts a configured timer, and when the timer times out, releases its own saved resources related to the direct communication path.
4、如权利要求 2所述的方法, 其特征在于, 所述第一终端释放自身保存的与所述直接通 信路径相关的资源, 具体包括: 4. The method of claim 2, wherein the first terminal releases its own saved resources related to the direct communication path, specifically including:
所述第一终端启动已配置的定时器; The first terminal starts the configured timer;
所述第一终端向所述第二终端发送资源释放请求; The first terminal sends a resource release request to the second terminal;
若在所述定时器超时之前接收到所述第二终端返回的资源释放响应, 所述第一终端释放 自身保存的与所述直接通信路径相关的资源, 并关闭所述定时器; 否则, 所述第一终端在所 述定时器超时时, 释放自身保存的与所述直接通信路径相关的资源; If the resource release response returned by the second terminal is received before the timer times out, the first terminal releases its own saved resources related to the direct communication path and closes the timer; otherwise, When the timer expires, the first terminal releases its own saved resources related to the direct communication path;
其中, 所述资源释放请求用于请求所述第二终端释放与所述直接通信路径相关的资源, 所述资源释放响应是所述第二终端在完成自身保存的与所述直接通信路径相关的资源的释放 过程后发送的。 Wherein, the resource release request is used to request the second terminal to release resources related to the direct communication path, and the resource release response is when the second terminal completes its own saving of resources related to the direct communication path. Sent after the resource release process.
5、如权利要求 3或 4所述的方法, 其特征在于, 所述第一终端向所述第二终端发送所述 资源释放请求, 具体包括: 所述第一终端通过与所述第二终端之间的直接通信接口, 向所述第二终端发送所述资源 释放请求。 5. The method of claim 3 or 4, wherein the first terminal sends the resource release request to the second terminal, specifically including: The first terminal sends the resource release request to the second terminal through a direct communication interface with the second terminal.
6、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括: 6. The method of claim 1, wherein the method further includes:
所述第一终端接收所述第一基站返回的响应消息, 所述响应消息用于通知所述第一终端 所述第一基站已完成与所述直接通信路径相关的资源的释放过程。 The first terminal receives a response message returned by the first base station, and the response message is used to notify the first terminal that the first base station has completed the release process of resources related to the direct communication path.
7、 一种资源释放方法, 其特征在于, 该方法包括: 7. A resource release method, characterized in that the method includes:
第一终端所在的第一基站接收所述第一终端发送的请求信息, 所述请求信息用于请求所 述第一基站执行与所述第一终端和第二终端之间的直接通信路径相关的资源的释放过程; 所述第一基站执行与所述直接通信路径相关的资源的释放过程。 The first base station where the first terminal is located receives the request information sent by the first terminal, and the request information is used to request the first base station to perform a process related to the direct communication path between the first terminal and the second terminal. Resource release process; The first base station performs a resource release process related to the direct communication path.
8、如权利要求 7所述的方法, 其特征在于, 所述第一基站完成与所述直接通信路径相关 的资源的释放过程之后, 所述方法还包括: 8. The method of claim 7, wherein after the first base station completes the release process of resources related to the direct communication path, the method further includes:
所述第一基站向所述第一终端发送响应消息, 所述响应消息用于通知所述第一终端所述 第一基站已完成与所述直接通信路径相关的资源的释放过程。 The first base station sends a response message to the first terminal, and the response message is used to notify the first terminal that the first base station has completed the release process of resources related to the direct communication path.
9、如权利要求 7或 8所述的方法, 其特征在于, 若所述第一基站与所述第二终端所在的 第二基站为同一基站, 所述第一基站执行与所述直接通信路径相关的资源的释放过程, 具体 包括: 9. The method according to claim 7 or 8, characterized in that, if the first base station and the second base station where the second terminal is located are the same base station, the first base station executes the direct communication path with the The related resource release process specifically includes:
在接收到所述第一终端发送的请求信息, 且接收到所述第二终端发送的用于请求所述第 一基站执行与所述直接通信路径相关的资源的释放过程的请求信息时, 所述第一基站释放自 身保存的与所述直接通信路径相关的资源; 或者, When receiving the request information sent by the first terminal and receiving the request information sent by the second terminal for requesting the first base station to perform a release process of resources related to the direct communication path, the The first base station releases its own saved resources related to the direct communication path; or,
在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源。 When receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that it has saved.
10、 如权利要求 7或 8所述的方法, 其特征在于, 若所述第一基站与所述第二终端所在 的第二基站为不同基站, 且所述第一基站与所述第二基站之间存在接口连接, 则所述第一基 站执行与所述直接通信路径相关的资源的释放过程 , 具体包括: 10. The method of claim 7 or 8, wherein if the first base station and the second base station where the second terminal is located are different base stations, and the first base station and the second base station If there is an interface connection between them, the first base station performs a release process of resources related to the direct communication path, which specifically includes:
在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源; 或者, When receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that it has saved; or,
在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源, 且, 所述第一基站通过所述接口请求所述第二基站释放与所述直接通信 路径相关的资源; 其中, 所述第二基站在完成与所述直接通信路径相关的资源的释放过程后 向所述第一基站发送应答消息。 When receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that it has saved, and the first base station requests the second base station through the interface. Release resources related to the direct communication path; wherein, the second base station sends a response message to the first base station after completing the release process of resources related to the direct communication path.
11、 如权利要求 7或 8所述的方法, 其特征在于, 若所述第一基站与所述第二终端所在 的第二基站为不同基站, 且所述第一基站与所述第二基站之间不存在接口连接, 则所述第一 基站执行与所述直接通信路径相关的资源的释放过程 , 具体包括: 在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源; 或者, 11. The method of claim 7 or 8, wherein if the first base station and the second base station where the second terminal is located are different base stations, and the first base station and the second base station If there is no interface connection between them, the first base station performs a release process of resources related to the direct communication path, which specifically includes: When receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that it has saved; or,
在接收到所述第一终端发送的请求信息时, 所述第一基站释放自身保存的与所述直接通 信路径相关的资源, 且, 所述第一基站通过所述第一终端所在的第一移动性管理实体 MME 以及所述第二终端所在的第二 MME, 请求所述第二基站释放与所述直接通信路径相关的资 源; 其中, 所述第二基站在完成与所述直接通信路径相关的资源的释放过程后通过所述第二 MME及所述第一 MME向所述第一基站发送应答消息。 When receiving the request information sent by the first terminal, the first base station releases the resources related to the direct communication path that it has saved, and, the first base station passes the first terminal where the first terminal is located. The mobility management entity MME and the second MME where the second terminal is located request the second base station to release resources related to the direct communication path; wherein, the second base station completes the tasks related to the direct communication path. After the resource release process, a response message is sent to the first base station through the second MME and the first MME.
12、 一种终端, 其特征在于, 该终端包括: 12. A terminal, characterized in that the terminal includes:
第一处理模块, 用于确定自身与第二终端之间的直接通信路径停止使用; The first processing module is used to determine that the direct communication path between itself and the second terminal is out of use;
第二处理模块, 用于释放自身保存的与所述直接通信路径相关的资源, 且请求自身所在 的第一基站执行与所述直接通信路径相关的资源的释放过程。 The second processing module is configured to release the resources related to the direct communication path that it has saved, and request the first base station where it is located to perform a release process of the resources related to the direct communication path.
13、 如权利要求 12所述的终端, 其特征在于, 所述第二处理模块具体用于: 13. The terminal according to claim 12, characterized in that the second processing module is specifically used to:
先释放自身保存的与所述直接通信路径相关的资源, 再请求第一基站执行与所述直接通 信路径相关的资源的释放过程; 或者, First release the resources related to the direct communication path that it has saved, and then request the first base station to perform the release process of the resources related to the direct communication path; or,
先请求第一基站执行与所述直接通信路径相关的资源的释放过程, 在接收到所述第一基 站返回的响应消息后, 释放自身保存的与所述直接通信路径相关的资源, 所述响应消息为所 述第一基站完成与所述直接通信路径相关的资源的释放过程后发送的。 First request the first base station to perform a release process of resources related to the direct communication path, and after receiving the response message returned by the first base station, release the resources related to the direct communication path that it has saved, and the response The message is sent after the first base station completes the release process of resources related to the direct communication path.
14、如权利要求 13所述的终端, 其特征在于, 所述第二处理模块释放自身保存的与所述 直接通信路径相关的资源, 具体包括: 14. The terminal according to claim 13, characterized in that the second processing module releases its own saved resources related to the direct communication path, specifically including:
直接释放自身保存的与所述直接通信路径相关的资源; 或者, Directly release the resources related to the direct communication path saved by itself; or,
向所述第二终端发送资源释放请求, 在接收到所述第二终端返回的资源释放响应后, 释 放自身保存的与所述直接通信路径相关的资源, 所述资源释放请求用于请求所述第二终端释 放与所述直接通信路径相关的资源, 所述资源释放响应是所述第二终端在完成自身保存的与 所述直接通信路径相关的资源的释放过程后发送的; 或者, Send a resource release request to the second terminal, and after receiving the resource release response returned by the second terminal, release its own saved resources related to the direct communication path, where the resource release request is used to request the The second terminal releases the resources related to the direct communication path, and the resource release response is sent by the second terminal after completing the release process of the resources related to the direct communication path saved by the second terminal; or,
启动已配置的定时器, 在所述定时器超时时, 释放自身保存的与所述直接通信路径相关 的资源。 Start the configured timer, and when the timer times out, release the resources related to the direct communication path that it has saved.
15、如权利要求 13所述的终端, 其特征在于, 所述第二处理模块释放自身保存的与所述 直接通信路径相关的资源, 具体包括: 15. The terminal of claim 13, wherein the second processing module releases its own saved resources related to the direct communication path, specifically including:
启动已配置的定时器; Start the configured timer;
向所述第二终端发送资源释放请求; Send a resource release request to the second terminal;
若在所述定时器超时之前接收到所述第二终端返回的资源释放响应, 则释放自身保存的 与所述直接通信路径相关的资源, 并关闭所述定时器; 否则, 在所述定时器超时时, 释放自 身保存的与所述直接通信路径相关的资源; 其中, 所述资源释放请求用于请求所述第二终端释放与所述直接通信路径相关的资源, 所述资源释放响应是所述第二终端在完成自身保存的与所述直接通信路径相关的资源的释放 过程后发送的。 If the resource release response returned by the second terminal is received before the timer times out, it releases the resources related to the direct communication path that it has saved and closes the timer; otherwise, after the timer expires, When timeout occurs, release the resources related to the direct communication path saved by itself; Wherein, the resource release request is used to request the second terminal to release resources related to the direct communication path, and the resource release response is when the second terminal completes its own saving of resources related to the direct communication path. Sent after the resource release process.
16、 如权利要求 14或 15所述的终端, 其特征在于, 所述第二处理模块具体用于: 通过与所述第二终端之间的直接通信接口, 向所述第二终端发送所述资源释放请求。 16. The terminal according to claim 14 or 15, wherein the second processing module is specifically configured to: send the second processing module to the second terminal through a direct communication interface with the second terminal. Resource release request.
17、 如权利要求 12所述的终端, 其特征在于, 所述第二处理模块还用于: 17. The terminal according to claim 12, characterized in that the second processing module is also used to:
接收所述第一基站返回的响应消息, 所述响应消息用于通知所述第一基站已完成与所述 直接通信路径相关的资源的释放过程。 Receive a response message returned by the first base station, where the response message is used to notify the first base station that the release process of resources related to the direct communication path has been completed.
18、 一种基站, 其特征在于, 该基站为第一终端所在的基站, 该基站包括: 18. A base station, characterized in that the base station is the base station where the first terminal is located, and the base station includes:
接收模块, 用于接收所述第一终端发送的请求信息, 所述请求信息用于请求执行与所述 第一终端和第二终端之间的直接通信路径相关的资源的释放过程; A receiving module, configured to receive request information sent by the first terminal, where the request information is used to request execution of a release process of resources related to the direct communication path between the first terminal and the second terminal;
处理模块, 用于执行与所述直接通信路径相关的资源的释放过程。 A processing module configured to perform a release process of resources related to the direct communication path.
19、 如权利要求 18所述的基站, 其特征在于, 所述处理模块还用于: 19. The base station according to claim 18, characterized in that the processing module is also used to:
在完成与所述直接通信路径相关的资源的释放过程之后 ,向所述第一终端发送响应消息, 所述响应消息用于通知所述第一终端自身已完成与所述直接通信路径相关的资源的释放过 程。 After completing the release process of resources related to the direct communication path, sending a response message to the first terminal, where the response message is used to notify the first terminal that it has completed the resource related to the direct communication path. release process.
20、 如权利要求 18或 19所述的基站, 其特征在于, 若与所述第二终端所在的第二基站 为同一基站, 所述处理模块执行与所述直接通信路径相关的资源的释放过程, 具体为: 20. The base station according to claim 18 or 19, characterized in that, if the second base station where the second terminal is located is the same base station, the processing module performs a release process of resources related to the direct communication path. , Specifically:
在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源; 或者, When the receiving module receives the request information sent by the first terminal, it releases the resources related to the direct communication path that it has saved; or,
在所述接收模块接收到所述第一终端发送的请求信息, 且接收到所述第二终端发送的用 于请求执行所述直接通信路径相关的资源的释放过程的请求信息时, 释放自身保存的与所述 直接通信路径相关的资源。 When the receiving module receives the request information sent by the first terminal and receives the request information sent by the second terminal for requesting to perform the release process of the resources related to the direct communication path, release itself to save resources related to the direct communication path.
21、 如权利要求 18或 19所述的基站, 其特征在于, 若与所述第二终端所在的第二基站 为不同基站, 且与所述第二基站之间存在接口连接 , 所述处理模块执行与所述直接通信路径 相关的资源的释放过程, 具体为: 21. The base station according to claim 18 or 19, characterized in that, if the second base station where the second terminal is located is a different base station and there is an interface connection with the second base station, the processing module Execute the release process of resources related to the direct communication path, specifically:
在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源; 或者, When the receiving module receives the request information sent by the first terminal, it releases the resources related to the direct communication path that it has saved; or,
在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源, 且, 通过所述接口请求所述第二基站释放与所述直接通信路径相关的资 源; 其中, 所述第二基站在完成与所述直接通信路径相关的资源的释放过程后发送应答消息。 When the receiving module receives the request information sent by the first terminal, it releases the resources related to the direct communication path that it has saved, and requests the second base station to release the direct communication path through the interface. Path-related resources; wherein, the second base station sends a response message after completing the release process of resources related to the direct communication path.
22、 如权利要求 18或 19所述的基站, 其特征在于, 若与所述第二终端所在的第二基站 为不同基站, 且与所述第二基站之间不存在接口连接, 所述处理模块执行与所述直接通信路 径相关的资源的释放过程, 具体为: 22. The base station according to claim 18 or 19, characterized in that, if the second base station where the second terminal is located is a different base station and there is no interface connection with the second base station, the processing module performs direct communication with the The release process of path-related resources, specifically:
在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源; 或者, When the receiving module receives the request information sent by the first terminal, it releases the resources related to the direct communication path that it has saved; or,
在所述接收模块接收到所述第一终端发送的请求信息时, 释放自身保存的与所述直接通 信路径相关的资源, 且, 通过所述第一终端所在的第一 MME以及所述第二终端所在的第二 MME, 请求所述第二基站释放与所述直接通信路径相关的资源; 其中, 所述第二基站在完成 与所述直接通信路径相关的资源的释放过程后发送应答消息。 When the receiving module receives the request information sent by the first terminal, it releases the resources related to the direct communication path that it saves, and, through the first MME where the first terminal is located and the second The second MME where the terminal is located requests the second base station to release resources related to the direct communication path; wherein, the second base station sends a response message after completing the release process of resources related to the direct communication path.
23、 一种终端, 其特征在于, 包括存储器、 处理器和天线: 23. A terminal, characterized in that it includes a memory, a processor and an antenna:
所述存储器中至少保存有自身与第二终端之间的直接通信路径相关的资源, 该直接通信 路径相关的资源至少包括为该直接通信分配的资源、 以及该直接通信对应的上下文信息。 The memory stores at least resources related to the direct communication path between itself and the second terminal. The resources related to the direct communication path at least include resources allocated for the direct communication and context information corresponding to the direct communication.
所述处理器在确定自身与第二终端之间的直接通信路径终止使用时, 删除存储器中保存 的与该直接通信路径相关的资源, 且通过天线向第一基站发送请求信息, 以请求第一基站执 行与该直接通信路径相关的资源的释放过程。 When the processor determines that the direct communication path between itself and the second terminal is terminated, the processor deletes the resources related to the direct communication path stored in the memory, and sends request information to the first base station through the antenna to request the first base station. The base station performs a release process of resources related to the direct communication path.
24、 一种基站, 其特征在于, 包括存储器、 处理器和天线: 24. A base station, characterized by including a memory, a processor and an antenna:
所述存储器中至少保存服务的各终端的直接通信路径相关的资源, 以及服务的各终端的 经由核心网的通信路径的相关信息, 该直接通信路径相关的资源至少包括为该直接通信分配 的资源、 以及该直接通信对应的上下文信息。 The memory stores at least resources related to the direct communication path of each terminal served and information related to the communication path via the core network of each terminal served. The resources related to the direct communication path at least include resources allocated for the direct communication. , and the context information corresponding to the direct communication.
所述处理器根据天线接收到的来自终端发送的请求信息, 执行与该直接通信路径相关的 资源的释放过程, 以及在完成与该直接通信路径相关的资源的释放过程之后 , 通过天线向自 身服务的终端发送响应消息。 The processor performs a release process of resources related to the direct communication path based on the request information sent from the terminal received by the antenna, and after completing the release process of resources related to the direct communication path, serves itself through the antenna The terminal sends a response message.
PCT/CN2014/081727 2013-07-08 2014-07-07 Method and apparatus for releasing resource WO2015003591A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310284775.1A CN104284449B (en) 2013-07-08 2013-07-08 A kind of method for releasing resource and device
CN201310284775.1 2013-07-08

Publications (1)

Publication Number Publication Date
WO2015003591A1 true WO2015003591A1 (en) 2015-01-15

Family

ID=52258794

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081727 WO2015003591A1 (en) 2013-07-08 2014-07-07 Method and apparatus for releasing resource

Country Status (2)

Country Link
CN (1) CN104284449B (en)
WO (1) WO2015003591A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11419025B2 (en) 2017-08-11 2022-08-16 Huawei Technologies Co., Ltd. Path switching method, apparatus and system
WO2023193170A1 (en) * 2022-04-07 2023-10-12 Oppo广东移动通信有限公司 Wireless communication method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527623A (en) * 2003-03-07 2004-09-08 �ʼҷ����ֵ��ӹɷ����޹�˾ Method and apparatus for establishing and retaining point-to-point communication radio chaining in radio communication network
CN1549613A (en) * 2003-05-19 2004-11-24 �ʼҷ����ֵ��ӹɷ����޹�˾ Method and apparatus for soft switching between P2P communication mode and traditional communication mode in radio communication system
US20090017857A1 (en) * 2007-07-09 2009-01-15 Samsung Electronics Co. Ltd. Method for supporting peer-to-peer communication in a wireless communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026408A (en) * 2009-09-23 2011-04-20 中兴通讯股份有限公司 Method and system for releasing local connection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527623A (en) * 2003-03-07 2004-09-08 �ʼҷ����ֵ��ӹɷ����޹�˾ Method and apparatus for establishing and retaining point-to-point communication radio chaining in radio communication network
CN1549613A (en) * 2003-05-19 2004-11-24 �ʼҷ����ֵ��ӹɷ����޹�˾ Method and apparatus for soft switching between P2P communication mode and traditional communication mode in radio communication system
US20090017857A1 (en) * 2007-07-09 2009-01-15 Samsung Electronics Co. Ltd. Method for supporting peer-to-peer communication in a wireless communication system

Also Published As

Publication number Publication date
CN104284449B (en) 2018-05-11
CN104284449A (en) 2015-01-14

Similar Documents

Publication Publication Date Title
JP2022500898A (en) Resume request followed by release and redirect
CN110300438B (en) Method, device and system for processing Radio Resource Control (RRC) message
WO2015096465A1 (en) Security key context distribution method, mobile management entity, and base station
CN111866851B (en) Method and device for managing packet data connection based on local area in wireless communication system
WO2014173184A1 (en) Terminal multiple connection management method, device and system
WO2014124558A1 (en) Method, device, and system for handover of user equipment group
CN109275152B (en) Data interaction method and device
JP2016530798A (en) Transmission method switching method, user equipment and base station
WO2019057072A1 (en) Method and device for data transmission
WO2017197565A1 (en) Communication method and apparatus during switching
WO2011140698A1 (en) Method, device and system for processing short messages
CN113163349B (en) Communication method, device and system for voice service
JP2014143616A (en) User device, gateway device, wireless base station, mobile communication system, and mobile communication method
KR20170133793A (en) Method and system of signaling procedure for mobile communication core network
WO2015188357A1 (en) Bearer switching control device and control method
WO2011085668A1 (en) Method, device and system for handover control
CN107734480A (en) A kind of switching method and system
WO2018023544A1 (en) Communication method, user equipment, base station, control plane network element, and communication system
WO2014201925A1 (en) Method for re-establishment during concurrence of long term evolution service and cluster service, base station and user equipment
WO2011006404A1 (en) Method and system for establishing connection of local ip access
WO2013060164A1 (en) Information indication and gateway selection method, system and device
CN105101311B (en) Bearer switching method, equipment and system
WO2013044668A1 (en) Method and device for processing lipa bearer
WO2015003591A1 (en) Method and apparatus for releasing resource
CN111629406B (en) A switching processing method, related device, program product, and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1