[go: up one dir, main page]

WO2015188345A1 - Communication resource management method, user equipment, base station and system - Google Patents

Communication resource management method, user equipment, base station and system Download PDF

Info

Publication number
WO2015188345A1
WO2015188345A1 PCT/CN2014/079728 CN2014079728W WO2015188345A1 WO 2015188345 A1 WO2015188345 A1 WO 2015188345A1 CN 2014079728 W CN2014079728 W CN 2014079728W WO 2015188345 A1 WO2015188345 A1 WO 2015188345A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
cell
resource
group
base station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2014/079728
Other languages
French (fr)
Chinese (zh)
Inventor
权威
杨晓东
张戬
胡振兴
李秉肇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201480029201.2A priority Critical patent/CN105379405B/en
Priority to PCT/CN2014/079728 priority patent/WO2015188345A1/en
Publication of WO2015188345A1 publication Critical patent/WO2015188345A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present invention relates to communication technologies, and in particular, to a communication resource management method, a user equipment, a base station, and a system. Background technique
  • D2D communication refers to direct communication between devices on a data plane that does not pass through a relay device (such as a base station or an access point, etc.) in wireless communication, thereby reducing the load on the cell site.
  • a relay device such as a base station or an access point, etc.
  • the resources used by the D2D communication are the same as those used by the cellular network communication.
  • the cellular network node such as the base station, is required to coordinate and control the resources available for the D2D communication.
  • the load of the base station may change, or resources Changes in usage can cause changes in D2D communication resources.
  • Embodiments of the present invention provide a communication resource management method, a user equipment, a base station, and a system, which are used to provide a technical solution capable of smoothly performing D2D communication and reducing or avoiding interference to cellular network communication.
  • the embodiment of the present invention provides a communication resource management method, including: the first user equipment UE sends a discovery message to at least one second UE in the wireless network, where the discovery message is used to send the at least one
  • the second UE indicates that the first UE supports the device-to-device D2D communication service; the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group;
  • the first UE receives the first application message sent by the second UE, where the first application message carries the user identifier of the second UE, and the first application message is used by the second UE to apply for joining.
  • the D2D communication group including: the first user equipment UE sends a discovery message to at least one second UE in the wireless network, where the discovery message is used to send the at least one
  • the second UE indicates that the first UE supports the device-to-device D2D communication service; the discovery message carries the group identifier of the D2D communication group
  • the first UE acquires a communication for the D2D communication group to perform communication according to the first application message sent by the second UE Resources, including:
  • the first UE Receiving, by the first UE, a first resource response message sent by the first base station, where the first resource response message carries a first communication resource used for performing communication by the D2D communication group; Determining, by the first base station, a group identity of the D2D communication group and a network resource condition of each cell in the current first base station; or, the first communication resource is the first base station according to the D2D communication
  • the group identity of the group is determined after being negotiated by the base station adjacent to the first base station.
  • the first resource response message further includes a first cell list, where the first cell list includes at least a cell identifier corresponding to a cell, where the first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the first base station, Or the first cell list is determined after the first base station and the base station adjacent to the first base station jointly negotiate.
  • the method further includes:
  • the first UE receives the second application message sent by the third UE, and the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located; If the cell identifier of the cell where the third UE is located is included in the first cell list, the first UE notifies the third UE to perform D2D communication corresponding to the service identifier by using the first reserved resource. Traffic, and the first UE manages the third UE as one of the second UEs in the D2D communication group.
  • the method further includes:
  • the first UE receives the second application message sent by the third UE, and the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located;
  • the first UE sends a second resource request message to the first base station; a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, to request the first base station to re-allocate communication resources for the D2D communication group according to a cell identifier of a cell where the third UE is located, and The first UE manages the third UE as one of the second UEs in the D2D communication group;
  • the second cell list includes a cell identifier of a cell where the third UE is located;
  • the resource performs the D2D communication service corresponding to the service identifier.
  • the first application message further carries the second UE a cell identifier of the cell; the method further includes:
  • the first UE measures network signal strength and/or network signal quality of a cell where the first UE is located in the process of performing the D2D communication;
  • the first UE is determined according to the cell identifier of the cell where the second UE is located. Selecting one UE as the fourth UE in the second UE;
  • the first UE is small according to each of the second UEs.
  • the cell identifier of the area is selected from each of the second UEs as a fourth UE;
  • the first UE sends a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication group a user identifier of each UE and a cell identifier of a cell in which the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group ; and / or,
  • the first UE according to a cell identifier of a cell in which the second UE is located, from each of the second Selecting one UE as the fourth UE in the UE includes:
  • the first UE selects, as the fourth UE, the second UE that has the strongest network signal strength or the network signal quality of the cell in the second UE, or the first UE from each of the second UEs.
  • the second UE that selects one of the second UEs has the strongest integrated network signal strength and network signal quality as the fourth UE.
  • the first application message further carries a cell identifier of a cell where the second UE is located;
  • Communication resources for communication by the D2D communication group including:
  • the first UE measures the network signal strength and/or the network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and selects one UE from each of the second UEs according to the measurement result. And as the fifth UE, sending the first resource request message to the fifth UE, to notify the fifth UE to enter the communication resource of the D2D communication group by using the fifth UE as a communication representative And the fifth UE is instructed to forward the first resource request message to the base station to which the cell where the fifth UE belongs, and then request the base station to which the cell where the fifth UE belongs to allocate the D2D communication group. Performing communication resources of the D2D communication service corresponding to the service identifier;
  • the first UE receives a communication resource sent by the fifth UE for performing communication by the D2D communication group.
  • the method further includes:
  • the first UE in the process of performing the D2D communication, measures network signal strength and/or network signal quality of the cell where the first UE is located and the neighboring cell of the cell where the first UE is located, and according to the measurement result Select or switch to a new cell;
  • the cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station that the first UE under the new cell continues to be the communication representative for the subsequent
  • the communication resources of the D2D communication group are managed; or
  • the D2D communication resource cell change message to the first base station to which the new cell belongs, in the process of the reselection or handover, to notify the first base station
  • the first UE under the new cell continues to manage the communication resources of the subsequent D2D communication group as a communication representative.
  • the method further includes:
  • the first UE Transmitting, by the first UE, the first change communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the D2D communication groups
  • the second UE uses the first change communication resource to perform the D2D communication service corresponding to the service identifier; and the first UE updates the cell identifier of the cell where the first change communication resource is located to the corresponding location of the D2D communication group. In the first cell list.
  • the fourth UE as a communication representative, corresponding to the D2D communication group After the communication resource is managed, and the first UE performs the D2D communication, the method further includes:
  • the first UE performs the D2D communication service corresponding to the service identifier by using the second change communication resource.
  • the first UE in the process of performing the D2D communication, further includes: the first UE receiving a third resource change message sent by the fifth UE; and the third resource change message Carrying a third change communication resource;
  • the first UE performs the D2D communication service corresponding to the service identifier by using the third change communication resource.
  • the embodiment of the present invention provides another communication resource management method, including: the second user equipment UE receives a discovery message sent by the first UE from the wireless network; and the discovery message carries the device-to-device D2D communication group.
  • the second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier; the first application message is used by the second UE to join the D2D communication group;
  • the second UE receives a communication resource that is sent by the first UE according to the user identifier of the second UE for performing communication by the D2D communication group, and performs D2D communication corresponding to the service identifier by using the communication resource. business.
  • the method further includes: the second UE receiving, by the first UE, the D2D communication sent by the first UE in a process of performing the D2D communication The group performs the communication change communication resource, and executes the D2D communication service corresponding to the service identifier by using the changed communication resource.
  • the first application message further carries a small cell of the second UE Area identification; the method further includes:
  • the second UE receives, as a fourth UE, a second D2D communication resource interface UE change message sent by the first UE in the process of performing the D2D communication, where the second D2D communication resource interface UE change message carries a group identifier of the D2D communication group, a user identifier of each UE in the D2D communication group, and a cell identifier of a cell where the first UE is located; • the fourth UE is the first UE according to the D2D communication group a cell identifier of a cell in which the second UE is located, and one UE selected from each of the second UEs;
  • the second UE that is the fourth UE Transmitting, by the second UE that is the fourth UE, the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to indicate that the second base station is used as the first
  • the second UE of the four UEs manages the communication resources of the subsequent D2D communication group as a communication representative.
  • the second UE receives the first UE as a fourth UE in the process of performing the D2D communication Before the second D2D communication resource interface UE changes the message sent by the UE, the method further includes:
  • the second UE that is the fourth UE receives the query request sent by the first UE, and the second UE that is the fourth UE sends a query response to the first UE, where the query response is Carrying network signal strength and/or network signal quality of the cell where the second UE is located.
  • the second UE corresponds to the D2D communication group After the communication resource is managed, and the second UE is in the process of performing the D2D communication, the method further includes:
  • the second UE receives the second resource change message sent by the second base station to which the second UE is located; the second resource change message carries the second change communication resource;
  • the embodiment of the present invention provides a communication resource management method, including: the second user equipment UE receives a discovery message sent by the first UE from the wireless network; and the discovery message carries the device-to-device D2D communication group.
  • the second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier and a cell identifier of a cell where the second UE is located; the first application message is used by the second UE to join the D2D communication group;
  • the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and each UE in the D2D communication group. a user identifier, to notify the fifth UE to manage the communication resource of the D2D communication group by the communication UE; the fifth UE is the first UE according to the cell where each second UE is located a cell identifier selected from each of the second UEs;
  • the second UE that is the fifth UE forwards the first resource request message to the second base station to which the cell to which the cell belongs, to request the second base station to allocate the service identifier for the D2D communication group to be executed.
  • the communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource condition of each cell under the current second base station; or, the communication resource is the second base station according to the D2D
  • the group identifier of the communication group is determined after being negotiated by the base station adjacent to the second base station;
  • the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell list is used by a cell indicating that the reserved resource utilized by the D2D communication group performs communication; the cell list is determined by the second base station, or the cell list is the second base station passing and the second The base stations adjacent to the base station are jointly negotiated and determined.
  • the fifth UE is used as a communication representative to correspond to the D2D communication group.
  • the method further includes: The third UE receives a third resource change message sent by the second base station to which the cell where the fifth UE belongs, and the third resource change message carries the third change communication resource;
  • An embodiment of the present invention provides a communication resource management method, including: receiving, by a first base station, a first resource request message sent by a first UE, where the first UE is within a cell coverage area of the first base station, The first resource request message carries the group identifier of the D2D communication group;
  • the first base station Determining, by the first base station, a first communication resource used for performing communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the first base station; or, the first Determining, by the base station, the first communication resource after being negotiated by the base station adjacent to the first base station according to the group identifier of the D2D communication group;
  • the first base station sends a first resource response message to the first UE, where the first resource response message carries the first communication resource used by the D2D communication group to perform communication.
  • the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where The first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the first base station, or the first cell list is And determining, by the first base station, the base station adjacent to the first base station to negotiate together.
  • the method further includes:
  • the first base station re-allocates communication resources for the D2D communication group according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the network resource condition of each cell under the current first base station; Or the first base station, after being negotiated by the base station adjacent to the first base station, according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group Redistributing the communication resource for the D2D communication group;
  • the first base station sends a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list re-allocated for the D2D communication group;
  • the cell list includes a cell identifier of a cell where the third UE is located.
  • the first base station sends the foregoing to the first UE After the resource response message or the second resource response message, the method further includes:
  • the first base station Receiving, by the first base station, a first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication group a user identifier of each UE in the UE and a cell identifier of a cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the fourth UE is used as a communication representative to perform subsequent D2D communication The first communication resource corresponding to the group is managed;
  • the first base station And transmitting, by the first base station, the first D2D communication resource interface UE change message to the base station to which the fourth UE is located, according to the cell identifier of the cell where the fourth UE is located, to notify the cell where the fourth UE is located
  • the associated base station is used by the fourth UE as a communication representative for the subsequent
  • the communication resources of the D2D communication group are managed; or
  • a second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs where the second D2D communication resource interface UE change message carries the a group identifier of the D2D communication group, a user identifier of the fourth UE, and a cell identifier of a cell where the fourth UE is located, to learn that the fourth UE is used as a communication representative to the communication resource of the subsequent D2D communication group Manage.
  • the method further includes:
  • the first base station receives a D2D communication resource cell change message that is sent by the first UE, and the D2D communication resource cell change message carries the group identifier of the D2D communication group and the first UE.
  • the user identifier is configured to enable the first base station to learn that the first UE under the third base station continues to be the communication representative to manage the communication resource of the subsequent D2D communication group.
  • the method further includes:
  • the first UE sends a first resource change message to the first UE in the process of performing the D2D communication; the first resource change message carries the changed first communication resource; And causing, by the first UE, information about the changed first communication resource to be sent to each UE in the D2D communication group, to notify each UE to perform the D2D communication by using the changed first communication resource. And indicating to the first UE, the cell identifier of the cell where the first change communication resource is located is updated to the first cell list corresponding to the D2D communication group.
  • the embodiment of the present invention provides a communication resource management method, including: receiving, by a second base station, a first resource request message sent by a first UE, where the second UE is sent;
  • the first resource request message carries the group identifier of the D2D communication group; the first resource request message is used by the first UE to perform communication resources for the D2D communication group in which the first UE is located.
  • the second base station sends a first resource response message to the second UE, where the first resource response message carries the communication resource used for performing communication by the D2D communication group.
  • the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell list is used by a cell indicating that the reserved resource utilized by the D2D communication group performs communication; the cell list is determined by the second base station, or the cell list is the second base station and the second base station The neighboring base stations are determined after mutual negotiation.
  • an embodiment of the present invention provides a user equipment, including:
  • a sending module configured to send a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports device-to-device D2D communication service;
  • the message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group;
  • a receiving module configured to receive a first application message sent by the second UE, where the first application message carries a user identifier of the second UE, and the first application message is used by the second UE to apply Entering the D2D communication group;
  • a processing module configured to acquire, according to the first application message sent by the second UE, a communication resource used by the D2D communication group to perform communication;
  • the sending module is further configured to send, according to the user identifier of the second UE, a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group, to notify the D2D
  • the UE in the communication group performs the D2D communication industry corresponding to the service identifier by using the communication resource, and combines the sixth aspect.
  • the processing module is specifically configured to:
  • the receiving module Instructing the receiving module to receive the first resource response message sent by the first base station, where the first resource response message carries a first communication resource for performing communication by the D2D communication group; the first communication resource is Determining, by the first base station, a group identity of the D2D communication group and a network resource condition of each cell in the current first base station; or, the first communication resource is the first base station according to the D2D communication
  • the group identity of the group is determined after being negotiated by the base station adjacent to the first base station.
  • the first resource response message further includes a first cell list, where the first cell list includes at least a cell identifier corresponding to a cell, where the first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the first base station, Or the first cell list is determined after the first base station and the base station adjacent to the first base station jointly negotiate.
  • the receiving module is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located;
  • the module is further configured to: if the cell identifier of the cell where the third UE is located is included in the first cell list, notify the third UE to perform the service identifier by using the first reserved resource Corresponding D2D communication service, and instructing the first UE to manage the third UE as one of the second UEs in the D2D communication group.
  • the receiving module is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located;
  • the module is further configured to: if the cell identifier of the cell where the third UE is located is not included in the first cell list, instruct the sending module to send a second resource request message to the first base station;
  • the resource request message carries the group identifier of the D2D communication group and the cell identifier of the cell where the third UE is located, to request the first base station to re-create the D2D communication group according to the cell identifier of the cell where the third UE is located. Allocating a communication resource, and instructing the first UE to manage the third UE as one of the second UEs in the D2D communication group;
  • the receiving module is further configured to receive a second resource response message that is sent by the first base station, where the second resource response message carries a second communication resource and a second cell list that are used by the D2D communication group to perform communication.
  • the second cell list includes a cell identifier of a cell where the third UE is located; the sending module is further configured to send, to the second UE in the D2D communication group, the D2D communication group to perform
  • the second communication resource of the communication is configured to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the second communication resource.
  • the first application message further carries the second UE The cell identity of the cell;
  • the processing module is further configured to: when the first UE performs the D2D communication, measure network signal strength and/or network signal quality of a cell where the first UE is located;
  • the processing module is configured according to the cell of each cell where the second UE is located. Identifying, selecting one UE from each of the second UEs as the fourth UE;
  • the sending module is configured to send, to the first base station, a first D2D communication resource interface UE change message, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication a user identifier of each UE in the group and a cell identifier of a cell where the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to the subsequent D2D communication group pair
  • the first communication resource should be managed; and/or,
  • the sending module sends a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each of the D2D communication groups The user identifier of the UE and the cell identifier of the cell where the first UE is located; to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using the same as the communication representative.
  • the processing module according to a cell identifier of a cell in which the second UE is located, from each of the second UEs Selecting one UE as the fourth UE includes:
  • the processing module instructing, by the sending module, to send a query request to the second UE in the D2D communication group;
  • the processing module instructs the receiving module to receive a query response sent by the second UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located; And selecting, by the second UE, the second UE that has the strongest network signal strength or the network signal quality of the cell in the second UE as the fourth UE, or the processing module selects one of each of the second UEs.
  • the second UE having the strongest integrated network signal strength and network signal quality of the cell serves as the fourth UE.
  • the first application message further includes a cell identifier of a cell where the second UE is located;
  • the processing module is further configured to measure network signal strength and/or network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and use the measurement result from each of the second UEs. Selecting one UE as the fifth UE, and instructing the sending module to send the first resource request message to the fifth UE, to notify the fifth UE that the fifth UE is the communication representative to the D2D communication group.
  • the communication resource is managed; and the fifth UE is instructed to forward the first resource request message to the base station to which the cell where the fifth UE belongs, and then request the base station to which the cell in which the fifth UE belongs to allocate the D2D.
  • the communication group executes the communication resource of the D2D communication service corresponding to the service identifier;
  • the processing module instructs the receiving module to receive a communication resource sent by the fifth UE for performing communication by the D2D communication group.
  • the processing module is further configured to: when the first UE performs the D2D communication, measure a network signal strength and/or a network of a cell where the first UE is located and a neighboring cell of a cell where the first UE is located. Signal quality, and reselect or switch to a new cell based on the measurement result;
  • the processing module is further configured to determine, by the base station to which the new cell in which the first UE belongs, as the new first base station, and instruct the sending module to send a D2D communication resource cell change message to the first base station.
  • the D2D communication resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station to continue by the first UE under the new cell.
  • the communication representative manages the communication resources of the subsequent D2D communication group; or
  • the processing module instructs the sending module to send the D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of the reselection or handover, to notify the The first base station continues to manage the communication resources of the subsequent D2D communication group by the first UE under the new cell as a communication representative.
  • the receiving module is further configured to receive, by the first UE, a first resource change message sent by the first base station in the process of performing the D2D communication, where the first resource change message carries a first change communication Resource
  • the sending module is further configured to send the first change communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the D2D communication groups
  • the second UE performs the D2D communication service corresponding to the service identifier by using the first change communication resource; and instructs the processing module to update the cell identifier of the cell where the first change communication resource is located to the D2D communication group. Corresponding to the first cell list.
  • the receiving module is further configured to: after the fourth UE is used as a communication representative to manage the first communication resource corresponding to the D2D communication group, and the first UE is performing the D2D communication Receiving, by the fourth UE, the second resource change message, where the second resource change message carries the second change communication resource;
  • the processing module is further configured to perform, by using the second change communication resource, a D2D communication service corresponding to the service identifier.
  • the receiving module is further configured to: after the fifth UE is used as a communication representative to manage the communication resource of the D2D communication group, and the first UE is in the process of performing the D2D communication, Receiving, by the fifth UE, a third resource change message, where the third resource change message carries a third change communication resource;
  • the processing module is further configured to perform, by using the third change communication resource, a D2D communication service corresponding to the service identifier.
  • the embodiment of the present invention provides another user equipment, including:
  • a receiving module configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group;
  • a sending module configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE The first application message is used by the second UE to apply to join the D2D communication group;
  • the receiving module is further configured to receive, by the first UE, a communication resource that is sent by the D2D communication group to perform communication according to the user identifier of the second UE, and instruct the second UE to use the communication resource. Performing a D2D communication service corresponding to the service identifier.
  • the receiving module is further configured to: when the second UE performs the D2D communication, receive, by the first UE, The D2D communication group performs a communication change communication resource, and instructs the second UE to perform the D2D communication service corresponding to the service identifier by using the changed communication resource.
  • the first application message further carries a cell identifier of a cell where the second UE is located ;
  • the receiving module is further configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in the process of performing the D2D communication, where the The second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; a first UE selected from each of the second UEs according to a cell identifier of a cell in which the second UE is located in the D2D communication group;
  • the sending module is further configured to: when the second UE is the fourth UE, send the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to notify the The second base station is used by the second UE as the fourth UE as a communication representative for the subsequent
  • the communication resources of the D2D communication group are managed.
  • the second UE passes the receiving module as a fourth UE in the process of performing the D2D communication Before receiving the second D2D communication resource interface UE change message sent by the first UE, the receiving module is configured to receive a query request sent by the first UE;
  • the sending module is configured to send a query response to the first UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located.
  • the second UE is used as a communication representative to correspond to the D2D communication group After the communication resource is managed, and the second UE is in the process of performing the D2D communication, the receiving module is further configured to receive a second resource change sent by the second base station to which the second UE is located.
  • the second resource change message carries the second change communication resource;
  • the sending module is further configured to send the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the service identifier corresponding to the second change communication resource.
  • the embodiment of the present invention provides another user equipment, including:
  • a receiving module configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group;
  • a sending module configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier and a cell identifier of a cell where the second UE is located; the first application message is used by the second UE to join the D2D communication group;
  • the receiving module is further configured to: when the second UE is used as the fifth UE, receive the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and a user identifier of each UE in the D2D communication group, to notify the fifth UE to manage the communication resource of the D2D communication group as a communication representative; the fifth UE is the first UE according to the The cell identifier of the cell in which the second UE is located is selected from one of the second UEs, and the sending module is further configured to use, when the second
  • the receiving module is further configured to receive, by the second UE, the first resource response message sent by the second base station, where the first resource response message is carried in the D2D communication group.
  • a communication resource that performs communication the communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource status of each cell in the current second base station; or, the communication resource is Determining, by the second base station, that the group identifier of the D2D communication group is jointly negotiated by a base station adjacent to the second base station;
  • the sending module is further configured to send, when the second UE is the fifth UE, to the UEs in the D2D communication group to perform the D2D communication group according to user identifiers of UEs in the D2D communication group. And a communication resource of the communication, to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the communication resource.
  • the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell list is used by a cell indicating that the reserved resource utilized by the D2D communication group performs communication; the cell list is determined by the second base station, or the cell list is the second base station passing and the second The base stations adjacent to the base station are jointly negotiated and determined.
  • the receiving module is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries a third change communication resource; And the third change communication resource is sent to each UE in the D2D communication group, to notify each UE to perform the service identifier corresponding to the third change communication resource. D2D communication service.
  • a ninth aspect, the embodiment of the present invention provides a base station, including:
  • a receiving module configured to receive a first resource request message sent by the first UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries a group identifier of the D2D communication group;
  • a processing module configured to determine, according to the group identifier of the D2D communication group and a network resource condition of each cell under the first base station, a first communication resource used for performing communication by the D2D communication group; or, the processing module Determining, according to the group identifier of the D2D communication group, the first communication resource after being mutually negotiated by a base station adjacent to the first base station;
  • a sending module configured to send, to the first UE, a first resource response message, where the first resource response message carries the first communication resource used by the D2D communication group to perform communication.
  • the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where The first cell list is used to indicate a cell in which the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the processing module, or the first cell list is The processing module is determined after the negotiation with the base station adjacent to the first base station.
  • the receiving module is further configured to receive a second resource request message sent by the first UE, where the second resource request message carries a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, where The cell identifier of the cell where the third UE is located is not included in the first cell list, and the processing module is further configured to: according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the current The network resource situation of the cells in the first base station is re-allocated communication resources to the D2D communication group; or the processing module is configured according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group. Re-allocating the communication resource for the D2D communication group by co-negotiating with a base station adjacent to the first base station;
  • the sending module is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group;
  • the second cell list includes a cell identifier of a cell where the third UE is located.
  • the receiving module is further configured to receive a first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the a user identifier of each UE in the D2D communication group and a cell identifier of a cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the fourth UE is used as a communication representative to the subsequent station
  • the first communication resource corresponding to the D2D communication group is managed;
  • the sending module is further configured to send, according to the cell identifier of the cell where the fourth UE is located, to the base station to which the fourth UE is located, a D2D communication resource interface UE change message to notify the base station to which the cell in which the fourth UE belongs is managed by the fourth UE as a communication representative to the communication resource of the subsequent D2D communication group; or
  • the receiving module receives a second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, and the second D2D communication resource interface UE change message carries the D2D a group identifier of the communication group, a user identifier of the fourth UE, and a cell identifier of a cell where the fourth UE is located, so that the first base station learns that the fourth UE is used as a communication representative to the subsequent D2D communication group.
  • the communication resources are managed.
  • the receiving module is further configured to receive, by the third base station, a D2D communication resource cell change message that is sent by the first UE, where the D2D communication resource cell change message carries the group identifier of the D2D communication group and the a user identifier of a UE, so that the first base station learns that the first UE under the third base station continues to be a communication representative to manage the communication resource of the subsequent D2D communication group.
  • the first UE is in the process of performing the D2D communication
  • the sending module is further configured to send a first resource change message to the first UE, where the first resource change message carries the changed first communication resource, so that the first UE changes the first Sending information of a communication resource to each UE in the D2D communication group to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first UE to Updating, to the first corresponding to the D2D communication group, the cell identifier of the cell where the first communication resource is located In a cell list.
  • the tenth aspect of the present invention provides another base station, including:
  • a receiving module configured to receive, by the second UE, a first resource request message sent by the first UE, where the second UE is within a cell coverage area of the second base station, and the first resource request message carries the D2D communication group
  • the first resource request message is used by the first UE to perform a communication resource application for the D2D communication group in which the first UE is located;
  • a processing module configured to determine a communication resource used for communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the current second base station; or, the processing module is configured according to the Determining, by the base station adjacent to the second base station, the communication resource after determining the group identity of the D2D communication group;
  • a sending module configured to send, to the second UE, a first resource response message, where the first resource response message carries the communication resource used by the D2D communication group to perform communication.
  • the first resource response message further includes a cell list; the cell list includes a cell identifier corresponding to at least one cell, and the cell list is used by a cell indicating that the reserved resource utilized by the D2D communication group performs communication; the cell list is determined by the processing module, or the cell list is adjacent to the second base station by the processing module Determined after the base station has negotiated together.
  • the embodiment of the present invention provides another user equipment, including:
  • a transmitter configured to send a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports device-to-device D2D communication service;
  • the message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group;
  • a receiver configured to receive a first application message sent by the second UE, where the first application message carries a user identifier of the second UE, and the first application message is used by the second UE to apply for joining The D2D communication group;
  • a processor configured to acquire, according to the first application message sent by the second UE, a communication resource used by the D2D communication group to perform communication;
  • the transmitter is further configured to send, according to the user identifier of the second UE, a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group, to notify the D2D
  • the processor is specifically configured to:
  • the first communication resource is Determining, by the first base station, a group identity of the D2D communication group and a network resource condition of each cell in the current first base station; or, the first communication resource is the first base station according to the D2D communication
  • the group identity of the group is determined after being negotiated by the base station adjacent to the first base station.
  • the first resource response message further includes a first cell list; a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; and the first cell list is determined by the first base station Or the first cell list is determined after the first base station and the base station adjacent to the first base station jointly negotiate.
  • the receiver is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; And the third UE is configured to perform the D2D communication corresponding to the service identifier by using the first reserved resource, if the cell identifier of the cell where the third UE is located is included in the first cell list. Traffic, and instructing the first UE to manage the third UE as one of the second UEs in the D2D communication group.
  • the receiver is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located;
  • the processor is further configured to: if the cell identifier of the cell where the third UE is located is not included in the first cell list, instruct the sender to send a second resource request message to the first base station;
  • the second resource request message carries the group identifier of the D2D communication group and the cell identifier of the cell where the third UE is located, to request the first base station to use the cell identifier of the cell where the third UE is located as the D2D
  • the communication group reallocates a suitable communication resource, and instructs the first UE to manage the third UE as one of the second UEs in the D2D communication group;
  • the receiver is further configured to receive a second resource response message returned by the first base station, where the second resource response message carries information and a second information of a second communication resource used for communication by the D2D communication group a cell list; the second cell list includes a cell in which the third UE is located; the transmitter is further configured to send, to the second UE in the D2D communication group, the
  • the D2D communication group performs the communication of the second communication resource to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the second communication resource.
  • the first application message further carries the second The cell identifier of the cell where the UE is located;
  • the processor is further configured to: when the first UE performs the D2D communication, measure network signal strength and/or network signal quality of a cell where the first UE is located;
  • the processor is configured according to the cell of each cell where the second UE is located. Identifying, selecting one UE from each of the second UEs as the fourth UE;
  • the transmitter is configured to send a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication a user identifier of each UE in the group and a cell identifier of a cell in which the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to the first communication resource corresponding to the subsequent D2D communication group Manage; and/or,
  • the transmitter sends a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each of the D2D communication groups
  • the processor according to the cell identifier of the cell where the second UE is located, from each of the Selecting one UE as the fourth UE from the two UEs includes:
  • the processor instructs the sender to send a query request to the second UE in the D2D communication group.
  • the processor instructs the receiver to receive a query response returned by the second UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located;
  • the processor selects, as the fourth UE, the second UE that has the strongest network signal strength or network signal quality of the cell in the second UE, or the processor from each of the second UEs.
  • the second UE which has the strongest combination of the network signal strength and the network signal quality of one of the two UEs, is selected as the fourth UE.
  • the first application message further carries a cell identifier of a cell where the second UE is located;
  • the processor is further configured to measure network signal strength and/or network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and use the measurement result from each of the second UEs. Selecting one UE as the fifth UE, and instructing the sender to send the first resource request message to the fifth UE, to notify the fifth UE that the fifth UE is the communication representative to the D2D communication group.
  • the communication resource is managed; and the fifth UE is instructed to forward the first resource request message to the base station to which the cell where the fifth UE belongs, and then request the base station to which the cell in which the fifth UE belongs to allocate the D2D.
  • the communication group executes the communication resource of the D2D communication service corresponding to the service identifier;
  • the processor instructs the receiver to receive a communication resource sent by the fifth UE for performing communication by the D2D communication group.
  • the processor in the process of performing the D2D communication, measuring network signal strength and/or network signal quality of a cell where the first UE is located and a neighboring cell of the cell where the first UE is located, And reselect or switch to a new cell according to the measurement result;
  • the processor is further configured to determine, by the base station to which the new cell where the first UE belongs, as the new first base station, and instruct the transmitter to send the D2D communication resource cell to the first base station. a message that the group identifier of the D2D communication group and the user identifier of the first UE are carried in the D2D communication resource cell change message, to notify the first base station that the first UE is in the new cell And continuing to manage, as a communication representative, the communication resource of the subsequent D2D communication group; or, the processor instructing, by the processor, to pass the base station to which the original cell belongs to the new in the reselection or handover process
  • the first base station to which the cell belongs sends the D2D communication resource cell change message, to notify the first base station that the first UE under the new cell continues to be a communication representative to the subsequent D2D communication group.
  • the communication resources are managed.
  • the receiver is further configured to receive, by the first UE, a first resource change message sent by the first base station in the process of performing the D2D communication; the first resource change message carries a first change communication Resource
  • the transmitter is further configured to send the first change communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the D2D communication groups Determining, by the second UE, the D2D communication service corresponding to the service identifier by using the first change communication resource; and instructing the processor to update a cell identifier of a cell where the first change communication resource is located to the D2D communication group Corresponding to the first cell list.
  • the receiver is further configured to: after the fourth UE is used as a communication representative to manage the first communication resource corresponding to the D2D communication group, and the first UE is performing the D2D communication Receiving, by the receiver, a second resource change message sent by the fourth UE by using the second resource change message;
  • the processor is further configured to perform, by using the second change communication resource, a D2D communication service corresponding to the service identifier.
  • the receiver is further configured to: after the fifth UE is used as a communication representative to manage the communication resource of the D2D communication group, and the first UE is in the process of performing the D2D communication, Receiving, by the fifth UE, a third resource change message, where the third resource change message carries With the third change communication resources;
  • the processor is further configured to perform, by using the third change communication resource, the D2D communication service corresponding to the service identifier.
  • the embodiment of the present invention provides another user equipment, including:
  • a receiver configured to receive a discovery message sent by the first UE from the wireless network; the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group;
  • a transmitter configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries a user identifier of the second UE
  • the first application message is used by the second UE to apply to join the D2D communication group
  • the receiver is further configured to receive, by the first UE, a communication resource that is sent by the D2D communication group to perform communication according to the user identifier of the second UE, and instruct the second UE to use the communication resource. Performing a D2D communication service corresponding to the service identifier.
  • the receiver is further configured to receive, by the second UE, the first UE, in the process of performing the D2D communication, And a change communication resource used by the D2D communication group to perform communication, and instructing the second UE to perform the D2D communication service corresponding to the service identifier by using the change communication resource.
  • the first application message further carries the cell where the second UE is located Cell identity;
  • the receiver is further configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in a process of performing the D2D communication, where the second D2D communication is performed.
  • the resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; the fourth UE is the first UE And selecting, according to the cell identifier of the cell where the second UE is located in the D2D communication group, one UE selected from each of the second UEs;
  • the transmitter is further configured to: when the second UE is the fourth UE, send the second D2D communication resource interface UE change message to a second base station to which the second UE is located, to notify the The second base station is used by the second UE as the fourth UE as a communication representative for the subsequent D2D
  • the communication resources of the communication group are managed.
  • the second UE is the fourth UE in the process of performing the D2D communication Before receiving the second D2D communication resource interface UE change message sent by the first UE, the receiver is configured to receive the query request sent by the first UE;
  • the transmitter is configured to return a query response to the first UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located.
  • the second UE is used as a communication representative to the D2D communication group After the corresponding communication resource is managed, and the second UE is in the process of performing the D2D communication,
  • the receiver is further configured to receive a second resource change message sent by the second base station to which the second UE is located, where the second resource change message carries the second change communication resource;
  • the transmitter is further configured to send the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the second change communication resource.
  • the embodiment of the present invention provides another user equipment, including:
  • a receiver configured to receive a discovery message sent by the first UE from the wireless network; the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group;
  • a transmitter configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier and a cell identifier of a cell where the second UE is located; the first application message is used by the second UE to join the D2D communication group;
  • the receiver when the second UE is used as the fifth UE, receives the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and a user identifier of each UE in the D2D communication group, to notify the fifth UE to manage the communication resource of the D2D communication group as a communication representative;
  • the fifth UE is the first UE according to the first UE a cell identifier of a cell in which the second UE is located, and a UE selected from each of the second UEs;
  • the transmitter is further configured to: when the second UE is the fifth UE, to the second UE Forwarding, by the second base station to which the cell belongs, the first resource request message, to request the second base station to allocate a communication resource for performing, by the D2D communication group, the D2D communication service corresponding to the service identifier; And receiving, by the second UE, the first resource response message sent by the second base station, where the second resource response message carries a communication resource used by the D2D communication group to perform communication.
  • the communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource condition of each cell in the current second base station; or, the communication resource is the second base station according to the The group identifier of the D2D communication group is determined after being negotiated by a base station adjacent to the second base station;
  • the transmitter is further configured to send, when the second UE is the fifth UE, to the UEs in the D2D communication group to perform the D2D communication group according to user identifiers of UEs in the D2D communication group. And a communication resource of the communication, to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the communication resource.
  • the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell The list is used to indicate a cell in which the D2D communication group performs the communication to utilize the reserved resource; the cell list is determined by the second base station, or the cell list is the second base station in the pass and the The base stations adjacent to the second base station are jointly negotiated and determined.
  • the receiver is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries a third change communication resource; And the third change communication resource is sent to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the third change communication resource.
  • an embodiment of the present invention provides a base station, including:
  • a receiver configured to receive a first resource request message sent by the first UE, where the first UE is in a range of cells covered by the first base station, and the first resource request message carries a group identifier of a D2D communication group;
  • a processor configured to determine, according to a group identifier of the D2D communication group and a network resource condition of each cell under the first base station, a first communication resource used for performing communication by the D2D communication group; or Determining, by the processor, the first communication resource after being negotiated by a base station adjacent to the first base station according to the group identifier of the D2D communication group;
  • a transmitter configured to send, to the first UE, a first resource response message, where the first resource response message carries the first communication resource used by the D2D communication group to perform communication.
  • the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell
  • the first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the processor, or the first cell list is And determining, by the processor, the base station adjacent to the first base station.
  • the receiver is further configured to receive a second resource request message sent by the first UE, where the second resource request message carries a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, where The cell identifier of the cell where the third UE is located is not included in the first cell list;
  • the processor is further configured to redistribute the D2D communication group according to a cell identifier of a cell where the third UE is located, a group identifier of the D2D communication group, and a network resource condition of each cell in the current first base station. And the processor is configured to be the D2D communication group after being negotiated by the base station adjacent to the first base station according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group. Redistributing the communication resources;
  • the transmitter is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group;
  • the second cell list includes a cell identifier of a cell where the third UE is located.
  • the receiver is further configured to receive a first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the a user identifier of each UE in the D2D communication group and a cell identifier of a cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the fourth UE is used as a communication representative to the subsequent station The first communication resource corresponding to the D2D communication group is managed;
  • the transmitter is further configured to send, according to the cell identifier of the cell where the fourth UE is located, the first D2D communication resource interface UE change message to the base station to which the fourth UE is located, to notify the fourth The base station to which the UE is located is managed by the fourth UE as a communication representative for the communication resources of the subsequent D2D communication group; or
  • the second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs and the second D2D communication resource interface UE change message carrying the D2D a group identifier of the communication group, a user identifier of the fourth UE, and a cell identifier of a cell where the fourth UE is located, so that the first base station learns that the fourth UE is used as a communication representative to the subsequent D2D communication group.
  • the communication resources are managed.
  • the receiver is further configured to receive, by the third base station, a D2D communication resource cell change message that is sent by the first UE, where the D2D communication resource cell change message carries the group identifier of the D2D communication group and the a user identifier of a UE, so that the first base station learns that the first UE under the third base station continues to be a communication representative to manage the communication resource of the subsequent D2D communication group.
  • the first UE is performing the D2D communication. In the process,
  • the transmitter is further configured to send a first resource change message to the first UE, where the first resource change message carries the changed first communication resource, so that the first UE changes the first Sending information of a communication resource to each UE in the D2D communication group to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first UE to The cell identifier of the cell in which the first change communication resource is located is updated to the first cell list corresponding to the D2D communication group.
  • the embodiment of the present invention provides another base station, including:
  • the receiver Receiving, by the receiver, a first resource request message sent by the first UE that is sent by the second UE; the second UE is within a cell coverage area of the second base station; and the first resource request message carries the D2D communication group
  • the first resource request message is used by the first UE to apply for a communication resource for the D2D communication group in which the first UE is located; a processor, configured to determine a communication resource used for communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the current second base station; or, the processor according to the Determining, by the base station adjacent to the second base station, the communication resource after determining the group identity of the D2D communication group;
  • a transmitter configured to send, to the second UE, a first resource response message, where the first resource response message carries the communication resource used by the D2D communication group to perform communication.
  • the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell The list is used to indicate a cell in which the D2D communication group performs the communication to utilize the reserved resource; the cell list is determined by the processor, or the cell list is the processor and the second base station The neighboring base stations are determined after mutual negotiation.
  • the embodiment of the present invention provides a system, where the system includes the user equipment provided by the sixth aspect, the user equipment provided by the seventh aspect, and the user equipment provided by the eighth aspect, where the ninth aspect provides The base station and the base station provided by the tenth aspect.
  • the embodiment of the present invention provides another system, where the system includes the user equipment provided by the eleventh aspect of the present invention, the user equipment provided by the twelfth aspect, and the user equipment provided by the thirteenth aspect, The base station provided in the fourteenth aspect and the base station provided in the fifteenth aspect.
  • the first user equipment UE sends a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate the first
  • the UE supports the device-to-device D2D communication service; the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; the first UE receives the first application message sent by the second UE, and the first application The message carries the user identifier of the second UE; the first application message is used by the second UE to join the D2D communication group; and the first UE acquires the D2D according to the first application message sent by the second UE.
  • the communication group performs the communication resource of the communication; the first UE sends the communication resource for performing the communication by the D2D communication group to the second UE in the D2D communication group according to the user identifier of the second UE, to notify the D2D communication
  • Each UE in the group performs the D2D communication service corresponding to the service identifier by using the foregoing communication resource.
  • the solution provides a set of solutions that enable D2D communication to proceed smoothly and reduce or avoid interference with cellular communications.
  • FIG. 1 is a flowchart of a communication resource management method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a communication resource management method according to another embodiment of the present invention
  • FIG. 3 is a flowchart of a communication resource management method according to still another embodiment of the present invention
  • FIG. 4 is a communication according to still another embodiment of the present invention.
  • FIG. 5 is a flowchart of a communication resource management method according to still another embodiment of the present invention
  • FIG. 6 is a flowchart of a communication resource management method according to still another embodiment of the present invention
  • FIG. 8 is a flowchart of a communication resource management method according to still another embodiment of the present invention
  • FIG. 9 is a flowchart of a communication resource management method according to still another embodiment of the present invention.
  • Figure 10 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a device according to another embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a device according to still another embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a device according to still another embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a device according to still another embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a device according to still another embodiment of the present invention.
  • 16 is a schematic structural diagram of a device according to another embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of a device according to still another embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of a device according to still another embodiment of the present invention.
  • FIG. 19 is a schematic structural diagram of a device according to still another embodiment of the present invention. detailed description
  • Time Division Multiple Access Time Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • FDMA Frequency Division Multiple Addressing
  • Orthogonal Frequency OFDMA Orthogonal Frequency-Division Multiple Access
  • SC-FDMA single carrier FDMA
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • the user equipment referred to in this application may be a wireless terminal, which is a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device connected to the wireless modem.
  • the wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal
  • RAN Radio Access Network
  • the computers for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network.
  • a wireless terminal may also be called a system, a Subscriber Unit, a Subscriber Station, a Mobile Station, a Mobile, a Remote Station, an Access Point, Remote Terminal Access Terminal, User Terminal, User Agent, User Device, or User Equipment.
  • a base station (e.g., an access point) referred to in this application may refer to a device in an access network that communicates with a wireless terminal over one or more sectors over an air interface.
  • the base station can be used to convert the received air frame to the IP packet as a router between the wireless terminal and the rest of the access network, wherein the remainder of the access network can include an Internet Protocol (IP) network.
  • IP Internet Protocol
  • the base station can also coordinate attribute management of the air interface.
  • the base station may be a base station (BTS, Base Transceiver Station) in GSM or CDMA, or may be a base station (NodeB) in WCDMA, or may be LTE.
  • the evolved base station (NodeB or eNB or e-NodeB, evolutional Node B) is not limited in this application.
  • FIG. 1 is a flowchart of a communication resource management method according to an embodiment of the present invention.
  • the execution body of the method is a user equipment that initiates D2D communication.
  • the UE that initiated the establishment of the D2D communication group is the first UE; the other UEs that receive the discovery message of the first UE and apply to join the D2D communication group are
  • the second UE it is obvious that the number of the second UEs may be one or more.
  • the communication resource management method specifically includes:
  • the first user equipment UE sends a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication service; the discovery message carries the D2D The group identifier of the communication group and the service identifier corresponding to the D2D communication group; the first user equipment UE in the wireless network may send a discovery message to the wireless network to initiate a D2D communication service and form a D2D communication group corresponding to the D2D communication service. .
  • the one or more second UEs in the wireless network learn that the first UE supports the device to the device D2D communication service and wants to establish a D2D communication group by receiving the discovery message sent by the first UE.
  • the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; wherein the group identifier of the D2D communication group as the identifier information that uniquely identifies the D2D communication group may be a group address (Group ID)
  • the group ID may be string information composed of numbers or letters, etc.
  • the service identifier corresponding to the D2D communication group may be a type of service corresponding to the D2D communication service, such as voice service, data service, Internet service, download Service, high-priority service, and low-priority service; or service quality of service (QoS) requirements, such as delay requirements, packet loss rate requirements, bandwidth or rate requirements, etc.; or characteristics of services, Such as packet size, packet arrival interval, etc.;
  • the resource used by the first UE to send the discovery message and the sending manner may be allocated by the cell where the first UE is located, for example, by using a broadcast message or a dedicated message; or may be a fixed resource and a method for sending and receiving information, the fixed
  • the resource is a fixed communication resource reserved for the UE that initiates the D2D communication service in the network.
  • the first UE does not belong to any cell, the first UE that wants to establish the D2D communication service can use the fixed resource of the protocol and send and receive.
  • the information method sends the above discovery message.
  • the first UE receives the first application message sent by the second UE, where the first application message carries the user identifier of the second UE.
  • the first application message is used by the second UE to join the D2D communication group.
  • the one or more second UEs in the wireless network learn the D2D communication group that the first UE wants to establish by receiving the discovery message sent by the first UE, and determine whether to join the D2D according to the group identifier and the service identifier in the discovery message. Communication group.
  • the second UE sends a first application message carrying the user identifier to the first UE to inform the first UE that the second UE applies to join the D2D communication group.
  • the user identifier corresponding to the second UE may be a Temporary Mobile Subscriber Identity (TMSI), an International Mobile Equipment Identity (IMEI), or a random number generated by the second UE. , here is not limited.
  • TMSI Temporary Mobile Subscriber Identity
  • IMEI International Mobile Equipment Identity
  • the user identifier of the second UE is used to identify the second UE in the process of the D2D group communication.
  • the first UE organizes and manages each second UE according to the received user identifier included in the first application message sent by each second UE.
  • the first UE acquires a communication resource used by the D2D communication group to perform communication according to the first application message sent by the second UE.
  • the first UE determines, according to the sending situation that the second UE sends the first application message, the number of UEs that apply to join the D2D communication group, and the amount of communication resources required, and obtains, for example, from existing network resources.
  • the communication resource that the D2D communication group performs communication, and the communication resource may specifically be information such as bandwidth information, resource size, and rate.
  • the manner in which the first UE acquires the communication resource that the D2D communication group communicates from the existing network resource may be obtained by the first UE from the base station to which the cell where the first UE belongs, or may be the cell to which the second UE belongs. Other base station acquisition; the process of obtaining may be by sending a Radio Resource Control (RRC) message, or a Media Access Control (MAC) layer message, or a Physical Layer (PHY) message. carry out.
  • RRC Radio Resource Control
  • MAC Media Access Control
  • PHY Physical Layer
  • the first UE is in the network.
  • the process of obtaining D2D communication resources by the side must consider these factors to ensure that the best communication resources are obtained for communication by each UE in the above D2D communication group.
  • the first UE sends a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group according to the user identifier of the second UE, to notify each UE in the D2D communication group to perform service identifier correspondence by using the communication resource.
  • D2D communication service ;
  • the first UE After the first UE acquires the communication resources for performing the communication by the D2D communication group from the existing network resources, the first UE sends the foregoing information to each second UE according to the user identifiers of the second UEs that have been learned.
  • the communication resource for communicating in the D2D communication group, the sending process may be sent by, for example, a broadcast message or a dedicated message; or may be sent by means of a protocol fixed resource (in this case, the first UE does not belong to any cell)
  • Each UE in the D2D communication group performs the D2D communication service corresponding to the service identifier by using the communication resource.
  • the first user equipment UE sends a discovery message to at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication.
  • the foregoing discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; the first UE receives the first application message sent by the second UE, and the first application message carries the second UE.
  • the first application message is used by the second UE to join the D2D communication group; the first UE acquires a communication resource used by the D2D communication group to perform communication according to the first application message sent by the second UE.
  • the solution provides a technical solution that enables D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.
  • FIG. 2 is a flowchart of a communication resource management method according to another embodiment of the present invention.
  • the UE that initiated the establishment of the D2D communication group is the first UE; the other UEs that receive the discovery message of the first UE and apply to join the D2D communication group are The second UE, obviously, the number of the second UEs may be one or more.
  • the execution body of the method shown in this embodiment is a second UE in the above D2D communication group.
  • the communication resource management method specifically includes:
  • the second user equipment receives a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group.
  • the first user equipment UE in the wireless network may send a discovery message to the wireless network to initiate a D2D communication service and form a D2D communication group corresponding to the D2D communication service.
  • the one or more second UEs in the wireless network learn the D2D communication group that the first UE wants to establish by receiving the discovery message sent by the first UE.
  • the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; wherein the group identifier of the D2D communication group is uniquely identified.
  • the identification information of the D2D communication group may be a group ID, and the group ID may be string information composed of numbers or letters, etc., and the service identifier corresponding to the D2D communication group may be a type of service corresponding to the D2D communication service, such as voice.
  • the resource and the sending manner used by the first UE to send the discovery message may be allocated by the cell where the first UE is located, for example, by using a broadcast message or a dedicated message; or may be a fixed resource and a method for sending and receiving information, the fixed
  • the resource is a fixed communication resource reserved for the UE that initiates the D2D communication service in the network.
  • the first UE does not belong to any one of the cells, the first UE that wants to establish the D2D communication service can use the fixed resource of the protocol and send and receive.
  • the information method sends the above discovery message.
  • the second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE. Applying to join the D2D communication group in the second UE;
  • the one or more second UEs in the wireless network learn the D2D communication group that the first UE wants to establish by receiving the discovery message sent by the first UE, and determine whether to join the D2D according to the group identifier and the service identifier in the discovery message. Communication group.
  • the second UE informs the first UE to apply to join the D2D communication group by transmitting a first application message carrying the user identifier to the first UE.
  • the user identifier corresponding to the second UE may be a TMSI, an IMEI, or a random number generated by the second UE, and is not limited herein.
  • the user identifier of the second UE is used to identify the second UE in the process of the D2D group communication.
  • the requirements of the communication resources used by the second UE in the D2D communication process such as the resource size, the bandwidth requirement, and the rate requirement, may be carried, so that the first UE is in the following direction.
  • the process of acquiring D2D communication resources by the network side must consider these factors to ensure that the best communication resources are obtained for communication by each UE in the above D2D communication group.
  • the second UE receives the communication resource that is sent by the first UE according to the user identifier of the second UE and performs communication for the D2D communication group, and uses the communication resource to perform the D2D communication service corresponding to the service identifier.
  • the first UE After receiving the first application message sent by each second UE, the first UE receives the first application message according to the first application message.
  • the information about the communication resources used for communication by the D2D communication group is obtained in the existing network. For the process, refer to the corresponding content of step 103.
  • the first UE After the first UE acquires the communication resource for the communication by the D2D communication group from the existing network, the first UE sends the acquired communication for the D2D communication group to each second UE according to the user identifier of each second UE that has been learned.
  • the communication resource may be sent by, for example, a broadcast message or a dedicated message; or may be a fixed resource of the protocol and a method of transmitting and receiving information (in this case, the first UE does not belong to any cell), and the second UE receives the first UE.
  • the communication resource for the D2D communication group After the communication resource for the D2D communication group to communicate according to the user identifier of the second UE, the communication resource is used to execute the D2D communication service corresponding to the service identifier.
  • the second user equipment UE receives the discovery message sent by the first UE from the wireless network; the discovery message carries the group identifier of the device to the device D2D communication group and the service identifier corresponding to the D2D communication group.
  • the second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE;
  • An application message is used by the second UE to join the D2D communication group, and the second UE receives the communication resource that is sent by the first UE according to the user identifier of the second UE for performing the communication by using the D2D communication group, and uses the foregoing
  • the communication resource performs the D2D communication service corresponding to the service identifier.
  • the first UE sends a discovery message to at least one second UE in the wireless network, and obtains the information from the existing network according to the first application message sent by each second UE.
  • the D2D communication group performs the communication resource of the communication, the first UE currently has two network states, one is that the first UE is currently connected to a certain cell, and the other is that the first UE is currently not connected.
  • FIG. 3 is a flowchart of a communication resource management method according to still another embodiment of the present invention. This embodiment is the foregoing first UE pass. The communication resource required by the foregoing D2D communication group is obtained by the foregoing second UE. As shown in FIG. 3, the communication resource management method includes:
  • the second user equipment UE receives the discovery message sent by the first UE from the wireless network.
  • the discovery message carries the group identifier of the device to the device D2D communication group and the service identifier corresponding to the D2D communication group. See the corresponding content in step 201.
  • the second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE and the cell where the second UE is located.
  • the cell identifier is used by the second UE to join the D2D communication group. For the specific execution process, refer to the corresponding content of step 202.
  • the method is different from the step 202, where the first application message in the step further carries the cell identifier of the cell where the second UE is located, and the cell identifier may be a physical-layer cell identity (PCI) or The Evolved Cell Global Identifier (ECGI) and the like are not limited herein. If the current second UE does not access any cell, the corresponding cell identifier in the returned first application message is empty, or is replaced by a special character, that is, the second UE does not currently access any cell.
  • PCI physical-layer cell identity
  • ECGI Evolved Cell Global Identifier
  • the first UE can determine the current network of each second UE by measuring the network signal strength of the corresponding cell and the network signal quality by determining the cell identifier of the cell in which the second UE is currently located in the first application message returned by the second UE. Connection situation.
  • the first UE may further send a message confirming joining the D2D communication group to the corresponding second UE.
  • the second UE receives, as the fifth UE, a first resource request message sent by the first UE, where the first resource request message carries a group identifier of the D2D communication group and a user identifier of each UE in the D2D communication group, to notify the fifth
  • the UE is configured as a communication representative to manage the communication resources of the D2D communication group; the fifth UE is one UE selected by the first UE according to the cell identifier of the cell where each second UE is located;
  • the first UE that initiates the foregoing D2D communication service does not currently access any of the cells, that is, the first UE does not have a base station corresponding to the network to which the access cell belongs, the first UE cannot directly send from the corresponding base station.
  • the above communication resources are obtained by means of resource request information and the like.
  • the first UE may apply for communication resources required by the D2D communication group to the existing network through other UEs.
  • the specific method is: the first UE may be based on the received cell identification letter in the first application message returned by each second UE.
  • the specific content of the communication representative for managing the above communication resources mainly involves two aspects: on the one hand, receiving communication resource configuration or update information for the D2D communication group on the network side, and transmitting it to other groups in the communication group in time
  • Each UE enables the UEs in the communication group to use the available communication resources for D2D communication in time; on the other hand, when the D2D communication group needs to apply for or change the communication resources (such as the handover/exit of the access cell in the communication group) If there is a new UE to access the communication group, the network is actively requested to newly allocate or redistribute the communication resources applicable to the current D2D communication group.
  • the foregoing first resource request message may further carry the identifier of the cell where the UE is located in the D2D communication group, the service identifier corresponding to the D2D communication group, and the requested resource size, such as bandwidth requirement, rate requirement, and the like.
  • the second UE that is the fifth UE forwards the first resource request message to the second base station to which the cell is located, to request the second base station to allocate the communication resource for the D2D communication service corresponding to the D2D communication group to perform the service identifier.
  • the fifth UE serves as a communication representative for managing the communication resource of the D2D communication group, and forwards the first resource request message to the second base station to which the access cell belongs.
  • the second UE that is the fifth UE receives the first resource response message sent by the second base station, where the first resource response message carries the communication resource used for performing communication by the D2D communication group; the communication resource is the second base station according to the D2D.
  • the group identifier of the communication group and the network resource condition of each cell under the current second base station are determined; or, the communication resource is determined by the second base station according to the group identifier of the D2D communication group after being negotiated by the base station adjacent to the second base station. come out;
  • the second base station After receiving the first resource request message sent by the fifth UE, the second base station detects the current network load condition, the physical time frequency code of the current network, and the usage of the specific physical resource block PRB.
  • the current network resource usage is known according to the detected result, and the available communication resources are allocated for the D2D group communication in combination with the first resource request.
  • the second base station may be based on the group identifier of the D2D communication group and the current network of each cell under it
  • the network resource situation directly allocates communication resources to the D2D communication group; this allocation method is applicable to each cell in the D2D communication group, which is located in the same network node, that is, each cell under the same base station (including UEs that do not access any cell);
  • the second base station needs to negotiate with the base station to which the other UEs in the D2D communication group belong.
  • Coordinating the communication resources available to the D2D communication group, and in general, the base stations to which the other UEs in the D2D communication group belong are the geographically adjacent base stations of the second base station.
  • the common negotiation process may be that the second base station sends a D2D communication group available resource negotiation request message to the other corresponding base stations, where the request message carries the communication resource set temporarily allocated by the second base station to the D2D communication group; After the communication resource is set, the D2D communication group available resource negotiation confirmation message is sent to the second base station, where the acknowledgment message carries the other neighboring base station selected in the foregoing communication resource set and is applicable to the D2D communication group for allocation by the base station.
  • a communication resource subset of the communication service the second base station finally determines a communication resource used for performing communication by the D2D communication group by summarizing the communication resource subsets sent by the neighboring base stations.
  • the available resource negotiation request message sent by the second base station includes:
  • PRB 1 -PRB 10 can be used for the D2D communication group
  • the current D2D group communication requires a total of 2 PRBs (bandwidth or rate requirements);
  • PRB0 2 can be used for this D2D group communication (where PRB0 2 is a subset of PRB1 ⁇ PRB10).
  • the common negotiation process of the foregoing resources may be performed by each base station through an X2 link interface, or may be performed by a core network node through an S1 link interface. Needless to say here.
  • the communication resources for the D2D communication group are finally determined by the second base station through the above negotiation process.
  • the group identifier of the D2D communication group, the user identifier of each UE, the cell identifier of each UE, and the QoS parameters, network rate, bandwidth, and resources of the communication resources required by each UE are also considered. Parameters such as size. These parameters are also used as factors in determining the final communication resources in a specific joint negotiation process.
  • the second base station returns the information of the communication resource allocated to the D2D communication group to the fifth UE by using the first resource response message, where the first resource response message may be an RRC message, a MAC layer message, or a PHY message;
  • the RRC message, the foregoing first resource response message may be a newly added RRC message, or may be an existing RRC message, such as an RRC connection reconfiguration message.
  • the message formed after the new IE unit information is added, the newly added IE unit information is the information for the communication resource of the D2D communication group.
  • the second UE that is the fifth UE sends communication resources for performing communication by the D2D communication group to each UE in the D2D communication group according to the user identifier of each UE in the D2D communication group, to notify each UE to perform service identification by using the communication resource.
  • Corresponding D2D communication service ;
  • the fifth UE After acquiring the communication resource for performing the communication by the D2D communication group, the fifth UE sends the acquired communication for the D2D communication group to each second UE according to the user identifier of each second UE that has been learned.
  • the communication resource may be sent by, for example, a broadcast message or a dedicated message; or may be sent by a protocol fixed resource (in this case, the first UE does not belong to any cell) and sent to notify each of the D2D communication groups.
  • the UE performs the D2D communication service corresponding to the service identifier by using the foregoing communication resource.
  • the fifth UE may further send the communication resource that performs communication by the D2D communication group to the first UE, and then forward the resource fixed by the first UE to the other second UE in the D2D communication group by using the fixed resource.
  • the second user equipment UE receives the discovery message sent by the first UE from the wireless network; the discovery message carries the group identifier of the device to the device D2D communication group and the service identifier corresponding to the D2D communication group.
  • the second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE and the foregoing
  • the first application message is used by the second UE to join the D2D communication group, and the second UE is used as the fifth UE to receive the first resource request message sent by the first UE, where the first
  • the resource request message carries the group identifier of the D2D communication group and the user identifier of each UE in the D2D communication group, to notify the fifth UE to manage the communication resource of the D2D communication group by using the fifth UE as a communication representative;
  • the UE is one UE selected by each of the foregoing second UEs according to a cell identifier of a cell in which the second UE is located by the first UE;
  • the second UE of the five UEs forwards the first resource request message to
  • the second UE that is the fifth UE receives the first resource response message that is sent by the second base station, where the first resource response message carries a communication resource used for performing communication by the D2D communication group; the communication resource is the foregoing Two base stations according to the above D2D pass And determining, by the second base station, the base station adjacent to the second base station according to the group identifier of the D2D communication group.
  • the solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.
  • the present invention is The following two embodiments are used to specifically describe the execution process.
  • FIG. 4 is a flowchart of a communication resource management method according to another embodiment of the present invention; the method is configured to acquire, by the first UE, a communication resource that is communicated by a D2D communication group from a base station to which the first UE belongs.
  • the base station to which the UE is located that is, the first base station in the foregoing embodiment is the execution entity, and the process of the communication resource management method in the scenario is specifically described.
  • the communication resource management method specifically includes:
  • the first base station receives the first resource request message sent by the first UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries the group identifier of the D2D communication group.
  • the first UE After the first UE successfully initiates the D2D communication service through the steps 101-102, if the current first UE has the serving cell, the first UE sends a first resource request message to the first base station to which the cell to which the cell belongs, the first resource.
  • the request message carries the group identifier of the D2D communication group to request the first base station to allocate communication resources for the D2D communication group.
  • the first base station determines, according to the group identifier of the D2D communication group and the network resource condition of each cell under the current first base station, the first communication resource used for performing communication by the D2D communication group; or the first base station according to the group identifier of the D2D communication group.
  • the specific execution process of the step may be performed in step 305, the second base station according to the group identifier of the D2D communication group and the current second base station The network resource condition of the cell; or, the second base station determines to use according to the group identifier of the D2D communication group after being mutually negotiated by the base station adjacent to the second base station
  • the corresponding content of the communication resource for performing communication by the D2D communication group is not described herein.
  • the first base station sends a first resource response message to the first UE, where the first resource response message carries the first communication resource used for performing communication by the D2D communication group.
  • the first resource response message carries the first communication resource used for performing communication by the D2D communication group.
  • the second base station returns the determined communication resource for the D2D communication group to the corresponding content of the fifth UE by using the first resource response message, and details are not described herein.
  • the first base station receives the first resource request message sent by the first UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries the D2D communication group.
  • the first base station determines, according to the group identifier of the D2D communication group and the network resource condition of each of the cells in the first base station, the first communication resource used for performing communication by the D2D communication group; or, the foregoing first base station Determining, by the group identifier of the D2D communication group, the first communication resource after being negotiated by the base station adjacent to the first base station; the first base station sending a first resource response message to the first UE, where the first resource response is The message carries the first communication resource for performing communication in the D2D communication group.
  • the solution provides a technical solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.
  • FIG. 5 is a flowchart of a communication resource management method according to another embodiment of the present invention; the method is configured to acquire, by the first UE, a communication resource that is communicated by a D2D communication group from another base station to which the second UE belongs.
  • the base station to which the second UE is located (that is, the second base station in the embodiment shown in FIG. 3) is an execution subject, and the process steps of the foregoing communication resource management method in the scenario are specifically described.
  • the communication resource is shown in FIG.
  • the management method specifically includes:
  • the second base station receives a first resource request message that is sent by the second UE and is sent by the second UE.
  • the second UE is in a cell range that is covered by the second base station.
  • the first resource request message carries the D2D communication group.
  • the first resource request message is used by the first UE to apply for a communication resource for the D2D communication group in which the first UE is located;
  • the first UE After the first UE successfully initiates the D2D communication service through the step 101 102, if the current first UE does not have the serving cell, that is, the first UE does not have the base station corresponding to the network to which the access cell belongs, the first UE cannot directly The corresponding base station acquires communication resources by sending resource request information and the like. At this time, the first UE may apply for the communication resources required by the D2D communication group from the existing network by using the other second UE, and in this step, the second UE is configured according to the group identifier of the D2D communication group. And the service identifier corresponding to the D2D communication group returns the first application message to the first UE.
  • the cell identifier of the cell where the second UE is located is also carried, that is, step 302.
  • the specific method is: the first UE learns the current network access cell of each second UE according to the cell identity information in the first application message returned by each second UE received in step 302, and compares and compares each second UE by measurement.
  • the current situation of the network of the accessing cell selects one UE from each of the second UEs as the fifth UE (the fifth UE is the second in this embodiment) Transmitting, by the UE, the first resource request message to the fifth UE by using the fixed resource and the sending and receiving information in the foregoing protocol, where the first resource request message carries the group identifier of the D2D communication group and each UE in the D2D communication group The user identifier is used to notify the fifth UE that the communication resources of the D2D communication group are to be managed by the fifth UE as a communication representative.
  • the fifth UE After receiving the first resource request message sent by the first UE, the fifth UE forwards the message to the second base station to which the cell where the fifth UE belongs, to request the second base station to allocate communication resources for communication to the D2D communication group.
  • the second base station determines, according to the group identifier of the D2D communication group and the network resource condition of each cell under the current second base station, a communication resource used for communication by the D2D communication group; or, the second base station passes the group identifier according to the D2D communication group.
  • the communication resource is determined by the base station adjacent to the second base station. The specific implementation process can be referred to the corresponding content in step 305.
  • the second base station sends a first resource response message to the second UE, where the first resource response message carries a communication resource for performing communication by the D2D communication group.
  • the information of the communication resource allocated for the D2D communication group is transmitted to the corresponding content of the fifth UE through the first resource response message.
  • the second UE After receiving the communication resource for performing the communication by the D2D communication group, the second UE sends the communication resource to the first UE to forward the first UE to other UEs in the D2D communication group, or the second UE directly
  • the acquired communication resources are sent to each UE in the D2D communication group to notify each UE to perform communication using the corresponding communication resource.
  • the second base station receives the first resource request message sent by the second UE and is sent by the second UE; the second UE is within the cell coverage area of the second base station;
  • the message carries the group identifier of the D2D communication group;
  • the first resource request message is used by the first UE to apply for a communication resource for the D2D communication group in which the first UE is located;
  • the second base station is configured according to the group identifier of the D2D communication group and the current
  • the network resource situation of each cell in the second base station determines a communication resource used for communication by the D2D communication group; or, the second base station negotiates with the base station adjacent to the second base station according to the group identifier of the D2D communication group.
  • the solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.
  • FIG. 6 is a flowchart of a method for managing a communication resource according to another embodiment of the present invention; this embodiment is a specific implementation manner of the method shown in FIG. 1 to FIG. In this embodiment.
  • the foregoing method relates to a first UE that initiates a D2D communication service, a second UE that applies to join the D2D communication service, a first base station to which a cell where the first UE is located, and a second cell to which the second UE belongs.
  • the base station; wherein the second UE and its corresponding second base station may be multiple.
  • the application scenario of the foregoing method is that when the first UE establishes the D2D communication group, it has a corresponding serving cell, and the first UE acquires a communication resource for the D2D communication group to perform communication from the first base station to which the cell where the first UE belongs.
  • the communication resource management method in this embodiment specifically includes the following steps.
  • the first user equipment UE sends a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication service; the discovery message carries the D2D The group identifier of the communication group and the service identifier corresponding to the D2D communication group;
  • the first UE receives the first application message sent by the second UE, where the first application message carries the user identifier of the second UE, and the first application message is used by the second UE to join the D2D communication group.
  • step 601 602 can be referred to step 101 102 in the embodiment shown in FIG. 1, which is not described herein.
  • the first UE sends a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries the D2D communication.
  • Group ID of the group
  • the method is a specific implementation of the step 103.
  • the first UE receives the first application message returned by the second UE, if the first UE currently has an accessing cell, the first UE is located
  • the first base station to which the cell belongs sends a first resource request message, where the first resource request message carries the group identifier of the D2D communication group, to request the first base station to allocate communication resources for the D2D communication group.
  • the first base station is configured according to the group identifier of the D2D communication group and the network of each cell under the current first base station. And determining, by the first base station, the first communication resource after the negotiation by the base station adjacent to the first base station according to the group identifier of the D2D communication group; For details, refer to the corresponding content in step 402, and no further details are provided herein.
  • the first base station sends a first resource response message to the first UE, where the first resource response message carries a first communication resource for performing communication by the D2D communication group.
  • the first resource response message carries a first communication resource for performing communication by the D2D communication group.
  • the first UE sends, according to the user identifier of the second UE, a communication resource used by the D2D communication group to perform communication to the second UE in the D2D communication group.
  • the second UE performs the D2D communication service corresponding to the service identifier by using the foregoing communication resource.
  • the foregoing step 606 607 refer to the corresponding content in the step 104, which is not described herein.
  • the first resource response message further includes a first cell list; the first cell list includes a cell identifier corresponding to at least one cell, where the first cell list is used to indicate the D2D communication group. a cell in which the first reserved resource is used for performing communication; the first cell list is determined by the first base station, or the first cell list is determined by the first base station and the base station adjacent to the first base station after negotiation of.
  • the first reserved resource may be used to perform communication between UEs in the subsequent D2D communication group.
  • the first cell list is not limited to the form of a table.
  • the following steps may be performed:
  • the first UE receives the second application message sent by the third UE, where the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located.
  • the third UE as a UE newly added to the D2D communication group, needs to carry its own user identifier and the cell identifier of the current cell when transmitting the second application message to the first UE.
  • the first UE if the cell identifier of the cell where the third UE is located is included in the first cell list, the first UE notifies the third UE to perform the D2D communication service corresponding to the service identifier by using the first reserved resource, and the first UE The UE is managed as a second UE in the D2D communication group. In this process, the first UE does not need to notify the first base station where the first UE is located to newly allocate communication resources for the D2D communication group.
  • the UE sends a second resource request message to the first base station; the second resource request message carries the group identifier of the D2D communication group and the cell identifier of the cell where the third UE is located, to request the first base station to use the cell according to the cell where the third UE is located. Identifying that the communication resource is reallocated for the D2D communication group, and the first UE manages the third UE as one of the second UEs in the D2D communication group;
  • the third UE that is currently in the D2D communication group cannot use the first reserved resource to perform the corresponding service of the D2D communication group, because the cell in which the third UE is located is not in the first cell list.
  • the first UE sends a second resource request message to the first base station to which the cell where the first UE belongs to notify the first base station to reallocate the communication resource to the D2D communication group according to the cell identifier of the cell where the third UE is located.
  • the first base station re-allocates communication resources for the D2D communication group according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the network resource status of each cell under the current first base station; or, the first base station according to the third
  • the cell identifier of the cell where the UE is located and the group identifier of the D2D communication group are re-allocated communication resources for the D2D communication group after being negotiated by the base station adjacent to the first base station;
  • the first base station may find, according to the cell identifier of the cell where the third UE is located, the base station to which the cell where the third UE belongs, in the corresponding relationship table between the locally stored cell identifier and the base station where the cell is located, and may belong to the cell to which the third UE is located.
  • the base stations negotiate together, and may also jointly negotiate with the neighboring base stations of the first base station to finally determine the communication resources for the D2D communication group.
  • the first UE receives a second resource response message sent by the first base station, where the second resource response message carries a second communication resource and a second cell list for performing communication by the D2D communication group; the second cell list includes Cell ID of the cell where the third UE is located ⁇ '
  • the first UE sends a second communication resource for the D2D communication group to perform communication to the second UE in the D2D communication group, to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the second communication resource;
  • the second cell list has the same function as the first cell list, and is used to provide communication resources used in subsequent communication between UEs in the D2D communication group. After receiving the second cell list, the first UE discards the original first cell list content and replaces it with the current second cell list.
  • the second cell list includes a cell identifier of a cell where the third UE is located.
  • step 609.1 and steps 609.2-612 determine whether the cell where the third UE is located is the first UE.
  • the two sets of method steps performed in the first cell list are performed to enable the third UE to be integrated into the D2D communication group to perform the D2D communication service.
  • the method further includes:
  • the first UE receives the first resource change message sent by the first base station; the first resource change message carries the first change communication resource;
  • the network side adjusts the communication resources allocated to the D2D communication group according to the change of the network resources, and passes the resource change message.
  • the communication representative in the D2D communication group (such as the first UE in this embodiment) forwards to other UEs in the D2D communication group.
  • the first UE that is the communication representative receives the first resource change message sent by the first base station in the process of performing the D2D communication service, and the first resource change message carries the first change communication resource to indicate
  • the first UE notifies each UE in the D2D communication group to perform a corresponding D2D communication service by using the first changed communication resource.
  • the first UE sends the first change communication resource carried in the first resource change message to each of the second UEs in the D2D communication group, so that each second UE in the D2D communication group performs service by using the first change communication resource. Identifying the corresponding D2D communication service; and the first UE updates the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.
  • the first UE After receiving the first resource change message sent by the first base station, the first UE extracts the first changed communication resource from the message, and sends the first changed communication resource to each of the D2D communication groups. Second UE. Each of the second UEs continues to execute the 2D communication service by using the first changed communication resource. At the same time, the first UE updates the cell identifier of the cell where the first change communication resource is located to the first cell list (or the second cell list) corresponding to the D2D communication group.
  • the first user equipment UE sends a discovery message to at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication.
  • the first discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; the first UE receives the first application message sent by the second UE, where the first application message carries the second UE User ID; The first application message is used by the second UE to join the D2D communication group; the first UE acquires a communication resource used by the D2D communication group to perform communication according to the first application message sent by the second UE; Transmitting, by the UE, the communication resource for performing the communication by the D2D communication group to the second UE in the D2D communication group according to the user identifier of the second UE, to notify each UE in the D2D communication group to perform the foregoing service by using the communication resource. Identify the corresponding D2D communication service.
  • the solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.
  • FIG. 7 is a flowchart of a communication resource management method according to still another embodiment of the present invention.
  • This embodiment is another specific implementation manner of the method shown in FIG. 1 to FIG. 5, and can also be regarded as an implementation manner of the method shown in FIG. 6 in a specific scenario.
  • the scenario in this embodiment is the same as the scenario in the method shown in FIG. 6, that is, after the first UE establishes a D2D communication group, how to further communicate when the network signal or quality of the cell in which the UE is located is decreased. The role of the representative is switched so that the other second UEs continue to manage the communication resources used by the above D2D communication group.
  • the foregoing communication resource management method specifically includes the following steps:
  • the first UE measures network signal strength and/or network signal quality of a cell where the first UE is located in the process of performing D2D communication;
  • the first UE performs real-time or periodic measurement of the network condition of the first UE accessing the current cell in the D2D communication process, including network signal strength and/or network signal quality. .
  • the first UE is configured according to the cell identifier of the cell where each second UE is located. Selecting one UE as the fourth UE in the second UE;
  • the first signal strength threshold or the first signal quality threshold is a standard parameter for determining whether the signal strength or signal quality of the current network can ensure that the UE can continue to communicate with the network side.
  • the first signal strength threshold and the first signal quality threshold may be set to any integer in the range of 0 to 100; the numerical interval of 0 to 100 represents the meaning: the larger the value, the corresponding signal strength or signal quality The better, the better the service communication; on the contrary, the smaller the value, the corresponding signal strength Or the worse the signal quality, the more unfavorable the service communication.
  • the UE performs normal communication with the base station on the network side where it is located. In this case, the first UE selects one UE from each of the second UEs as the fourth UE to replace the location of its own communication representative according to the cell identity of the cell where the second UE is located in the first application message, and continues to manage the foregoing. Communication resources corresponding to the D2D communication group.
  • the parameter and the specific determining method used in determining whether the current network of the cell in which the first UE is located is beneficial to the service communication is not limited to the manner described in this embodiment.
  • the threshold may be set in an opposite manner, for example, the smaller the value. The worse the representative signal quality, the larger the value represents the better the signal quality, and the threshold of the response, the associated signal strength and the quality of the network signal should be higher than the threshold.
  • a condition can be satisfied by determining the indication of the signal quality.
  • the specific method for the first UE to select one UE from each of the second UEs as the fourth UE according to the cell identifier of the cell where the second UE is located includes:
  • the first UE sends a query request to the second UE in the D2D communication group according to the cell identifier of the cell in which the second UE is located. Specifically, the first UE may send a query request to the designated second UE according to the cell identifier of the cell where the second UE is located. .
  • the query request is used to query the network signal strength and/or the network signal quality of the cell corresponding to the second UE.
  • the first UE receives the query response sent by the second UE, where the query response carries the network signal strength and/or the network signal quality of the cell where the second UE is located. Specifically, after receiving the query request sent by the first UE, the second UE receives the query request. And transmitting, by the measurement, the network signal strength and/or the network signal quality of the cell where the second UE is obtained, by sending a query response to the first UE.
  • the first UE selects, as the fourth UE, the second UE with the strongest network signal strength or the network signal quality of the cell in the second UE, or the first UE selects a cell from each of the foregoing second UEs.
  • the second UE with the strongest combination of the network signal strength and the network signal quality is used as the fourth UE; specifically, the network signal strength of the cell where the second UE is located, which is carried in the query response returned by the first UE to the second UE.
  • the network signal strength and the network signal quality of each cell may also be weighted to obtain a comprehensive The value is combined, and the UE corresponding to the cell with the strongest integrated value is determined as the fourth UE.
  • each of the foregoing second UEs may periodically report the measured value of the network signal strength and/or the network signal quality of the cell in which the cell is located to the first UE that is the communication representative, in the process of performing the foregoing D2D communication.
  • the first UE is configured to grasp the network connection status of each second UE in real time, and select one UE from each of the second UEs as the fourth UE in time.
  • the first UE sends a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group and the user identifier of each UE in the D2D communication group. And the cell identifier of the cell where the fourth UE is located; to notify the first base station that the fourth UE is used as the communication representative to manage the first communication resource corresponding to the subsequent D2D communication group; and/or, S703.2, the first UE is fourth.
  • the UE sends a second D2D communication resource interface UE change message, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; Instructing the fourth UE to manage, by the communication representative, the first communication resource corresponding to the subsequent D2D communication group;
  • Step 703.1 the specific notification method can be as follows: Step 703.1 and/or Step 703.2, wherein the above step 703.1 is specifically:
  • the first UE may send a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and The cell identifier of the cell where the fourth UE is located is used to notify the first base station that the fourth UE is used as the communication representative to manage the first communication resource corresponding to the subsequent D2D communication group.
  • the first base station After receiving the first D2D communication resource interface UE change message, the first base station, according to the cell identifier of the cell where the fourth UE is located, queries the corresponding relationship between the locally stored cell identifier and the corresponding base station to obtain the base station identifier corresponding to the cell identifier.
  • the first base station sends the first D2D communication resource interface UE change message to the fourth UE by using the queried base station corresponding to the fourth UE, to notify the fourth UE that the communication representative corresponding to the D2D communication group has been changed to the fourth UE.
  • the base station corresponding to the fourth UE may notify the fourth UE to transmit to the other UEs in the D2D communication group. Corresponding communication resources.
  • step 703.2 is specifically as follows:
  • the first UE may send a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the first The cell identifier of the cell where the UE is located; to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using it as the communication representative.
  • the fourth UE After receiving the second D2D communication resource interface UE change message sent by the first UE, the fourth UE queries the corresponding relationship between the locally stored cell identifier and the corresponding base station according to the cell identifier of the cell where the first UE is located, and obtains the corresponding corresponding to the cell identifier. Base station identification. The fourth UE forwards the second D2D communication resource interface UE change message to the queried base station corresponding to the first UE by using the base station corresponding to the cell in which the cell is located, to notify the base station corresponding to the cell where the first UE is located, and the cell corresponding to the cell where the fourth UE is located.
  • the base station corresponding to the D2D communication group has been changed to the fourth UE, and the group identifier of the D2D communication group is sent to the base station.
  • the base station corresponding to the fourth UE may notify the fourth UE to transmit the corresponding communication resource to the other UEs in the D2D communication group.
  • the method further includes:
  • the second UE that is the fourth UE receives the second resource change message that is sent by the second base station to which the cell is located, and the second resource change message carries the second change communication resource.
  • the fourth UE sends the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the second change communication resource;
  • the network side base station adjusts the communication resources allocated to the D2D communication group according to the change of the network resources, and passes the resource change message through the D2D.
  • the communication representatives in the communication group are forwarded to other UEs in the D2D communication group.
  • the first UE receives the second resource change message sent by the fourth UE that is the communication representative in the process of performing the normal D2D communication service, and the second resource change message carries the second change communication resource.
  • the first UE extracts the second changed communication resource from the message, and executes the D2D communication service by using the communication resource corresponding to the information.
  • the fourth UE after receiving the second resource change message sent by the network side base station, the fourth UE also updates the cell identifier of the cell where the second change communication resource is included in the first cell list.
  • the first UE measures the network signal strength and/or the network signal quality of the cell where the first UE is located in the process of performing the D2D communication; if the network signal strength of the cell where the first UE is located is lower than the first The signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the first UE selects one UE from each of the second UEs as the fourth UE according to the cell identifier of the cell where the second UE is located;
  • the first base station sends a first D2D communication resource interface UE change message, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell of the cell where the fourth UE is located.
  • the fourth UE Identifying, by the first base station, the fourth UE as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group; and/or, the first UE sends the second D2D communication resource interface UE change message to the fourth UE,
  • the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell where the first UE is located.
  • the cell identifier is configured to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using it as a communication representative.
  • the solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.
  • FIG. 8 is a flowchart of a communication resource management method according to still another embodiment of the present invention.
  • This embodiment is another specific implementation manner of the method shown in FIG. 1 to FIG. 5, and can also be regarded as an implementation manner of the method shown in FIG. 6 in a specific scenario.
  • the scenario of this embodiment is different from the scenario of the method shown in FIG. 6 , that is, when the first UE is configured to form a D2D communication group, the first UE does not have a corresponding serving cell, and the first UE cannot obtain the information from the first base station.
  • the D2D communication group communicates the communication resources, and selects one UE from the plurality of second UEs applying for joining the D2D communication group as a communication resource for requesting communication from the network side for the above-mentioned D2D communication group for communication.
  • the foregoing communication resource management method specifically includes the following steps:
  • the first user equipment UE sends a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication service; the discovery message carries the D2D.
  • the first UE receives a first application message sent by the second UE, where the first application message carries a user identifier of the second UE.
  • the first application message is used by the second UE to join the D2D communication group.
  • the foregoing step 801 802 can be referred to step 101 102 in the embodiment shown in FIG. 1, and details are not described herein.
  • the first application message sent by each second UE further carries the cell identifier of the cell where the second UE is located.
  • the first UE calculates the network signal strength and/or the network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and selects one of the second UEs according to the measurement result.
  • the UE is used as the fifth UE, and sends the foregoing first resource request message to the fifth UE, to notify the fifth UE to manage the communication resource of the D2D communication group by using the communication terminal as the communication representative;
  • the first UE After receiving the first application message sent by each second UE, the first UE measures the current network connection status of each second UE according to the cell identifier of the cell where the second UE is located, which is carried in the first application message, and A suitable second UE is selected as the fifth UE, and the second UE has the characteristics that the network signal strength and signal quality are stronger than other second UEs.
  • the first UE sends the first resource request message to the fifth UE by using the fixed resource and the sending and receiving information manner of the foregoing protocol, so that the communication resource of the D2D communication service corresponding to the service identifier is obtained from the network by the fifth UE;
  • the fifth UE is notified to manage the communication resources used by the D2D communication group as a communication representative.
  • the second UE that is the fifth UE sends a first resource request message to the second base station to which the cell to which the cell belongs, to request the second base station to allocate a communication resource for the D2D communication service corresponding to the service identity of the D2D communication group.
  • the second base station determines, according to the group identifier of the D2D communication group and the network resource condition of each cell under the current second base station, a communication resource used for communication by the D2D communication group; or, the second base station passes the group identifier according to the D2D communication group. Determining, by the base station adjacent to the second base station, the foregoing communication resource;
  • the second UE that is the fifth UE receives the first resource response message sent by the second base station, where the first resource response message carries a communication resource used for performing communication by the D2D communication group;
  • step 704 707 For the specific implementation process of the foregoing step 704 707, reference may be made to the process of the first UE acquiring the communication resources used by the D2D communication group from the first base station, which is not described herein.
  • the fifth UE is directly connected to the D2D according to the user identifier of each UE in the D2D communication group.
  • the information of the foregoing communication resource is sent to each UE in the D2D communication group by using the information of the communication resource for the D2D communication group to perform the communication.
  • the fifth UE sends, to the first UE, a communication resource for performing communication by the D2D communication group;
  • the first UE sends, to the second UE in the D2D communication group, the D2D according to the user identifier of the second UE.
  • the communication group performs the communication resource of the communication, to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the communication resource;
  • the first UE may receive the communication resource sent by the fifth UE by using the fixed resource and the sending and receiving information manner, and then performing the process of step 104 to send the communication resource to each UE of the D2D communication group. .
  • the foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell list is used to indicate a cell where the reserved resource used by the D2D communication group to perform communication is located;
  • the cell list is determined by the second base station, or the cell list is determined by the second base station after being negotiated by the base station adjacent to the second base station.
  • the content of the cell list, the role, and the specific manner of determining the cells in the cell list are the same as those of the first cell list, and are not described herein.
  • the communication resource corresponding to the D2D communication group is managed by the fifth UE as a communication representative, and the fifth UE further includes:
  • the third UE receives the third resource change message sent by the second base station to which the cell where the fifth UE belongs, and the third resource change message carries the third change communication resource.
  • the fifth UE sends the third change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication industry corresponding to the service identifier by using the third change communication resource, and the execution process of the foregoing step 809 810 may be referred to.
  • the corresponding content of step 704 705 is not described herein.
  • the fifth UE after receiving the third resource change message sent by the network side base station, the fifth UE also updates the cell identifier of the cell where the third change communication resource is included in the corresponding cell list.
  • the first user equipment UE sends a discovery message to at least one second UE in the wireless network, where the discovery message is used to indicate the first UE to the at least one second UE.
  • the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group;
  • the first UE receives the first application message sent by the second UE, where the first application message carries the first a user identifier of the second UE; the first application message is used by the second UE to join the D2D communication group; and the first UE measures the network signal strength and/or the network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located.
  • the fifth UE forwards the first resource request message to the base station to which the cell to which the cell belongs, to request the base station to which the cell in which the fifth UE belongs to allocate the communication resource for the D2D communication group to perform the D2D communication service corresponding to the service identifier;
  • the fifth UE receives the first resource response message sent by the base station to which the cell to which the cell belongs, and the first resource response message carries the communication for the D2D communication group to perform communication.
  • the fifth UE sends a communication resource for performing communication by the D2D communication group to each UE in the D2D communication group according to the user identifier of each UE in the D2D communication group, to notify each UE to perform D2D corresponding to the service identifier by using the communication resource.
  • Communication business The solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.
  • FIG. 9 is a flowchart of a communication resource management method according to still another embodiment of the present invention.
  • This embodiment is another specific implementation manner of the method shown in FIG. 1 to FIG. 5, and can also be regarded as an implementation manner of the method shown in FIG. 6 in a specific scenario.
  • the scenario in this embodiment is the same as the scenario in the method shown in FIG. 6, that is, after the first UE is set up to complete the D2D communication group, how to further switch to the new cell after the network signal or quality of the cell in which it is located is decreased. , continue to manage the communication resources used by the above D2D communication group.
  • the foregoing communication resource management method specifically includes the following steps:
  • the first UE measures, in a process of performing D2D communication, a network signal strength and/or a network signal quality of a cell where the first UE is located and a neighboring cell of the cell where the first UE is located, and reselects or switches to a new one according to the measurement result.
  • the first UE performs real-time or periodic measurement of the network condition of the first UE accessing the current cell and the neighboring cell of the cell where the first UE is located in the process of performing the D2D communication.
  • Network conditions including network signal strength and/or network signal quality.
  • the network condition of the neighboring cell of the cell where the first UE is located may be assisted by the base station corresponding to the first UE accessing the network.
  • the first UE determines, according to the base station to which the new cell where the first UE belongs, a new a first base station, and sending a D2D communication resource cell change message to the first base station; the D2D communication resource cell change message carries a group identifier of the D2D communication group and a user identifier of the first UE, to notify the first base station that the new base station is under the new cell
  • the first UE continues to manage the communication resources of the subsequent D2D communication group as a communication representative; or
  • the first UE sends a D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of reselecting or switching, to notify the first base station that the first cell is the first one of the new cells.
  • the UE continues to manage the communication resources of the subsequent D2D communication group as a communication representative;
  • step 902.1 when the first UE is handed over to the new cell by the current access cell, the base station of the network side is notified that the cell corresponding to the communication representative corresponding to the D2D communication group has been changed; the specific notification manner may be as described in step 902.1 or step 902.2.
  • the above step 902.1 is specifically as follows:
  • the third base station to which the new cell belongs is determined as the new first base station, and the D2D communication resource cell change message is sent to the third base station; the D2D communication resource cell is changed.
  • the message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the third base station that the first UE accessing the new cell continues to serve as a communication representative for the communication resources of the subsequent D2D communication group. management.
  • the third base station may determine the current access cell of the first UE by using the network resource used by the first UE to send the information, and determine the access cell as the new cell.
  • the third base station further sends the D2D communication resource cell change message to the first base station where the first UE is located, so that the original first base station learns that the first UE under the third base station continues to be the communication representative for the subsequent The communication resources of the D2D communication group are managed.
  • step 902.2 is specifically as follows:
  • the first UE may also send a D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of reselection or handover, to notify the first base station corresponding to the new cell to be used by the new cell.
  • the first UE continues to manage the communication resources of the subsequent D2D communication group as the communication representative. Specifically, after the first UE determines the new cell to be handed over, the first UE may search for each cell and the corresponding base station by using the original base station.
  • Corresponding relationship table searching for the base station identifier of the first base station corresponding to the new cell, and passing the base station corresponding to the original cell And transmitting, to the base station corresponding to the new cell, the D2D communication resource cell change message, where the D2D communication resource cell change message carries the cell identity of the new cell.
  • the first base station corresponding to the new cell is notified to continue to manage the communication resources of the subsequent D2D communication group by the first UE under the new cell as the communication representative.
  • the first UE measures the network signal strength and/or the network signal quality of the cell where the first UE is located and the neighboring cell of the cell where the first UE is located in the process of performing D2D communication, and according to the measurement result Reselecting or switching to a new cell; the first UE determines the base station to which the new cell in which the first UE belongs to be the new first base station, and sends a D2D communication resource cell change message to the first base station; the D2D communication resource cell The change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station to continue to manage the communication resources of the subsequent D2D communication group by the first UE in the new cell as the communication representative; or, the first The UE sends a D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of reselection or handover, to notify
  • FIG. 10 is a schematic structural diagram of a device (for example, a user equipment UE) according to an embodiment of the present invention.
  • the foregoing device may be a user equipment that initiates D2D communication, for example, may be used to perform the method shown in FIG. 1.
  • the following uses the first user equipment UE as an example, details and examples. See also the above-described embodiments of the present invention, such as the embodiment shown in FIG.
  • the foregoing first user equipment UE includes: a sending module 1001, a receiving module 1002, and a processing module 1003, where: the sending module 1001 is configured to send a discovery message to at least one second UE in the wireless network, where the discovery message is used to send the at least one
  • the second UE indicates that the first UE supports the device-to-device D2D communication service; the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; and the receiving module 1002 is configured to receive the second UE An application message, where the first application message carries the user identifier of the second UE; the first application message is used by the second UE to join the D2D communication group; and the processing module 1003 is configured to send according to the second UE.
  • the foregoing first application message acquires a communication resource for performing communication by the D2D communication group; the sending module 1001 is further configured to: according to the user identifier of the second UE, The second UE in the D2D communication group transmits a communication resource for performing communication by the D2D communication group to notify each UE in the D2D communication group to execute the D2D communication service corresponding to the service identifier by using the communication resource.
  • the foregoing first user equipment UE may further include:
  • the foregoing processing module 1003 is specifically configured to:
  • the first communication resource is determined by the first base station according to the group identifier of the D2D communication group and the current network resource status of each of the cells in the first base station; or, the first communication resource is the first base station according to the D2D communication group.
  • the group identity is determined after being negotiated by the base station adjacent to the first base station.
  • the foregoing first user equipment UE may further include:
  • the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate the first reserved resource used by the D2D communication group to perform communication.
  • the first cell list is determined by the first base station, or the first cell list is determined by the first base station and the base station adjacent to the first base station.
  • the foregoing first user equipment UE may further include:
  • the receiving module 1002 is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located;
  • the foregoing processing module 1003 is further configured to: if the cell identifier of the cell where the third UE is located is included in the first cell list, notify the third UE to perform, by using the first reserved resource, the service identifier D2D communication service, and instructing the first UE to use the third UE as the D2D One of the second UEs in the communication group is managed.
  • the foregoing first user equipment UE may further include:
  • the receiving module 1002 is further configured to receive a second application message sent by the third UE, where the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located; the processing module 1003 is further used by And if the cell identifier of the cell where the third UE is located is not included in the first cell list, the sending module 1001 is configured to send a second resource request message to the first base station; and the second resource request message carries the D2D communication group.
  • the group identifier and the cell identifier of the cell where the third UE is located to request the first base station to re-allocate communication resources to the D2D communication group according to the cell identifier of the cell where the third UE is located, and instruct the first UE to use the third UE.
  • the UE is managed as one of the foregoing second UEs in the D2D communication group;
  • the receiving module 1002 is further configured to receive the second resource response message sent by the first base station, where the second resource response message carries a second communication resource and a second cell list used for performing communication by the D2D communication group;
  • the cell list includes the cell identifier of the cell where the third UE is located;
  • the transmitting module 1001 is further configured to send, to the second UE in the D2D communication group, a second communication resource that is used by the D2D communication group to perform communication, to notify each UE in the D2D communication group to perform the foregoing by using the second communication resource.
  • the D2D communication service corresponding to the service identifier.
  • the foregoing first user equipment UE may further include:
  • the first application message further includes the cell identifier of the cell where the second UE is located.
  • the processing module 1003 is further configured to: when the first UE performs the D2D communication, measure the network signal strength of the cell where the first UE is located, and/or Or network signal quality;
  • the processing module 1003 is configured according to the cell identifier of the cell where the second UE is located. One of the foregoing second UEs is selected as the fourth UE.
  • the sending module 1001 is configured to send a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the D2D.
  • a group identifier of the communication group a user identifier of each UE in the D2D communication group, and a cell identifier of a cell in which the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to the subsequent D2D communication group Corresponding to the foregoing first communication resource for management; and/or,
  • the sending module 1001 sends a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group and the user identifier of each UE in the D2D communication group. And the cell identifier of the cell where the first UE is located; and the fourth UE is configured to be used as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group.
  • the foregoing first user equipment UE may further include:
  • the processing module 1003 selects one UE from each of the second UEs as the fourth UE according to the cell identifier of the cell in which the second UE is located, and includes:
  • the processing module 1003 instructs the sending module 1001 to send a query request to the second UE in the D2D communication group;
  • the foregoing processing module 1003 instructs the receiving module 1002 to receive the query response sent by the second UE, where the query response carries the network signal strength and/or the network signal quality of the cell where the second UE is located;
  • the processing module 1003 selects, as the fourth UE, the second UE that has the strongest network signal strength or network signal quality of the cell in the second UE, or the processing module 1003 selects from each of the second UEs.
  • the second UE having the strongest combination of the network signal strength and the network signal quality of the cell in which the cell is located serves as the fourth UE.
  • the foregoing first user equipment UE may further include:
  • the first application message further carries the cell identifier of the cell where the second UE is located;
  • the processing module 1003 is further configured to: measure, according to the cell identifier of the cell where the second UE is located, the network signal strength and/or the network signal quality of the cell where the second UE is located, and select one UE from each of the second UEs according to the measurement result.
  • the instructing sending module 1001 sends the first resource request message to the fifth UE to notify the fifth UE to manage the communication resource of the D2D communication group as a communication representative; and instruct the foregoing
  • the fifth UE forwards the first resource request message to the base station to which the cell in which the fifth UE belongs, and further requests the base station to which the cell in which the fifth UE belongs to allocate the communication resource used by the D2D communication group to perform the D2D communication service corresponding to the service identifier.
  • the processing module 1003 instructs the receiving module 1002 to receive the communication resource sent by the fifth UE for performing the communication by the D2D communication group.
  • the foregoing first user equipment UE may further include:
  • the processing module 1003 is further configured to: when the first UE performs the foregoing D2D communication, measure network signal strength and/or network signal quality of the cell where the first UE is located and the neighboring cell of the cell where the first UE is located, and according to The measurement result is re-selected or switched to a new cell;
  • the processing module 1003 is further configured to determine, by the base station to which the new cell where the first UE is located, the new first base station, and instruct the sending module 1001 to send a D2D communication resource cell change message to the first base station;
  • the resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station that the first UE in the new cell continues to be the communication representative to the foregoing D2D communication group.
  • Management of communication resources or,
  • the processing module 1003 instructs the sending module 1001 to send the D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of the reselection or handover to notify the first base station
  • the first UE in the new cell continues to manage the communication resources of the subsequent D2D communication group as a communication representative.
  • the foregoing first user equipment UE may further include:
  • the receiving module 1002 is further configured to: when the first UE performs the D2D communication, receive the first resource change message sent by the first base station; and the first resource change message carries the first change communication resource;
  • the transmitting module 1002 is further configured to send the first changed communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the second UEs in the D2D communication group uses the foregoing
  • the first change communication resource performs the D2D communication service corresponding to the service identifier; and the processing module 1003 is instructed to update the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.
  • the foregoing first user equipment UE may further include:
  • the receiving module 1002 is further configured to use the fourth UE as the communication representative to perform the D2D communication. After the first communication resource corresponding to the group is managed, the first UE receives the second resource change message sent by the fourth UE in the process of performing the D2D communication, and the second resource change message carries the second change.
  • the processing module 1003 is further configured to perform the D2D communication service corresponding to the service identifier by using the second changed communication resource.
  • the foregoing first user equipment UE may further include:
  • the receiving module 1002 is further configured to: after the fifth UE is used as the communication representative, to manage the communication resource of the D2D communication group, and the first UE receives the first UE sent in the process of performing the D2D communication. a third resource change message; the third resource change message carries the third change communication resource;
  • the processing module 1003 is further configured to perform the D2D communication service corresponding to the service identifier by using the third change communication resource.
  • the device provided in this embodiment may acquire information about communication resources required for each second UE to perform D2D communication service according to an application message sent by each second UE received from the network, so that each UE in the D2D communication group utilizes
  • the communication resources perform corresponding D2D communication services, effectively reducing or avoiding interference to existing cellular network communications.
  • FIG. 11 is a schematic structural diagram of a device (for example, a user equipment UE) according to another embodiment of the present invention.
  • the device may be a second UE that receives the first UE to initiate the D2D communication group service in the D2D communication group, and may be used, for example, to perform the method as shown in FIG.
  • the second user equipment UE is taken as an example.
  • the foregoing second user equipment UE includes: a receiving module 1101 and a sending module 1102, where: the receiving module 1101 is configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group.
  • the sending module 1102 is configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message is carried a user identifier of the second UE; the foregoing first application message is used by the foregoing second UE to join the foregoing D2D pass
  • the receiving module 1101 is further configured to receive, by the first UE, the communication resource that is sent by the first UE according to the user identifier of the second UE for performing the communication by using the D2D communication group, and instruct the second UE to perform the foregoing by using the communication resource.
  • the D2D communication service corresponding to the service identifier.
  • the foregoing second user equipment UE may further include:
  • the receiving module 1101 is further configured to: when the second UE performs the D2D communication, receive the changed communication resource sent by the first UE for performing the D2D communication group to perform communication, and instruct the second UE to use the changed communication resource.
  • the D2D communication service corresponding to the foregoing service identifier is executed.
  • the foregoing second user equipment UE may further include:
  • the first application message further carries the cell identifier of the cell where the second UE is located;
  • the receiving module 1101 is configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in the process of performing the D2D communication, where the second D2D communication resource interface UE is changed.
  • the message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; the fourth UE is the foregoing first UE according to each of the foregoing D2D communication groups. a cell identifier of a cell in which the second UE is located, and a UE selected from each of the foregoing second UEs;
  • the sending module 1102 is further configured to: when the second UE is used as the fourth UE, send the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to notify the second base station The second UE of the fourth UE, as the communication representative, manages the foregoing communication resources of the subsequent D2D communication group.
  • the foregoing second user equipment UE may further include:
  • the second UE Before the second UE receives the second D2D communication resource interface UE change message sent by the first UE by using the receiving module 1101 as the fourth UE in the process of performing the foregoing D2D communication,
  • the receiving module 1101 is configured to receive the query request sent by the first UE, and the sending module 1102 is configured to return a query response to the first UE, where the query response carries the network signal strength and/or network signal quality of the cell where the second UE is located. .
  • the foregoing second user equipment UE may further include: After the communication resource corresponding to the D2D communication group is managed by the second UE as the communication representative, and the second UE is in the process of performing the D2D communication,
  • the receiving module 1101 is further configured to receive a second resource change message sent by the second base station to which the second UE is located, where the second resource change message carries the second change communication resource, where the sending module 1102 is further used to Each of the UEs in the D2D communication group transmits the second changed communication resource to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the second changed communication resource.
  • the device provided in this embodiment performs the corresponding D2D communication service by receiving the communication resource required for the D2D communication service for each second UE acquired by the first UE from the network as the initiator of the D2D communication service group. , effectively reduce or avoid interference with existing cellular communication.
  • FIG. 12 is a schematic structural diagram of a device (for example, a user equipment UE) according to another embodiment of the present invention.
  • the foregoing device may be a second UE that initiates a D2D communication group service in a certain D2D communication group, for example, may be used to perform the method shown in FIG.
  • the second user equipment UE is taken as an example.
  • the foregoing second user equipment UE specifically includes: a receiving module 1201 and a sending module 1202.
  • the receiving module 1201 is configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a device-to-device D2D communication group. Identifying a service identifier corresponding to the D2D communication group;
  • the sending module 1202 is configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE and the foregoing a cell identifier of the cell where the UE is located; the first application message is used by the second UE to join the D2D communication group;
  • the receiving module 1201 is further configured to: when the second UE is used as the fifth UE, receive the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and the D2D communication group.
  • the sending module 1202 is further configured to: when the second UE is the fifth UE, forwarding the first resource request message to the second base station to which the second UE is located, to request the second base station to allocate the D2D communication group. Performing communication resources of the D2D communication service corresponding to the foregoing service identifier;
  • the receiving module 1201 is further configured to receive, by using the second UE, the first resource response message sent by the second base station, where the first resource response message carries a communication resource used for performing communication by using the D2D communication group;
  • the communication resource is determined by the second base station according to the group identifier of the D2D communication group and the current network resource condition of each cell in the second base station; or, the communication resource is the group identifier of the second base station according to the D2D communication group. Determining after being negotiated by the base station adjacent to the second base station;
  • the sending module 1202 is further configured to: when the second UE is used as the fifth UE, send, according to a user identifier of each UE in the D2D communication group, a communication resource used by the D2D communication group to perform communication, according to a user identifier of each UE in the D2D communication group, to The UE is notified to use the communication resource to perform the D2D communication service corresponding to the service identifier.
  • the foregoing second user equipment UE may further include:
  • the foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to at least one cell, where the cell list is used to indicate a cell in which the reserved resource used by the D2D communication group performs communication;
  • the foregoing determining, by the second base station, the cell list is determined by the second base station after being negotiated by the base station adjacent to the second base station.
  • the foregoing second user equipment UE may further include:
  • the receiving module 1201 is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries the third change communication resource;
  • the sending module 1202 is further configured to send the third changed communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the third changed communication resource.
  • the device provided in this embodiment may replace the first UE from the network when the initiator of the D2D communication service is initiated, that is, the first UE cannot obtain the communication resources required for the second UE to perform the D2D communication service from the network.
  • the foregoing communication resources are obtained, so that each UE in the D2D communication group performs corresponding D2D communication service through the communication resource, thereby effectively reducing or avoiding interference to existing cellular network communication.
  • FIG. 13 is a schematic structural diagram of a device (for example, a base station) according to another embodiment of the present invention.
  • the foregoing device may be a base station to which a user equipment UE that is initiating D2D communication belongs, for example, may be used to perform the method as shown in FIG.
  • a base station to which a user equipment UE that is initiating D2D communication belongs, for example, may be used to perform the method as shown in FIG.
  • the foregoing first base station specifically includes: a receiving module 1301, a processing module 1302, and a sending module 1303.
  • the receiving module 1301 is configured to receive a first resource request message sent by the first UE, where the first UE is in a cell covered by the first base station.
  • the first resource request message carries the group identifier of the D2D communication group
  • the processing module 1302 is configured to determine, according to the group identifier of the D2D communication group and the current network resource status of each cell in the first base station, that the D2D communication is used.
  • the first communication resource is configured to perform communication; or the processing module 1302 determines the first communication resource after being negotiated by the base station adjacent to the first base station according to the group identifier of the D2D communication group; and the sending module 1303 is configured to The first UE sends a first resource response message, where the first resource response message carries the first communication resource used for performing communication by the D2D communication group.
  • the foregoing first base station may further include:
  • the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate the first reserved resource used by the D2D communication group to perform communication.
  • the first cell list is determined by the processing module 1302, or the first cell list is determined by the processing module 1302 and the base station adjacent to the first base station.
  • the foregoing first base station may further include:
  • the receiving module 1301 is further configured to receive the second resource request message sent by the first UE.
  • the second resource request message carries the group identifier of the D2D communication group and the cell identifier of the cell where the third UE is located, and the cell identifier of the cell where the third UE is located is not included in the first cell list.
  • the processing module 1302 is further used by the processing module 1302.
  • the processing module 1302 is configured according to the foregoing
  • the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group are re-allocated the communication resource for the D2D communication group after being negotiated by the base station adjacent to the first base station;
  • the foregoing sending module 1303 is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group;
  • the cell identifier of the cell where the third UE is located is included.
  • the foregoing first base station may further include:
  • the receiving module 1301 is further configured to receive the first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each of the D2D communication groups The user identifier of the UE and the cell identifier of the cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the first UE is used by the fourth UE as a communication representative to the first D2D communication group corresponding to the first Management of communication resources;
  • the sending module 1303 is further configured to send, according to the cell identifier of the cell where the fourth UE is located, the first D2D communication resource interface UE change message to the base station to which the fourth UE is located, to notify the cell to which the fourth UE is located.
  • the base station is configured by the fourth UE as a communication representative to manage the foregoing communication resources of the foregoing D2D communication group; or
  • the receiving module 1301 receives the second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, and the second D2D communication resource interface UE change message carries the group of the D2D communication group.
  • the foregoing first base station may further include:
  • the receiving module 1301 is further configured to receive the D2D sent by the first UE that is forwarded by the third base station. a communication resource cell change message, where the D2D communication resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, so that the first base station learns that the first UE under the third base station continues As the communication representative, the above communication resources of the above-mentioned D2D communication group are managed.
  • the foregoing first base station may further include:
  • the sending module 1303 is further configured to send a first resource change message to the first UE, where the first resource change message carries the changed first communication resource, to enable the foregoing Transmitting, by the first UE, information of the changed first communication resource to each UE in the D2D communication group, to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first The UE updates the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.
  • the device after receiving the user equipment, that is, the first resource request message sent by the first UE, according to the group identifier of the D2D communication group carried in the message and the network resource status of each cell under the current first base station Determining a first communication resource for communication by the D2D communication group; or determining, according to the group identity of the D2D communication group, the first communication resource after being mutually negotiated by the base station adjacent to the first base station; and determining the first communication
  • the resource is sent to the user equipment, so that each UE in the D2D communication group performs corresponding D2D communication service through the communication resource, thereby effectively reducing or avoiding interference to the existing cellular network communication.
  • FIG. 14 is a schematic structural diagram of a device (for example, a base station) according to still another embodiment of the present invention.
  • the device may be a base station to which a cell in which a second UE is currently in the D2D communication group, and may be used to perform a method as shown in FIG.
  • the second base station is taken as an example for the foregoing device.
  • the foregoing second base station specifically includes: a receiving module 1401, a processing module 1402, and a sending module 1403.
  • the receiving module 1401 is configured to receive a first resource request message sent by the second UE and sent by the second UE.
  • the first resource request message carries the group identifier of the D2D communication group; the first resource request message is used by the first UE
  • the D2D communication group performs the communication resource application;
  • the processing module 1402 is configured to determine, according to the group identifier of the D2D communication group and the network resource condition of each of the cells under the second base station, communication resources used for communication by the D2D communication group; or
  • the processing module 1402 determines the communication resource after being negotiated by the base station adjacent to the second base station according to the group identifier of the D2D communication group, and the sending module 1403 is configured to send a first resource response message to the second UE, where The first resource response message carries the foregoing communication resource for performing communication by the D2D communication group.
  • the foregoing second base station may further include:
  • the foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to at least one cell, where the cell list is used to indicate a cell in which the reserved resource used by the D2D communication group performs communication;
  • the foregoing processing module 1402 determines, or the foregoing cell list is determined after the processing module 1402 and the base station adjacent to the second base station jointly negotiate.
  • the device provided in this embodiment may receive the first resource request message sent by the first UE in the cell under the first base station that is forwarded by the second UE in the second cell, and the first resource request message is the first
  • the D2D communication group in which the UE is located performs a communication resource request, and the determined communication resource is forwarded to the first UE by using the second UE, so that each UE in the D2D communication group performs a corresponding D2D communication service by using the communication resource, Effectively reduce or avoid interference with existing cellular communications.
  • Figure 15 is a schematic structural diagram of a device (e.g., user equipment UE) according to an embodiment of the present invention.
  • the device may be a user equipment that initiates D2D communication, for example, may be used to perform the method shown in FIG. 1 .
  • the following uses the first user equipment UE as an example to introduce the details, and examples. See also the above-described embodiments of the present invention, such as the embodiment shown in FIG.
  • the foregoing first user equipment UE includes: a transmitter 1501, a receiver 1502, and a processor 1503, where: the transmitter 1501 is configured to send a discovery message to at least one second UE in the wireless network, where the discovery message is used to send the at least one
  • the second UE indicates that the first UE supports the device-to-device D2D communication service;
  • the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group;
  • the receiver 1502 is configured to receive the second UE An application message, the first mentioned above
  • the application message carries the user identifier of the second UE, where the first application message is used by the second UE to join the D2D communication group, and the processor 1503 is configured to acquire the first application message sent by the second UE.
  • the communication resource for performing communication in the D2D communication group; the transmitter 1501 is further configured to send, according to the user identifier of the second UE, the communication resource used by the D2D communication group to perform communication to the second UE in the D2D communication group. And instructing each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the foregoing communication resource.
  • the foregoing first user equipment UE may further include:
  • the processor 1503 is specifically configured to:
  • the receiver 1502 Instructing the receiver 1502 to receive the first resource response message sent by the first base station, where the first resource response message carries a first communication resource used for performing communication by the D2D communication group; the first communication resource is the first base station. And determining, according to the group identifier of the D2D communication group and the current network resource condition of each of the cells in the first base station; or, the first communication resource is that the first base station passes the first group according to the group identifier of the D2D communication group.
  • the base stations adjacent to the base station are jointly negotiated and determined.
  • the foregoing first user equipment UE may further include:
  • the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate the first reserved resource used by the D2D communication group to perform communication.
  • the first cell list is determined by the first base station, or the first cell list is determined by the first base station and the base station adjacent to the first base station.
  • the foregoing first user equipment UE may further include:
  • the receiver 1502 is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; the processor 1503 Also used if the cell identifier of the cell where the third UE is located is included in the In the first cell list, the third UE is notified to perform the D2D communication service corresponding to the service identifier by using the first reserved resource, and instruct the first UE to use the third UE as the D2D communication.
  • One of the second UEs in the group is managed.
  • the foregoing first user equipment UE may further include:
  • the receiver 1502 is further configured to receive a second application message sent by the third UE, where the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located; the processor 1503 is further used by And if the cell identifier of the cell where the third UE is located is not included in the first cell list, the transmitter 1501 is configured to send a second resource request message to the first base station; and the second resource request message carries the D2D communication group.
  • the group identifier and the cell identifier of the cell where the third UE is located to request the first base station to re-allocate communication resources to the D2D communication group according to the cell identifier of the cell where the third UE is located, and instruct the first UE to use the third
  • the UE is managed as one of the foregoing second UEs in the D2D communication group;
  • the receiver 1502 is further configured to receive the second resource response message sent by the first base station, where the second resource response message carries a second communication resource and a second cell list for performing communication by the D2D communication group;
  • the cell list includes the cell identifier of the cell where the third UE is located.
  • the transmitter 1501 is further configured to send, to the second UE in the D2D communication group, a second communication resource for performing communication by using the D2D communication group, to notify the foregoing.
  • Each UE in the D2D communication group performs the D2D communication service corresponding to the service identifier by using the second communication resource.
  • the foregoing first user equipment UE may further include:
  • the first application message further carries the cell identifier of the cell where the second UE is located.
  • the processor 1503 is further configured to: when the first UE performs the D2D communication, measure the network signal strength of the cell where the first UE is located, and/or Or network signal quality;
  • the processor 1503 is configured according to the cell identifier of the cell where each of the second UEs is located. One of the foregoing second UEs is selected as the fourth UE;
  • the transmitter 1501 is configured to send, to the first base station, a first D2D communication resource interface UE change message, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each UE in the D2D communication group User identifier and the cell identifier of the cell where the fourth UE is located
  • the first base station is notified by the fourth UE as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group; and/or
  • the transmitter 1501 sends a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group and the user identifier of each UE in the D2D communication group. And the cell identifier of the cell where the first UE is located; and the fourth UE is notified as the communication representative to manage the first communication resource corresponding to the subsequent D2D communication group.
  • the foregoing first user equipment UE may further include:
  • the processor 1503 according to the cell identifier of each cell where the second UE is located, from each of the foregoing second
  • Selecting one UE as the fourth UE in the UE includes:
  • the processor 1503 instructs the transmitter 1501 to send a query request to the second UE in the D2D communication group according to the cell identifier of the cell where the second UE is located;
  • the processor 1503 instructs the receiver 1502 to receive the query response sent by the second UE, where the query response carries the network signal strength and/or the network signal quality of the cell where the second UE is located, and the processor 1503 uses the foregoing second UE. Selecting the second UE that has the strongest network signal strength or network signal quality of the cell in the cell as the fourth UE, or the processor 1503 selects the network signal strength and the network signal of the cell in the second UE. The second UE having the strongest integrated value of the quality is used as the fourth UE.
  • the foregoing first user equipment UE may further include:
  • the first application message further carries the cell identifier of the cell where the second UE is located;
  • the processor 1503 is further configured to measure network signal strength and/or network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and select one UE from each of the second UEs according to the measurement result.
  • instructing the sender 1501 to send the first resource request message to the fifth UE to notify the fifth UE to manage the communication resource of the D2D communication group by using the fifth UE as a communication representative; and instructing the foregoing And transmitting, by the UE, the first resource request message to the base station to which the cell in which the fifth UE is located, and requesting the base station to which the cell where the fifth UE is located to allocate the D2D communication service corresponding to the service identifier for the D2D communication group.
  • the processor 1503 instructs the receiver 1502 to receive the communication resource sent by the fifth UE for performing the communication by the D2D communication group.
  • the foregoing first user equipment UE may further include:
  • the processor 1503 is further configured to: when the first UE performs the foregoing D2D communication, measure network signal strength and/or network signal quality of the cell where the first UE is located and the neighboring cell of the cell where the first UE is located, and according to The measurement result is re-selected or switched to a new cell;
  • the processor 1503 is further configured to determine, by the base station to which the new cell where the first UE is located, the new first base station, and instruct the transmitter 1501 to send a D2D communication resource cell change message to the first base station;
  • the resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station that the first UE in the new cell continues to be the communication representative to the foregoing D2D communication group.
  • Management of communication resources or,
  • the processor 1503 instructs the transmitter 1501 to send the D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of the reselection or handover to notify the first base station
  • the first UE in the new cell continues to manage the communication resources of the subsequent D2D communication group as a communication representative.
  • the foregoing first user equipment UE may further include:
  • the receiver 1502 is further configured to: when the first UE performs the D2D communication, receive the first resource change message sent by the first base station; and the first resource change message carries the first change communication resource;
  • the transmitter 1501 is further configured to send the first changed communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the second UEs in the D2D communication group uses the foregoing
  • the first change communication resource performs the D2D communication service corresponding to the service identifier; and the processor 1503 is instructed to update the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.
  • the foregoing first user equipment UE may further include: The receiver 1502 is further configured to: after the fourth UE is used as the communication representative, to manage the first communication resource corresponding to the D2D communication group, and the first UE receives the fourth UE in the process of performing the D2D communication. Sending a second resource change message; the second resource change message carries the second change communication resource;
  • the processor 1503 is further configured to perform the D2D communication service corresponding to the service identifier by using the second changed communication resource.
  • the foregoing first user equipment UE may further include:
  • the receiver 1502 is further configured to: after the fifth UE is used as a communication representative, to manage the communication resource of the D2D communication group, and the first UE receives the first UE sent in the process of performing the D2D communication. a third resource change message; the third resource change message carries the third change communication resource;
  • the processor 1503 is further configured to perform the D2D communication service corresponding to the service identifier by using the third changed communication resource.
  • the device provided in this embodiment may acquire information about communication resources required for each second UE to perform D2D communication service according to an application message sent by each second UE received from the network, so that each UE in the D2D communication group utilizes
  • the communication resources perform corresponding D2D communication services, effectively reducing or avoiding interference to existing cellular network communications.
  • FIG. 16 is a schematic structural diagram of a device (for example, a user equipment UE) according to another embodiment of the present invention.
  • the device may be a second UE that receives the first UE to initiate the D2D communication group service in the D2D communication group, and may be used, for example, to perform the method shown in FIG.
  • the second user equipment UE is taken as an example.
  • the foregoing second user equipment UE includes: a receiver 1601 and a transmitter 1602, where: the receiver 1601 is configured to receive a discovery message sent by the first UE from the wireless network; and the discovery message carries the group identifier of the device-to-device D2D communication group.
  • the sender 1602 is configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message is carried Use of the second UE
  • the first application message is used by the second UE to join the D2D communication group
  • the receiver 1601 is further configured to receive, by the first UE, the third UE, according to the user identifier of the second UE, to perform the D2D communication group execution. Communicating the communication resource, and instructing the second UE to perform the D2D communication service corresponding to the service identifier by using the communication resource.
  • the foregoing second user equipment UE may further include:
  • the receiver 1601 is further configured to: when the second UE performs the D2D communication, receive the changed communication resource used by the first UE for performing the D2D communication group to perform communication, and instruct the second UE to use the changed communication resource.
  • the D2D communication service corresponding to the foregoing service identifier is executed.
  • the foregoing second user equipment UE may further include:
  • the first application message further carries the cell identifier of the cell where the second UE is located;
  • the receiver 1601 is configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in the process of performing the D2D communication, where the second D2D communication resource interface UE is changed.
  • the message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; the fourth UE is the foregoing first UE according to each of the foregoing D2D communication groups. a cell identifier of a cell in which the second UE is located, and a UE selected from each of the foregoing second UEs;
  • the transmitter 1602 is further configured to: when the second UE is used as the fourth UE, send the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to notify the second base station
  • the second UE of the fourth UE, as the communication representative manages the foregoing communication resources of the subsequent D2D communication group.
  • the foregoing second user equipment UE may further include:
  • the second UE Before the second UE receives the second D2D communication resource interface UE change message sent by the first UE by using the receiver 1601 in the process of performing the foregoing D2D communication,
  • the receiver 1601 is configured to receive the query request sent by the first UE, and the sender 1602 is configured to return a query response to the first UE, where the query response carries the network signal strength and/or network signal quality of the cell where the second UE is located. .
  • the foregoing second user equipment UE may also To further include:
  • the second UE After the communication resource corresponding to the D2D communication group is managed by the second UE as the communication representative, and the second UE is in the process of performing the D2D communication,
  • the receiver 1602 is further configured to receive a second resource change message sent by the second base station to which the second UE is located, where the second resource change message carries the second change communication resource, where the transmitter 1602 is further used to Each of the UEs in the D2D communication group transmits the second changed communication resource to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the second changed communication resource.
  • the device provided in this embodiment performs the corresponding D2D communication service by receiving the communication resource required for the D2D communication service for each second UE acquired by the first UE from the network as the initiator of the D2D communication service group. Effectively reduce or avoid interference with existing cellular communications.
  • FIG. 17 is a schematic structural diagram of a device (for example, a user equipment UE) according to still another embodiment of the present invention.
  • the foregoing device may be a second UE that initiates a D2D communication group service by using a first UE in a certain D2D communication group, and may be used, for example, to perform the method shown in FIG.
  • the second user equipment UE is taken as an example.
  • the foregoing second user equipment UE specifically includes: a receiver 1701 and a transmitter 1702; wherein: the receiver 1701 is configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a device-to-device D2D communication group Identifying a service identifier corresponding to the D2D communication group;
  • the transmitter 1702 is configured to send, by using the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, a first application message to the first UE, where the first application message carries the user identifier of the second UE and the foregoing a cell identifier of the cell where the UE is located; the first application message is used by the second UE to join the D2D communication group;
  • the receiver 1701 is further configured to receive, by using the second UE, the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and the D2D communication group. a user identifier of each UE, to notify the fifth UE to manage the communication resource of the D2D communication group by using the communication unit as the communication representative; the fifth UE is the first UE
  • the transmitter 1702 is further configured to: when the second UE is the fifth UE, to the cell to which the second UE is located, according to the cell identifier of the cell where the second UE is located.
  • the second base station forwards the first resource request message to request the second base station to allocate a communication resource for the D2D communication group to perform the D2D communication service corresponding to the service identifier.
  • the receiver 1701 is further configured to receive, by using the second UE, the first resource response message sent by the second base station, where the first resource response message carries a communication resource used by the D2D communication group to perform communication.
  • the communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource condition of each cell in the current second base station; or, the communication resource is the group of the second base station according to the D2D communication group.
  • the identifier is determined after being negotiated by the base station adjacent to the second base station;
  • the transmitter 1702 is further configured to: when the second UE is used as the fifth UE, send communication resources for performing communication by using the D2D communication group to each UE in the D2D communication group according to a user identifier of each UE in the D2D communication group, to The UE is notified to use the communication resource to perform the D2D communication service corresponding to the service identifier.
  • the foregoing second user equipment UE may further include:
  • the foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to at least one cell, where the cell list is used to indicate a cell in which the reserved resource used by the D2D communication group performs communication;
  • the foregoing determining, by the second base station, the cell list is determined by the second base station after being negotiated by the base station adjacent to the second base station.
  • the foregoing second user equipment UE may further include:
  • the receiver 1701 is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries a third change communication resource, where the transmitter 1702 is further used to Each of the UEs in the D2D communication group transmits the third changed communication resource to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the third changed communication resource.
  • the device provided in this embodiment may replace the first UE from the network when the initiator of the D2D communication service is initiated, that is, the first UE cannot obtain the communication resources required for the second UE to perform the D2D communication service from the network.
  • the foregoing communication resources are obtained, so that each UE in the D2D communication group performs corresponding D2D communication service through the communication resource, thereby effectively reducing or avoiding interference to existing cellular network communication.
  • FIG. 18 is a schematic structural diagram of a device (for example, a base station) according to still another embodiment of the present invention.
  • the foregoing device may be a base station to which a user equipment UE that is initiating D2D communication belongs, for example, may be used to perform the method as shown in FIG.
  • a base station to which a user equipment UE that is initiating D2D communication belongs, for example, may be used to perform the method as shown in FIG.
  • the foregoing first base station specifically includes: a receiver 1801, a processor 1802, and a transmitter 1803; wherein: the receiver 1801 is configured to receive a first resource request message sent by the first UE, where the first UE is in a cell covered by the first base station
  • the first resource request message carries the group identifier of the D2D communication group
  • the processor 1802 is configured to determine, according to the group identifier of the D2D communication group and the current network resource status of each cell in the first base station, that the D2D communication is used.
  • the first communication resource is configured to perform communication; or the processor 1802 determines the first communication resource after being negotiated by the base station adjacent to the first base station according to the group identifier of the D2D communication group; and the transmitter 1803 is configured to The first UE sends a first resource response message, where the first resource response message carries the first communication resource used for performing communication by the D2D communication group.
  • the foregoing first base station may further include:
  • the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate that the D2D communication group performs the first reservation used by the communication.
  • the foregoing first base station may further include:
  • the receiver 1801 is further configured to receive the second resource request message sent by the first UE, where the second resource request message carries the group identifier of the D2D communication group and a small cell where the third UE is located. a cell identifier, where the cell identifier of the cell where the third UE is located is not included in the first cell list, and the processor 1802 is further configured to use, according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the current
  • the network resource of each cell in the first base station is re-allocated communication resources to the D2D communication group; or the processor 1802 is configured to pass the first identifier according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group. Relocating the communication resource to the D2D communication group after the base stations adjacent to the base station jointly negotiate;
  • the foregoing transmitter 1803 is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group;
  • the cell identifier of the cell where the third UE is located is included.
  • the foregoing first base station may further include:
  • the receiver 1801 is further configured to receive the first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each of the D2D communication groups The user identifier of the UE and the cell identifier of the cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the first UE is used by the fourth UE as a communication representative to the first D2D communication group corresponding to the first Management of communication resources;
  • the transmitter 1803 is further configured to send, according to the cell identifier of the cell where the fourth UE is located, the first D2D communication resource interface UE change message to the base station to which the fourth UE is located, to notify the cell to which the fourth UE is located.
  • the base station is configured by the fourth UE as a communication representative to manage the foregoing communication resources of the foregoing D2D communication group; or
  • the receiver 1801 receives the second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, and the second D2D communication resource interface UE change message carries the group of the D2D communication group.
  • the foregoing first base station may further include:
  • the receiver 1801 is further configured to receive, by the third base station, the D2D communication resource cell change message sent by the first UE, where the D2D communication resource cell change message carries the D2D communication.
  • the group identifier of the group and the user identifier of the first UE are used to enable the first base station to learn that the first UE under the third base station continues to be used as a communication representative to manage the communication resources of the subsequent D2D communication group.
  • the foregoing first base station may further include:
  • the first UE is configured to send the first resource change message to the first UE, where the first UE performs the D2D communication, and the first resource change message carries the changed first communication resource. Transmitting, by the first UE, information of the changed first communication resource to each UE in the D2D communication group, to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first The UE updates the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.
  • the device after receiving the user equipment, that is, the first resource request message sent by the first UE, according to the group identifier of the D2D communication group carried in the message and the network resource status of each cell under the current first base station Determining a first communication resource for communication by the D2D communication group; or determining, according to the group identity of the D2D communication group, the first communication resource after being mutually negotiated by the base station adjacent to the first base station; and determining the first communication
  • the resource is sent to the user equipment, so that each UE in the D2D communication group performs corresponding D2D communication service through the communication resource, thereby effectively reducing or avoiding interference to the existing cellular network communication.
  • FIG. 19 is a schematic structural diagram of a device (for example, a base station) according to still another embodiment of the present invention.
  • the device may be a base station to which a cell in which a second UE is currently in the D2D communication group, and may be used to perform a method as shown in FIG.
  • the second base station is taken as an example for the foregoing device.
  • the foregoing second base station specifically includes: a receiver 1901, a processor 1902, and a transmitter 1903; wherein: the receiver 1901 is configured to receive a first resource request message sent by the second UE and sent by the second UE; The first resource request message carries the group identifier of the D2D communication group; the first resource request message is used by the first UE to perform the communication resource application for the D2D communication group where the first UE is located; 1902 is used for group labeling according to the above D2D communication group And determining, by the current network resource condition of each cell in the second base station, a communication resource used for communication by the D2D communication group; or, the processor 1902 is adjacent to the second base station according to the group identifier of the D2D communication group.
  • the base station determines the communication resource after the negotiation by the base station; the transmitter 1903 is configured to send the first resource response message to the second UE, where the first resource response message carries the communication resource used for performing communication by the D2D communication group.
  • the foregoing second base station may further include:
  • the foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to at least one cell, where the cell list is used to indicate a cell in which the reserved resource used by the D2D communication group performs communication;
  • the processor 1902 determines that the cell list is determined by the processor 1902 and the base station adjacent to the second base station.
  • the device provided in this embodiment may receive the first resource request message sent by the first UE in the cell under the first base station that is forwarded by the second UE in the cell under the second base station; and according to the first resource request message, The D2D communication group in which the UE is located performs a communication resource application; and the determined communication resource is forwarded to the first UE by using the second UE, so that each UE in the D2D communication group performs a corresponding D2D communication service by using the communication resource. Effectively reduce or avoid interference with existing cellular communications.
  • the embodiment of the invention further provides a system comprising the apparatus described in the above Figures 10-14.
  • FIG. 15-19 Another embodiment of the present invention provides a system, including the apparatus described above with reference to Figures 15-19. It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative, for example, the division of the above modules or units is only a logical function division. There may be additional ways of dividing the actual implementation, for example multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the above integrated units if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium.
  • the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

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

Abstract

Provided are a communication resource management method, a user equipment (UE), a base station and a system, the method comprising: a first UE sends a discovery message to at least one second UE in a wireless network, the discovery message carrying a group identifier of a D2D (device to device) (D2D) communication group and a service identifier corresponding to the D2D communication group; the first UE receives a first application message sent by the second UE, the first application message carrying a user identifier of the second UE; according to the first application message sent by the second UE, the first UE obtains a communication resource for the D2D communication group to perform communication; according to the user identifier of the second UE, the first UE sends the communication resource to the second UE in the D2D communication group, in order to notify each UE in the D2D communication group to perform D2D communication service corresponding to the service identifier using the communication resource. The present invention provides a technical solution enabling the D2D communication to proceed smoothly and reducing or avoiding interference toof cellular network communication.

Description

通信资源管理方法、 用户设备、 基站和系统 技术领域  Communication resource management method, user equipment, base station, and system

本发明涉及通信技术, 尤其涉及一种通信资源管理方法、 用户设备、 基 站和系统。 背景技术  The present invention relates to communication technologies, and in particular, to a communication resource management method, a user equipment, a base station, and a system. Background technique

目前, 移动通信网络正向着更高的传输速率, 资源利用率和网络容量发 展, 这对未来的无线频谱资源提出了更高的要求。 设备对设备 (Device to Device, D2D) 通信是指在无线通信中, 在数据面不经过中转设备 (如基站 或接入点等) 的设备间的直接通信, 从而降低对蜂窝小区基站的负载。  At present, mobile communication networks are moving towards higher transmission rates, resource utilization and network capacity, which puts higher demands on future wireless spectrum resources. Device to Device (D2D) communication refers to direct communication between devices on a data plane that does not pass through a relay device (such as a base station or an access point, etc.) in wireless communication, thereby reducing the load on the cell site.

现有技术中, D2D通信使用的资源与蜂窝网通信使用的资源相同, 为了 避免 D2D通信对蜂窝通信造成干扰, 需要蜂窝网节点如基站负责协调和控制 D2D通信可用的资源。 但是, 由于存在多个 D2D通信设备可能位于不同的基 站下面; 或者 D2D设备从一个基站移动到另一个基站; 或者移出蜂窝网的覆 盖区域的情况, 使得基站的负载可能会发生变化, 或者资源的使用情况发生 变化, 这些都可能会导致 D2D通信资源发生改变。  In the prior art, the resources used by the D2D communication are the same as those used by the cellular network communication. In order to avoid the interference of the D2D communication to the cellular communication, the cellular network node, such as the base station, is required to coordinate and control the resources available for the D2D communication. However, since there are multiple D2D communication devices that may be located under different base stations; or D2D devices move from one base station to another; or move out of the coverage area of the cellular network, the load of the base station may change, or resources Changes in usage can cause changes in D2D communication resources.

如何有效处理上述情况, 使得 D2D通信能够顺利进行并减少或避免对蜂 窝网通信的干扰, 是一个亟需解决的问题。 发明内容  How to effectively deal with the above situation, making D2D communication smooth and reducing or avoiding interference to cellular communication is an urgent problem to be solved. Summary of the invention

本发明实施例提供一种通信资源管理方法、 用户设备、 基站和系统, 用 以提供一套能够让 D2D通信顺利进行并且减少或避免对蜂窝网通信的干扰的 技术方案。  Embodiments of the present invention provide a communication resource management method, a user equipment, a base station, and a system, which are used to provide a technical solution capable of smoothly performing D2D communication and reducing or avoiding interference to cellular network communication.

第一方面, 本发明实施例提供了一种通信资源管理方法, 包括: 第一用户设备 UE向无线网络中的至少一个第二 UE发送发现消息,所述发 现消息用于向所述至少一个第二 UE指示所述第一 UE支持设备对设备 D2D通 信业务; 所述发现消息中携带 D2D通信组的组标识和所述 D2D通信组对应的 业务标识; 所述第一 UE接收所述第二 UE发送的第一申请消息,所述第一申请消息中 携带所述第二 UE的用户标识;所述第一申请消息用于所述第二 UE申请加入所 述 D2D通信组; In a first aspect, the embodiment of the present invention provides a communication resource management method, including: the first user equipment UE sends a discovery message to at least one second UE in the wireless network, where the discovery message is used to send the at least one The second UE indicates that the first UE supports the device-to-device D2D communication service; the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; The first UE receives the first application message sent by the second UE, where the first application message carries the user identifier of the second UE, and the first application message is used by the second UE to apply for joining. The D2D communication group;

所述第一 UE根据所述第二 UE发送的所述第一申请消息获取用于所述 D2D通信组执行通信的通信资源;  Obtaining, by the first UE, a communication resource used by the D2D communication group to perform communication according to the first application message sent by the second UE;

所述第一 UE根据所述第二 UE的用户标识,向所述 D2D通信组内的所述第 二 UE发送用于所述 D2D通信组执行通信的通信资源, 以通知所述 D2D通信组 内各 UE利用所述通信资源执行所述业务标识对应的 D2D通信业务。  Transmitting, by the first UE, a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group according to a user identifier of the second UE, to notify the D2D communication group Each UE performs the D2D communication service corresponding to the service identifier by using the communication resource.

结合第一方面, 在第一方面的第一种可能的实施方式中, 所述第一 UE根 据所述第二 UE发送的所述第一申请消息获取用于所述 D2D通信组进行通信 的通信资源, 包括:  With reference to the first aspect, in a first possible implementation manner of the first aspect, the first UE acquires a communication for the D2D communication group to perform communication according to the first application message sent by the second UE Resources, including:

所述第一 UE根据所述第二 UE发送的所述第一申请消息向第一基站发送 第一资源请求消息, 所述第一 UE在所述第一基站覆盖的小区范围内, 所述第 一资源请求消息中携带所述 D2D通信组的组标识;  Transmitting, by the first UE, a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is within a cell coverage area covered by the first base station, Carrying a group identifier of the D2D communication group in a resource request message;

所述第一 UE接收所述第一基站发送的第一资源响应消息, 所述第一资源 响应消息中携带用于所述 D2D通信组执行通信的第一通信资源; 所述第一通 信资源为所述第一基站根据所述 D2D通信组的组标识和当前所述第一基站下 各小区的网络资源情况确定出来; 或者, 所述第一通信资源为所述第一基站 根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协商后 确定出来。  Receiving, by the first UE, a first resource response message sent by the first base station, where the first resource response message carries a first communication resource used for performing communication by the D2D communication group; Determining, by the first base station, a group identity of the D2D communication group and a network resource condition of each cell in the current first base station; or, the first communication resource is the first base station according to the D2D communication The group identity of the group is determined after being negotiated by the base station adjacent to the first base station.

结合第一方面的第一种可能的实施方式, 在第一方面的第二种可能的实 施方式中, 所述第一资源响应消息中还包括第一小区列表; 所述第一小区列 表包含至少一个小区对应的小区标识, 所述第一小区列表用于指示所述 D2D 通信组执行通信所利用的第一预留资源所在的小区; 所述第一小区列表为所 述第一基站确定的, 或者所述第一小区列表为所述第一基站与所述第一基站 相邻的基站共同协商后确定的。  With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the first resource response message further includes a first cell list, where the first cell list includes at least a cell identifier corresponding to a cell, where the first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the first base station, Or the first cell list is determined after the first base station and the base station adjacent to the first base station jointly negotiate.

结合第一方面的第二种可能的实施方式, 在第一方面的第三种可能的实 施方式中, 所述方法还包括:  In conjunction with the second possible implementation of the first aspect, in a third possible implementation of the first aspect, the method further includes:

所述第一 UE接收第三 UE发送的第二申请消息;所述第二申请消息中携带 所述第三 UE的用户标识和所述第三 UE所在小区的小区标识; 若所述第三 UE所在小区的小区标识包含在所述第一小区列表中, 则所述 第一 UE通知所述第三 UE利用所述第一预留资源执行所述业务标识对应的 D2D通信业务,并且所述第一 UE将所述第三 UE作为所述 D2D通信组中的一个 所述第二 UE进行管理。 The first UE receives the second application message sent by the third UE, and the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located; If the cell identifier of the cell where the third UE is located is included in the first cell list, the first UE notifies the third UE to perform D2D communication corresponding to the service identifier by using the first reserved resource. Traffic, and the first UE manages the third UE as one of the second UEs in the D2D communication group.

结合第一方面的第二种可能的实施方式, 在第一方面的第四种可能的实 施方式中, 所述方法还包括:  In conjunction with the second possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:

所述第一 UE接收第三 UE发送的第二申请消息;所述第二申请消息中携带 所述第三 UE的用户标识和所述第三 UE所在小区的小区标识;  The first UE receives the second application message sent by the third UE, and the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located;

若所述第三 UE所在小区的小区标识不包含在所述第一小区列表中, 则所 述第一 UE向所述第一基站发送第二资源请求消息; 所述第二资源请求消息中 携带所述 D2D通信组的组标识和所述第三 UE所在小区的小区标识, 以请求所 述第一基站根据所述第三 UE所在小区的小区标识为所述 D2D通信组重新分 配通信资源,并且所述第一 UE将所述第三 UE作为所述 D2D通信组中的一个所 述第二 UE进行管理;  If the cell identifier of the cell where the third UE is located is not included in the first cell list, the first UE sends a second resource request message to the first base station; a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, to request the first base station to re-allocate communication resources for the D2D communication group according to a cell identifier of a cell where the third UE is located, and The first UE manages the third UE as one of the second UEs in the D2D communication group;

所述第一 UE接收所述第一基站发送的第二资源响应消息, 所述第二资源 响应消息中携带用于所述 D2D通信组执行通信的第二通信资源和第二小区列 表; 所述第二小区列表中包含所述第三 UE所在小区的小区标识;  Receiving, by the first UE, a second resource response message sent by the first base station, where the second resource response message carries a second communication resource and a second cell list for performing communication by the D2D communication group; The second cell list includes a cell identifier of a cell where the third UE is located;

所述第一 UE向所述 D2D通信组内的所述第二 UE发送用于所述 D2D通信 组执行通信的第二通信资源, 以通知所述 D2D通信组内各 UE利用所述第二通 信资源执行所述业务标识对应的 D2D通信业务。  Transmitting, by the first UE, a second communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group, to notify each UE in the D2D communication group to utilize the second communication The resource performs the D2D communication service corresponding to the service identifier.

结合第一方面的第一种至第四种中任一种可能的实施方式, 在第一方面 的第五种可能的实施方式中, 所述第一申请消息中还携带所述第二 UE所在小 区的小区标识; 所述方法还包括:  With reference to any one of the first to fourth possible implementations of the first aspect, in a fifth possible implementation manner of the first aspect, the first application message further carries the second UE a cell identifier of the cell; the method further includes:

所述第一 UE在执行所述 D2D通信的过程中测量所述第一 UE所在小区的 网络信号强度和 /或网络信号质量;  The first UE measures network signal strength and/or network signal quality of a cell where the first UE is located in the process of performing the D2D communication;

若所述第一 UE所在小区的网络信号强度满足第一条件,和 /或网络信号质 量满足第二条件,则所述第一 UE根据各所述第二 UE所在小区的小区标识从各 所述第二 UE中选取一个 UE作为第四 UE;  If the network signal strength of the cell where the first UE is located meets the first condition, and/or the network signal quality meets the second condition, the first UE is determined according to the cell identifier of the cell where the second UE is located. Selecting one UE as the fourth UE in the second UE;

若所述第一 UE所在小区的网络信号强度低于第一信号强度阈值,和 /或网 络信号质量低于第一信号质量阈值,则所述第一 UE根据各所述第二 UE所在小 区的小区标识从各所述第二 UE中选取一个 UE作为第四 UE; If the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the first UE is small according to each of the second UEs. The cell identifier of the area is selected from each of the second UEs as a fourth UE;

所述第一 UE向所述第一基站发送第一 D2D通信资源接口 UE变更消息,所 述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标识和所述第四 UE所在小区的小区标识;以通知所 述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对应的所述 第一通信资源进行管理; 和 /或,  The first UE sends a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication group a user identifier of each UE and a cell identifier of a cell in which the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group ; and / or,

所述第一 UE向所述第四 UE发送第二 D2D通信资源接口 UE变更消息, 所 述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标识和所述第一 UE所在小区的小区标识;以通知所 述第四 UE由其作为通信代表对后续所述 D2D通信组对应的所述第一通信资 源进行管理。  Transmitting, by the first UE, a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication group The user identifier of each UE and the cell identifier of the cell where the first UE is located; to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using the communication unit as the communication representative.

结合第一方面的第五种可能的实施方式, 在第一方面的第六种可能的实 施方式中,所述第一 UE根据各所述第二 UE所在小区的小区标识从各所述第二 UE中选取一个 UE作为第四 UE包括:  With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the first UE, according to a cell identifier of a cell in which the second UE is located, from each of the second Selecting one UE as the fourth UE in the UE includes:

所述第一 UE根据各所述第二 UE所在小区的小区标识向所述 D2D通信组 中所述第二 UE发送查询请求;  Sending, by the first UE, a query request to the second UE in the D2D communication group according to a cell identifier of a cell where the second UE is located;

所述第一 UE接收所述第二 UE发送的查询响应,所述查询响应中携带所述 第二 UE所在小区的网络信号强度和 /或网络信号质量;  Receiving, by the first UE, a query response sent by the second UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located;

所述第一 UE从各所述第二 UE中选择一个所在小区的网络信号强度或网 络信号质量最强的所述第二 UE作为所述第四 UE, 或者, 所述第一 UE从各所 述第二 UE中选择一个所在小区的网络信号强度和网络信号质量的综合值最 强的所述第二 UE作为所述第四 UE。  The first UE selects, as the fourth UE, the second UE that has the strongest network signal strength or the network signal quality of the cell in the second UE, or the first UE from each of the second UEs. The second UE that selects one of the second UEs has the strongest integrated network signal strength and network signal quality as the fourth UE.

结合第一方面, 在第一方面的第七种可能的实施方式中, 所述第一申请 消息中还携带所述第二 UE所在小区的小区标识;  With reference to the first aspect, in a seventh possible implementation manner of the first aspect, the first application message further carries a cell identifier of a cell where the second UE is located;

所述第一 UE根据所述第二 UE发送的所述第一申请消息获取用于所述 Obtaining, by the first UE, according to the first application message sent by the second UE,

D2D通信组进行通信的通信资源, 包括: Communication resources for communication by the D2D communication group, including:

所述第一 UE根据所述第二 UE所在小区的小区标识测量所述第二 UE所在 小区的网络信号强度和 /或网络信号质量, 并根据测量结果从各所述第二 UE 中选取一个 UE作为第五 UE, 并向所述第五 UE发送所述第一资源请求消息, 以通知所述第五 UE由其作为通信代表对所述 D2D通信组的所述通信资源进 行管理;并指示所述第五 UE向所述第五 UE所在小区所属的基站转发所述第一 资源请求消息, 进而请求所述第五 UE所在小区所属的基站分配用于所述 D2D 通信组执行所述业务标识对应的 D2D通信业务的通信资源; The first UE measures the network signal strength and/or the network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and selects one UE from each of the second UEs according to the measurement result. And as the fifth UE, sending the first resource request message to the fifth UE, to notify the fifth UE to enter the communication resource of the D2D communication group by using the fifth UE as a communication representative And the fifth UE is instructed to forward the first resource request message to the base station to which the cell where the fifth UE belongs, and then request the base station to which the cell where the fifth UE belongs to allocate the D2D communication group. Performing communication resources of the D2D communication service corresponding to the service identifier;

所述第一 UE接收所述第五 UE发送的用于所述 D2D通信组执行通信的通 信资源。  The first UE receives a communication resource sent by the fifth UE for performing communication by the D2D communication group.

结合第一方面的第一种至第四种中任一种可能的实施方式, 在第一方面 的第八种可能的实施方式中, 还包括:  With reference to any one of the first to fourth possible embodiments of the first aspect, in an eighth possible implementation manner of the first aspect, the method further includes:

所述第一 UE在执行所述 D2D通信的过程中测量所述第一 UE所在小区以 及所述第一 UE所在小区的相邻小区的网络信号强度和 /或网络信号质量,并根 据测量结果重选或切换至新的小区;  The first UE, in the process of performing the D2D communication, measures network signal strength and/or network signal quality of the cell where the first UE is located and the neighboring cell of the cell where the first UE is located, and according to the measurement result Select or switch to a new cell;

所述第一 UE将所述第一 UE所在的所述新小区所属的基站确定为新的所 述第一基站, 并向所述第一基站发送 D2D通信资源小区变更消息; 所述 D2D 通信资源小区变更消息中携带所述 D2D通信组的组标识和所述第一 UE的用 户标识, 以通知所述第一基站由所述新小区下的所述第一 UE继续作为通信代 表对后续所述 D2D通信组的所述通信资源进行管理; 或者,  Determining, by the first UE, a base station to which the new cell in which the first UE belongs is the new first base station, and transmitting a D2D communication resource cell change message to the first base station; the D2D communication resource The cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station that the first UE under the new cell continues to be the communication representative for the subsequent The communication resources of the D2D communication group are managed; or

所述第一 UE在所述重选或切换的程中通过原小区所属的基站向所述新 小区所属的所述第一基站发送所述 D2D通信资源小区变更消息, 以通知所述 第一基站由所述新小区下的所述第一 UE继续作为通信代表对后续所述 D2D 通信组的所述通信资源进行管理。  Sending, by the base station to which the original cell belongs, the D2D communication resource cell change message to the first base station to which the new cell belongs, in the process of the reselection or handover, to notify the first base station The first UE under the new cell continues to manage the communication resources of the subsequent D2D communication group as a communication representative.

结合第一方面的第一种至第四种中任一种可能的实施方式, 在第一方面 的第九种可能的实施方式中, 还包括:  With reference to any one of the first to fourth possible embodiments of the first aspect, in a ninth possible implementation manner of the first aspect, the method further includes:

所述第一 UE在进行所述 D2D通信的过程中, 接收所述第一基站发送的第 一资源变更消息; 所述第一资源变更消息中携带第一变更通信资源;  Receiving, by the first UE, the first resource change message sent by the first base station in the process of performing the D2D communication; the first resource change message carrying the first change communication resource;

所述第一 UE将所述第一资源变更消息中携带的所述第一变更通信资源 发送给所述 D2D通信组内的所述第二 UE, 以使所述 D2D通信组内各所述第二 UE利用所述第一变更通信资源执行所述业务标识对应的 D2D通信业务; 并且 所述第一 UE将所述第一变更通信资源所在小区的小区标识更新至所述 D2D 通信组对应的所述第一小区列表中。  Transmitting, by the first UE, the first change communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the D2D communication groups The second UE uses the first change communication resource to perform the D2D communication service corresponding to the service identifier; and the first UE updates the cell identifier of the cell where the first change communication resource is located to the corresponding location of the D2D communication group. In the first cell list.

结合第一方面的第五种可能的实施方式, 在第一方面的第十种可能的实 施方式中, 所述由所述第四 UE作为通信代表对所述 D2D通信组对应的所述第 一通信资源进行管理之后, 且所述第一 UE在进行所述 D2D通信的过程中, 还 包括: With reference to the fifth possible implementation manner of the first aspect, in a tenth possible implementation manner of the first aspect, the foregoing, by the fourth UE as a communication representative, corresponding to the D2D communication group After the communication resource is managed, and the first UE performs the D2D communication, the method further includes:

所述第一 UE接收所述第四 UE发送的第二资源变更消息;所述第二资源变 更消息中携带第二变更通信资源;  Receiving, by the first UE, a second resource change message sent by the fourth UE, where the second resource change message carries a second change communication resource;

所述第一 UE利用所述第二变更通信资源执行所述业务标识对应的 D2D 通信业务。  The first UE performs the D2D communication service corresponding to the service identifier by using the second change communication resource.

结合第一方面的第七种可能的实施方式, 在第一方面的第 ^一种可能的 实施方式中, 所述由所述第五 UE作为通信代表对所述 D2D通信组的所述通信 资源进行管理之后, 且所述第一 UE在进行所述 D2D通信的过程中, 还包括: 所述第一 UE接收所述第五 UE发送的第三资源变更消息;所述第三资源变 更消息中携带第三变更通信资源;  With reference to the seventh possible implementation of the first aspect, in a first possible implementation manner of the first aspect, the communication resource of the D2D communication group by the fifth UE as a communication representative After the management, the first UE, in the process of performing the D2D communication, further includes: the first UE receiving a third resource change message sent by the fifth UE; and the third resource change message Carrying a third change communication resource;

所述第一 UE利用所述第三变更通信资源执行所述业务标识对应的 D2D 通信业务。  The first UE performs the D2D communication service corresponding to the service identifier by using the third change communication resource.

第二方面, 本发明实施例提供了另一种通信资源管理方法, 包括: 第二用户设备 UE从无线网络中接收第一 UE发送的发现消息;所述发现 消息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务 标识;  In a second aspect, the embodiment of the present invention provides another communication resource management method, including: the second user equipment UE receives a discovery message sent by the first UE from the wireless network; and the discovery message carries the device-to-device D2D communication group. The group identifier and the service identifier corresponding to the D2D communication group;

所述第二 UE根据所述 D2D通信组的组标识和所述 D2D通信组对应的 业务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带所述 第二 UE的用户标识;所述第一申请消息用于所述第二 UE申请加入所述 D2D 通信组;  The second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier; the first application message is used by the second UE to join the D2D communication group;

所述第二 UE接收所述第一 UE根据所述第二 UE的用户标识发送的用于所 述 D2D通信组执行通信的通信资源, 并利用所述通信资源执行所述业务标识 对应的 D2D通信业务。  The second UE receives a communication resource that is sent by the first UE according to the user identifier of the second UE for performing communication by the D2D communication group, and performs D2D communication corresponding to the service identifier by using the communication resource. business.

结合第二方面, 在第二方面的第一种可能的实施方式中, 还包括: 所述第二 UE在执行所述 D2D通信的过程中接收所述第一 UE发送的用 于所述 D2D通信组执行通信的变更通信资源,并利用所述变更通信资源执行 所述业务标识对应的 D2D通信业务。  With reference to the second aspect, in a first possible implementation manner of the second aspect, the method further includes: the second UE receiving, by the first UE, the D2D communication sent by the first UE in a process of performing the D2D communication The group performs the communication change communication resource, and executes the D2D communication service corresponding to the service identifier by using the changed communication resource.

结合第二方面或第二方面的第一种可能的实施方式, 在第二方面的第二 种可能的实施方式中, 所述第一申请消息中还携带所述第二 UE所在小区的小 区标识; 所述方法还包括: With the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the first application message further carries a small cell of the second UE Area identification; the method further includes:

所述第二 UE在执行所述 D2D通信的过程中作为第四 UE接收所述第一 UE 发送的第二 D2D通信资源接口 UE变更消息, 所述第二 D2D通信资源接口 UE 变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标 识和所述第一 UE所在小区的小区标识; ·' 所述第四 UE为所述第一 UE根据所 述 D2D通信组内各所述第二 UE所在小区的小区标识从各所述第二 UE中选取 的一个 UE;  The second UE receives, as a fourth UE, a second D2D communication resource interface UE change message sent by the first UE in the process of performing the D2D communication, where the second D2D communication resource interface UE change message carries a group identifier of the D2D communication group, a user identifier of each UE in the D2D communication group, and a cell identifier of a cell where the first UE is located; • the fourth UE is the first UE according to the D2D communication group a cell identifier of a cell in which the second UE is located, and one UE selected from each of the second UEs;

作为所述第四 UE的所述第二 UE向所述第二 UE所在小区所属的第二基站 发送所述第二 D2D通信资源接口 UE变更消息, 以指示所述第二基站由作为所 述第四 UE的所述第二 UE作为通信代表对后续所述 D2D通信组的所述通信资 源进行管理。  Transmitting, by the second UE that is the fourth UE, the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to indicate that the second base station is used as the first The second UE of the four UEs manages the communication resources of the subsequent D2D communication group as a communication representative.

结合第二方面的第二种可能的实施方式, 在第二方面的第三种可能的实 施方式中,所述第二 UE在执行所述 D2D通信的过程中作为第四 UE接收所述第 一 UE发送的第二 D2D通信资源接口 UE变更消息之前, 还包括:  With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the second UE receives the first UE as a fourth UE in the process of performing the D2D communication Before the second D2D communication resource interface UE changes the message sent by the UE, the method further includes:

作为所述第四 UE的所述第二 UE接收所述第一 UE发送的查询请求; 作为所述第四 UE的所述第二 UE向所述第一 UE发送查询响应, 所述查询 响应中携带所述第二 UE所在小区的网络信号强度和 /或网络信号质量。  The second UE that is the fourth UE receives the query request sent by the first UE, and the second UE that is the fourth UE sends a query response to the first UE, where the query response is Carrying network signal strength and/or network signal quality of the cell where the second UE is located.

结合第二方面的第二种或第三种可能的实施方式, 在第二方面的第四种 可能的实施方式中, 所述由所述第二 UE作为通信代表对所述 D2D通信组对应 的的通信资源进行管理之后, 且所述第二 UE在进行所述 D2D通信的过程中, 还包括:  With reference to the second or third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the second UE, as the communication representative, corresponds to the D2D communication group After the communication resource is managed, and the second UE is in the process of performing the D2D communication, the method further includes:

所述第二 UE接收所述第二 UE所在小区所属的第二基站发送的第二资源 变更消息; 所述第二资源变更消息中携带第二变更通信资源;  The second UE receives the second resource change message sent by the second base station to which the second UE is located; the second resource change message carries the second change communication resource;

所述第二 UE向所述 D2D通信组内各 UE发送所述第二变更通信资源,以通 知各所述 UE利用所述第二变更通信资源执行所述业务标识对应的 D2D通信 业务。  And transmitting, by the second UE, the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the second change communication resource.

第三方面, 本发明实施例提供了又一种通信资源管理方法, 包括: 第二用户设备 UE从无线网络中接收第一 UE发送的发现消息;所述发现 消息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务 标识; 所述第二 UE根据所述 D2D通信组的组标识和所述 D2D通信组对应的业 务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带所述第二 UE的用户标识和所述第二 UE所在小区的小区标识;所述第一申请消息用于所 述第二 UE申请加入所述 D2D通信组; In a third aspect, the embodiment of the present invention provides a communication resource management method, including: the second user equipment UE receives a discovery message sent by the first UE from the wireless network; and the discovery message carries the device-to-device D2D communication group. The group identifier and the service identifier corresponding to the D2D communication group; The second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier and a cell identifier of a cell where the second UE is located; the first application message is used by the second UE to join the D2D communication group;

所述第二 UE作为第五 UE接收所述第一 UE发送的第一资源请求消息, 所 述第一资源请求消息中携带所述 D2D通信组的组标识和所述 D2D通信组中各 UE的用户标识,以通知所述第五 UE由其作为通信代表对所述 D2D通信组的所 述通信资源进行管理; 所述第五 UE为所述第一 UE根据各所述第二 UE所在小 区的小区标识从各所述第二 UE中选取的一个 UE;  Receiving, by the second UE, the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and each UE in the D2D communication group. a user identifier, to notify the fifth UE to manage the communication resource of the D2D communication group by the communication UE; the fifth UE is the first UE according to the cell where each second UE is located a cell identifier selected from each of the second UEs;

作为所述第五 UE的所述第二 UE向其所在小区所属的第二基站转发所述 第一资源请求消息, 以请求所述第二基站分配用于所述 D2D通信组执行所述 业务标识对应的 D2D通信业务的通信资源;  The second UE that is the fifth UE forwards the first resource request message to the second base station to which the cell to which the cell belongs, to request the second base station to allocate the service identifier for the D2D communication group to be executed. Corresponding communication resources of the D2D communication service;

作为所述第五 UE的所述第二 UE接收所述第二基站发送的第一资源响应 消息,所述第一资源响应消息中携带用于所述 D2D通信组执行通信的通信资 源;所述通信资源为所述第二基站根据所述 D2D通信组的组标识和当前所述 第二基站下各小区的网络资源情况确定出来; 或者, 所述通信资源为所述第 二基站根据所述 D2D通信组的组标识在通过与所述第二基站相邻的基站共同 协商后确定出来;  Receiving, by the second UE of the fifth UE, a first resource response message sent by the second base station, where the first resource response message carries a communication resource used by the D2D communication group to perform communication; The communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource condition of each cell under the current second base station; or, the communication resource is the second base station according to the D2D The group identifier of the communication group is determined after being negotiated by the base station adjacent to the second base station;

作为所述第五 UE的所述第二 UE根据所述 D2D通信组内各 UE的用户标识 向所述 D2D通信组内各 UE发送用于所述 D2D通信组执行通信的通信资源, 以 通知各所述 UE利用该通信资源执行所述业务标识对应的 D2D通信业务。  Transmitting, by the second UE, the second UE, a communication resource for performing communication by the D2D communication group to each UE in the D2D communication group according to a user identifier of each UE in the D2D communication group, to notify each The UE performs the D2D communication service corresponding to the service identifier by using the communication resource.

结合第三方面, 在第三方面的第一种可能的实施方式中, 所述第一资源 响应消息中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标 识, 所述小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在 的小区; 所述小区列表为所述第二基站确定的, 或者所述小区列表为所述第 二基站在通过与所述第二基站相邻的基站共同协商后确定的。  With reference to the third aspect, in a first possible implementation manner of the third aspect, the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell list is used by a cell indicating that the reserved resource utilized by the D2D communication group performs communication; the cell list is determined by the second base station, or the cell list is the second base station passing and the second The base stations adjacent to the base station are jointly negotiated and determined.

结合第三方面或第三方面的第一种可能的实施方式, 在第三方面的第二 种可能的实施方式中, 所述由所述第五 UE作为通信代表对所述 D2D通信组对 应的的通信资源进行管理之后, 且所述第五 UE在进行所述 D2D通信的过程 中, 还包括: 所述第五 UE接收所述第五 UE所在小区所属的第二基站发送的第三资源 变更消息; 所述第三资源变更消息中携带第三变更通信资源; With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the fifth UE is used as a communication representative to correspond to the D2D communication group. After the communication resource is managed, and the fifth UE performs the D2D communication, the method further includes: The third UE receives a third resource change message sent by the second base station to which the cell where the fifth UE belongs, and the third resource change message carries the third change communication resource;

所述第五 UE向所述 D2D通信组内各 UE发送所述第三变更通信资源,以通 知各所述 UE利用所述第三变更通信资源执行所述业务标识对应的 D2D通信 第四方面, 本发明实施例提供了又一种通信资源管理方法, 包括: 第一基站接收第一 UE发送的第一资源请求消息,所述第一 UE在所述第 一基站覆盖的小区范围内,所述第一资源请求消息中携带 D2D通信组的组标 识;  Transmitting, by the fifth UE, the third change communication resource to each UE in the D2D communication group, to notify each UE to perform the fourth aspect of D2D communication corresponding to the service identifier by using the third change communication resource, An embodiment of the present invention provides a communication resource management method, including: receiving, by a first base station, a first resource request message sent by a first UE, where the first UE is within a cell coverage area of the first base station, The first resource request message carries the group identifier of the D2D communication group;

所述第一基站根据所述 D2D通信组的组标识和当前所述第一基站下各小 区的网络资源情况确定用于所述 D2D通信组执行通信的第一通信资源;或者, 所述第一基站根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基 站共同协商后确定所述第一通信资源;  Determining, by the first base station, a first communication resource used for performing communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the first base station; or, the first Determining, by the base station, the first communication resource after being negotiated by the base station adjacent to the first base station according to the group identifier of the D2D communication group;

所述第一基站向所述第一 UE发送第一资源响应消息, 所述第一资源响应 消息中携带用于所述 D2D通信组执行通信的所述第一通信资源。  The first base station sends a first resource response message to the first UE, where the first resource response message carries the first communication resource used by the D2D communication group to perform communication.

结合第四方面, 在第四方面的第一种可能的实施方式中, 所述第一资源 响应消息中还包括第一小区列表; 所述第一小区列表包含至少一个小区对应 的小区标识, 所述第一小区列表用于指示所述 D2D通信组执行通信所利用的 第一预留资源所在的小区; 所述第一小区列表为所述第一基站确定的, 或者 所述第一小区列表为所述第一基站与所述第一基站相邻的基站共同协商后确 定的。  With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where The first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the first base station, or the first cell list is And determining, by the first base station, the base station adjacent to the first base station to negotiate together.

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

所述第一基站接收所述第一 UE发送的第二资源请求消息; 所述第二资 源请求消息中携带所述 D2D通信组的组标识和第三 UE所在小区的小区标 识, 所述第三 UE所在小区的小区标识不包含在所述第一小区列表中;  Receiving, by the first base station, a second resource request message sent by the first UE, where the second resource request message carries a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, where the third The cell identifier of the cell where the UE is located is not included in the first cell list;

所述第一基站根据所述第三 UE所在小区的小区标识、 所述 D2D通信组 的组标识和当前所述第一基站下各小区的网络资源情况为所述 D2D通信组重 新分配通信资源; 或者, 所述第一基站根据所述第三 UE所在小区的小区标 识和所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协商后 为所述 D2D通信组重新分配所述通信资源; The first base station re-allocates communication resources for the D2D communication group according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the network resource condition of each cell under the current first base station; Or the first base station, after being negotiated by the base station adjacent to the first base station, according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group Redistributing the communication resource for the D2D communication group;

所述第一基站向所述第一 UE发送第二资源响应消息, 所述第二资源响应 消息中携带为所述 D2D通信组重新分配的所述通信资源和第二小区列表; 所 述第二小区列表中包含所述第三 UE所在小区的小区标识。  The first base station sends a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list re-allocated for the D2D communication group; The cell list includes a cell identifier of a cell where the third UE is located.

结合第四方面或第四方面的第一种或第二种可能的实施方式, 在第四方 面的第三种可能的实施方式中, 所述第一基站向所述第一 UE发送所述第一 资源响应消息或所述第二资源响应消息后, 还包括:  With reference to the fourth aspect or the first or second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, the first base station sends the foregoing to the first UE After the resource response message or the second resource response message, the method further includes:

所述第一基站接收所述第一 UE发送的第一 D2D通信资源接口 UE变更 消息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的 组标识、 所述 D2D通信组内各 UE的用户标识和第四 UE所在小区的小区标 识; 所述第一 D2D通信资源接口 UE变更消息用于通知所述第一基站由所述 第四 UE作为通信代表对后续所述 D2D通信组对应的所述第一通信资源进行 管理;  Receiving, by the first base station, a first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication group a user identifier of each UE in the UE and a cell identifier of a cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the fourth UE is used as a communication representative to perform subsequent D2D communication The first communication resource corresponding to the group is managed;

所述第一基站根据所述第四 UE所在小区的小区标识; 向所述第四 UE 所在小区所属的基站发送所述第一 D2D通信资源接口 UE变更消息, 以通知 所述第四 UE所在小区所属的基站由所述第四 UE作为通信代表对后续所述 And transmitting, by the first base station, the first D2D communication resource interface UE change message to the base station to which the fourth UE is located, according to the cell identifier of the cell where the fourth UE is located, to notify the cell where the fourth UE is located The associated base station is used by the fourth UE as a communication representative for the subsequent

D2D通信组的所述通信资源进行管理; 或者, The communication resources of the D2D communication group are managed; or

所述第一基站接收所述第四 UE所在小区所属的基站转发的所述第四 UE 发送的第二 D2D通信资源接口 UE变更消息; 所述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述第四 UE的用户标识和 所述第四 UE所在小区的小区标识,以获知由所述第四 UE作为通信代表对后 续所述 D2D通信组的所述通信资源进行管理。  Receiving, by the first base station, a second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, where the second D2D communication resource interface UE change message carries the a group identifier of the D2D communication group, a user identifier of the fourth UE, and a cell identifier of a cell where the fourth UE is located, to learn that the fourth UE is used as a communication representative to the communication resource of the subsequent D2D communication group Manage.

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

所述第一基站接收第三基站转发的所述第一 UE发送的 D2D通信资源小 区变更消息, 所述 D2D通信资源小区变更消息中携带所述 D2D通信组的组 标识和所述第一 UE 的用户标识; 以使所述第一基站获知由所述第三基站下 的所述第一 UE继续作为通信代表对后续所述 D2D通信组的所述通信资源进 行管理。  The first base station receives a D2D communication resource cell change message that is sent by the first UE, and the D2D communication resource cell change message carries the group identifier of the D2D communication group and the first UE. The user identifier is configured to enable the first base station to learn that the first UE under the third base station continues to be the communication representative to manage the communication resource of the subsequent D2D communication group.

结合第四方面或第四方面的第一种或第二种可能的实施方式, 在第四方 面的第五种可能的实施方式中, 还包括: In combination with the fourth aspect or the first or second possible implementation of the fourth aspect, in the fourth party In a fifth possible implementation manner, the method further includes:

所述第一 UE在进行所述 D2D通信的过程中,所述第一基站向所述第一 UE 发送第一资源变更消息;所述第一资源变更消息中携带变更的第一通信资源; 以使所述第一 UE将所述变更的第一通信资源的信息发送给所述 D2D通信组 中各 UE,以通知各所述 UE利用所述变更后的第一通信资源执行所述 D2D通信 的业务; 并指示所述第一 UE将所述第一变更通信资源所在小区的小区标识更 新至所述 D2D通信组对应的所述第一小区列表中。  The first UE sends a first resource change message to the first UE in the process of performing the D2D communication; the first resource change message carries the changed first communication resource; And causing, by the first UE, information about the changed first communication resource to be sent to each UE in the D2D communication group, to notify each UE to perform the D2D communication by using the changed first communication resource. And indicating to the first UE, the cell identifier of the cell where the first change communication resource is located is updated to the first cell list corresponding to the D2D communication group.

第五方面, 本发明实施例提供了又一种通信资源管理方法, 包括: 第二基站接收第二 UE转发的来自第一 UE发送的第一资源请求消息;所述 第二 UE在所述第二基站覆盖的小区范围内; 所述第一资源请求消息中携带 D2D通信组的组标识; 所述第一资源请求消息用于所述第一 UE为其所在的所 述 D2D通信组进行通信资源申请;  In a fifth aspect, the embodiment of the present invention provides a communication resource management method, including: receiving, by a second base station, a first resource request message sent by a first UE, where the second UE is sent; The first resource request message carries the group identifier of the D2D communication group; the first resource request message is used by the first UE to perform communication resources for the D2D communication group in which the first UE is located. Application;

所述第二基站根据所述 D2D通信组的组标识和当前所述第二基站下各小 区的网络资源情况确定用于所述 D2D通信组进行通信的通信资源; 或者, 所 述第二基站根据所述 D2D通信组的组标识在通过与所述第二基站相邻的基站 共同协商后确定所述通信资源;  Determining, by the second base station, a communication resource used for communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the current second base station; or, the second base station is configured according to The group identifier of the D2D communication group determines the communication resource after being mutually negotiated by a base station adjacent to the second base station;

所述第二基站向所述第二 UE发送第一资源响应消息, 所述第一资源响应 消息中携带用于所述 D2D通信组执行通信的所述通信资源。  The second base station sends a first resource response message to the second UE, where the first resource response message carries the communication resource used for performing communication by the D2D communication group.

结合第五方面, 在第五方面的第一种可能的实施方式中, 所述第一资源 响应消息中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标 识, 所述小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在 的小区; 所述小区列表为所述第二基站确定的, 或者所述小区列表为所述第 二基站与所述第二基站相邻的基站共同协商后确定的。  With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell list is used by a cell indicating that the reserved resource utilized by the D2D communication group performs communication; the cell list is determined by the second base station, or the cell list is the second base station and the second base station The neighboring base stations are determined after mutual negotiation.

第六方面, 本发明实施例提供了一种用户设备, 包括:  In a sixth aspect, an embodiment of the present invention provides a user equipment, including:

发送模块, 用于向无线网络中的至少一个第二 UE发送发现消息, 所述发 现消息用于向所述至少一个第二 UE指示所述第一 UE支持设备对设备 D2D通 信业务; 所述发现消息中携带 D2D通信组的组标识和所述 D2D通信组对应的 业务标识;  a sending module, configured to send a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports device-to-device D2D communication service; The message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group;

接收模块, 用于接收所述第二 UE发送的第一申请消息, 所述第一申请消 息中携带所述第二 UE的用户标识;所述第一申请消息用于所述第二 UE申请加 入所述 D2D通信组; a receiving module, configured to receive a first application message sent by the second UE, where the first application message carries a user identifier of the second UE, and the first application message is used by the second UE to apply Entering the D2D communication group;

处理模块, 用于根据所述第二 UE发送的所述第一申请消息获取用于所述 D2D通信组执行通信的通信资源;  a processing module, configured to acquire, according to the first application message sent by the second UE, a communication resource used by the D2D communication group to perform communication;

所述发送模块, 还用于根据所述第二 UE的用户标识, 向所述 D2D通信组 内的所述第二 UE发送用于所述 D2D通信组执行通信的通信资源, 以通知所述 D2D通信组内各 UE利用所述通信资源执行所述业务标识对应的 D2D通信业 结合第六方面, 在第六方面的第一种可能的实施方式中, 所述处理模块 具体用于:  The sending module is further configured to send, according to the user identifier of the second UE, a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group, to notify the D2D The UE in the communication group performs the D2D communication industry corresponding to the service identifier by using the communication resource, and combines the sixth aspect. In a first possible implementation manner of the sixth aspect, the processing module is specifically configured to:

指示所述发送模块根据所述第二 UE发送的所述第一申请消息向第一基 站发送第一资源请求消息, 所述第一 UE在所述第一基站覆盖的小区范围内, 所述第一资源请求消息中携带所述 D2D通信组的组标识;  Instructing the sending module to send a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is within a cell coverage area covered by the first base station, Carrying a group identifier of the D2D communication group in a resource request message;

指示所述接收模块接收所述第一基站发送的第一资源响应消息, 所述第 一资源响应消息中携带用于所述 D2D通信组执行通信的第一通信资源;所述 第一通信资源为所述第一基站根据所述 D2D通信组的组标识和当前所述第一 基站下各小区的网络资源情况确定出来; 或者, 所述第一通信资源为所述第 一基站根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同 协商后确定出来。  Instructing the receiving module to receive the first resource response message sent by the first base station, where the first resource response message carries a first communication resource for performing communication by the D2D communication group; the first communication resource is Determining, by the first base station, a group identity of the D2D communication group and a network resource condition of each cell in the current first base station; or, the first communication resource is the first base station according to the D2D communication The group identity of the group is determined after being negotiated by the base station adjacent to the first base station.

结合第六方面的第一种可能的实施方式, 在第六方面的第二种可能的实 施方式中, 所述第一资源响应消息中还包括第一小区列表; 所述第一小区列 表包含至少一个小区对应的小区标识, 所述第一小区列表用于指示所述 D2D 通信组执行通信所利用的第一预留资源所在的小区; 所述第一小区列表为所 述第一基站确定的, 或者所述第一小区列表为所述第一基站与所述第一基站 相邻的基站共同协商后确定的。  With reference to the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the first resource response message further includes a first cell list, where the first cell list includes at least a cell identifier corresponding to a cell, where the first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the first base station, Or the first cell list is determined after the first base station and the base station adjacent to the first base station jointly negotiate.

结合第六方面的第二种可能的实施方式, 在第六方面的第三种可能的实 施方式中,  In conjunction with the second possible implementation of the sixth aspect, in a third possible implementation of the sixth aspect,

所述接收模块, 还用于接收第三 UE发送的第二申请消息; 所述第二申 请消息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标识; 所述处理模块, 还用于若所述第三 UE所在小区的小区标识包含在所述第 一小区列表中, 则通知所述第三 UE利用所述第一预留资源执行所述业务标识 对应的 D2D通信业务,并且指示所述第一 UE将所述第三 UE作为所述 D2D通信 组中的一个所述第二 UE进行管理。 The receiving module is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; The module is further configured to: if the cell identifier of the cell where the third UE is located is included in the first cell list, notify the third UE to perform the service identifier by using the first reserved resource Corresponding D2D communication service, and instructing the first UE to manage the third UE as one of the second UEs in the D2D communication group.

结合第六方面的第二种可能的实施方式, 在第六方面的第四种可能的实 施方式中,  In conjunction with the second possible implementation of the sixth aspect, in a fourth possible implementation of the sixth aspect,

所述接收模块, 还用于接收第三 UE发送的第二申请消息; 所述第二申请 消息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标识; 所述处理模块, 还用于若所述第三 UE所在小区的小区标识不包含在所 述第一小区列表中, 则指示所述发送模块向所述第一基站发送第二资源请求 消息; 所述第二资源请求消息中携带所述 D2D 通信组的组标识和所述第三 UE所在小区的小区标识, 以请求所述第一基站根据所述第三 UE所在小区的 小区标识为所述 D2D通信组重新分配通信资源, 并且指示所述第一 UE将所 述第三 UE作为所述 D2D通信组中的一个所述第二 UE进行管理;  The receiving module is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; The module is further configured to: if the cell identifier of the cell where the third UE is located is not included in the first cell list, instruct the sending module to send a second resource request message to the first base station; The resource request message carries the group identifier of the D2D communication group and the cell identifier of the cell where the third UE is located, to request the first base station to re-create the D2D communication group according to the cell identifier of the cell where the third UE is located. Allocating a communication resource, and instructing the first UE to manage the third UE as one of the second UEs in the D2D communication group;

所述接收模块, 还用于接收所述第一基站发送的第二资源响应消息, 所 述第二资源响应消息中携带用于所述 D2D通信组执行通信的第二通信资源和 第二小区列表; 所述第二小区列表中包含所述第三 UE所在小区的小区标识; 所述发送模块, 还用于向所述 D2D通信组内的所述第二 UE发送用于所述 D2D通信组执行通信的第二通信资源, 以通知所述 D2D通信组内各 UE利用所 述第二通信资源执行所述业务标识对应的 D2D通信业务。  The receiving module is further configured to receive a second resource response message that is sent by the first base station, where the second resource response message carries a second communication resource and a second cell list that are used by the D2D communication group to perform communication. The second cell list includes a cell identifier of a cell where the third UE is located; the sending module is further configured to send, to the second UE in the D2D communication group, the D2D communication group to perform The second communication resource of the communication is configured to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the second communication resource.

结合第六方面的第一种至第四种中任一种可能的实施方式, 在第六方面 的第五种可能的实施方式中, 所述第一申请消息中还携带所述第二 UE所在 小区的小区标识;  With the possible implementation of any one of the first to fourth aspects of the sixth aspect, in a fifth possible implementation manner of the sixth aspect, the first application message further carries the second UE The cell identity of the cell;

所述处理模块, 还用于所述第一 UE在执行所述 D2D通信的过程中测量所 述第一 UE所在小区的网络信号强度和 /或网络信号质量;  The processing module is further configured to: when the first UE performs the D2D communication, measure network signal strength and/or network signal quality of a cell where the first UE is located;

若所述第一 UE所在小区的网络信号强度低于第一信号强度阈值, 和 /或 网络信号质量低于第一信号质量阈值, 则所述处理模块根据各所述第二 UE 所在小区的小区标识从各所述第二 UE中选取一个 UE作为第四 UE;  If the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the processing module is configured according to the cell of each cell where the second UE is located. Identifying, selecting one UE from each of the second UEs as the fourth UE;

所述发送模块, 用于向所述第一基站发送第一 D2D通信资源接口 UE变更 消息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标 识、 所述 D2D通信组内各 UE的用户标识和所述第四 UE所在小区的小区标识; 以通知所述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对 应的所述第一通信资源进行管理; 和 /或, The sending module is configured to send, to the first base station, a first D2D communication resource interface UE change message, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication a user identifier of each UE in the group and a cell identifier of a cell where the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to the subsequent D2D communication group pair The first communication resource should be managed; and/or,

所述发送模块向所述第四 UE发送第二 D2D通信资源接口 UE变更消息, 所述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标识和所述第一 UE所在小区的小区标识; 以通知所述第四 UE由其作为通信代表对后续所述 D2D通信组对应的所述第 一通信资源进行管理。  The sending module sends a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each of the D2D communication groups The user identifier of the UE and the cell identifier of the cell where the first UE is located; to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using the same as the communication representative.

结合第六方面的第五种可能的实施方式, 在第六方面的第六种可能的实 施方式中, 所述处理模块根据各所述第二 UE所在小区的小区标识从各所述 第二 UE中选取一个 UE作为第四 UE, 包括:  With reference to the fifth possible implementation manner of the sixth aspect, in a sixth possible implementation manner of the sixth aspect, the processing module, according to a cell identifier of a cell in which the second UE is located, from each of the second UEs Selecting one UE as the fourth UE includes:

所述处理模块根据各所述第二 UE所在小区的小区标识指示所述发送模 块向所述 D2D通信组中所述第二 UE发送查询请求;  And the processing module, according to the cell identifier of the cell where the second UE is located, instructing, by the sending module, to send a query request to the second UE in the D2D communication group;

所述处理模块指示所述接收模块接收所述第二 UE发送的查询响应, 所述 查询响应中携带所述第二 UE所在小区的网络信号强度和 /或网络信号质量; 所述处理模块从各所述第二 UE 中选择一个所在小区的网络信号强度或 网络信号质量最强的所述第二 UE作为所述第四 UE, 或者, 所述处理模块从 各所述第二 UE 中选择一个所在小区的网络信号强度和网络信号质量的综合 值最强的所述第二 UE作为所述第四 UE。  The processing module instructs the receiving module to receive a query response sent by the second UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located; And selecting, by the second UE, the second UE that has the strongest network signal strength or the network signal quality of the cell in the second UE as the fourth UE, or the processing module selects one of each of the second UEs. The second UE having the strongest integrated network signal strength and network signal quality of the cell serves as the fourth UE.

结合第六方面, 在第六方面的第七种可能的实施方式中, 所述第一申请 消息中还携带所述第二 UE所在小区的小区标识;  With reference to the sixth aspect, in a seventh possible implementation manner of the sixth aspect, the first application message further includes a cell identifier of a cell where the second UE is located;

所述处理模块还具体用于根据所述第二 UE所在小区的小区标识测量所 述第二 UE所在小区的网络信号强度和 /或网络信号质量,并根据测量结果从各 所述第二 UE中选取一个 UE作为第五 UE, 并指示所述发送模块向所述第五 UE 发送所述第一资源请求消息, 以通知所述第五 UE由其作为通信代表对所述 D2D通信组的所述通信资源进行管理;并指示所述第五 UE向所述第五 UE所在 小区所属的基站转发所述第一资源请求消息, 进而请求所述第五 UE所在小区 所属的基站分配用于所述 D2D通信组执行所述业务标识对应的 D2D通信业务 的通信资源;  The processing module is further configured to measure network signal strength and/or network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and use the measurement result from each of the second UEs. Selecting one UE as the fifth UE, and instructing the sending module to send the first resource request message to the fifth UE, to notify the fifth UE that the fifth UE is the communication representative to the D2D communication group. The communication resource is managed; and the fifth UE is instructed to forward the first resource request message to the base station to which the cell where the fifth UE belongs, and then request the base station to which the cell in which the fifth UE belongs to allocate the D2D. The communication group executes the communication resource of the D2D communication service corresponding to the service identifier;

所述处理模块指示所述接收模块接收所述第五 UE发送的用于所述 D2D 通信组执行通信的通信资源。  The processing module instructs the receiving module to receive a communication resource sent by the fifth UE for performing communication by the D2D communication group.

结合第六方面的第一种至第四种中任一种可能的实施方式, 在第六方面 的第八种可能的实施方式中, In combination with any of the first to fourth possible embodiments of the sixth aspect, in the sixth aspect In the eighth possible implementation manner,

所述处理模块, 还用于所述第一 UE在执行所述 D2D通信的过程中测量 所述第一 UE所在小区以及所述第一 UE所在小区的相邻小区的网络信号强度 和 /或网络信号质量, 并根据测量结果重选或切换至新的小区;  The processing module is further configured to: when the first UE performs the D2D communication, measure a network signal strength and/or a network of a cell where the first UE is located and a neighboring cell of a cell where the first UE is located. Signal quality, and reselect or switch to a new cell based on the measurement result;

所述处理模块, 还用于将所述第一 UE所在的所述新小区所属的基站确定 为新的所述第一基站, 并指示发送模块向所述第一基站发送 D2D通信资源小 区变更消息; 所述 D2D通信资源小区变更消息中携带所述 D2D通信组的组标 识和所述第一 UE的用户标识, 以通知所述第一基站由所述新小区下的所述第 一 UE继续作为通信代表对后续所述 D2D通信组的所述通信资源进行管理; 或 者,  The processing module is further configured to determine, by the base station to which the new cell in which the first UE belongs, as the new first base station, and instruct the sending module to send a D2D communication resource cell change message to the first base station. The D2D communication resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station to continue by the first UE under the new cell. The communication representative manages the communication resources of the subsequent D2D communication group; or

所述处理模块指示所述发送模块在所述重选或切换的程中通过原小区所 属的基站向所述新小区所属的所述第一基站发送所述 D2D通信资源小区变更 消息, 以通知所述第一基站由所述新小区下的所述第一 UE继续作为通信代表 对后续所述 D2D通信组的所述通信资源进行管理。  The processing module instructs the sending module to send the D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of the reselection or handover, to notify the The first base station continues to manage the communication resources of the subsequent D2D communication group by the first UE under the new cell as a communication representative.

结合第六方面的第一种至第四种中任一种可能的实施方式, 在第六方面 的第九种可能的实施方式中,  With reference to any one of the first to fourth possible embodiments of the sixth aspect, in a ninth possible implementation manner of the sixth aspect,

所述接收模块, 还用于所述第一 UE在进行所述 D2D通信的过程中, 接收 所述第一基站发送的第一资源变更消息; 所述第一资源变更消息中携带第一 变更通信资源;  The receiving module is further configured to receive, by the first UE, a first resource change message sent by the first base station in the process of performing the D2D communication, where the first resource change message carries a first change communication Resource

所述发送模块, 还用于将所述第一资源变更消息中携带的所述第一变更 通信资源发送给所述 D2D通信组内的所述第二 UE, 以使所述 D2D通信组内各 所述第二 UE利用所述第一变更通信资源执行所述业务标识对应的 D2D通信 业务; 并且指示所述处理模块将所述第一变更通信资源所在小区的小区标识 更新至所述 D2D通信组对应的所述第一小区列表中。  The sending module is further configured to send the first change communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the D2D communication groups The second UE performs the D2D communication service corresponding to the service identifier by using the first change communication resource; and instructs the processing module to update the cell identifier of the cell where the first change communication resource is located to the D2D communication group. Corresponding to the first cell list.

结合第六方面的第五种可能的实施方式, 在第六方面的第十种可能的实 施方式中,  In conjunction with the fifth possible implementation of the sixth aspect, in a tenth possible implementation of the sixth aspect,

所述接收模块, 还用于所述由所述第四 UE作为通信代表对所述 D2D通信 组对应的所述第一通信资源进行管理之后, 且所述第一 UE在进行所述 D2D通 信的过程中, 接收所述第四 UE发送的第二资源变更消息; 所述第二资源变更 消息中携带第二变更通信资源; 所述处理模块还用于利用所述第二变更通信资源执行所述业务标识对应 的 D2D通信业务。 The receiving module is further configured to: after the fourth UE is used as a communication representative to manage the first communication resource corresponding to the D2D communication group, and the first UE is performing the D2D communication Receiving, by the fourth UE, the second resource change message, where the second resource change message carries the second change communication resource; The processing module is further configured to perform, by using the second change communication resource, a D2D communication service corresponding to the service identifier.

结合第六方面的第七种可能的实施方式, 在第六方面的第 ^一种可能的 实施方式中,  In conjunction with the seventh possible implementation of the sixth aspect, in a first possible implementation of the sixth aspect,

所述接收模块, 还用于所述由所述第五 UE作为通信代表对所述 D2D通信 组的所述通信资源进行管理之后, 且所述第一 UE在进行所述 D2D通信的过程 中, 接收所述第五 UE发送的第三资源变更消息; 所述第三资源变更消息中携 带第三变更通信资源;  The receiving module is further configured to: after the fifth UE is used as a communication representative to manage the communication resource of the D2D communication group, and the first UE is in the process of performing the D2D communication, Receiving, by the fifth UE, a third resource change message, where the third resource change message carries a third change communication resource;

所述处理模块, 还用于利用所述第三变更通信资源执行所述业务标识对 应的 D2D通信业务。  The processing module is further configured to perform, by using the third change communication resource, a D2D communication service corresponding to the service identifier.

第七方面, 本发明实施例提供了又一种用户设备, 包括:  In a seventh aspect, the embodiment of the present invention provides another user equipment, including:

接收模块, 用于从无线网络中接收第一 UE发送的发现消息; 所述发现 消息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务 标识;  a receiving module, configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group;

发送模块, 用于根据所述 D2D通信组的组标识和所述 D2D通信组对应 的业务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带第 二 UE的用户标识; 所述第一申请消息用于所述第二 UE申请加入所述 D2D 通信组;  a sending module, configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE The first application message is used by the second UE to apply to join the D2D communication group;

所述接收模块,还用于接收所述第一 UE根据所述第二 UE的用户标识发送 的用于所述 D2D通信组执行通信的通信资源, 并指示所述第二 UE利用所述通 信资源执行所述业务标识对应的 D2D通信业务。  The receiving module is further configured to receive, by the first UE, a communication resource that is sent by the D2D communication group to perform communication according to the user identifier of the second UE, and instruct the second UE to use the communication resource. Performing a D2D communication service corresponding to the service identifier.

结合第七方面, 在第七方面的第一种可能的实施方式中, 所述接收模块 还用于所述第二 UE在执行所述 D2D通信的过程中接收所述第一 UE发送的用 于所述 D2D通信组执行通信的变更通信资源, 并指示所述第二 UE利用所述变 更通信资源执行所述业务标识对应的 D2D通信业务。  With reference to the seventh aspect, in a first possible implementation manner of the seventh aspect, the receiving module is further configured to: when the second UE performs the D2D communication, receive, by the first UE, The D2D communication group performs a communication change communication resource, and instructs the second UE to perform the D2D communication service corresponding to the service identifier by using the changed communication resource.

结合第七方面或第七方面的第一种可能的实施方式, 在第七方面的第二 种可能的实施方式中, 所述第一申请消息中还携带所述第二 UE所在小区的小 区标识;  With reference to the seventh aspect, or the first possible implementation manner of the seventh aspect, in a second possible implementation manner of the seventh aspect, the first application message further carries a cell identifier of a cell where the second UE is located ;

所述接收模块还用于所述第二 UE在执行所述 D2D通信的过程中作为第 四 UE时接收所述第一 UE发送的第二 D2D通信资源接口 UE变更消息, 所述第 二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D 通信组内各 UE的用户标识和所述第一 UE所在小区的小区标识; 所述第四 UE 为所述第一 UE根据所述 D2D通信组内各所述第二 UE所在小区的小区标识从 各所述第二 UE中选取的一个 UE; The receiving module is further configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in the process of performing the D2D communication, where the The second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; a first UE selected from each of the second UEs according to a cell identifier of a cell in which the second UE is located in the D2D communication group;

所述发送模块, 还用于所述第二 UE作为所述第四 UE时向所述第二 UE所 在小区所属的第二基站发送所述第二 D2D通信资源接口 UE变更消息, 以通知 所述第二基站由作为所述第四 UE的所述第二 UE作为通信代表对后续所述 The sending module is further configured to: when the second UE is the fourth UE, send the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to notify the The second base station is used by the second UE as the fourth UE as a communication representative for the subsequent

D2D通信组的所述通信资源进行管理。 The communication resources of the D2D communication group are managed.

结合第七方面的第二种可能的实施方式, 在第七方面的第三种可能的实 施方式中,所述第二 UE在执行所述 D2D通信的过程中作为第四 UE通过所述接 收模块接收所述第一 UE发送的第二 D2D通信资源接口 UE变更消息之前, 所述接收模块用于接收所述第一 UE发送的查询请求;  With reference to the second possible implementation manner of the seventh aspect, in a third possible implementation manner of the seventh aspect, the second UE passes the receiving module as a fourth UE in the process of performing the D2D communication Before receiving the second D2D communication resource interface UE change message sent by the first UE, the receiving module is configured to receive a query request sent by the first UE;

所述发送模块用于向所述第一 UE发送查询响应, 所述查询响应中携带所 述第二 UE所在小区的网络信号强度和 /或网络信号质量。  The sending module is configured to send a query response to the first UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located.

结合第七方面的第二种或第三种可能的实施方式, 在第七方面的第四种 可能的实施方式中, 所述由所述第二 UE作为通信代表对所述 D2D通信组对应 的的通信资源进行管理之后, 且所述第二 UE在进行所述 D2D通信的过程中, 所述接收模块, 还用于接收所述第二 UE所在小区所属的第二基站发送的 第二资源变更消息; 所述第二资源变更消息中携带第二变更通信资源;  With reference to the second or third possible implementation manner of the seventh aspect, in a fourth possible implementation manner of the seventh aspect, the second UE is used as a communication representative to correspond to the D2D communication group After the communication resource is managed, and the second UE is in the process of performing the D2D communication, the receiving module is further configured to receive a second resource change sent by the second base station to which the second UE is located. The second resource change message carries the second change communication resource;

所述发送模块, 还用于向所述 D2D通信组内各 UE发送所述第二变更通信 资源, 以通知各所述 UE利用所述第二变更通信资源执行所述业务标识对应的 The sending module is further configured to send the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the service identifier corresponding to the second change communication resource.

D2D通信业务。 D2D communication service.

第八方面, 本发明实施例提供了又一种用户设备, 包括:  In an eighth aspect, the embodiment of the present invention provides another user equipment, including:

接收模块, 用于从无线网络中接收第一 UE发送的发现消息; 所述发现 消息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务 标识;  a receiving module, configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group;

发送模块, 用于根据所述 D2D通信组的组标识和所述 D2D通信组对应的 业务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带所述第 二 UE的用户标识和所述第二 UE所在小区的小区标识;所述第一申请消息用于 所述第二 UE申请加入所述 D2D通信组; 所述接收模块, 还用于所述第二 UE作为第五 UE时接收所述第一 UE发送 的第一资源请求消息, 所述第一资源请求消息中携带所述 D2D通信组的组标 识和所述 D2D通信组中各 UE的用户标识,以通知所述第五 UE由其作为通信代 表对所述 D2D通信组的所述通信资源进行管理; 所述第五 UE为所述第一 UE 根据各所述第二 UE所在小区的小区标识从各所述第二 UE中选取的一个 UE; 所述发送模块, 还用于所述第二 UE作为所述第五 UE时向所述第二 UE 所在小区所属的第二基站转发所述第一资源请求消息, 以请求所述第二基站 分配用于所述 D2D通信组执行所述业务标识对应的 D2D通信业务的通信资 源; a sending module, configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier and a cell identifier of a cell where the second UE is located; the first application message is used by the second UE to join the D2D communication group; The receiving module is further configured to: when the second UE is used as the fifth UE, receive the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and a user identifier of each UE in the D2D communication group, to notify the fifth UE to manage the communication resource of the D2D communication group as a communication representative; the fifth UE is the first UE according to the The cell identifier of the cell in which the second UE is located is selected from one of the second UEs, and the sending module is further configured to use, when the second UE is the fifth UE, to the second UE. The second base station to which the cell is located forwards the first resource request message, to request the second base station to allocate a communication resource for the D2D communication group to perform the D2D communication service corresponding to the service identifier;

所述接收模块,还用于所述第二 UE作为所述第五 UE时接收所述第二基站 发送的第一资源响应消息, 所述第一资源响应消息中携带用于所述 D2D通信 组执行通信的通信资源; 所述通信资源为所述第二基站根据所述 D2D通信组 的组标识和当前所述第二基站下各小区的网络资源情况确定出来; 或者, 所 述通信资源为所述第二基站根据所述 D2D通信组的组标识在通过与所述第二 基站相邻的基站共同协商后确定出来;  The receiving module is further configured to receive, by the second UE, the first resource response message sent by the second base station, where the first resource response message is carried in the D2D communication group. a communication resource that performs communication; the communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource status of each cell in the current second base station; or, the communication resource is Determining, by the second base station, that the group identifier of the D2D communication group is jointly negotiated by a base station adjacent to the second base station;

所述发送模块,还用于所述第二 UE作为所述第五 UE时根据所述 D2D通信 组内各 UE的用户标识向所述 D2D通信组内各 UE发送用于所述 D2D通信组执 行通信的通信资源, 以通知各所述 UE利用该通信资源执行所述业务标识对应 的 D2D通信业务。  The sending module is further configured to send, when the second UE is the fifth UE, to the UEs in the D2D communication group to perform the D2D communication group according to user identifiers of UEs in the D2D communication group. And a communication resource of the communication, to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the communication resource.

结合第八方面, 在第八方面的第一种可能的实施方式中, 所述第一资源 响应消息中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标 识, 所述小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在 的小区; 所述小区列表为所述第二基站确定的, 或者所述小区列表为所述第 二基站在通过与所述第二基站相邻的基站共同协商后确定的。  With reference to the eighth aspect, in a first possible implementation manner of the eighth aspect, the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell list is used by a cell indicating that the reserved resource utilized by the D2D communication group performs communication; the cell list is determined by the second base station, or the cell list is the second base station passing and the second The base stations adjacent to the base station are jointly negotiated and determined.

结合第八方面或第八方面的第一种可能的实施方式, 在第八方面的第二 种可能的实施方式中,  With reference to the eighth aspect, or the first possible implementation manner of the eighth aspect, in a second possible implementation manner of the eighth aspect,

所述接收模块, 还用于接收所述第五 UE所在小区所属的所述第二基站发 送的第三资源变更消息; 所述第三资源变更消息中携带第三变更通信资源; 所述发送模块, 还用于向所述 D2D通信组内各 UE发送所述第三变更通信 资源, 以通知各所述 UE利用所述第三变更通信资源执行所述业务标识对应的 D2D通信业务。 The receiving module is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries a third change communication resource; And the third change communication resource is sent to each UE in the D2D communication group, to notify each UE to perform the service identifier corresponding to the third change communication resource. D2D communication service.

第九方面, 本发明实施例提供了一种基站, 包括:  A ninth aspect, the embodiment of the present invention provides a base station, including:

接收模块,用于接收第一 UE发送的第一资源请求消息,所述第一 UE在所 述第一基站覆盖的小区范围内, 所述第一资源请求消息中携带 D2D通信组的 组标识;  a receiving module, configured to receive a first resource request message sent by the first UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries a group identifier of the D2D communication group;

处理模块, 用于根据所述 D2D通信组的组标识和当前所述第一基站下各 小区的网络资源情况确定用于所述 D2D通信组执行通信的第一通信资源; 或 者, 所述处理模块根据所述 D2D通信组的组标识在通过与所述第一基站相邻 的基站共同协商后确定所述第一通信资源;  a processing module, configured to determine, according to the group identifier of the D2D communication group and a network resource condition of each cell under the first base station, a first communication resource used for performing communication by the D2D communication group; or, the processing module Determining, according to the group identifier of the D2D communication group, the first communication resource after being mutually negotiated by a base station adjacent to the first base station;

发送模块, 用于向所述第一 UE发送第一资源响应消息, 所述第一资源响 应消息中携带用于所述 D2D通信组执行通信的所述第一通信资源。  And a sending module, configured to send, to the first UE, a first resource response message, where the first resource response message carries the first communication resource used by the D2D communication group to perform communication.

结合第九方面, 在第九方面的第一种可能的实施方式中, 所述第一资源 响应消息中还包括第一小区列表; 所述第一小区列表包含至少一个小区对应 的小区标识, 所述第一小区列表用于指示所述 D2D通信组执行通信所利用的 第一预留资源所在的小区; 所述第一小区列表为所述处理模块确定的, 或者 所述第一小区列表为所述处理模块与所述第一基站相邻的基站共同协商后确 定的。  With reference to the ninth aspect, in a first possible implementation manner of the ninth aspect, the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where The first cell list is used to indicate a cell in which the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the processing module, or the first cell list is The processing module is determined after the negotiation with the base station adjacent to the first base station.

结合第九方面的第一种可能的实施方式, 在第九方面的第二种可能的实 施方式中,  In conjunction with the first possible implementation of the ninth aspect, in a second possible implementation of the ninth aspect,

所述接收模块, 还用于接收所述第一 UE发送的第二资源请求消息; 所述 第二资源请求消息中携带所述 D2D通信组的组标识和第三 UE所在小区的小 区标识, 所述第三 UE所在小区的小区标识不包含在所述第一小区列表中; 所述处理模块, 还用于根据所述第三 UE所在小区的小区标识、 所述 D2D 通信组的组标识和当前所述第一基站下各小区的网络资源情况为所述 D2D通 信组重新分配通信资源; 或者, 所述处理模块根据所述第三 UE所在小区的小 区标识和所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协 商后为所述 D2D通信组重新分配所述通信资源;  The receiving module is further configured to receive a second resource request message sent by the first UE, where the second resource request message carries a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, where The cell identifier of the cell where the third UE is located is not included in the first cell list, and the processing module is further configured to: according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the current The network resource situation of the cells in the first base station is re-allocated communication resources to the D2D communication group; or the processing module is configured according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group. Re-allocating the communication resource for the D2D communication group by co-negotiating with a base station adjacent to the first base station;

所述发送模块, 还用于向所述第一 UE发送第二资源响应消息, 所述第二 资源响应消息中携带为所述 D2D通信组重新分配的所述通信资源和第二小区 列表; 所述第二小区列表中包含所述第三 UE所在小区的小区标识。 结合第九方面或第九方面的第一种或第二种可能的实施方式, 在第九方 面的第三种可能的实施方式中, The sending module is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group; The second cell list includes a cell identifier of a cell where the third UE is located. With reference to the ninth aspect or the first or second possible implementation manner of the ninth aspect, in a third possible implementation manner of the ninth aspect,

所述接收模块,还用于接收所述第一 UE发送的第一 D2D通信资源接口 UE 变更消息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的 组标识、 所述 D2D通信组内各 UE的用户标识和第四 UE所在小区的小区标识; 所述第一 D2D通信资源接口 UE变更消息用于通知所述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对应的所述第一通信资源进行管理; 所述发送模块, 还用于根据所述第四 UE所在小区的小区标识; 向所述第 四 UE所在小区所属的基站发送所述第一 D2D通信资源接口 UE变更消息,以通 知所述第四 UE所在小区所属的基站由所述第四 UE作为通信代表对后续所述 D2D通信组的所述通信资源进行管理; 或者,  The receiving module is further configured to receive a first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the a user identifier of each UE in the D2D communication group and a cell identifier of a cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the fourth UE is used as a communication representative to the subsequent station The first communication resource corresponding to the D2D communication group is managed; the sending module is further configured to send, according to the cell identifier of the cell where the fourth UE is located, to the base station to which the fourth UE is located, a D2D communication resource interface UE change message to notify the base station to which the cell in which the fourth UE belongs is managed by the fourth UE as a communication representative to the communication resource of the subsequent D2D communication group; or

所述接收模块接收所述第四 UE所在小区所属的基站转发的所述第四 UE 发送的第二 D2D通信资源接口 UE变更消息; 所述第二 D2D通信资源接口 UE 变更消息中携带所述 D2D通信组的组标识、 所述第四 UE的用户标识和所述第 四 UE所在小区的小区标识,以使所述第一基站获知由所述第四 UE作为通信代 表对后续所述 D2D通信组的所述通信资源进行管理。  The receiving module receives a second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, and the second D2D communication resource interface UE change message carries the D2D a group identifier of the communication group, a user identifier of the fourth UE, and a cell identifier of a cell where the fourth UE is located, so that the first base station learns that the fourth UE is used as a communication representative to the subsequent D2D communication group. The communication resources are managed.

结合第九方面或第九方面的第一种或第二种可能的实施方式, 在第九方 面的第四种可能的实施方式中,  With reference to the ninth aspect or the first or second possible implementation manner of the ninth aspect, in a fourth possible implementation manner of the ninth aspect,

所述接收模块, 还用于接收第三基站转发的所述第一 UE发送的 D2D通信 资源小区变更消息, 所述 D2D通信资源小区变更消息中携带所述 D2D通信组 的组标识和所述第一 UE的用户标识; 以使所述第一基站获知由所述第三基站 下的所述第一 UE继续作为通信代表对后续所述 D2D通信组的所述通信资源 进行管理。  The receiving module is further configured to receive, by the third base station, a D2D communication resource cell change message that is sent by the first UE, where the D2D communication resource cell change message carries the group identifier of the D2D communication group and the a user identifier of a UE, so that the first base station learns that the first UE under the third base station continues to be a communication representative to manage the communication resource of the subsequent D2D communication group.

结合第九方面或第九方面的第一种或第二种可能的实施方式, 在第九方 面的第五种可能的实施方式中, 所述第一 UE在进行所述 D2D通信的过程中, 所述发送模块, 还用于向所述第一 UE发送第一资源变更消息; 所述第一 资源变更消息中携带变更的第一通信资源; 以使所述第一 UE将所述变更的第 一通信资源的信息发送给所述 D2D通信组中各 UE,以通知各所述 UE利用所述 变更后的第一通信资源执行所述 D2D通信的业务; 并指示所述第一 UE将所述 第一变更通信资源所在小区的小区标识更新至所述 D2D通信组对应的所述第 一小区列表中。 With the ninth aspect or the first or second possible implementation manner of the ninth aspect, in a fifth possible implementation manner of the ninth aspect, the first UE is in the process of performing the D2D communication, The sending module is further configured to send a first resource change message to the first UE, where the first resource change message carries the changed first communication resource, so that the first UE changes the first Sending information of a communication resource to each UE in the D2D communication group to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first UE to Updating, to the first corresponding to the D2D communication group, the cell identifier of the cell where the first communication resource is located In a cell list.

第十方面, 本发明实施例提供了另一种基站, 包括:  The tenth aspect of the present invention provides another base station, including:

接收模块, 用于接收第二 UE转发的来自第一 UE发送的第一资源请求消 息; 所述第二 UE在第二基站覆盖的小区范围内; 所述第一资源请求消息中携 带 D2D通信组的组标识; 所述第一资源请求消息用于所述第一 UE为其所在的 所述 D2D通信组进行通信资源申请;  a receiving module, configured to receive, by the second UE, a first resource request message sent by the first UE, where the second UE is within a cell coverage area of the second base station, and the first resource request message carries the D2D communication group The first resource request message is used by the first UE to perform a communication resource application for the D2D communication group in which the first UE is located;

处理模块, 用于根据所述 D2D通信组的组标识和当前所述第二基站下各 小区的网络资源情况确定用于所述 D2D通信组进行通信的通信资源; 或者, 所述处理模块根据所述 D2D通信组的组标识在通过与所述第二基站相邻的基 站共同协商后确定所述通信资源;  a processing module, configured to determine a communication resource used for communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the current second base station; or, the processing module is configured according to the Determining, by the base station adjacent to the second base station, the communication resource after determining the group identity of the D2D communication group;

发送模块, 用于向所述第二 UE发送第一资源响应消息, 所述第一资源响 应消息中携带用于所述 D2D通信组执行通信的所述通信资源。  And a sending module, configured to send, to the second UE, a first resource response message, where the first resource response message carries the communication resource used by the D2D communication group to perform communication.

结合第十方面, 在第十方面的第一种可能的实施方式中, 所述第一资源 响应消息中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标 识, 所述小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在 的小区; 所述小区列表为所述处理模块确定的, 或者所述小区列表为所述处 理模块与所述第二基站相邻的基站共同协商后确定的。  With reference to the tenth aspect, in a first possible implementation manner of the tenth aspect, the first resource response message further includes a cell list; the cell list includes a cell identifier corresponding to at least one cell, and the cell list is used by a cell indicating that the reserved resource utilized by the D2D communication group performs communication; the cell list is determined by the processing module, or the cell list is adjacent to the second base station by the processing module Determined after the base station has negotiated together.

第十一方面, 本发明实施例提供了又一种用户设备, 包括:  In an eleventh aspect, the embodiment of the present invention provides another user equipment, including:

发送器, 用于向无线网络中的至少一个第二 UE发送发现消息, 所述发现 消息用于向所述至少一个第二 UE指示所述第一 UE支持设备对设备 D2D通信 业务; 所述发现消息中携带 D2D通信组的组标识和所述 D2D通信组对应的业 务标识;  a transmitter, configured to send a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports device-to-device D2D communication service; The message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group;

接收器, 用于接收所述第二 UE发送的第一申请消息, 所述第一申请消息 中携带所述第二 UE的用户标识;所述第一申请消息用于所述第二 UE申请加入 所述 D2D通信组;  a receiver, configured to receive a first application message sent by the second UE, where the first application message carries a user identifier of the second UE, and the first application message is used by the second UE to apply for joining The D2D communication group;

处理器, 用于根据所述第二 UE发送的所述第一申请消息获取用于所述 D2D通信组执行通信的通信资源;  a processor, configured to acquire, according to the first application message sent by the second UE, a communication resource used by the D2D communication group to perform communication;

所述发送器, 还用于根据所述第二 UE的用户标识, 向所述 D2D通信组内 的所述第二 UE发送用于所述 D2D通信组执行通信的通信资源, 以通知所述 D2D通信组内各 UE利用所述通信资源执行所述业务标识对应的 D2D通信业 结合第 ^一方面, 在第 ^一方面的第一种可能的实施方式中, 所述处理 器具体用于: The transmitter is further configured to send, according to the user identifier of the second UE, a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group, to notify the D2D Each UE in the communication group performs the D2D communication industry corresponding to the service identifier by using the communication resource In conjunction with the first aspect, in a first possible implementation of the second aspect, the processor is specifically configured to:

指示所述发送器根据所述第二 UE发送的所述第一申请消息向第一基站 发送第一资源请求消息, 所述第一 UE在所述第一基站覆盖的小区范围内, 所述第一资源请求消息中携带所述 D2D通信组的组标识;  Instructing the sender to send a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is within a cell coverage area of the first base station, Carrying a group identifier of the D2D communication group in a resource request message;

指示所述接收器接收所述第一基站发送的第一资源响应消息, 所述第一 资源响应消息中携带用于所述 D2D通信组执行通信的第一通信资源;所述第 一通信资源为所述第一基站根据所述 D2D通信组的组标识和当前所述第一基 站下各小区的网络资源情况确定出来; 或者, 所述第一通信资源为所述第一 基站根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协 商后确定出来。  Instructing the receiver to receive the first resource response message sent by the first base station, where the first resource response message carries a first communication resource for performing communication by the D2D communication group; the first communication resource is Determining, by the first base station, a group identity of the D2D communication group and a network resource condition of each cell in the current first base station; or, the first communication resource is the first base station according to the D2D communication The group identity of the group is determined after being negotiated by the base station adjacent to the first base station.

结合第 ^一方面的第一种可能的实施方式, 在第 ^一方面的第二种可能 的实施方式中, 所述第一资源响应消息中还包括第一小区列表; 所述第一小 区列表包含至少一个小区对应的小区标识, 所述第一小区列表用于指示所述 D2D通信组执行通信所利用的第一预留资源所在的小区; 所述第一小区列表 为所述第一基站确定的, 或者所述第一小区列表为所述第一基站与所述第一 基站相邻的基站共同协商后确定的。  With reference to the first possible implementation of the first aspect, in a second possible implementation manner of the second aspect, the first resource response message further includes a first cell list; a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; and the first cell list is determined by the first base station Or the first cell list is determined after the first base station and the base station adjacent to the first base station jointly negotiate.

结合第 ^一方面的第二种可能的实施方式, 在第 ^一方面的第三种可能 的实施方式中,  In conjunction with the second possible implementation of the first aspect, in a third possible implementation of the second aspect,

所述接收器, 还用于接收第三 UE发送的第二申请消息; 所述第二申请 消息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标识; 所述处理器, 还用于若所述第三 UE所在小区的小区标识包含在所述第一 小区列表中, 则通知所述第三 UE利用所述第一预留资源执行所述业务标识对 应的 D2D通信业务,并且指示所述第一 UE将所述第三 UE作为所述 D2D通信组 中的一个所述第二 UE进行管理。  The receiver is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; And the third UE is configured to perform the D2D communication corresponding to the service identifier by using the first reserved resource, if the cell identifier of the cell where the third UE is located is included in the first cell list. Traffic, and instructing the first UE to manage the third UE as one of the second UEs in the D2D communication group.

结合第 ^一方面的第二种可能的实施方式, 在第 ^一方面的第四种可能 的实施方式中,  In conjunction with the second possible implementation of the first aspect, in a fourth possible implementation of the second aspect,

所述接收器, 还用于接收第三 UE发送的第二申请消息; 所述第二申请消 息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标识; 所述处理器, 还用于若所述第三 UE所在小区的小区标识不包含在所述 第一小区列表中,则指示所述发送器向所述第一基站发送第二资源请求消息; 所述第二资源请求消息中携带所述 D2D通信组的组标识和所述第三 UE所在 小区的小区标识, 以请求所述第一基站根据所述第三 UE所在小区的小区标 识为所述 D2D通信组重新分配合适的通信资源, 并且指示所述第一 UE将所 述第三 UE作为所述 D2D通信组中的一个所述第二 UE进行管理; The receiver is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; The processor is further configured to: if the cell identifier of the cell where the third UE is located is not included in the first cell list, instruct the sender to send a second resource request message to the first base station; The second resource request message carries the group identifier of the D2D communication group and the cell identifier of the cell where the third UE is located, to request the first base station to use the cell identifier of the cell where the third UE is located as the D2D The communication group reallocates a suitable communication resource, and instructs the first UE to manage the third UE as one of the second UEs in the D2D communication group;

所述接收器, 还用于接收所述第一基站返回的第二资源响应消息, 所述 第二资源响应消息中携带用于所述 D2D通信组进行通信的第二通信资源的信 息和第二小区列表; 所述所述第二小区列表中包含所述第三 UE所在小区; 所述发送器, 还用于向所述 D2D通信组内的所述第二 UE发送用于所述 The receiver is further configured to receive a second resource response message returned by the first base station, where the second resource response message carries information and a second information of a second communication resource used for communication by the D2D communication group a cell list; the second cell list includes a cell in which the third UE is located; the transmitter is further configured to send, to the second UE in the D2D communication group, the

D2D通信组执行通信的第二通信资源, 以通知所述 D2D通信组内各 UE利用所 述第二通信资源执行所述业务标识对应的 D2D通信业务。 The D2D communication group performs the communication of the second communication resource to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the second communication resource.

结合第 ^一方面的第一种至第四种中任一种可能的实施方式, 在第 ^一 方面的第五种可能的实施方式中, 所述第一申请消息中还携带所述第二 UE 所在小区的小区标识;  In a fifth possible implementation manner of the first aspect, the first application message further carries the second The cell identifier of the cell where the UE is located;

所述处理器, 还用于所述第一 UE在执行所述 D2D通信的过程中测量所述 第一 UE所在小区的网络信号强度和 /或网络信号质量;  The processor is further configured to: when the first UE performs the D2D communication, measure network signal strength and/or network signal quality of a cell where the first UE is located;

若所述第一 UE所在小区的网络信号强度低于第一信号强度阈值, 和 /或 网络信号质量低于第一信号质量阈值, 则所述处理器根据各所述第二 UE所 在小区的小区标识从各所述第二 UE中选取一个 UE作为第四 UE;  If the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the processor is configured according to the cell of each cell where the second UE is located. Identifying, selecting one UE from each of the second UEs as the fourth UE;

所述发送器, 用于向所述第一基站发送第一 D2D通信资源接口 UE变更消 息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标 识、 所述 D2D通信组内各 UE的用户标识和所述第四 UE所在小区的小区标识; 以通知所述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对 应的所述第一通信资源进行管理; 和 /或,  The transmitter is configured to send a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication a user identifier of each UE in the group and a cell identifier of a cell in which the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to the first communication resource corresponding to the subsequent D2D communication group Manage; and/or,

所述发送器向所述第四 UE发送第二 D2D通信资源接口 UE变更消息, 所述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标识和所述第一 UE所在小区的小区标识; 以通知所述第四 UE由其作为通信代表对后续所述 D2D通信组对应的所述第 一通信资源进行管理。 结合第 ^一方面的第五种可能的实施方式, 在第 ^一方面的第六种可能 的实施方式中, 所述处理器根据各所述第二 UE所在小区的小区标识从各所 述第二 UE中选取一个 UE作为第四 UE, 包括: The transmitter sends a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each of the D2D communication groups The user identifier of the UE and the cell identifier of the cell where the first UE is located; to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using the same as the communication representative. In a sixth possible implementation manner of the second aspect, the processor, according to the cell identifier of the cell where the second UE is located, from each of the Selecting one UE as the fourth UE from the two UEs includes:

所述处理器根据各所述第二 UE所在小区的小区标识指示所述发送器向 所述 D2D通信组中所述第二 UE发送查询请求 ·'  The processor, according to the cell identifier of the cell where the second UE is located, instructs the sender to send a query request to the second UE in the D2D communication group.

所述处理器指示所述接收器接收所述第二 UE返回的查询响应, 所述查询 响应中携带所述第二 UE所在小区的网络信号强度和 /或网络信号质量;  The processor instructs the receiver to receive a query response returned by the second UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located;

所述处理器从各所述第二 UE 中选择一个所在小区的网络信号强度或网 络信号质量最强的所述第二 UE作为所述第四 UE, 或者, 所述处理器从各所 述第二 UE 中选择一个所在小区的网络信号强度和网络信号质量的综合值最 强的所述第二 UE作为所述第四 UE。  The processor selects, as the fourth UE, the second UE that has the strongest network signal strength or network signal quality of the cell in the second UE, or the processor from each of the second UEs The second UE, which has the strongest combination of the network signal strength and the network signal quality of one of the two UEs, is selected as the fourth UE.

结合第 ^一方面, 在第 ^一方面的第七种可能的实施方式中, 所述第一 申请消息中还携带所述第二 UE所在小区的小区标识;  With reference to the first aspect, in a seventh possible implementation manner of the first aspect, the first application message further carries a cell identifier of a cell where the second UE is located;

所述处理器还具体用于根据所述第二 UE所在小区的小区标识测量所述 第二 UE所在小区的网络信号强度和 /或网络信号质量,并根据测量结果从各所 述第二 UE中选取一个 UE作为第五 UE, 并指示所述发送器向所述第五 UE发送 所述第一资源请求消息, 以通知所述第五 UE由其作为通信代表对所述 D2D通 信组的所述通信资源进行管理;并指示所述第五 UE向所述第五 UE所在小区所 属的基站转发所述第一资源请求消息, 进而请求所述第五 UE所在小区所属的 基站分配用于所述 D2D通信组执行所述业务标识对应的 D2D通信业务的通信 资源;  The processor is further configured to measure network signal strength and/or network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and use the measurement result from each of the second UEs. Selecting one UE as the fifth UE, and instructing the sender to send the first resource request message to the fifth UE, to notify the fifth UE that the fifth UE is the communication representative to the D2D communication group. The communication resource is managed; and the fifth UE is instructed to forward the first resource request message to the base station to which the cell where the fifth UE belongs, and then request the base station to which the cell in which the fifth UE belongs to allocate the D2D. The communication group executes the communication resource of the D2D communication service corresponding to the service identifier;

所述处理器指示所述接收器接收所述第五 UE发送的用于所述 D2D通信 组执行通信的通信资源。  The processor instructs the receiver to receive a communication resource sent by the fifth UE for performing communication by the D2D communication group.

结合第 ^一方面的第一种至第四种中任一种可能的实施方式, 在第 ^一 方面的第八种可能的实施方式中,  In conjunction with any one of the first to fourth possible embodiments of the first aspect, in an eighth possible implementation of the first aspect,

所述处理器, 所述第一 UE在执行所述 D2D通信的过程中测量所述第一 UE所在小区以及所述第一 UE所在小区的相邻小区的网络信号强度和 /或网 络信号质量, 并根据测量结果重选或切换至新的小区;  The processor, in the process of performing the D2D communication, measuring network signal strength and/or network signal quality of a cell where the first UE is located and a neighboring cell of the cell where the first UE is located, And reselect or switch to a new cell according to the measurement result;

所述处理器, 还用于将所述第一 UE所在的所述新小区所属的基站确定为 新的所述第一基站, 并指示发送器向所述第一基站发送 D2D通信资源小区变 更消息; 所述 D2D通信资源小区变更消息中携带所述 D2D通信组的组标识和 所述第一 UE的用户标识,以通知所述第一基站由所述新小区下的所述第一 UE 继续作为通信代表对后续所述 D2D通信组的所述通信资源进行管理; 或者, 所述处理器指示所述发送器在所述重选或切换的程中通过原小区所属的 基站向所述新小区所属的所述第一基站发送所述 D2D通信资源小区变更消 息, 以通知所述第一基站由所述新小区下的所述第一 UE继续作为通信代表对 后续所述 D2D通信组的所述通信资源进行管理。 The processor is further configured to determine, by the base station to which the new cell where the first UE belongs, as the new first base station, and instruct the transmitter to send the D2D communication resource cell to the first base station. a message that the group identifier of the D2D communication group and the user identifier of the first UE are carried in the D2D communication resource cell change message, to notify the first base station that the first UE is in the new cell And continuing to manage, as a communication representative, the communication resource of the subsequent D2D communication group; or, the processor instructing, by the processor, to pass the base station to which the original cell belongs to the new in the reselection or handover process The first base station to which the cell belongs sends the D2D communication resource cell change message, to notify the first base station that the first UE under the new cell continues to be a communication representative to the subsequent D2D communication group. The communication resources are managed.

结合第 ^一方面的第一种至第四种中任一种可能的实施方式, 在第 ^一 方面的第九种可能的实施方式中,  In conjunction with any of the first to fourth possible embodiments of the first aspect, in a ninth possible implementation of the first aspect,

所述接收器, 还用于所述第一 UE在进行所述 D2D通信的过程中, 接收所 述第一基站发送的第一资源变更消息; 所述第一资源变更消息中携带第一变 更通信资源;  The receiver is further configured to receive, by the first UE, a first resource change message sent by the first base station in the process of performing the D2D communication; the first resource change message carries a first change communication Resource

所述发送器, 还用于将所述第一资源变更消息中携带的所述第一变更通 信资源发送给所述 D2D通信组内的所述第二 UE, 以使所述 D2D通信组内各所 述第二 UE利用所述第一变更通信资源执行所述业务标识对应的 D2D通信业 务; 并且指示所述处理器将所述第一变更通信资源所在小区的小区标识更新 至所述 D2D通信组对应的所述第一小区列表中。  The transmitter is further configured to send the first change communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the D2D communication groups Determining, by the second UE, the D2D communication service corresponding to the service identifier by using the first change communication resource; and instructing the processor to update a cell identifier of a cell where the first change communication resource is located to the D2D communication group Corresponding to the first cell list.

结合第 ^一方面的第五种可能的实施方式, 在第 ^一方面的第十种可能 的实施方式中,  In conjunction with the fifth possible implementation of the first aspect, in a tenth possible implementation of the first aspect,

所述接收器, 还用于所述由所述第四 UE作为通信代表对所述 D2D通信组 对应的所述第一通信资源进行管理之后, 且所述第一 UE在进行所述 D2D通信 的过程中, 通过所述接收器接收所述第四 UE发送的第二资源变更消息; 所述 第二资源变更消息中携带第二变更通信资源;  The receiver is further configured to: after the fourth UE is used as a communication representative to manage the first communication resource corresponding to the D2D communication group, and the first UE is performing the D2D communication Receiving, by the receiver, a second resource change message sent by the fourth UE by using the second resource change message;

所述处理器还用于利用所述第二变更通信资源执行所述业务标识对应的 D2D通信业务。  The processor is further configured to perform, by using the second change communication resource, a D2D communication service corresponding to the service identifier.

结合第 ^一方面的第七种可能的实施方式, 在第 ^一方面的第 ^一种可 能的实施方式中,  In conjunction with the seventh possible implementation of the first aspect, in a first possible implementation of the first aspect,

所述接收器, 还用于所述由所述第五 UE作为通信代表对所述 D2D通信组 的所述通信资源进行管理之后, 且所述第一 UE在进行所述 D2D通信的过程 中, 接收所述第五 UE发送的第三资源变更消息; 所述第三资源变更消息中携 带第三变更通信资源; The receiver is further configured to: after the fifth UE is used as a communication representative to manage the communication resource of the D2D communication group, and the first UE is in the process of performing the D2D communication, Receiving, by the fifth UE, a third resource change message, where the third resource change message carries With the third change communication resources;

所述处理器用于还利用第三变更通信资源执行所述业务标识对应的 D2D 通信业务。  The processor is further configured to perform, by using the third change communication resource, the D2D communication service corresponding to the service identifier.

第十二方面, 本发明实施例提供了又一种用户设备, 包括:  According to a twelfth aspect, the embodiment of the present invention provides another user equipment, including:

接收器, 用于从无线网络中接收第一 UE发送的发现消息; 所述发现消 息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务标 识;  a receiver, configured to receive a discovery message sent by the first UE from the wireless network; the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group;

发送器, 用于根据所述 D2D通信组的组标识和所述 D2D通信组对应的 业务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带第二 UE的用户标识; 所述第一申请消息用于所述第二 UE申请加入所述 D2D通 信组;  a transmitter, configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries a user identifier of the second UE The first application message is used by the second UE to apply to join the D2D communication group;

所述接收器,还用于接收所述第一 UE根据所述第二 UE的用户标识发送的 用于所述 D2D通信组执行通信的通信资源, 并指示所述第二 UE利用所述通信 资源执行所述业务标识对应的 D2D通信业务。  The receiver is further configured to receive, by the first UE, a communication resource that is sent by the D2D communication group to perform communication according to the user identifier of the second UE, and instruct the second UE to use the communication resource. Performing a D2D communication service corresponding to the service identifier.

结合第十二方面, 在第十二方面的第一种可能的实施方式中, 所示接收 器还用于所述第二 UE在执行所述 D2D通信的过程中接收所述第一 UE发送的 用于所述 D2D通信组执行通信的变更通信资源, 并指示所述第二 UE利用所述 变更通信资源执行所述业务标识对应的 D2D通信业务。  With reference to the twelfth aspect, in a first possible implementation manner of the twelfth aspect, the receiver is further configured to receive, by the second UE, the first UE, in the process of performing the D2D communication, And a change communication resource used by the D2D communication group to perform communication, and instructing the second UE to perform the D2D communication service corresponding to the service identifier by using the change communication resource.

结合第十二方面或第十二方面的第一种可能的实施方式, 在第十二方面 的第二种可能的实施方式中, 所述第一申请消息中还携带所述第二 UE所在小 区的小区标识;  With reference to the twelfth aspect, or the first possible implementation manner of the twelfth aspect, in the second possible implementation manner of the twelfth aspect, the first application message further carries the cell where the second UE is located Cell identity;

所述接收器还用于所述第二 UE在执行所述 D2D通信的过程中作为第四 UE时接收所述第一 UE发送的第二 D2D通信资源接口 UE变更消息, 所述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通 信组内各 UE的用户标识和所述第一 UE所在小区的小区标识; 所述第四 UE为 所述第一 UE根据所述 D2D通信组内各所述第二 UE所在小区的小区标识从各 所述第二 UE中选取的一个 UE;  The receiver is further configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in a process of performing the D2D communication, where the second D2D communication is performed. The resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; the fourth UE is the first UE And selecting, according to the cell identifier of the cell where the second UE is located in the D2D communication group, one UE selected from each of the second UEs;

所述发送器, 还用于所述第二 UE作为所述第四 UE时向所述第二 UE所在 小区所属的第二基站发送所述第二 D2D通信资源接口 UE变更消息, 以通知所 述第二基站由作为所述第四 UE的所述第二 UE作为通信代表对后续所述 D2D 通信组的所述通信资源进行管理。 The transmitter is further configured to: when the second UE is the fourth UE, send the second D2D communication resource interface UE change message to a second base station to which the second UE is located, to notify the The second base station is used by the second UE as the fourth UE as a communication representative for the subsequent D2D The communication resources of the communication group are managed.

结合第十二方面的第二种可能的实施方式, 在第十二方面的第三种可能 的实施方式中,所述第二 UE在执行所述 D2D通信的过程中作为第四 UE通过所 述接收器接收所述第一 UE发送的第二 D2D通信资源接口 UE变更消息之前, 所述接收器用于接收所述第一 UE发送的查询请求;  With reference to the second possible implementation manner of the twelfth aspect, in a third possible implementation manner of the twelfth aspect, the second UE is the fourth UE in the process of performing the D2D communication Before receiving the second D2D communication resource interface UE change message sent by the first UE, the receiver is configured to receive the query request sent by the first UE;

所述发送器用于向所述第一 UE返回查询响应, 所述查询响应中携带所述 第二 UE所在小区的网络信号强度和 /或网络信号质量。  The transmitter is configured to return a query response to the first UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located.

结合第十二方面的第二种或第三种可能的实施方式, 在第十二方面的第 四种可能的实施方式中, 所述由所述第二 UE作为通信代表对所述 D2D通信组 对应的的通信资源进行管理之后, 且所述第二 UE在进行所述 D2D通信的过程 中,  With reference to the second or third possible implementation manner of the twelfth aspect, in a fourth possible implementation manner of the twelfth aspect, the second UE is used as a communication representative to the D2D communication group After the corresponding communication resource is managed, and the second UE is in the process of performing the D2D communication,

所述接收器, 还用于接收所述第二 UE所在小区所属的第二基站发送的第 二资源变更消息; 所述第二资源变更消息中携带第二变更通信资源;  The receiver is further configured to receive a second resource change message sent by the second base station to which the second UE is located, where the second resource change message carries the second change communication resource;

所述发送器, 还用于向所述 D2D通信组内各 UE发送所述第二变更通信资 源, 以通知各所述 UE利用所述第二变更通信资源执行所述业务标识对应的 D2D通信业务。  The transmitter is further configured to send the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the second change communication resource. .

第十三方面, 本发明实施例提供了又一种用户设备, 包括:  In a thirteenth aspect, the embodiment of the present invention provides another user equipment, including:

接收器, 用于从无线网络中接收第一 UE发送的发现消息; 所述发现消 息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务标 识;  a receiver, configured to receive a discovery message sent by the first UE from the wireless network; the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group;

发送器, 用于根据所述 D2D通信组的组标识和所述 D2D通信组对应的业 务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带所述第二 UE的用户标识和所述第二 UE所在小区的小区标识;所述第一申请消息用于所 述第二 UE申请加入所述 D2D通信组;  a transmitter, configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier and a cell identifier of a cell where the second UE is located; the first application message is used by the second UE to join the D2D communication group;

所述接收器, 还用于所述第二 UE作为第五 UE时接收所述第一 UE发送的 第一资源请求消息, 所述第一资源请求消息中携带所述 D2D通信组的组标识 和所述 D2D通信组中各 UE的用户标识,以通知所述第五 UE由其作为通信代表 对所述 D2D通信组的所述通信资源进行管理;所述第五 UE为所述第一 UE根据 各所述第二 UE所在小区的小区标识从各所述第二 UE中选取的一个 UE;  The receiver, when the second UE is used as the fifth UE, receives the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and a user identifier of each UE in the D2D communication group, to notify the fifth UE to manage the communication resource of the D2D communication group as a communication representative; the fifth UE is the first UE according to the first UE a cell identifier of a cell in which the second UE is located, and a UE selected from each of the second UEs;

所述发送器,还用于所述第二 UE作为所述第五 UE时向所述第二 UE所 在小区所属的第二基站转发所述第一资源请求消息, 以请求所述第二基站分 配用于所述 D2D通信组执行所述业务标识对应的 D2D通信业务的通信资源; 所述接收器,还用于所述第二 UE作为所述第五 UE时接收所述第二基站发 送的第一资源响应消息, 所述第一资源响应消息中携带用于所述 D2D通信组 执行通信的通信资源; 所述通信资源为所述第二基站根据所述 D2D通信组的 组标识和当前所述第二基站下各小区的网络资源情况确定出来; 或者, 所述 通信资源为所述第二基站根据所述 D2D通信组的组标识在通过与所述第二基 站相邻的基站共同协商后确定出来; The transmitter is further configured to: when the second UE is the fifth UE, to the second UE Forwarding, by the second base station to which the cell belongs, the first resource request message, to request the second base station to allocate a communication resource for performing, by the D2D communication group, the D2D communication service corresponding to the service identifier; And receiving, by the second UE, the first resource response message sent by the second base station, where the second resource response message carries a communication resource used by the D2D communication group to perform communication. The communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource condition of each cell in the current second base station; or, the communication resource is the second base station according to the The group identifier of the D2D communication group is determined after being negotiated by a base station adjacent to the second base station;

所述发送器,还用于所述第二 UE作为所述第五 UE时根据所述 D2D通信组 内各 UE的用户标识向所述 D2D通信组内各 UE发送用于所述 D2D通信组执行 通信的通信资源, 以通知各所述 UE利用该通信资源执行所述业务标识对应的 D2D通信业务。  The transmitter is further configured to send, when the second UE is the fifth UE, to the UEs in the D2D communication group to perform the D2D communication group according to user identifiers of UEs in the D2D communication group. And a communication resource of the communication, to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the communication resource.

结合第十三方面, 在第十三方面的第一种可能的实施方式中, 所述第一 资源响应消息中还包括小区列表; 所述小区列表包含至少一个小区对应的小 区标识, 所述小区列表用于指示所述 D2D通信组执行通信所利用的预留资源 所在的小区; 所述小区列表为所述第二基站确定的, 或者所述小区列表为所 述第二基站在通过与所述第二基站相邻的基站共同协商后确定的。  In conjunction with the thirteenth aspect, in a first possible implementation manner of the thirteenth aspect, the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell The list is used to indicate a cell in which the D2D communication group performs the communication to utilize the reserved resource; the cell list is determined by the second base station, or the cell list is the second base station in the pass and the The base stations adjacent to the second base station are jointly negotiated and determined.

结合第十三方面或第十三方面的第一种可能的实施方式, 在第十三方面 的第二种可能的实施方式中,  In conjunction with the thirteenth aspect or the first possible implementation of the thirteenth aspect, in a second possible implementation of the thirteenth aspect,

所述接收器, 还用于接收所述第五 UE所在小区所属的所述第二基站发送 的第三资源变更消息; 所述第三资源变更消息中携带第三变更通信资源; 所述发送器, 还用于向所述 D2D通信组内各 UE发送所述第三变更通信资 源, 以通知各所述 UE利用所述第三变更通信资源执行所述业务标识对应的 D2D通信业务。  The receiver is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries a third change communication resource; And the third change communication resource is sent to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the third change communication resource.

第十四方面, 本发明实施例提供了一种基站, 包括:  According to a fourteenth aspect, an embodiment of the present invention provides a base station, including:

接收器,用于接收第一 UE发送的第一资源请求消息,所述第一 UE在所述 第一基站覆盖的小区范围内, 所述第一资源请求消息中携带 D2D通信组的组 标识;  a receiver, configured to receive a first resource request message sent by the first UE, where the first UE is in a range of cells covered by the first base station, and the first resource request message carries a group identifier of a D2D communication group;

处理器, 用于根据所述 D2D通信组的组标识和当前所述第一基站下各小 区的网络资源情况确定用于所述 D2D通信组执行通信的第一通信资源;或者, 所述处理器根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基站 共同协商后确定所述第一通信资源; a processor, configured to determine, according to a group identifier of the D2D communication group and a network resource condition of each cell under the first base station, a first communication resource used for performing communication by the D2D communication group; or Determining, by the processor, the first communication resource after being negotiated by a base station adjacent to the first base station according to the group identifier of the D2D communication group;

发送器, 用于向所述第一 UE发送第一资源响应消息, 所述第一资源响应 消息中携带用于所述 D2D通信组执行通信的所述第一通信资源。  And a transmitter, configured to send, to the first UE, a first resource response message, where the first resource response message carries the first communication resource used by the D2D communication group to perform communication.

结合第十四方面, 在第十四方面的第一种可能的实施方式中, 所述第一 资源响应消息中还包括第一小区列表; 所述第一小区列表包含至少一个小区 对应的小区标识, 所述第一小区列表用于指示所述 D2D通信组执行通信所利 用的第一预留资源所在的小区; 所述第一小区列表为所述处理器确定的, 或 者所述第一小区列表为所述处理器与所述第一基站相邻的基站共同协商后确 定的。  In conjunction with the fourteenth aspect, in a first possible implementation manner of the fourteenth aspect, the first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell The first cell list is used to indicate a cell where the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the processor, or the first cell list is And determining, by the processor, the base station adjacent to the first base station.

结合第十四方面的第一种可能的实施方式, 在第十四方面的第二种可能 的实施方式中,  In conjunction with the first possible implementation of the fourteenth aspect, in a second possible implementation of the fourteenth aspect,

所述接收器, 还用于接收所述第一 UE发送的第二资源请求消息; 所述第 二资源请求消息中携带所述 D2D通信组的组标识和第三 UE所在小区的小区 标识, 所述第三 UE所在小区的小区标识不包含在所述第一小区列表中;  The receiver is further configured to receive a second resource request message sent by the first UE, where the second resource request message carries a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, where The cell identifier of the cell where the third UE is located is not included in the first cell list;

所述处理器, 还用于根据所述第三 UE所在小区的小区标识、 所述 D2D通 信组的组标识和当前所述第一基站下各小区的网络资源情况为所述 D2D通信 组重新分配通信资源; 或者, 所述处理器根据所述第三 UE所在小区的小区标 识和所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协商后 为所述 D2D通信组重新分配所述通信资源;  The processor is further configured to redistribute the D2D communication group according to a cell identifier of a cell where the third UE is located, a group identifier of the D2D communication group, and a network resource condition of each cell in the current first base station. And the processor is configured to be the D2D communication group after being negotiated by the base station adjacent to the first base station according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group. Redistributing the communication resources;

所述发送器, 还用于向所述第一 UE发送第二资源响应消息, 所述第二资 源响应消息中携带为所述 D2D通信组重新分配的所述通信资源和第二小区列 表; 所述第二小区列表中包含所述第三 UE所在小区的小区标识。  The transmitter is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group; The second cell list includes a cell identifier of a cell where the third UE is located.

结合第十四方面或第十四方面的第一种或第二种可能的实施方式, 在第 十四方面的第三种可能的实施方式中,  In conjunction with the fourteenth aspect or the first or second possible implementation of the fourteenth aspect, in a third possible implementation of the fourteenth aspect,

所述接收器, 还用于接收所述第一 UE发送的第一 D2D通信资源接口 UE 变更消息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的 组标识、 所述 D2D通信组内各 UE的用户标识和第四 UE所在小区的小区标识; 所述第一 D2D通信资源接口 UE变更消息用于通知所述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对应的所述第一通信资源进行管理; 所述发送器, 还用于根据所述第四 UE所在小区的小区标识; 向所述第四 UE所在小区所属的基站发送所述第一 D2D通信资源接口 UE变更消息,以通知 所述第四 UE所在小区所属的基站由所述第四 UE作为通信代表对后续所述 D2D通信组的所述通信资源进行管理; 或者, The receiver is further configured to receive a first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the a user identifier of each UE in the D2D communication group and a cell identifier of a cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the fourth UE is used as a communication representative to the subsequent station The first communication resource corresponding to the D2D communication group is managed; The transmitter is further configured to send, according to the cell identifier of the cell where the fourth UE is located, the first D2D communication resource interface UE change message to the base station to which the fourth UE is located, to notify the fourth The base station to which the UE is located is managed by the fourth UE as a communication representative for the communication resources of the subsequent D2D communication group; or

所述接收器接收所述第四 UE所在小区所属的基站转发的所述第四 UE发 送的第二 D2D通信资源接口 UE变更消息;所述第二 D2D通信资源接口 UE变更 消息中携带所述 D2D通信组的组标识、所述第四 UE的用户标识和所述第四 UE 所在小区的小区标识, 以使所述第一基站获知由所述第四 UE作为通信代表对 后续所述 D2D通信组的所述通信资源进行管理。  Receiving, by the receiver, the second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, and the second D2D communication resource interface UE change message carrying the D2D a group identifier of the communication group, a user identifier of the fourth UE, and a cell identifier of a cell where the fourth UE is located, so that the first base station learns that the fourth UE is used as a communication representative to the subsequent D2D communication group. The communication resources are managed.

结合第十四方面或第十四方面的第一种或第二种可能的实施方式, 在第 十四方面的第四种可能的实施方式中,  In conjunction with the fourteenth aspect or the first or second possible implementation of the fourteenth aspect, in a fourth possible implementation of the fourteenth aspect,

所述接收器, 还用于接收第三基站转发的所述第一 UE发送的 D2D通信资 源小区变更消息, 所述 D2D通信资源小区变更消息中携带所述 D2D通信组的 组标识和所述第一 UE的用户标识; 以使所述第一基站获知由所述第三基站下 的所述第一 UE继续作为通信代表对后续所述 D2D通信组的所述通信资源进 行管理。  The receiver is further configured to receive, by the third base station, a D2D communication resource cell change message that is sent by the first UE, where the D2D communication resource cell change message carries the group identifier of the D2D communication group and the a user identifier of a UE, so that the first base station learns that the first UE under the third base station continues to be a communication representative to manage the communication resource of the subsequent D2D communication group.

结合第十四方面或第十四方面的第一种或第二种可能的实施方式, 在第 十四方面的第五种可能的实施方式中, 所述第一 UE在进行所述 D2D通信的过 程中,  In a fourth possible implementation manner of the fourteenth aspect, the first UE is performing the D2D communication. In the process,

所述发送器, 还用于向所述第一 UE发送第一资源变更消息; 所述第一资 源变更消息中携带变更的第一通信资源; 以使所述第一 UE将所述变更的第一 通信资源的信息发送给所述 D2D通信组中各 UE,以通知各所述 UE利用所述变 更后的第一通信资源执行所述 D2D通信的业务; 并指示所述第一 UE将所述第 一变更通信资源所在小区的小区标识更新至所述 D2D通信组对应的所述第一 小区列表中。  The transmitter is further configured to send a first resource change message to the first UE, where the first resource change message carries the changed first communication resource, so that the first UE changes the first Sending information of a communication resource to each UE in the D2D communication group to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first UE to The cell identifier of the cell in which the first change communication resource is located is updated to the first cell list corresponding to the D2D communication group.

第十五方面, 本发明实施例提供了另一种基站, 包括:  In a fifteenth aspect, the embodiment of the present invention provides another base station, including:

接收器,于接收第二 UE转发的来自第一 UE发送的第一资源请求消息;所 述第二 UE在第二基站覆盖的小区范围内; 所述第一资源请求消息中携带 D2D 通信组的组标识; 所述第一资源请求消息用于所述第一 UE为其所在的所述 D2D通信组进行通信资源申请; 处理器, 用于根据所述 D2D通信组的组标识和当前所述第二基站下各小 区的网络资源情况确定用于所述 D2D通信组进行通信的通信资源; 或者, 所 述处理器根据所述 D2D通信组的组标识在通过与所述第二基站相邻的基站共 同协商后确定所述通信资源; Receiving, by the receiver, a first resource request message sent by the first UE that is sent by the second UE; the second UE is within a cell coverage area of the second base station; and the first resource request message carries the D2D communication group The first resource request message is used by the first UE to apply for a communication resource for the D2D communication group in which the first UE is located; a processor, configured to determine a communication resource used for communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the current second base station; or, the processor according to the Determining, by the base station adjacent to the second base station, the communication resource after determining the group identity of the D2D communication group;

发送器, 用于向所述第二 UE发送第一资源响应消息, 所述第一资源响应 消息中携带用于所述 D2D通信组执行通信的所述通信资源。  And a transmitter, configured to send, to the second UE, a first resource response message, where the first resource response message carries the communication resource used by the D2D communication group to perform communication.

结合第十五方面, 在第十五方面的第一种可能的实施方式中, 所述第一 资源响应消息中还包括小区列表; 所述小区列表包含至少一个小区对应的小 区标识, 所述小区列表用于指示所述 D2D通信组执行通信所利用的预留资源 所在的小区; 所述小区列表为所述处理器确定的, 或者所述小区列表为所述 处理器与所述第二基站相邻的基站共同协商后确定的。  With the fifteenth aspect, in a first possible implementation manner of the fifteenth aspect, the first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell The list is used to indicate a cell in which the D2D communication group performs the communication to utilize the reserved resource; the cell list is determined by the processor, or the cell list is the processor and the second base station The neighboring base stations are determined after mutual negotiation.

第十六方面, 本发明实施例提供了一种系统, 所述系统包括本发明的第 六方面提供的用户设备、 第七方面提供的用户设备、 第八方面提供的用户设 备、 第九方面提供的基站和第十方面提供的基站。  In a sixteenth aspect, the embodiment of the present invention provides a system, where the system includes the user equipment provided by the sixth aspect, the user equipment provided by the seventh aspect, and the user equipment provided by the eighth aspect, where the ninth aspect provides The base station and the base station provided by the tenth aspect.

第十七方面, 本发明实施例提供了另一种系统, 所述系统包括本发明的 第十一方面提供的用户设备、 第十二方面提供的用户设备、 第十三方面提供 的用户设备、 第十四方面提供的基站和第十五方面提供的基站。  The seventeenth aspect, the embodiment of the present invention provides another system, where the system includes the user equipment provided by the eleventh aspect of the present invention, the user equipment provided by the twelfth aspect, and the user equipment provided by the thirteenth aspect, The base station provided in the fourteenth aspect and the base station provided in the fifteenth aspect.

本发明提供的通信资源管理方法、 用户设备、 基站和系统, 第一用户设 备 UE向无线网络中的至少一个第二 UE发送发现消息,上述发现消息用于向至 少一个第二 UE指示上述第一 UE支持设备对设备 D2D通信业务;上述发现消息 中携带 D2D通信组的组标识和上述 D2D通信组对应的业务标识; 上述第一 UE 接收上述第二 UE发送的第一申请消息,上述第一申请消息中携带上述第二 UE 的用户标识; 上述第一申请消息用于上述第二 UE申请加入上述 D2D通信组; 上述第一 UE根据上述第二 UE发送的上述第一申请消息获取用于上述 D2D通 信组执行通信的通信资源;上述第一 UE根据上述第二 UE的用户标识, 向上述 D2D通信组内的上述第二 UE发送用于上述 D2D通信组执行通信的通信资源, 以通知上述 D2D通信组内各 UE利用上述通信资源执行上述业务标识对应的 D2D通信业务。 该方案提供一套能够让 D2D通信顺利进行并且减少或避免对 蜂窝网通信的干扰的技术方案。 附图说明 The communication resource management method, the user equipment, the base station, and the system provided by the present invention, the first user equipment UE sends a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate the first The UE supports the device-to-device D2D communication service; the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; the first UE receives the first application message sent by the second UE, and the first application The message carries the user identifier of the second UE; the first application message is used by the second UE to join the D2D communication group; and the first UE acquires the D2D according to the first application message sent by the second UE. The communication group performs the communication resource of the communication; the first UE sends the communication resource for performing the communication by the D2D communication group to the second UE in the D2D communication group according to the user identifier of the second UE, to notify the D2D communication Each UE in the group performs the D2D communication service corresponding to the service identifier by using the foregoing communication resource. The solution provides a set of solutions that enable D2D communication to proceed smoothly and reduce or avoid interference with cellular communications. DRAWINGS

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

图 1为本发明一个实施例提供的通信资源管理方法的流程图;  FIG. 1 is a flowchart of a communication resource management method according to an embodiment of the present invention;

图 2为本发明另一个实施例提供的通信资源管理方法的流程图; 图 3为本发明又一个实施例提供的通信资源管理方法的流程图; 图 4为本发明又一个实施例提供的通信资源管理方法的流程图; 图 5为本发明又一个实施例提供的通信资源管理方法的流程图; 图 6为本发明又一个实施例提供的通信资源管理方法的流程图; 图 7为本发明又一个实施例提供的通信资源管理方法的流程图; 图 8为本发明又一个实施例提供的通信资源管理方法的流程图; 图 9为本发明又一个实施例提供的通信资源管理方法的流程图; 图 10为本发明一个实施例提供的设备的结构示意图;  2 is a flowchart of a communication resource management method according to another embodiment of the present invention; FIG. 3 is a flowchart of a communication resource management method according to still another embodiment of the present invention; FIG. 4 is a communication according to still another embodiment of the present invention. FIG. 5 is a flowchart of a communication resource management method according to still another embodiment of the present invention; FIG. 6 is a flowchart of a communication resource management method according to still another embodiment of the present invention; A flowchart of a communication resource management method provided by another embodiment; FIG. 8 is a flowchart of a communication resource management method according to still another embodiment of the present invention; FIG. 9 is a flowchart of a communication resource management method according to still another embodiment of the present invention. Figure 10 is a schematic structural diagram of an apparatus according to an embodiment of the present invention;

图 11为本发明另一个实施例提供的设备的结构示意图;  FIG. 11 is a schematic structural diagram of a device according to another embodiment of the present invention;

图 12为本发明又一个实施例提供的设备的结构示意图;  FIG. 12 is a schematic structural diagram of a device according to still another embodiment of the present invention;

图 13为本发明又一个实施例提供的设备的结构示意图;  FIG. 13 is a schematic structural diagram of a device according to still another embodiment of the present invention;

图 14为本发明又一个实施例提供的设备的结构示意图;  FIG. 14 is a schematic structural diagram of a device according to still another embodiment of the present invention;

图 15为本发明又一个实施例提供的设备的结构示意图;  FIG. 15 is a schematic structural diagram of a device according to still another embodiment of the present invention;

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

图 17为本发明又一个实施例提供的设备的结构示意图;  FIG. 17 is a schematic structural diagram of a device according to still another embodiment of the present invention;

图 18为本发明又一个实施例提供的设备的结构示意图;  FIG. 18 is a schematic structural diagram of a device according to still another embodiment of the present invention;

图 19为本发明又一个实施例提供的设备的结构示意图。 具体实施方式  FIG. 19 is a schematic structural diagram of a device according to still another embodiment of the present invention. detailed description

下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 本文中描述的技术可用于各种通信系统, 例如当前 2G, 3G通信系统和 下一代通信系统, 例如全球移动通信系统 (GSM, Global System for Mobile communications) , 码分多址 ( CDMA, Code Division Multiple Access )系统, 时分多址 (TDMA , Time Division Multiple Access ) 系统, 宽带码分多址 (WCDMA, Wideband Code Division Multiple Access Wireless) , 频分多址 ( FDMA , Frequency Division Multiple Addressing ) 系统, 正交频分多址 ( OFDMA, Orthogonal Frequency-Division Multiple Access) 系统, 单载波 FDMA ( SC-FDMA)系统, 通用分组无线业务(GPRS , General Packet Radio Service) 系统, 长期演进(LTE, Long Term Evolution) 系统, 以及其他此类 通信系统。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention. The techniques described herein can be used in a variety of communication systems, such as current 2G, 3G communication systems and next generation communication systems, such as Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA, Code Division Multiple). Access system, time division multiple access (TDMA, Time Division Multiple Access) system, Wideband Code Division Multiple Access (WCDMA), Frequency Division Multiple Access (FDMA), Frequency Division Multiple Addressing system, Orthogonal Frequency OFDMA (Orthogonal Frequency-Division Multiple Access) system, single carrier FDMA (SC-FDMA) system, General Packet Radio Service (GPRS) system, Long Term Evolution (LTE) system, And other such communication systems.

本申请中涉及的用户设备, 可以是无线终端, 上述无线终端是指向用户 提供语音和 /或数据连通性的设备, 具有无线连接功能的手持式设备、 或连接 到无线调制解调器的其他处理设备。无线终端可以经无线接入网(例如, RAN, Radio Access Network) 与一个或多个核心网进行通信, 无线终端可以是移动 终端, 如移动电话 (或称为"蜂窝"电话) 和具有移动终端的计算机, 例如, 可以是便携式、 袖珍式、 手持式、 计算机内置的或者车载的移动装置, 它们 与无线接入网交换语言和 /或数据。 例如, 个人通信业务 (PCS , Personal Communication Service) 电话、 无绳电话、 会话发起协议 (SIP) 话机、 无线 本地环路(WLL, Wireless Local Loop)站、个人数字助理(PDA, Personal Digital Assistant)等设备。 无线终端也可以称为系统、 订户单元( Subscriber Unit) 、 订户站(Subscriber Station) , 移动站 (Mobile Station) 、 移动台 (Mobile) 、 远程站(Remote Station)、接入点(Access Point)、远程终端(Remote Terminal) 接入终端 (Access Terminal) 、 用户终端 (User Terminal) 、 用户代理 (User Agent) 、 用户设备 (User Device) 、 或用户装备 (User Equipment) 。  The user equipment referred to in this application may be a wireless terminal, which is a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device connected to the wireless modem. The wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal The computers, for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network. For example, Personal Communication Service (PCS), Cordless Phone, Session Initiation Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA), etc. . A wireless terminal may also be called a system, a Subscriber Unit, a Subscriber Station, a Mobile Station, a Mobile, a Remote Station, an Access Point, Remote Terminal Access Terminal, User Terminal, User Agent, User Device, or User Equipment.

本申请中涉及的基站 (例如, 接入点) 可以是指接入网中在空中接口上 通过一个或多个扇区与无线终端通信的设备。 基站可用于将收到的空中帧与 IP分组进行相互转换, 作为无线终端与接入网的其余部分之间的路由器, 其 中接入网的其余部分可包括网际协议 (IP) 网络。 基站还可协调对空中接口 的属性管理。 例如, 基站可以是 GSM 或 CDMA 中的基站 (BTS, Base Transceiver Station ), 也可以是 WCDMA中的基站 ( NodeB ), 还可以是 LTE 中的演进型基站 (NodeB或 eNB或 e-NodeB, evolutional Node B ) , 本申请 并不限定。 A base station (e.g., an access point) referred to in this application may refer to a device in an access network that communicates with a wireless terminal over one or more sectors over an air interface. The base station can be used to convert the received air frame to the IP packet as a router between the wireless terminal and the rest of the access network, wherein the remainder of the access network can include an Internet Protocol (IP) network. The base station can also coordinate attribute management of the air interface. For example, the base station may be a base station (BTS, Base Transceiver Station) in GSM or CDMA, or may be a base station (NodeB) in WCDMA, or may be LTE. The evolved base station (NodeB or eNB or e-NodeB, evolutional Node B) is not limited in this application.

图 1为本发明一个实施例提供的通信资源管理方法的流程图。 该方法的 执行主体为发起 D2D通信的用户设备。 针对于某一 D2D通信组中参与通信 业务的各用户设备 UE,这里规定,发起建立该 D2D通信组的 UE为第一 UE; 接收第一 UE的发现消息并申请加入 D2D通信组的其他 UE为第二 UE,显然 第二 UE的个数可以为一个或多个。 如图 1所示, 该通信资源管理方法具体 包括:  FIG. 1 is a flowchart of a communication resource management method according to an embodiment of the present invention. The execution body of the method is a user equipment that initiates D2D communication. For each user equipment UE participating in the communication service in a certain D2D communication group, it is specified that the UE that initiated the establishment of the D2D communication group is the first UE; the other UEs that receive the discovery message of the first UE and apply to join the D2D communication group are For the second UE, it is obvious that the number of the second UEs may be one or more. As shown in FIG. 1, the communication resource management method specifically includes:

5101 , 第一用户设备 UE向无线网络中的至少一个第二 UE发送发现消息, 该发现消息用于向至少一个第二 UE指示第一 UE支持设备对设备 D2D通信业 务; 该发现消息中携带 D2D通信组的组标识和 D2D通信组对应的业务标识; 处于无线网络中的第一用户设备 UE可向无线网络中发送发现消息, 以发 起一个 D2D通信业务并组建该 D2D通信业务对应的 D2D通信组。 处于无线网 络中的一个或多个第二 UE通过接收第一 UE发送的发现消息获知上述第一 UE 支持设备对设备 D2D通信业务并欲建立一个 D2D通信组。 上述发现消息中同 时携带了该 D2D通信组的组标识和该 D2D通信组对应的业务标识; 其中, 该 D2D通信组的组标识作为唯一标识该 D2D通信组的标识信息可以是组地址 (Group ID) , 该 Group ID可以是由数字或字母等组成的字符串信息等; 该 D2D通信组对应的业务标识可以是该 D2D通信业务对应的业务的种类, 如语 音业务、 数据业务、 上网业务、 下载业务、 高优先级业务和低优先级业务等; 或是业务的服务质量 (Quality of Service, QoS) 要求, 如时延要求, 丢包率 要求, 带宽或速率要求等; 或是业务的特征, 如数据包大小, 数据包到达间 隔等; 或是业务的计费方式等。  The first user equipment UE sends a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication service; the discovery message carries the D2D The group identifier of the communication group and the service identifier corresponding to the D2D communication group; the first user equipment UE in the wireless network may send a discovery message to the wireless network to initiate a D2D communication service and form a D2D communication group corresponding to the D2D communication service. . The one or more second UEs in the wireless network learn that the first UE supports the device to the device D2D communication service and wants to establish a D2D communication group by receiving the discovery message sent by the first UE. The discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; wherein the group identifier of the D2D communication group as the identifier information that uniquely identifies the D2D communication group may be a group address (Group ID) The group ID may be string information composed of numbers or letters, etc.; the service identifier corresponding to the D2D communication group may be a type of service corresponding to the D2D communication service, such as voice service, data service, Internet service, download Service, high-priority service, and low-priority service; or service quality of service (QoS) requirements, such as delay requirements, packet loss rate requirements, bandwidth or rate requirements, etc.; or characteristics of services, Such as packet size, packet arrival interval, etc.; or the billing method of the service.

其中,上述第一 UE发送发现消息所利用的资源和发送方式可以是第一 UE 所在小区分配的, 如通过广播消息或专用消息发送; 也可以是协议固定的资 源及收发信息方式, 该固定的资源为网络侧为网络中发起 D2D通信业务的 UE 预留出的固定的通信资源, 当第一 UE不属于任何一个小区时, 欲建立 D2D通 信业务的第一 UE可使用协议固定的资源及收发信息方式发送上述发现消息。  The resource used by the first UE to send the discovery message and the sending manner may be allocated by the cell where the first UE is located, for example, by using a broadcast message or a dedicated message; or may be a fixed resource and a method for sending and receiving information, the fixed The resource is a fixed communication resource reserved for the UE that initiates the D2D communication service in the network. When the first UE does not belong to any cell, the first UE that wants to establish the D2D communication service can use the fixed resource of the protocol and send and receive. The information method sends the above discovery message.

5102, 第一 UE接收第二 UE发送的第一申请消息, 该第一申请消息中携 带第二 UE的用户标识; 该第一申请消息用于第二 UE申请加入 D2D通信组; 处于无线网络中的一个或多个第二 UE通过接收第一 UE发送的发现消息 来获知第一 UE欲建立的 D2D通信组, 并根据该发现消息中的组标识和业务 标识决定是否加入该 D2D通信组。 第二 UE通过向第一 UE发送携带有自身 用户标识的第一申请消息以告知第一 UE该第二 UE申请加入该 D2D通信组。 其中, 第二 UE 对应的用户标识可以是标识用户的临时识别码 (Temporary Mobile Subscriber Identity, TMSI), 国际移动设备身份码 (International Mobile Equipment Identity , IMEI), 或由第二 UE生成的随机数等, 在此不作限定。 所述第二 UE的用户标识用于在上述 D2D组通信的过程中标识该第二 UE。 第一 UE根据接收到的各第二 UE发送的第一申请消息中包含的用户标识来组 织管理各第二 UE。 The first UE receives the first application message sent by the second UE, where the first application message carries the user identifier of the second UE. The first application message is used by the second UE to join the D2D communication group. The one or more second UEs in the wireless network learn the D2D communication group that the first UE wants to establish by receiving the discovery message sent by the first UE, and determine whether to join the D2D according to the group identifier and the service identifier in the discovery message. Communication group. The second UE sends a first application message carrying the user identifier to the first UE to inform the first UE that the second UE applies to join the D2D communication group. The user identifier corresponding to the second UE may be a Temporary Mobile Subscriber Identity (TMSI), an International Mobile Equipment Identity (IMEI), or a random number generated by the second UE. , here is not limited. The user identifier of the second UE is used to identify the second UE in the process of the D2D group communication. The first UE organizes and manages each second UE according to the received user identifier included in the first application message sent by each second UE.

5103、 第一 UE根据第二 UE发送的第一申请消息获取用于 D2D通信组 执行通信的通信资源;  5103. The first UE acquires a communication resource used by the D2D communication group to perform communication according to the first application message sent by the second UE.

第一 UE根据上述各第二 UE发送第一申请消息的发送情况,判断申请加 入该 D2D通信组的 UE数量, 以及所需的通信资源量的情况, 并从如现有网 络资源中获取专用于该 D2D通信组进行通信的通信资源,该通信资源具体可 以是带宽信息、 资源的大小以及速率等信息。 其中, 第一 UE从现有网络资 源中获取该 D2D通信组进行通信的通信资源的方式可以为第一 UE从第一 UE所在小区所属的基站获取, 也可以是从第二 UE所在小区所属的其他基站 获取; 获取的过程中可通过发送无线资源控制协议 (Radio Resource Control, RRC) 消息, 或媒体访问控制 (Media Access Control, MAC) 层消息, 或物 理层 (Physical Layer, PHY)消息等方式完成。  The first UE determines, according to the sending situation that the second UE sends the first application message, the number of UEs that apply to join the D2D communication group, and the amount of communication resources required, and obtains, for example, from existing network resources. The communication resource that the D2D communication group performs communication, and the communication resource may specifically be information such as bandwidth information, resource size, and rate. The manner in which the first UE acquires the communication resource that the D2D communication group communicates from the existing network resource may be obtained by the first UE from the base station to which the cell where the first UE belongs, or may be the cell to which the second UE belongs. Other base station acquisition; the process of obtaining may be by sending a Radio Resource Control (RRC) message, or a Media Access Control (MAC) layer message, or a Physical Layer (PHY) message. carry out.

可选的, 若上述第一申请消息中还携带有各第二 UE要求在 D2D通信过 程中所使用的通信资源的要求, 如资源大小、 带宽需求和速率要求等, 那么 第一 UE在向网络侧获取 D2D通信资源的过程一并要考虑这些因素, 以确保 获取到最佳的通信资源供上述 D2D通信组中各 UE进行通信。  Optionally, if the foregoing first application message further carries requirements for communication resources used by the second UE in the D2D communication process, such as resource size, bandwidth requirement, and rate requirement, the first UE is in the network. The process of obtaining D2D communication resources by the side must consider these factors to ensure that the best communication resources are obtained for communication by each UE in the above D2D communication group.

5104、 第一 UE根据第二 UE的用户标识, 向 D2D通信组内的第二 UE 发送用于 D2D通信组执行通信的通信资源, 以通知 D2D通信组内各 UE利 用该通信资源执行业务标识对应的 D2D通信业务;  The first UE sends a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group according to the user identifier of the second UE, to notify each UE in the D2D communication group to perform service identifier correspondence by using the communication resource. D2D communication service;

第一 UE从现有网络资源中获取到用于上述 D2D通信组执行通信的通信 资源后,根据已掌握的各第二 UE的用户标识向各第二 UE发送上述获取的用 于 D2D通信组进行通信的通信资源,该发送过程可通过如广播消息或专用消 息发送; 也可以是通过协议固定的资源(该情况下第一 UE不属于任一小区) 及方式发送, 以通知上述 D2D通信组内各 UE利用该通信资源执行上述业务 标识对应的 D2D通信业务。 After the first UE acquires the communication resources for performing the communication by the D2D communication group from the existing network resources, the first UE sends the foregoing information to each second UE according to the user identifiers of the second UEs that have been learned. The communication resource for communicating in the D2D communication group, the sending process may be sent by, for example, a broadcast message or a dedicated message; or may be sent by means of a protocol fixed resource (in this case, the first UE does not belong to any cell) Each UE in the D2D communication group performs the D2D communication service corresponding to the service identifier by using the communication resource.

本发明提供的通信资源管理方法, 第一用户设备 UE向无线网络中的至少 一个第二 UE发送发现消息,上述发现消息用于向至少一个第二 UE指示上述第 一 UE支持设备对设备 D2D通信业务; 上述发现消息中携带 D2D通信组的组标 识和上述 D2D通信组对应的业务标识;上述第一 UE接收上述第二 UE发送的第 一申请消息, 上述第一申请消息中携带上述第二 UE的用户标识; 上述第一申 请消息用于上述第二 UE申请加入上述 D2D通信组;上述第一 UE根据上述第二 UE发送的上述第一申请消息获取用于上述 D2D通信组执行通信的通信资源; 上述第一 UE根据上述第二 UE的用户标识, 向上述 D2D通信组内的上述第二 UE发送用于上述 D2D通信组执行通信的通信资源, 以通知上述 D2D通信组内 各 UE利用上述通信资源执行上述业务标识对应的 D2D通信业务。 该方案提供 —套能够让 D2D通信顺利进行并减少或避免对蜂窝网通信干扰的技术方 案。  The communication resource management method provided by the present invention, the first user equipment UE sends a discovery message to at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication. The foregoing discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; the first UE receives the first application message sent by the second UE, and the first application message carries the second UE. The first application message is used by the second UE to join the D2D communication group; the first UE acquires a communication resource used by the D2D communication group to perform communication according to the first application message sent by the second UE. Transmitting, by the first UE, the communication resource for performing the communication by the D2D communication group to the second UE in the D2D communication group according to the user identifier of the second UE, to notify each UE in the D2D communication group to use the communication The resource performs the D2D communication service corresponding to the foregoing service identifier. The solution provides a technical solution that enables D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.

图 2为本发明另一个实施例提供的通信资源管理方法的流程图。 针对 于某一 D2D通信组中参与通信业务的各用户设备 UE, 这里规定, 发起建立 该 D2D通信组的 UE为第一 UE; 接收第一 UE的发现消息并申请加入 D2D 通信组的其他 UE为第二 UE, 显然第二 UE的个数可以为一个或多个。 本实 施例所示方法的执行主体为上述 D2D通信组中的一个第二 UE。如图 2所示, 该通信资源管理方法具体包括:  FIG. 2 is a flowchart of a communication resource management method according to another embodiment of the present invention. For each user equipment UE participating in the communication service in a certain D2D communication group, it is provided that the UE that initiated the establishment of the D2D communication group is the first UE; the other UEs that receive the discovery message of the first UE and apply to join the D2D communication group are The second UE, obviously, the number of the second UEs may be one or more. The execution body of the method shown in this embodiment is a second UE in the above D2D communication group. As shown in FIG. 2, the communication resource management method specifically includes:

S201 , 第二用户设备 UE从无线网络中接收第一 UE发送的发现消息; 该发现消息中携带设备对设备 D2D通信组的组标识和 D2D通信组对应的业 务标识;  S201: The second user equipment receives a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group.

处于无线网络中的第一用户设备 UE可向无线网络中发送发现消息, 以发 起一个 D2D通信业务并组建该 D2D通信业务对应的 D2D通信组。 处于无线网 络中的一个或多个第二 UE通过接收第一 UE发送的发现消息获知第一 UE欲建 立的 D2D通信组。 上述发现消息中同时携带了该 D2D通信组的组标识和该 D2D通信组对应的业务标识; 其中, 该 D2D通信组的组标识作为唯一标识该 D2D通信组的标识信息可以是 Group ID,该 Group ID可以是由数字或字母等组 成的字符串信息等; 该 D2D通信组对应的业务标识可以是该 D2D通信业务对 应的业务的种类, 如语音业务、 数据业务、 上网业务、 下载业务、 高优先级 业务和低优先级业务等; 或是业务的 QoS要求, 如时延要求, 丢包率要求, 带宽或速率要求等; 或是业务的特征, 如数据包大小, 数据包到达间隔等; 或是业务的计费方式等。 The first user equipment UE in the wireless network may send a discovery message to the wireless network to initiate a D2D communication service and form a D2D communication group corresponding to the D2D communication service. The one or more second UEs in the wireless network learn the D2D communication group that the first UE wants to establish by receiving the discovery message sent by the first UE. The discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; wherein the group identifier of the D2D communication group is uniquely identified. The identification information of the D2D communication group may be a group ID, and the group ID may be string information composed of numbers or letters, etc., and the service identifier corresponding to the D2D communication group may be a type of service corresponding to the D2D communication service, such as voice. Services, data services, Internet services, download services, high-priority services, and low-priority services; or QoS requirements of services, such as delay requirements, packet loss rate requirements, bandwidth or rate requirements, etc.; or characteristics of services , such as packet size, packet arrival interval, etc.; or the billing method of the service.

其中, 上述第一 UE发送发现消息所利用的资源和发送方式可以是第一 UE所在小区分配的, 如通过广播消息或专用消息发送; 也可以是协议固定的 资源及收发信息方式,该固定的资源为网络侧为网络中发起 D2D通信业务的 UE 预留出的固定的通信资源, 当第一 UE 不属于任何一个小区时, 欲建立 D2D通信业务的第一 UE可使用协议固定的资源及收发信息方式发送上述发 现消息。  The resource and the sending manner used by the first UE to send the discovery message may be allocated by the cell where the first UE is located, for example, by using a broadcast message or a dedicated message; or may be a fixed resource and a method for sending and receiving information, the fixed The resource is a fixed communication resource reserved for the UE that initiates the D2D communication service in the network. When the first UE does not belong to any one of the cells, the first UE that wants to establish the D2D communication service can use the fixed resource of the protocol and send and receive. The information method sends the above discovery message.

5202, 第二 UE根据 D2D通信组的组标识和 D2D通信组对应的业务标 识向第一 UE发送第一申请消息,该第一申请消息中携带第二 UE的用户标识; 该第一申请消息用于第二 UE申请加入 D2D通信组;  5202. The second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE. Applying to join the D2D communication group in the second UE;

处于无线网络中的一个或多个第二 UE通过接收第一 UE发送的发现消息 来获知第一 UE欲建立的 D2D通信组, 并根据该发现消息中的组标识和业务 标识确定是否加入该 D2D通信组。 第二 UE通过向第一 UE发送携带有自身 用户标识的第一申请消息以告知第一 UE申请加入该 D2D通信组。 其中, 第 二 UE对应的用户标识可以是标识用户的 TMSI, IMEI, 或由第二 UE生成的 随机数等, 在此不作限定。 所述第二 UE的用户标识用于在上述 D2D组通信 的过程中标识该第二 UE。  The one or more second UEs in the wireless network learn the D2D communication group that the first UE wants to establish by receiving the discovery message sent by the first UE, and determine whether to join the D2D according to the group identifier and the service identifier in the discovery message. Communication group. The second UE informs the first UE to apply to join the D2D communication group by transmitting a first application message carrying the user identifier to the first UE. The user identifier corresponding to the second UE may be a TMSI, an IMEI, or a random number generated by the second UE, and is not limited herein. The user identifier of the second UE is used to identify the second UE in the process of the D2D group communication.

可选的, 在上述第一申请消息中还可以携带各第二 UE要求在 D2D通信 过程中所使用的通信资源的要求, 如资源大小、 带宽需求和速率要求等, 以 便第一 UE后续在向网络侧获取 D2D通信资源的过程一并要考虑这些因素, 以确保获取到最佳的通信资源供上述 D2D通信组中各 UE进行通信。  Optionally, in the foregoing first application message, the requirements of the communication resources used by the second UE in the D2D communication process, such as the resource size, the bandwidth requirement, and the rate requirement, may be carried, so that the first UE is in the following direction. The process of acquiring D2D communication resources by the network side must consider these factors to ensure that the best communication resources are obtained for communication by each UE in the above D2D communication group.

5203 , 第二 UE接收第一 UE根据第二 UE的用户标识发送的用于 D2D 通信组执行通信的通信资源,并利用该通信资源执行业务标识对应的 D2D通 信业务;  The second UE receives the communication resource that is sent by the first UE according to the user identifier of the second UE and performs communication for the D2D communication group, and uses the communication resource to perform the D2D communication service corresponding to the service identifier.

第一 UE接收到各第二 UE发送的第一申请消息后,根据第一申请消息从 现有网络中获取用于 D2D通信组进行通信的通信资源的信息; 该过程具体可 参见歩骤 103的相应内容。 After receiving the first application message sent by each second UE, the first UE receives the first application message according to the first application message. The information about the communication resources used for communication by the D2D communication group is obtained in the existing network. For the process, refer to the corresponding content of step 103.

第一 UE从现有网络中获取到用于上述 D2D通信组进行通信的通信资源 后, 根据已掌握的各第二 UE的用户标识向各第二 UE发送上述获取的用于 D2D通信组执行通信的通信资源, 该发送过程可通过如广播消息或专用消息 发送; 也可以是协议固定的资源及收发信息方式 (该情况下第一 UE不属于 任一小区) , 第二 UE接收到第一 UE根据第二 UE的用户标识发送的用于 D2D通信组进行通信的通信资源后, 利用该通信资源执行上述业务标识对应 的 D2D通信业务。  After the first UE acquires the communication resource for the communication by the D2D communication group from the existing network, the first UE sends the acquired communication for the D2D communication group to each second UE according to the user identifier of each second UE that has been learned. The communication resource may be sent by, for example, a broadcast message or a dedicated message; or may be a fixed resource of the protocol and a method of transmitting and receiving information (in this case, the first UE does not belong to any cell), and the second UE receives the first UE. After the communication resource for the D2D communication group to communicate according to the user identifier of the second UE, the communication resource is used to execute the D2D communication service corresponding to the service identifier.

本发明提供的通信资源管理方法, 第二用户设备 UE从无线网络中接收 第一 UE发送的发现消息; 上述发现消息中携带设备对设备 D2D通信组的组 标识和上述 D2D通信组对应的业务标识; 上述第二 UE根据上述 D2D通信 组的组标识和上述 D2D通信组对应的业务标识向上述第一 UE发送第一申请 消息, 上述第一申请消息中携带上述第二 UE 的用户标识; 上述第一申请消 息用于上述第二 UE申请加入上述 D2D通信组; 上述第二 UE接收上述第一 UE根据上述第二 UE的用户标识发送的用于上述 D2D通信组执行通信的通 信资源, 并利用上述通信资源执行上述业务标识对应的 D2D通信业务。 该方 案提供一套能够让 D2D通信顺利进行并减少或避免对蜂窝网通信干扰的技 术方案。  The communication resource management method provided by the present invention, the second user equipment UE receives the discovery message sent by the first UE from the wireless network; the discovery message carries the group identifier of the device to the device D2D communication group and the service identifier corresponding to the D2D communication group. The second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE; An application message is used by the second UE to join the D2D communication group, and the second UE receives the communication resource that is sent by the first UE according to the user identifier of the second UE for performing the communication by using the D2D communication group, and uses the foregoing The communication resource performs the D2D communication service corresponding to the service identifier. The solution provides a technical solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.

在如图 1所示的通信资源管理方法中, 上述第一 UE向无线网络中的至 少一个第二 UE发送发现消息并根据各第二 UE发送的第一申请消息的情况从 现有网络中获取上述 D2D通信组执行通信的通信资源时, 上述第一 UE当前 存在两种网络状态, 一种为上述第一 UE 当前已接入到某一小区下, 另一种 为上述第一 UE 当前未接入到任何一个小区下; 针对前一种情况, 第一 UE 可向当前接入小区所属的基站发送获取通信资源的请求信息等方式请求该基 站为上述 D2D通信组分配通信资源; 而针对后一种情况, 第一 UE当前并没 有接入任何一个小区, 因此不能直接向相应的基站通过发送资源请求信息等 方式获取通信资; 该情况下,第一 UE可通过其他第二 UE转发资源请求信息 的方式从现有网络中获取上述 D2D通信组所需的通信资源。图 3为本发明又 一个实施例提供的通信资源管理方法的流程图。 该实施例为上述第一 UE通 过上述第二 UE来获取上述 D2D通信组所需的通信资源, 如图 3所示, 该通 信资源管理方法包括: In the communication resource management method shown in FIG. 1, the first UE sends a discovery message to at least one second UE in the wireless network, and obtains the information from the existing network according to the first application message sent by each second UE. When the D2D communication group performs the communication resource of the communication, the first UE currently has two network states, one is that the first UE is currently connected to a certain cell, and the other is that the first UE is currently not connected. For the former case, the first UE may send the request information for acquiring the communication resource to the base station to which the current access cell belongs, and request the base station to allocate the communication resource for the D2D communication group; In this case, the first UE does not currently access any of the cells, and therefore cannot directly obtain the communication resource by sending the resource request information to the corresponding base station. In this case, the first UE may forward the resource request information by using other second UEs. The way to obtain the communication resources required by the above D2D communication group from the existing network. FIG. 3 is a flowchart of a communication resource management method according to still another embodiment of the present invention. This embodiment is the foregoing first UE pass. The communication resource required by the foregoing D2D communication group is obtained by the foregoing second UE. As shown in FIG. 3, the communication resource management method includes:

5301 , 第二用户设备 UE从无线网络中接收第一 UE发送的发现消息; 该发现消息中携带设备对设备 D2D通信组的组标识和 D2D通信组对应的业 务标识; 该歩骤具体执行过程可参见歩骤 201的相应内容。  The second user equipment UE receives the discovery message sent by the first UE from the wireless network. The discovery message carries the group identifier of the device to the device D2D communication group and the service identifier corresponding to the D2D communication group. See the corresponding content in step 201.

5302, 第二 UE根据 D2D通信组的组标识和 D2D通信组对应的业务标 识向第一 UE发送第一申请消息,该第一申请消息中携带第二 UE的用户标识 和第二 UE所在小区的小区标识;该第一申请消息用于第二 UE申请加入 D2D 通信组; 该歩骤具体执行过程可参见歩骤 202的相应内容。  The second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE and the cell where the second UE is located. The cell identifier is used by the second UE to join the D2D communication group. For the specific execution process, refer to the corresponding content of step 202.

具体的, 区别于歩骤 202, 本歩骤中的第一申请消息中还携带了第二 UE 所在小区的小区标识, 该小区标识具体可以是物理小区标识 (physical-layer Cell identity, PCI)或演进的小区全球标识 (Evolved Cell Global Identifier, ECGI) 等, 在此不作限定。 若当前第二 UE也未接入任何一个小区, 那么返 回的第一申请消息中对应的小区标识为空, 或以特殊字符代替, 即表示该第 二 UE当前未接入到任何一个小区。  Specifically, the method is different from the step 202, where the first application message in the step further carries the cell identifier of the cell where the second UE is located, and the cell identifier may be a physical-layer cell identity (PCI) or The Evolved Cell Global Identifier (ECGI) and the like are not limited herein. If the current second UE does not access any cell, the corresponding cell identifier in the returned first application message is empty, or is replaced by a special character, that is, the second UE does not currently access any cell.

第一 UE通过判断各第二 UE返回的第一申请消息中携带的第二 UE当前 所在小区的小区标识, 可通过测量相应小区的网络信号强度和网络信号质量 来获知当前各第二 UE的网络连接情况。  The first UE can determine the current network of each second UE by measuring the network signal strength of the corresponding cell and the network signal quality by determining the cell identifier of the cell in which the second UE is currently located in the first application message returned by the second UE. Connection situation.

可选的,在第一 UE接收到各第二 UE发送的第一申请消息后,还可以向 相应的第二 UE发送确认加入 D2D通信组的消息。  Optionally, after the first UE receives the first application message sent by each second UE, the first UE may further send a message confirming joining the D2D communication group to the corresponding second UE.

5303 , 第二 UE作为第五 UE接收第一 UE发送的第一资源请求消息, 该 第一资源请求消息中携带 D2D通信组的组标识和 D2D通信组中各 UE的用 户标识, 以通知第五 UE由其作为通信代表对上述 D2D通信组的通信资源进 行管理;该第五 UE为上述第一 UE根据各第二 UE所在小区的小区标识从各 第二 UE中选取的一个 UE;  5303. The second UE receives, as the fifth UE, a first resource request message sent by the first UE, where the first resource request message carries a group identifier of the D2D communication group and a user identifier of each UE in the D2D communication group, to notify the fifth The UE is configured as a communication representative to manage the communication resources of the D2D communication group; the fifth UE is one UE selected by the first UE according to the cell identifier of the cell where each second UE is located;

如果发起上述 D2D通信业务的第一 UE当前没有接入到任何一个小区下, 即该第一 UE不存在所在接入小区所属网络对应的基站,则该第一 UE无法直接 从相应的基站通过发送资源请求信息等方式获取上述通信资源。 此时, 该第 一 UE可通过其他 UE来向现有网络申请上述 D2D通信组所需的通信资源。具体 方法为:第一 UE可根据接收的各第二 UE返回的第一申请消息中的小区标识信 息得知各第二 UE当前的网络接入小区,并通过测量比较各第二 UE当前接入小 区的网络的情况 (网络速度、 网络带宽、 负载, 网络资源使用情况等) 从各 第二 UE中选取一个 UE作为第五 UE, 并通过上述协议固定的资源及收发信息 方式向该第五 UE发送第一资源请求消息, 该第一资源请求消息中携带上述 D2D通信组的组标识和该 D2D通信组中各 UE的用户标识, 以通知该第五 UE 由其作为通信代表对上述 D2D通信组的通信资源进行管理。 在一个 D2D通信 组中, 通信代表对上述通信资源进行管理的具体内容主要涉及两个方面: 一 方面接收网络侧针对该 D2D通信组的通信资源配置或更新信息, 并及时传送 给通信组内其他各 UE以使通信组内各 UE及时利用可用的通信资源进行 D2D 通信; 另一方面则是 D2D通信组需要通信资源申请或变更时 (如通信组内有 UE发生接入小区的切换 /退出或是有新 UE要接入到通信组中) , 主动向网络 申请新分配或再分配适用于当前 D2D通信组的通信资源。 If the first UE that initiates the foregoing D2D communication service does not currently access any of the cells, that is, the first UE does not have a base station corresponding to the network to which the access cell belongs, the first UE cannot directly send from the corresponding base station. The above communication resources are obtained by means of resource request information and the like. At this time, the first UE may apply for communication resources required by the D2D communication group to the existing network through other UEs. The specific method is: the first UE may be based on the received cell identification letter in the first application message returned by each second UE. Obtaining information about the current network access cell of each second UE, and comparing and comparing the network (network speed, network bandwidth, load, network resource usage, etc.) of each second UE currently accessing the cell from each second UE by measuring and comparing Selecting one UE as the fifth UE, and sending a first resource request message to the fifth UE by using the fixed resource and the sending and receiving information in the foregoing protocol, where the first resource request message carries the group identifier of the D2D communication group and the D2D A user identifier of each UE in the communication group to notify the fifth UE to manage the communication resources of the D2D communication group by using it as a communication representative. In a D2D communication group, the specific content of the communication representative for managing the above communication resources mainly involves two aspects: on the one hand, receiving communication resource configuration or update information for the D2D communication group on the network side, and transmitting it to other groups in the communication group in time Each UE enables the UEs in the communication group to use the available communication resources for D2D communication in time; on the other hand, when the D2D communication group needs to apply for or change the communication resources (such as the handover/exit of the access cell in the communication group) If there is a new UE to access the communication group, the network is actively requested to newly allocate or redistribute the communication resources applicable to the current D2D communication group.

可选的, 上述第一资源请求消息中还可以携带 D2D通信组内各 UE所在小 区的标识、 D2D通信组对应的业务标识以及请求的资源大小的信息, 如带 宽需求, 速率需求等。  Optionally, the foregoing first resource request message may further carry the identifier of the cell where the UE is located in the D2D communication group, the service identifier corresponding to the D2D communication group, and the requested resource size, such as bandwidth requirement, rate requirement, and the like.

5304, 作为第五 UE的第二 UE向其所在小区所属的第二基站转发第一 资源请求消息, 以请求第二基站分配用于 D2D 通信组执行业务标识对应的 D2D通信业务的通信资源; 第五 UE接收到第一 UE发送第一资源请求消息 后, 第五 UE作为管理上述 D2D通信组的通信资源的通信代表, 向其接入小 区所属的第二基站转发上述第一资源请求消息。  The second UE that is the fifth UE forwards the first resource request message to the second base station to which the cell is located, to request the second base station to allocate the communication resource for the D2D communication service corresponding to the D2D communication group to perform the service identifier. After receiving the first resource request message by the first UE, the fifth UE serves as a communication representative for managing the communication resource of the D2D communication group, and forwards the first resource request message to the second base station to which the access cell belongs.

5305, 作为第五 UE的第二 UE接收第二基站发送的第一资源响应消息, 该第一资源响应消息中携带用于 D2D通信组执行通信的通信资源;该通信资 源为第二基站根据 D2D通信组的组标识和当前第二基站下各小区的网络资源 情况确定出来; 或者, 该通信资源为第二基站根据 D2D通信组的组标识在通 过与第二基站相邻的基站共同协商后确定出来;  The second UE that is the fifth UE receives the first resource response message sent by the second base station, where the first resource response message carries the communication resource used for performing communication by the D2D communication group; the communication resource is the second base station according to the D2D. The group identifier of the communication group and the network resource condition of each cell under the current second base station are determined; or, the communication resource is determined by the second base station according to the group identifier of the D2D communication group after being negotiated by the base station adjacent to the second base station. come out;

第二基站接收第五 UE发送的第一资源请求消息后, 检测当前网络的负 载情况, 当前网络的物理时频码以及具体的物理资源块 PRB的使用情况等。 根据检测的结果获知当前网络资源的使用情况, 并结合第一资源请求为上述 D2D组通信分配可用的通信资源。  After receiving the first resource request message sent by the fifth UE, the second base station detects the current network load condition, the physical time frequency code of the current network, and the usage of the specific physical resource block PRB. The current network resource usage is known according to the detected result, and the available communication resources are allocated for the D2D group communication in combination with the first resource request.

具体地,第二基站可根据 D2D通信组的组标识以及其下各小区当前的网 络资源情况直接为 D2D通信组分配通信资源; 这种分配方式适用于当 D2D 通信组中的各 UE位于同一网络节点即同一基站下的各小区 (也包含没有接 入任何一小区的 UE) ; 但当 D2D通信组中的 UE数量较多, 且位于不同网 络节点即不同基站下各小区内时, 上述第二基站需与 D2D 通信组内其它各 UE所在小区所属的基站通过共同协商的方式来协调分配 D2D通信组可用的 通信资源, 而通常情况下, 这些 D2D通信组内其它各 UE所在小区所属的基 站又是第二基站的在地理位置上相邻的基站。 例如, 该共同协商过程可以是 第二基站向其它相应基站发送 D2D通信组可用资源协商请求消息,该请求消 息中携带第二基站临时分配给上述 D2D通信组的通信资源集合;其它基站获 取到给通信资源集合后向上述第二基站发送 D2D通信组可用资源协商确认消 息, 该确认消息中携带其它相邻基站在上述通信资源集合中选取的适用于本 基站可分配的用于上述 D2D通信组执行通信业务的通信资源子集;上述第二 基站通过汇总上述各相邻基站发送的上述通信资源子集来最终确定用于上述 D2D通信组执行通信的通信资源。 Specifically, the second base station may be based on the group identifier of the D2D communication group and the current network of each cell under it The network resource situation directly allocates communication resources to the D2D communication group; this allocation method is applicable to each cell in the D2D communication group, which is located in the same network node, that is, each cell under the same base station (including UEs that do not access any cell); However, when the number of UEs in the D2D communication group is large and is located in different network nodes, that is, in different cells of different base stations, the second base station needs to negotiate with the base station to which the other UEs in the D2D communication group belong. Coordinating the communication resources available to the D2D communication group, and in general, the base stations to which the other UEs in the D2D communication group belong are the geographically adjacent base stations of the second base station. For example, the common negotiation process may be that the second base station sends a D2D communication group available resource negotiation request message to the other corresponding base stations, where the request message carries the communication resource set temporarily allocated by the second base station to the D2D communication group; After the communication resource is set, the D2D communication group available resource negotiation confirmation message is sent to the second base station, where the acknowledgment message carries the other neighboring base station selected in the foregoing communication resource set and is applicable to the D2D communication group for allocation by the base station. a communication resource subset of the communication service; the second base station finally determines a communication resource used for performing communication by the D2D communication group by summarizing the communication resource subsets sent by the neighboring base stations.

例如, 第二基站发送的可用资源协商请求消息包括:  For example, the available resource negotiation request message sent by the second base station includes:

PRB 1 -PRB 10可用于该 D2D通信组;  PRB 1 -PRB 10 can be used for the D2D communication group;

当前 D2D组通信共需要 2个 PRB (带宽或速率要求) ;  The current D2D group communication requires a total of 2 PRBs (bandwidth or rate requirements);

其它基站回复可用资源协商确认消息包括:  Other base stations reply to the available resource negotiation confirmation message including:

PRB0 2可用于该 D2D组通信 (其中 PRB0 2即是 PRB1~PRB10的子集) 。 上述资源的共同协商过程可以是各基站通过 X2链路接口执行, 也可以通过 S1 链路接口通过核心网节点执行。 在此不用赘述。 通过上述协商过程最后由第 二基站确定用于 D2D通信组的通信资源。  PRB0 2 can be used for this D2D group communication (where PRB0 2 is a subset of PRB1~PRB10). The common negotiation process of the foregoing resources may be performed by each base station through an X2 link interface, or may be performed by a core network node through an S1 link interface. Needless to say here. The communication resources for the D2D communication group are finally determined by the second base station through the above negotiation process.

可选的, 在上述共同协商过程中还可以协商考虑: D2D通信组的组标识、 各 UE的用户标识、 各 UE的小区标识以及各 UE所需通信资源的 QoS参数、 网 络速率、 带宽、 资源大小等参数。 这些参数也会在具体共同协商过程中作为 确定最终的通信资源的因素。  Optionally, in the foregoing common negotiation process, the group identifier of the D2D communication group, the user identifier of each UE, the cell identifier of each UE, and the QoS parameters, network rate, bandwidth, and resources of the communication resources required by each UE are also considered. Parameters such as size. These parameters are also used as factors in determining the final communication resources in a specific joint negotiation process.

第二基站将为上述 D2D通信组分配好的通信资源的信息通过第一资源响 应消息返回给第五 UE, 该第一资源响应消息具体可以是 RRC消息、 MAC层 消息, 或者 PHY消息; 如果是 RRC消息, 则上述第一资源响应消息可以是 新增加的 RRC消息,也可以是现有的 RRC消息如 RRC连接重配置消息中增 加新的 IE单元信息后形成的消息,该新增加的 IE单元信息即为用于上述 D2D 通信组的通信资源的信息。 The second base station returns the information of the communication resource allocated to the D2D communication group to the fifth UE by using the first resource response message, where the first resource response message may be an RRC message, a MAC layer message, or a PHY message; The RRC message, the foregoing first resource response message may be a newly added RRC message, or may be an existing RRC message, such as an RRC connection reconfiguration message. The message formed after the new IE unit information is added, the newly added IE unit information is the information for the communication resource of the D2D communication group.

S306, 作为第五 UE的第二 UE根据 D2D通信组内各 UE的用户标识向 D2D通信组内各 UE发送用于 D2D通信组执行通信的通信资源, 以通知各 UE利用该通信资源执行业务标识对应的 D2D通信业务;  S306. The second UE that is the fifth UE sends communication resources for performing communication by the D2D communication group to each UE in the D2D communication group according to the user identifier of each UE in the D2D communication group, to notify each UE to perform service identification by using the communication resource. Corresponding D2D communication service;

第五 UE从上述第二基站获取到用于上述 D2D通信组执行通信的通信资 源后,根据已掌握的各第二 UE的用户标识向各第二 UE发送上述获取的用于 D2D通信组执行通信的通信资源, 该发送过程可通过如广播消息或专用消息 发送; 也可以是通过协议固定的资源 (该情况下第一 UE不属于任一小区) 及方式发送, 以通知上述 D2D通信组内各 UE利用上述通信资源执行上述业 务标识对应的 D2D通信业务。  After acquiring the communication resource for performing the communication by the D2D communication group, the fifth UE sends the acquired communication for the D2D communication group to each second UE according to the user identifier of each second UE that has been learned. The communication resource may be sent by, for example, a broadcast message or a dedicated message; or may be sent by a protocol fixed resource (in this case, the first UE does not belong to any cell) and sent to notify each of the D2D communication groups. The UE performs the D2D communication service corresponding to the service identifier by using the foregoing communication resource.

可选的, 第五 UE还可以将上述 D2D通信组执行通信的通信资源先发给 上述第一 UE, 然后由上述第一 UE利用协议固定的资源转发给 D2D通信组 中其他的第二 UE。  Optionally, the fifth UE may further send the communication resource that performs communication by the D2D communication group to the first UE, and then forward the resource fixed by the first UE to the other second UE in the D2D communication group by using the fixed resource.

本发明提供的通信资源管理方法, 第二用户设备 UE从无线网络中接收 第一 UE发送的发现消息; 上述发现消息中携带设备对设备 D2D通信组的组 标识和上述 D2D通信组对应的业务标识; 上述第二 UE根据上述 D2D通信 组的组标识和上述 D2D通信组对应的业务标识向上述第一 UE发送第一申请 消息,上述第一申请消息中携带上述第二 UE的用户标识和上述第二 UE所在 小区的小区标识; 上述第一申请消息用于上述第二 UE申请加入上述 D2D通 信组;上述第二 UE作为第五 UE接收上述第一 UE发送的第一资源请求消息, 上述第一资源请求消息中携带上述 D2D通信组的组标识和上述 D2D通信组 中各 UE的用户标识, 以通知上述第五 UE由其作为通信代表对上述 D2D通 信组的上述通信资源进行管理;上述第五 UE为上述第一 UE根据各上述第二 UE所在小区的小区标识从各上述第二 UE中选取的一个 UE; 作为上述第五 UE 的上述第二 UE 向其所在小区所属的第二基站转发上述第一资源请求消 息, 以请求上述第二基站分配用于上述 D2D通信组执行所述业务标识对应的 D2D通信业务的通信资源; 作为上述第五 UE的上述第二 UE接收上述第二 基站发送的第一资源响应消息, 上述第一资源响应消息中携带用于上述 D2D 通信组执行通信的通信资源;上述通信资源为上述第二基站根据上述 D2D通 信组的组标识和当前上述第二基站下各小区的网络资源情况确定出来;或者, 上述通信资源为上述第二基站根据上述 D2D通信组的组标识在通过与上述第 二基站相邻的基站共同协商后确定出来; 作为上述第五 UE 的上述第二 UE 根据上述 D2D通信组内各 UE的用户标识向上述 D2D通信组内各 UE发送用 于上述 D2D通信组执行通信的通信资源, 以通知各上述 UE利用该通信资源 执行上述业务标识对应的 D2D通信业务。 该方案提供一套能够让 D2D通信 顺利进行并减少或避免对蜂窝网通信干扰的技术方案。 The communication resource management method provided by the present invention, the second user equipment UE receives the discovery message sent by the first UE from the wireless network; the discovery message carries the group identifier of the device to the device D2D communication group and the service identifier corresponding to the D2D communication group. The second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE and the foregoing The first application message is used by the second UE to join the D2D communication group, and the second UE is used as the fifth UE to receive the first resource request message sent by the first UE, where the first The resource request message carries the group identifier of the D2D communication group and the user identifier of each UE in the D2D communication group, to notify the fifth UE to manage the communication resource of the D2D communication group by using the fifth UE as a communication representative; The UE is one UE selected by each of the foregoing second UEs according to a cell identifier of a cell in which the second UE is located by the first UE; The second UE of the five UEs forwards the first resource request message to the second base station to which the cell to which the cell belongs, to request the second base station to allocate a communication resource for the D2D communication group to perform the D2D communication service corresponding to the service identifier. The second UE that is the fifth UE receives the first resource response message that is sent by the second base station, where the first resource response message carries a communication resource used for performing communication by the D2D communication group; the communication resource is the foregoing Two base stations according to the above D2D pass And determining, by the second base station, the base station adjacent to the second base station according to the group identifier of the D2D communication group. And determining, by the second UE, the second UE as the fifth UE, according to the user identifier of each UE in the D2D communication group, sending, to each UE in the D2D communication group, a communication resource for performing communication by using the D2D communication group, to notify Each of the foregoing UEs uses the communication resource to perform a D2D communication service corresponding to the service identifier. The solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.

在图 1所示的通信资源管理方法中,第一 UE根据第二 UE发送的第一申 请消息从现用网络中获取用于 D2D通信组进行通信的通信资源的信息时,具 体可通过两种方式来获取,一种为第一 UE从第一 UE所在小区所属的基站获 取; 另一种为第一 UE从第二 UE所在小区所属的其他基站获取;针对这两种 情况本发明给出了如下两个实施例来具体说明其执行过程。  In the communication resource management method shown in FIG. 1 , when the first UE acquires information about a communication resource used for communication by the D2D communication group from the active network according to the first application message sent by the second UE, The method is as follows: one is obtained by the first UE from the base station to which the cell where the first UE belongs; the other is obtained by the first UE from the other base station to which the second UE belongs; for the two cases, the present invention is The following two embodiments are used to specifically describe the execution process.

图 4为本发明又一个实施例提供的通信资源管理方法的流程图; 该方法 针对上述第一 UE从第一 UE所在小区所属的基站获取 D2D通信组进行通信 的通信资源的情况, 以第一 UE所在小区所属的基站 (即上述实施例中的第 一基站)为执行主体, 具体阐述该场景下上述通信资源管理方法的过程歩骤, 如图 4所示, 该通信资源管理方法具体包括:  FIG. 4 is a flowchart of a communication resource management method according to another embodiment of the present invention; the method is configured to acquire, by the first UE, a communication resource that is communicated by a D2D communication group from a base station to which the first UE belongs. The base station to which the UE is located, that is, the first base station in the foregoing embodiment is the execution entity, and the process of the communication resource management method in the scenario is specifically described. As shown in FIG. 4, the communication resource management method specifically includes:

S401 , 第一基站接收第一 UE发送的第一资源请求消息, 该第一 UE在 该第一基站覆盖的小区范围内,该第一资源请求消息中携带 D2D通信组的组 标识;  S401: The first base station receives the first resource request message sent by the first UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries the group identifier of the D2D communication group.

上述第一 UE通过歩骤 101~102成功发起 D2D通信业务后, 若当前第 一 UE存在服务小区,则第一 UE向其所在小区所属的第一基站发送第一资源 请求消息, 该第一资源请求消息中携带 D2D通信组的组标识, 以请求第一基 站为该 D2D通信组分配通信资源。  After the first UE successfully initiates the D2D communication service through the steps 101-102, if the current first UE has the serving cell, the first UE sends a first resource request message to the first base station to which the cell to which the cell belongs, the first resource. The request message carries the group identifier of the D2D communication group to request the first base station to allocate communication resources for the D2D communication group.

S402,第一基站根据 D2D通信组的组标识和当前第一基站下各小区的网 络资源情况确定用于 D2D通信组执行通信的第一通信资源; 或者, 第一基站 根据 D2D通信组的组标识在通过与第一基站相邻的基站共同协商后确定上述 第一通信资源; 该歩骤具体执行过程可参见歩骤 305中, 第二基站根据 D2D 通信组的组标识和当前第二基站下各小区的网络资源情况; 或者, 第二基站 根据 D2D通信组的组标识在通过与第二基站相邻的基站共同协商后确定用于 D2D通信组执行通信的通信资源的相应内容, 在此不作赘述。 S402, the first base station determines, according to the group identifier of the D2D communication group and the network resource condition of each cell under the current first base station, the first communication resource used for performing communication by the D2D communication group; or the first base station according to the group identifier of the D2D communication group. Determining the first communication resource after the negotiation with the base station adjacent to the first base station; the specific execution process of the step may be performed in step 305, the second base station according to the group identifier of the D2D communication group and the current second base station The network resource condition of the cell; or, the second base station determines to use according to the group identifier of the D2D communication group after being mutually negotiated by the base station adjacent to the second base station The corresponding content of the communication resource for performing communication by the D2D communication group is not described herein.

S403 , 第一基站向第一 UE发送第一资源响应消息, 该第一资源响应消 息中携带用于 D2D通信组执行通信的第一通信资源; 该歩骤具体执行过程可 参见歩骤 305中第二基站将确定的用于 D2D通信组的通信资源通过第一资源 响应消息返回给第五 UE的相应内容, 在此不作赘述。  S403. The first base station sends a first resource response message to the first UE, where the first resource response message carries the first communication resource used for performing communication by the D2D communication group. For the specific execution process, refer to step 305. The second base station returns the determined communication resource for the D2D communication group to the corresponding content of the fifth UE by using the first resource response message, and details are not described herein.

本发明提供的通信资源管理方法, 第一基站接收第一 UE发送的第一资 源请求消息, 上述第一 UE在上述第一基站覆盖的小区范围内, 上述第一资 源请求消息中携带 D2D通信组的组标识; 上述第一基站根据上述 D2D通信 组的组标识和当前上述第一基站下各小区的网络资源情况确定用于上述 D2D 通信组执行通信的第一通信资源; 或者, 上述第一基站根据上述 D2D通信组 的组标识在通过与上述第一基站相邻的基站共同协商后确定上述第一通信资 源; 上述第一基站向上述第一 UE发送第一资源响应消息, 上述第一资源响 应消息中携带用于上述 D2D通信组执行通信的上述第一通信资源。该方案提 供一套能够让 D2D 通信顺利进行并减少或避免对蜂窝网通信干扰的技术方 案。  The communication resource management method provided by the present invention, the first base station receives the first resource request message sent by the first UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries the D2D communication group. The first base station determines, according to the group identifier of the D2D communication group and the network resource condition of each of the cells in the first base station, the first communication resource used for performing communication by the D2D communication group; or, the foregoing first base station Determining, by the group identifier of the D2D communication group, the first communication resource after being negotiated by the base station adjacent to the first base station; the first base station sending a first resource response message to the first UE, where the first resource response is The message carries the first communication resource for performing communication in the D2D communication group. The solution provides a technical solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.

图 5为本发明又一个实施例提供的通信资源管理方法的流程图; 该方法 针对上述第一 UE从第二 UE所在小区所属的其他基站获取 D2D通信组进行 通信的通信资源的情况, 以第二 UE所在小区所属的基站 (即上述图 3所示 实施例中的第二基站) 为执行主体, 具体阐述该场景下上述通信资源管理方 法的过程歩骤, 如图 5所示, 该通信资源管理方法具体包括:  FIG. 5 is a flowchart of a communication resource management method according to another embodiment of the present invention; the method is configured to acquire, by the first UE, a communication resource that is communicated by a D2D communication group from another base station to which the second UE belongs. The base station to which the second UE is located (that is, the second base station in the embodiment shown in FIG. 3) is an execution subject, and the process steps of the foregoing communication resource management method in the scenario are specifically described. As shown in FIG. 5, the communication resource is shown in FIG. The management method specifically includes:

S501 , 第二基站接收第二 UE转发的来自第一 UE发送的第一资源请求消 息; 该第二 UE在上述第二基站覆盖的小区范围内; 该第一资源请求消息中携 带 D2D通信组的组标识; 该第一资源请求消息用于第一 UE为其所在的 D2D通 信组进行通信资源申请;  S501. The second base station receives a first resource request message that is sent by the second UE and is sent by the second UE. The second UE is in a cell range that is covered by the second base station. The first resource request message carries the D2D communication group. The first resource request message is used by the first UE to apply for a communication resource for the D2D communication group in which the first UE is located;

第一 UE通过歩骤 101 102成功发起 D2D通信业务后, 若当前第一 UE 不存在服务小区, 即该第一 UE不存在所在接入小区所属网络对应的基站, 则该第一 UE无法直接从相应的基站通过发送资源请求信息等方式获取通信 资。 此时, 该第一 UE可通过其他第二 UE来从现有网络中申请上述 D2D通 信组所需的通信资源, 而这需要在歩骤 102中, 上述第二 UE根据 D2D通信 组的组标识和 D2D通信组对应的业务标识向第一 UE返回第一申请消息中除 了携带第二 UE的用户标识外,还要携带第二 UE所在小区的小区标识, 即歩 骤 302。 具体方法为: 第一 UE根据歩骤 302中接收的各第二 UE返回的第一 申请消息中的小区标识信息得知各第二 UE 当前的网络接入小区, 并通过测 量比较各第二 UE当前接入小区的网络的情况 (网络速度、 网络带宽、 负载, 网络资源使用情况等) 从各第二 UE 中选取一个 UE作为第五 UE (该第五 UE即为本实施例中的第二 UE) , 并通过上述协议固定的资源及收发信息方 式向该第五 UE发送第一资源请求消息,该第一资源请求消息中携带上述 D2D 通信组的组标识和该 D2D通信组中各 UE的用户标识, 以通知该第五 UE上 述 D2D通信组的通信资源将由第五 UE作为通信代表进行管理。 第五 UE接 收到第一 UE发送的第一资源请求消息后,将其转发给第五 UE所在小区所属 的第二基站, 以请求第二基站为上述 D2D通信组分配用于通信的通信资源。 After the first UE successfully initiates the D2D communication service through the step 101 102, if the current first UE does not have the serving cell, that is, the first UE does not have the base station corresponding to the network to which the access cell belongs, the first UE cannot directly The corresponding base station acquires communication resources by sending resource request information and the like. At this time, the first UE may apply for the communication resources required by the D2D communication group from the existing network by using the other second UE, and in this step, the second UE is configured according to the group identifier of the D2D communication group. And the service identifier corresponding to the D2D communication group returns the first application message to the first UE. In addition to the user identifier of the second UE, the cell identifier of the cell where the second UE is located is also carried, that is, step 302. The specific method is: the first UE learns the current network access cell of each second UE according to the cell identity information in the first application message returned by each second UE received in step 302, and compares and compares each second UE by measurement. The current situation of the network of the accessing cell (network speed, network bandwidth, load, network resource usage, etc.) selects one UE from each of the second UEs as the fifth UE (the fifth UE is the second in this embodiment) Transmitting, by the UE, the first resource request message to the fifth UE by using the fixed resource and the sending and receiving information in the foregoing protocol, where the first resource request message carries the group identifier of the D2D communication group and each UE in the D2D communication group The user identifier is used to notify the fifth UE that the communication resources of the D2D communication group are to be managed by the fifth UE as a communication representative. After receiving the first resource request message sent by the first UE, the fifth UE forwards the message to the second base station to which the cell where the fifth UE belongs, to request the second base station to allocate communication resources for communication to the D2D communication group.

5502,第二基站根据 D2D通信组的组标识和当前第二基站下各小区的网 络资源情况确定用于 D2D通信组进行通信的通信资源; 或者, 第二基站根据 D2D通信组的组标识在通过与第二基站相邻的基站共同协商后确定该通信资 源; 该歩骤具体执行过程可参见歩骤 305中的相应内容。  S502, the second base station determines, according to the group identifier of the D2D communication group and the network resource condition of each cell under the current second base station, a communication resource used for communication by the D2D communication group; or, the second base station passes the group identifier according to the D2D communication group. The communication resource is determined by the base station adjacent to the second base station. The specific implementation process can be referred to the corresponding content in step 305.

5503 , 第二基站向第二 UE发送第一资源响应消息, 该第一资源响应消 息中携带用于 D2D通信组执行通信的通信资源; 该歩骤具体执行过程可参见 歩骤 305中第二基站将为 D2D通信组分配的通信资源的信息通过第一资源响 应消息发送给第五 UE的相应内容。 第二 UE接收到上述用于 D2D通信组执 行通信的通信资源后,将该通信资源发送给第一 UE以使第一 UE转发给 D2D 通信组中的其他各 UE, 或者, 上述第二 UE直接将获取到的上述通信资源发 送给 D2D通信组中的各 UE以通知各 UE利用相应的通信资源执行通信。  The second base station sends a first resource response message to the second UE, where the first resource response message carries a communication resource for performing communication by the D2D communication group. For the specific execution process, refer to step 305 in the second base station. The information of the communication resource allocated for the D2D communication group is transmitted to the corresponding content of the fifth UE through the first resource response message. After receiving the communication resource for performing the communication by the D2D communication group, the second UE sends the communication resource to the first UE to forward the first UE to other UEs in the D2D communication group, or the second UE directly The acquired communication resources are sent to each UE in the D2D communication group to notify each UE to perform communication using the corresponding communication resource.

本发明提供的通信资源管理方法, 第二基站接收第二 UE转发的来自第一 UE发送的第一资源请求消息; 上述第二 UE在上述第二基站覆盖的小区范围 内; 上述第一资源请求消息中携带 D2D通信组的组标识; 上述第一资源请求 消息用于上述第一 UE为其所在的上述 D2D通信组进行通信资源申请; 上述第 二基站根据上述 D2D通信组的组标识和当前上述第二基站下各小区的网络资 源情况确定用于上述 D2D通信组进行通信的通信资源; 或者, 上述第二基站 根据上述 D2D通信组的组标识在通过与上述第二基站相邻的基站共同协商后 确定上述通信资源; 上述第二基站向上述第二 UE发送第一资源响应消息, 上 述第一资源响应消息中携带用于上述 D2D通信组执行通信的上述通信资源。 该方案提供一套能够让 D2D通信顺利进行并减少或避免对蜂窝网通信干扰 的技术方案。 The communication resource management method provided by the present invention, the second base station receives the first resource request message sent by the second UE and is sent by the second UE; the second UE is within the cell coverage area of the second base station; The message carries the group identifier of the D2D communication group; the first resource request message is used by the first UE to apply for a communication resource for the D2D communication group in which the first UE is located; and the second base station is configured according to the group identifier of the D2D communication group and the current The network resource situation of each cell in the second base station determines a communication resource used for communication by the D2D communication group; or, the second base station negotiates with the base station adjacent to the second base station according to the group identifier of the D2D communication group. Determining the foregoing communication resource; the second base station sending a first resource response message to the second UE, where The first resource response message carries the foregoing communication resource used for performing communication by the D2D communication group. The solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.

上述如图 1至 5所示的方法及举例可以相结合, 以下根据不同场景举例介 绍。  The methods and examples shown in the above Figures 1 to 5 can be combined, and the following is exemplified according to different scenarios.

图 6为本发明又一个实施例提供的通信资源管理方法的流程图;本实施例 是如图 1至 5所示方法的一种具体实现方式, 如图 1至 5所示方法的举例可结 合至本实施例中。 如图 6所示, 上述方法涉及了发起 D2D通信业务的第一 UE、 申请加入上述 D2D通信业务的第二 UE、 第一 UE所在小区所属的第一 基站和第二 UE所在小区所属的第二基站; 其中第二 UE及其对应的第二基 站可以为多个。上述方法的应用场景为第一 UE在组建 D2D通信组时, 其存 在对应的服务小区, 上述第一 UE从第一 UE所在小区所属的第一基站获取 供 D2D通信组执行通信的通信资源。 本实施例所述通信资源管理方法具体 包括如下歩骤。  FIG. 6 is a flowchart of a method for managing a communication resource according to another embodiment of the present invention; this embodiment is a specific implementation manner of the method shown in FIG. 1 to FIG. In this embodiment. As shown in FIG. 6, the foregoing method relates to a first UE that initiates a D2D communication service, a second UE that applies to join the D2D communication service, a first base station to which a cell where the first UE is located, and a second cell to which the second UE belongs. The base station; wherein the second UE and its corresponding second base station may be multiple. The application scenario of the foregoing method is that when the first UE establishes the D2D communication group, it has a corresponding serving cell, and the first UE acquires a communication resource for the D2D communication group to perform communication from the first base station to which the cell where the first UE belongs. The communication resource management method in this embodiment specifically includes the following steps.

S601 , 第一用户设备 UE向无线网络中的至少一个第二 UE发送发现消息, 该发现消息用于向至少一个第二 UE指示第一 UE支持设备对设备 D2D通信业 务; 该发现消息中携带 D2D通信组的组标识和 D2D通信组对应的业务标识; S601, the first user equipment UE sends a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication service; the discovery message carries the D2D The group identifier of the communication group and the service identifier corresponding to the D2D communication group;

5602, 第一 UE接收第二 UE发送的第一申请消息, 该第一申请消息中 携带第二 UE的用户标识; 该第一申请消息用于第二 UE申请加入 D2D通信 组; S602, the first UE receives the first application message sent by the second UE, where the first application message carries the user identifier of the second UE, and the first application message is used by the second UE to join the D2D communication group.

上述歩骤 601 602可参见图 1所示实施例中的歩骤 101 102, 在此不作 赘述。  The above step 601 602 can be referred to step 101 102 in the embodiment shown in FIG. 1, which is not described herein.

5603 , 第一 UE根据第二 UE发送的第一申请消息向第一基站发送第一资 源请求消息, 该第一 UE在第一基站覆盖的小区范围内, 该第一资源请求消息 中携带 D2D通信组的组标识;  S603, the first UE sends a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries the D2D communication. Group ID of the group;

本歩骤是歩骤 103的一种具体实现方式, 在第一 UE接收各第二 UE返回的 第一申请消息后,若第一 UE当前存在接入的小区,则该第一 UE向其所在小区 所属的第一基站发送第一资源请求消息, 该第一资源请求消息中携带 D2D通 信组的组标识, 以请求第一基站为该 D2D通信组分配通信资源。  The method is a specific implementation of the step 103. After the first UE receives the first application message returned by the second UE, if the first UE currently has an accessing cell, the first UE is located The first base station to which the cell belongs sends a first resource request message, where the first resource request message carries the group identifier of the D2D communication group, to request the first base station to allocate communication resources for the D2D communication group.

S604, 第一基站根据 D2D通信组的组标识和当前第一基站下各小区的网 络资源情况确定用于 D2D通信组执行通信的第一通信资源; 或者, 第一基站 根据 D2D通信组的组标识在通过与第一基站相邻的基站共同协商后确定上述 第一通信资源; 该歩骤具体执行过程可参见歩骤 402的相应内容, 在此不作赘 述。 S604. The first base station is configured according to the group identifier of the D2D communication group and the network of each cell under the current first base station. And determining, by the first base station, the first communication resource after the negotiation by the base station adjacent to the first base station according to the group identifier of the D2D communication group; For details, refer to the corresponding content in step 402, and no further details are provided herein.

S605, 第一基站向第一 UE发送第一资源响应消息, 该第一资源响应消息 中携带用于 D2D通信组执行通信的第一通信资源; 该歩骤具体执行过程可参 见歩骤 403的相应内容, 在此不作赘述。  S605. The first base station sends a first resource response message to the first UE, where the first resource response message carries a first communication resource for performing communication by the D2D communication group. For the specific execution process, refer to step 403. The content is not described here.

S606, 第一 UE根据第二 UE的用户标识, 向 D2D通信组内的第二 UE发送 用于 D2D通信组执行通信的通信资源;  S606. The first UE sends, according to the user identifier of the second UE, a communication resource used by the D2D communication group to perform communication to the second UE in the D2D communication group.

S607, 第二 UE利用上述通信资源执行业务标识对应的 D2D通信业务; 上述歩骤 606 607的具体执行过程可参见歩骤 104中的相应内容, 在此不 作赘述。  S607. The second UE performs the D2D communication service corresponding to the service identifier by using the foregoing communication resource. For the specific implementation process of the foregoing step 606 607, refer to the corresponding content in the step 104, which is not described herein.

进一歩的, 在本实施例中, 上述第一资源响应消息中还包括第一小区列 表; 该第一小区列表包含至少一个小区对应的小区标识, 该第一小区列表用 于指示上述 D2D通信组执行通信所利用的第一预留资源所在的小区; 该第一 小区列表为上述第一基站确定的, 或者该第一小区列表为上述第一基站与第 一基站相邻的基站共同协商后确定的。 上述第一预留资源可用于后续该 D2D 通信组中的 UE之间执行通信。  Further, in this embodiment, the first resource response message further includes a first cell list; the first cell list includes a cell identifier corresponding to at least one cell, where the first cell list is used to indicate the D2D communication group. a cell in which the first reserved resource is used for performing communication; the first cell list is determined by the first base station, or the first cell list is determined by the first base station and the base station adjacent to the first base station after negotiation of. The first reserved resource may be used to perform communication between UEs in the subsequent D2D communication group.

其中, 上述第一小区列表并不局限于表格这一种形式。 可选的, 在本实 施例中, 在歩骤 607之后, 即上述 D2D通信组内各 UE在执行通信过程中, 还可以执行如下歩骤:  The first cell list is not limited to the form of a table. Optionally, in this embodiment, after the step 607, that is, each UE in the D2D communication group performs the communication process, the following steps may be performed:

S608, 第一 UE接收第三 UE发送的第二申请消息; 该第二申请消息中携 带第三 UE的用户标识和第三 UE所在小区的小区标识 ·'  S608, the first UE receives the second application message sent by the third UE, where the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located.

上述第三 UE作为新加入到上述 D2D通信组的 UE,在向第一 UE发送第 二申请消息时, 需携带其自身的用户标识和当前所在小区的小区标识。  The third UE, as a UE newly added to the D2D communication group, needs to carry its own user identifier and the cell identifier of the current cell when transmitting the second application message to the first UE.

S609.1 , 若第三 UE所在小区的小区标识包含在第一小区列表中, 则第一 UE通知第三 UE利用第一预留资源执行业务标识对应的 D2D通信业务,并且第 一 UE将第三 UE作为 D2D通信组中的一个第二 UE进行管理; 在该过程中, 第 一 UE无需通知第一 UE所在的第一基站为该 D2D通信组从新分配通信资源。  S609.1, if the cell identifier of the cell where the third UE is located is included in the first cell list, the first UE notifies the third UE to perform the D2D communication service corresponding to the service identifier by using the first reserved resource, and the first UE The UE is managed as a second UE in the D2D communication group. In this process, the first UE does not need to notify the first base station where the first UE is located to newly allocate communication resources for the D2D communication group.

S609.2, 若第三 UE所在小区的小区标识不包含在第一小区列表中, 则第 一 UE向第一基站发送第二资源请求消息; 该第二资源请求消息中携带 D2D通 信组的组标识和第三 UE所在小区的小区标识, 以请求第一基站根据第三 UE 所在小区的小区标识为 D2D通信组重新分配通信资源,并且第一 UE将第三 UE 作为 D2D通信组中的一个第二 UE进行管理; S609.2, if the cell identifier of the cell where the third UE is located is not included in the first cell list, The UE sends a second resource request message to the first base station; the second resource request message carries the group identifier of the D2D communication group and the cell identifier of the cell where the third UE is located, to request the first base station to use the cell according to the cell where the third UE is located. Identifying that the communication resource is reallocated for the D2D communication group, and the first UE manages the third UE as one of the second UEs in the D2D communication group;

由于第三 UE所在的小区不在上述第一小区列表中, 因此,第一 UE判断出 当前待加入 D2D通信组的第三 UE不能利用上述第一预留资源执行上述 D2D 通信组的相应业务。第一 UE向第一 UE所在小区所属的第一基站发送第二资源 请求消息以通知第一基站根据第三 UE所在小区的小区标识为上述 D2D通信 组重新分配通信资源。  The third UE that is currently in the D2D communication group cannot use the first reserved resource to perform the corresponding service of the D2D communication group, because the cell in which the third UE is located is not in the first cell list. The first UE sends a second resource request message to the first base station to which the cell where the first UE belongs to notify the first base station to reallocate the communication resource to the D2D communication group according to the cell identifier of the cell where the third UE is located.

S610, 第一基站根据第三 UE所在小区的小区标识、 D2D通信组的组标识 和当前第一基站下各小区的网络资源情况为 D2D通信组重新分配通信资源; 或者, 第一基站根据第三 UE所在小区的小区标识和 D2D通信组的组标识在通 过与第一基站相邻的基站共同协商后为 D2D通信组重新分配通信资源;  S610. The first base station re-allocates communication resources for the D2D communication group according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the network resource status of each cell under the current first base station; or, the first base station according to the third The cell identifier of the cell where the UE is located and the group identifier of the D2D communication group are re-allocated communication resources for the D2D communication group after being negotiated by the base station adjacent to the first base station;

该重新分配过程, 可参见歩骤 402的相应内容。 第一基站根据第三 UE所 在小区的小区标识可在本地存储的小区标识与各小区所在基站的对应关系表 中查找到第三 UE所在小区所属的基站,并可与第三 UE所在小区所属的基站共 同协商, 同时也可再加上第一基站的相邻基站共同协商, 最终确定出用于上 述 D2D通信组的通信资源。  For the redistribution process, refer to the corresponding content of step 402. The first base station may find, according to the cell identifier of the cell where the third UE is located, the base station to which the cell where the third UE belongs, in the corresponding relationship table between the locally stored cell identifier and the base station where the cell is located, and may belong to the cell to which the third UE is located. The base stations negotiate together, and may also jointly negotiate with the neighboring base stations of the first base station to finally determine the communication resources for the D2D communication group.

5611 , 第一 UE接收第一基站发送的第二资源响应消息, 该第二资源响应 消息中携带用于 D2D通信组执行通信的第二通信资源和第二小区列表; 该第 二小区列表中包含第三 UE所在小区的小区标识 ·'  The first UE receives a second resource response message sent by the first base station, where the second resource response message carries a second communication resource and a second cell list for performing communication by the D2D communication group; the second cell list includes Cell ID of the cell where the third UE is located·'

5612,第一 UE向 D2D通信组内的第二 UE发送用于 D2D通信组执行通信的 第二通信资源, 以通知 D2D通信组内各 UE利用第二通信资源执行业务标识对 应的 D2D通信业务;  The first UE sends a second communication resource for the D2D communication group to perform communication to the second UE in the D2D communication group, to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the second communication resource;

上述歩骤 611 612的具体执行过程可参见歩骤 605 607的内容, 在此不作 赘述。 其中, 上述第二小区列表同上述第一小区列表的作用相同, 均用于提 供后续该 D2D通信组中的 UE之间进行通信时使用的通信资源。当第一 UE接收 到上述第二小区列表后, 会将原来的第一小区列表内容舍弃, 替换为当前的 第二小区列表。 上述第二小区列表中包含上述第三 UE所在小区的小区标识。  For the specific implementation process of the foregoing step 611 612, refer to the content of step 605 607, which is not described herein. The second cell list has the same function as the first cell list, and is used to provide communication resources used in subsequent communication between UEs in the D2D communication group. After receiving the second cell list, the first UE discards the original first cell list content and replaces it with the current second cell list. The second cell list includes a cell identifier of a cell where the third UE is located.

上述歩骤 609.1与歩骤 609.2~612为第一 UE确定第三 UE所在小区是否在上 述第一小区列表中后执行的两套方法歩骤, 目的在于使第三 UE能够融入上述 D2D通信组中, 执行上述 D2D通信业务。 The foregoing step 609.1 and steps 609.2-612 determine whether the cell where the third UE is located is the first UE. The two sets of method steps performed in the first cell list are performed to enable the third UE to be integrated into the D2D communication group to perform the D2D communication service.

可选的, 在本实施例中, 上述第一 UE从网络中申请到用于上述 D2D通信 组执行通信的通信资源后, 且利用该通信资源执行 D2D通信的过程中, 还包 括:  Optionally, in this embodiment, after the foregoing first UE applies for the communication resource used by the D2D communication group to perform communication, and the D2D communication is performed by using the communication resource, the method further includes:

S613 , 第一 UE接收第一基站发送的第一资源变更消息; 该第一资源变更 消息中携带第一变更通信资源;  S613, the first UE receives the first resource change message sent by the first base station; the first resource change message carries the first change communication resource;

例如, 在上述 D2D通信组建立后, 且组内各 UE进行通信的过程中, 网络 侧会根据网络资源的变化情况适时调整已分配给上述 D2D通信组的通信资 源, 并将资源变更消息通过上述 D2D通信组中的通信代表 (如本实施例中的 第一 UE) 转发给 D2D通信组内其他 UE。 例如, 上述作为通信代表的第一 UE 在执行上述 D2D通信业务的过程中会接收到第一基站发送的上述第一资源变 更消息, 该第一资源变更消息中携带第一变更通信资源, 以指示上述第一 UE 通知上述 D2D通信组内各 UE利用该第一变更通信资源执行相应的 D2D通信 业务。  For example, after the D2D communication group is established, and the UEs in the group perform communication, the network side adjusts the communication resources allocated to the D2D communication group according to the change of the network resources, and passes the resource change message. The communication representative in the D2D communication group (such as the first UE in this embodiment) forwards to other UEs in the D2D communication group. For example, the first UE that is the communication representative receives the first resource change message sent by the first base station in the process of performing the D2D communication service, and the first resource change message carries the first change communication resource to indicate The first UE notifies each UE in the D2D communication group to perform a corresponding D2D communication service by using the first changed communication resource.

614, 第一 UE将第一资源变更消息中携带的第一变更通信资源发送给 D2D通信组内的各上述第二 UE,以使 D2D通信组内各第二 UE利用第一变更通 信资源执行业务标识对应的 D2D通信业务; 并且第一 UE将第一变更通信资源 所在小区的小区标识更新至 D2D通信组对应的第一小区列表中 ·'  614. The first UE sends the first change communication resource carried in the first resource change message to each of the second UEs in the D2D communication group, so that each second UE in the D2D communication group performs service by using the first change communication resource. Identifying the corresponding D2D communication service; and the first UE updates the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.

例如, 上述第一 UE接收到第一基站发送的第一资源变更消息后, 从该消 息中提取出上述第一变更通信资源, 并将该第一变更通信资源发送给上述 D2D通信组内的各第二 UE。上述各第二 UE利用该第一变更通信资源继续执行 上述 2D通信业务。 同时, 上述第一 UE将上述第一变更通信资源所在小区的小 区标识更新至上述 D2D通信组对应的上述第一小区列表(或者第二小区列表) 中。  For example, after receiving the first resource change message sent by the first base station, the first UE extracts the first changed communication resource from the message, and sends the first changed communication resource to each of the D2D communication groups. Second UE. Each of the second UEs continues to execute the 2D communication service by using the first changed communication resource. At the same time, the first UE updates the cell identifier of the cell where the first change communication resource is located to the first cell list (or the second cell list) corresponding to the D2D communication group.

本发明提供的通信资源管理方法, 第一用户设备 UE 向无线网络中的至 少一个第二 UE发送发现消息,上述发现消息用于向至少一个第二 UE指示上 述第一 UE支持设备对设备 D2D通信业务; 上述发现消息中携带 D2D通信 组的组标识和上述 D2D通信组对应的业务标识; 上述第一 UE接收上述第二 UE发送的第一申请消息,上述第一申请消息中携带上述第二 UE的用户标识; 上述第一申请消息用于上述第二 UE 申请加入上述 D2D通信组; 上述第一 UE根据上述第二 UE发送的上述第一申请消息获取用于上述 D2D通信组执 行通信的通信资源;上述第一 UE根据上述第二 UE的用户标识,向上述 D2D 通信组内的上述第二 UE发送用于上述 D2D通信组执行通信的通信资源, 以 通知上述 D2D通信组内各 UE利用上述通信资源执行上述业务标识对应的 D2D通信业务。 该方案提供一套能够让 D2D通信顺利进行并减少或避免对 蜂窝网通信干扰的技术方案。 The communication resource management method provided by the present invention, the first user equipment UE sends a discovery message to at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication. The first discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; the first UE receives the first application message sent by the second UE, where the first application message carries the second UE User ID; The first application message is used by the second UE to join the D2D communication group; the first UE acquires a communication resource used by the D2D communication group to perform communication according to the first application message sent by the second UE; Transmitting, by the UE, the communication resource for performing the communication by the D2D communication group to the second UE in the D2D communication group according to the user identifier of the second UE, to notify each UE in the D2D communication group to perform the foregoing service by using the communication resource. Identify the corresponding D2D communication service. The solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.

图 7为本发明又一个实施例提供的通信资源管理方法的流程图。 本实施 例是如图 1至 5所示方法的又一种具体实现方式, 也可以视为如图 6所示的 方法在特定场景下的实现方式。 本实施例的场景与如图 6所示方法的场景相 同, 即在上述第一 UE在组建完成 D2D通信组后, 如何进一歩的在其自身 所在小区的网络信号或质量下降时, 将其通信代表的角色进行切换, 以使 其他第二 UE继续对上述 D2D通信组使用的通信资源进行管理。这里说明, 执行本实施例所示方法流程的前提, 需在图 6所示实施例中的上述第一申 请消息中携带第二 UE所在小区的小区标识 (各第二 UE也可在执行 D2D 通信的过程中向第一 UE主动上报其所在小区的网络情况)。如图 7所示, 上述通信资源管理方法具体包括如下歩骤:  FIG. 7 is a flowchart of a communication resource management method according to still another embodiment of the present invention. This embodiment is another specific implementation manner of the method shown in FIG. 1 to FIG. 5, and can also be regarded as an implementation manner of the method shown in FIG. 6 in a specific scenario. The scenario in this embodiment is the same as the scenario in the method shown in FIG. 6, that is, after the first UE establishes a D2D communication group, how to further communicate when the network signal or quality of the cell in which the UE is located is decreased. The role of the representative is switched so that the other second UEs continue to manage the communication resources used by the above D2D communication group. It is to be noted that, in the implementation of the method flow shown in this embodiment, the first application message in the embodiment shown in FIG. 6 needs to carry the cell identifier of the cell where the second UE is located (each second UE may also perform D2D communication). In the process, the first UE actively reports the network condition of the cell in which it is located. As shown in FIG. 7, the foregoing communication resource management method specifically includes the following steps:

5701 , 第一 UE在执行 D2D通信的过程中测量第一 UE所在小区的网络 信号强度和 /或网络信号质量;  S701, the first UE measures network signal strength and/or network signal quality of a cell where the first UE is located in the process of performing D2D communication;

例如, 上述第一 UE作为上述 D2D通信组的通信代表, 在执行上述 D2D 通信过程中实时或周期性测量第一 UE接入其当前所在小区的网络情况,包 括网络信号强度和 /或网络信号质量。  For example, the first UE, as the communication representative of the D2D communication group, performs real-time or periodic measurement of the network condition of the first UE accessing the current cell in the D2D communication process, including network signal strength and/or network signal quality. .

5702 , 若第一 UE所在小区的网络信号强度低于第一信号强度阈值, 和 /或网络信号质量低于第一信号质量阈值,则第一 UE根据各第二 UE所在小 区的小区标识从各第二 UE中选取一个 UE作为第四 UE;  S702, if the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the first UE is configured according to the cell identifier of the cell where each second UE is located. Selecting one UE as the fourth UE in the second UE;

其中, 上述第一信号强度阈值或第一信号质量阈值为判断当前网络的 信号强度或信号质量是否能保证 UE能继续与网络侧进行通信的标准参数。 其中, 上述第一信号强度阈值和第一信号质量阈值可以设置为 0~100区间内 的任一整数;上述 0~100的数值区间代表的含义为:数值越大其对应的信号强 度或信号质量越佳, 越有利于服务通信; 相反, 数值越小其对应的信号强度 或信号质量越差, 越不利于服务通信。 若第一 UE所在小区的网络信号强度 低于第一信号强度阈值, 和 /或网络信号质量低于第一信号质量阈值, 则表 征当前第一 UE接入的网络状态不佳,不能保证第一 UE与其所在的网络侧的基 站进行正常通信。 该情况下, 上述第一 UE根据上述第一申请消息中携带的第 二 UE所在小区的小区标识从各第二 UE中选取一个 UE作为第四 UE来接替自 己的通信代表的位置, 继续管理上述 D2D通信组所对应的通信资源。 这里说 明, 在判断第一 UE所在小区的当前网络是否利于服务通信所采用的参数和具 体判断方法并不局限于本实施例所述方式, 例如, 可以采用相反的方式设置 阈值, 例如数值越小的代表信号质量越差, 数值越大的代表信号质量越好, 响应的, 所属信号强度和所述网络信号质量的阈值应为高于该阈值, 此外还 可以通过判断信号质量的指示满足一条件时, 触发 S702中的选取歩骤, 这一 原则可以适用于本发明其它实施例。 The first signal strength threshold or the first signal quality threshold is a standard parameter for determining whether the signal strength or signal quality of the current network can ensure that the UE can continue to communicate with the network side. The first signal strength threshold and the first signal quality threshold may be set to any integer in the range of 0 to 100; the numerical interval of 0 to 100 represents the meaning: the larger the value, the corresponding signal strength or signal quality The better, the better the service communication; on the contrary, the smaller the value, the corresponding signal strength Or the worse the signal quality, the more unfavorable the service communication. If the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the current network state of the first UE access is not good, and the first state cannot be guaranteed. The UE performs normal communication with the base station on the network side where it is located. In this case, the first UE selects one UE from each of the second UEs as the fourth UE to replace the location of its own communication representative according to the cell identity of the cell where the second UE is located in the first application message, and continues to manage the foregoing. Communication resources corresponding to the D2D communication group. It is to be noted that the parameter and the specific determining method used in determining whether the current network of the cell in which the first UE is located is beneficial to the service communication is not limited to the manner described in this embodiment. For example, the threshold may be set in an opposite manner, for example, the smaller the value. The worse the representative signal quality, the larger the value represents the better the signal quality, and the threshold of the response, the associated signal strength and the quality of the network signal should be higher than the threshold. In addition, a condition can be satisfied by determining the indication of the signal quality. When the selection step in S702 is triggered, this principle can be applied to other embodiments of the present invention.

可选的, 第一 UE根据各第二 UE所在小区的小区标识从各第二 UE中选取 一个 UE作为第四 UE的具体方法包括:  Optionally, the specific method for the first UE to select one UE from each of the second UEs as the fourth UE according to the cell identifier of the cell where the second UE is located includes:

第一 UE根据各第二 UE所在小区的小区标识向 D2D通信组中第二 UE发送 查询请求; 具体地,第一 UE可根据第二 UE所在小区的小区标识向指定的第二 UE发送查询请求。该查询请求用于查询对应第二 UE所在小区的网络信号强度 和 /或网络信号质量。  The first UE sends a query request to the second UE in the D2D communication group according to the cell identifier of the cell in which the second UE is located. Specifically, the first UE may send a query request to the designated second UE according to the cell identifier of the cell where the second UE is located. . The query request is used to query the network signal strength and/or the network signal quality of the cell corresponding to the second UE.

第一 UE接收第二 UE发送的查询响应, 该查询响应中携带第二 UE所在小 区的网络信号强度和 /或网络信号质量; 具体地, 第二 UE接收到第一 UE发送 的上述查询请求后,将测量获得的第二 UE的所在小区的网络信号强度和 /或网 络信号质量通过发送查询响应发送给上述第一 UE。  The first UE receives the query response sent by the second UE, where the query response carries the network signal strength and/or the network signal quality of the cell where the second UE is located. Specifically, after receiving the query request sent by the first UE, the second UE receives the query request. And transmitting, by the measurement, the network signal strength and/or the network signal quality of the cell where the second UE is obtained, by sending a query response to the first UE.

第一 UE从各上述第二 UE中选择一个所在小区的网络信号强度或网络信 号质量最强的第二 UE作为第四 UE, 或者, 第一 UE从各上述第二 UE中选 择一个所在小区的网络信号强度和网络信号质量的综合值最强的第二 UE作 为上述第四 UE; 具体地, 第一 UE对各第二 UE返回的查询响应中携带的上 述第二 UE所在小区的网络信号强度或网络信号质量进行比较, 从中选取一 个其所在小区的网络信号强度或网络信号质量最强的 UE作为上述第四 UE; 当网络信号强度最强的小区和网络信号质量最强的小区不为同一小区时, 也 可以将每个小区的网络信号强度和网络信号质量进行如加权计算得到一个综 合值, 并将该综合值最强的小区对应的 UE确定为上述第四 UE。 The first UE selects, as the fourth UE, the second UE with the strongest network signal strength or the network signal quality of the cell in the second UE, or the first UE selects a cell from each of the foregoing second UEs. The second UE with the strongest combination of the network signal strength and the network signal quality is used as the fourth UE; specifically, the network signal strength of the cell where the second UE is located, which is carried in the query response returned by the first UE to the second UE. Or comparing the network signal quality, selecting a UE with the strongest network signal strength or network signal quality of the cell in which it is located as the fourth UE; when the cell with the strongest network signal strength and the cell with the strongest network signal quality are not the same In the case of a cell, the network signal strength and the network signal quality of each cell may also be weighted to obtain a comprehensive The value is combined, and the UE corresponding to the cell with the strongest integrated value is determined as the fourth UE.

可选的, 上述各第二 UE在进行上述 D2D通信的过程中, 也可将自身所在 小区的网络信号强度和 /或网络信号质量的测量值周期性上报给作为通信代 表的第一 UE, 以使第一 UE实时掌握各第二 UE的网络连接状况, 在必要时刻 及时从各第二 UE中选取一个 UE作为上述第四 UE。  Optionally, each of the foregoing second UEs may periodically report the measured value of the network signal strength and/or the network signal quality of the cell in which the cell is located to the first UE that is the communication representative, in the process of performing the foregoing D2D communication. The first UE is configured to grasp the network connection status of each second UE in real time, and select one UE from each of the second UEs as the fourth UE in time.

S703.1 ,第一 UE向第一基站发送第一 D2D通信资源接口 UE变更消息, 该 第一 D2D通信资源接口 UE变更消息中携带 D2D通信组的组标识、 D2D通信组 内各 UE的用户标识和第四 UE所在小区的小区标识; 以通知第一基站由第四 UE作为通信代表对后续 D2D通信组对应的第一通信资源进行管理; 和 /或, S703.2,第一 UE向第四 UE发送第二 D2D通信资源接口 UE变更消息, 该第二 D2D通信资源接口 UE变更消息中携带 D2D通信组的组标识、 D2D 通信组内各 UE的用户标识和第一 UE所在小区的小区标识; 以通知第四 UE 由其作为通信代表对后续 D2D通信组对应的第一通信资源进行管理;  S703.1, the first UE sends a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group and the user identifier of each UE in the D2D communication group. And the cell identifier of the cell where the fourth UE is located; to notify the first base station that the fourth UE is used as the communication representative to manage the first communication resource corresponding to the subsequent D2D communication group; and/or, S703.2, the first UE is fourth. The UE sends a second D2D communication resource interface UE change message, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; Instructing the fourth UE to manage, by the communication representative, the first communication resource corresponding to the subsequent D2D communication group;

例如, 当第一 UE从各第二 UE中选择一个 UE作为上述第四 UE来代替 其通信代表的位置管理上述 D2D通信组对应的通信资源后,需通知网络侧的 基站上述 D2D通信组对应的通信代表已变更; 具体通知方式可如歩骤 703.1 和 /或歩骤 703.2, 其中上述歩骤 703.1具体为:  For example, after the first UE selects one UE from each of the second UEs as the fourth UE to manage the communication resources corresponding to the D2D communication group instead of the location of the communication representative, it is notified that the base station on the network side corresponds to the D2D communication group. The communication representative has been changed; the specific notification method can be as follows: Step 703.1 and/or Step 703.2, wherein the above step 703.1 is specifically:

上述第一 UE可向第一基站发送第一 D2D通信资源接口 UE变更消息, 该第一 D2D通信资源接口 UE变更消息中携带上述 D2D通信组的组标识、 D2D通信组内各 UE的用户标识和上述第四 UE所在小区的小区标识, 以通 知第一基站由第四 UE作为通信代表对后续 D2D通信组对应的第一通信资源 进行管理。 第一基站接收到该第一 D2D通信资源接口 UE变更消息后, 根据 上述第四 UE所在小区的小区标识查询本地存储的小区标识与对应基站的对 应关系表获知该小区标识对应的基站标识。 第一基站通过查询到的上述第四 UE对应的基站向上述第四 UE发送上述第一 D2D通信资源接口 UE变更消 息, 以通知第四 UE上述 D2D通信组对应的通信代表已变更为第四 UE, 同 时将上述 D2D通信组的组标识和 D2D通信组内各 UE的用户标识发送给第 四 UE, 以方便第四 UE作为通信代表对该 D2D通信组对应的通信资源进行 管理。 当网络侧再次发送关于上述 D2D通信组的通信资源变更的消息时, 可 由第四 UE对应的基站通知第四 UE向上述 D2D通信组中的其他各 UE传送 对应的通信资源。 The first UE may send a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and The cell identifier of the cell where the fourth UE is located is used to notify the first base station that the fourth UE is used as the communication representative to manage the first communication resource corresponding to the subsequent D2D communication group. After receiving the first D2D communication resource interface UE change message, the first base station, according to the cell identifier of the cell where the fourth UE is located, queries the corresponding relationship between the locally stored cell identifier and the corresponding base station to obtain the base station identifier corresponding to the cell identifier. The first base station sends the first D2D communication resource interface UE change message to the fourth UE by using the queried base station corresponding to the fourth UE, to notify the fourth UE that the communication representative corresponding to the D2D communication group has been changed to the fourth UE. And transmitting the group identifier of the D2D communication group and the user identifier of each UE in the D2D communication group to the fourth UE, so as to facilitate the fourth UE as the communication representative to manage the communication resource corresponding to the D2D communication group. When the network side retransmits the message about the communication resource change of the D2D communication group, the base station corresponding to the fourth UE may notify the fourth UE to transmit to the other UEs in the D2D communication group. Corresponding communication resources.

上述歩骤 703.2具体为:  The above step 703.2 is specifically as follows:

第一 UE可向第四 UE发送第二 D2D通信资源接口 UE变更消息, 该第 二 D2D通信资源接口 UE变更消息中携带 D2D通信组的组标识、 D2D通信 组内各 UE的用户标识和第一 UE所在小区的小区标识; 以通知第四 UE由其 作为通信代表对后续 D2D通信组对应的第一通信资源进行管理。 第四 UE接 到第一 UE发送的上述第二 D2D通信资源接口 UE变更消息后,根据第一 UE 所在小区的小区标识查询本地存储的小区标识与对应基站的对应关系表获知 该小区标识对应的基站标识。 第四 UE通过其所在小区对应的基站向查询到 的上述第一 UE对应的基站转发上述第二 D2D通信资源接口 UE变更消息, 以通知第一 UE所在小区对应的基站以及第四 UE所在小区对应的基站上述 D2D通信组对应的通信代表已变更为第四 UE, 同时将上述 D2D通信组的组 标识发送给该基站。当网络侧再次发送关于上述 D2D通信组的通信资源变更 的消息时, 可由第四 UE对应的基站通知第四 UE向上述 D2D通信组中的其 他各 UE传送对应的通信资源。  The first UE may send a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the first The cell identifier of the cell where the UE is located; to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using it as the communication representative. After receiving the second D2D communication resource interface UE change message sent by the first UE, the fourth UE queries the corresponding relationship between the locally stored cell identifier and the corresponding base station according to the cell identifier of the cell where the first UE is located, and obtains the corresponding corresponding to the cell identifier. Base station identification. The fourth UE forwards the second D2D communication resource interface UE change message to the queried base station corresponding to the first UE by using the base station corresponding to the cell in which the cell is located, to notify the base station corresponding to the cell where the first UE is located, and the cell corresponding to the cell where the fourth UE is located. The base station corresponding to the D2D communication group has been changed to the fourth UE, and the group identifier of the D2D communication group is sent to the base station. When the network side retransmits the message about the communication resource change of the D2D communication group, the base station corresponding to the fourth UE may notify the fourth UE to transmit the corresponding communication resource to the other UEs in the D2D communication group.

可选的, 在歩骤 703.1或歩骤 703.2之后, 且上述 D2D通信组内各 UE在进 行通信的过程中, 还包括:  Optionally, after the step 703.1 or the step 703.2, and the UEs in the D2D communication group are in communication, the method further includes:

S704, 作为上述第四 UE的第二 UE接收其所在小区所属的第二基站发送 的第二资源变更消息, 该第二资源变更消息中携带第二变更通信资源;  S704, the second UE that is the fourth UE receives the second resource change message that is sent by the second base station to which the cell is located, and the second resource change message carries the second change communication resource.

S705 , 第四 UE向上述 D2D通信组内各 UE发送上述第二变更通信资源, 以通知各 UE利用上述第二变更通信资源执行上述业务标识对应的 D2D通信 业务;  S705, the fourth UE sends the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the second change communication resource;

在上述 D2D通信组建立后, 且组内各 UE进行通信的过程中, 网络侧基站 会根据网络资源的变化情况适时调整已分配给上述 D2D通信组的通信资源, 并将资源变更消息通过上述 D2D通信组中的通信代表转发给 D2D通信组内其 他 UE。例如, 上述第一 UE在执行正常的 D2D通信业务的过程中会接收作为通 信代表的第四 UE发送的上述第二资源变更消息, 该第二资源变更消息中携带 第二变更通信资源。具体地,第一 UE接收到上述第四 UE发送的第二资源变更 消息后, 从该消息中提取出上述第二变更通信资源, 并利用该信息对应的通 信资源执行上述 D2D通信业务。 可选的, 第四 UE在接到网络侧基站发送的上述第二资源变更消息后, 也 会将其中包含的第二变更通信资源所在小区的小区标识更新至上述第一小区 列表中。 After the D2D communication group is established, and the UEs in the group perform communication, the network side base station adjusts the communication resources allocated to the D2D communication group according to the change of the network resources, and passes the resource change message through the D2D. The communication representatives in the communication group are forwarded to other UEs in the D2D communication group. For example, the first UE receives the second resource change message sent by the fourth UE that is the communication representative in the process of performing the normal D2D communication service, and the second resource change message carries the second change communication resource. Specifically, after receiving the second resource change message sent by the fourth UE, the first UE extracts the second changed communication resource from the message, and executes the D2D communication service by using the communication resource corresponding to the information. Optionally, after receiving the second resource change message sent by the network side base station, the fourth UE also updates the cell identifier of the cell where the second change communication resource is included in the first cell list.

本发明提供的通信资源管理方法, 第一 UE在执行 D2D通信的过程中测 量第一 UE所在小区的网络信号强度和 /或网络信号质量; 若第一 UE所在小 区的网络信号强度低于第一信号强度阈值,和 /或网络信号质量低于第一信 号质量阈值, 则第一 UE根据各第二 UE所在小区的小区标识从各第二 UE中选 取一个 UE作为第四 UE; 第一 UE向第一基站发送第一 D2D通信资源接口 UE变 更消息, 该第一 D2D通信资源接口 UE变更消息中携带 D2D通信组的组标识、 D2D通信组内各 UE的用户标识和第四 UE所在小区的小区标识;以通知第一基 站由第四 UE作为通信代表对后续 D2D通信组对应的第一通信资源进行管理; 和 /或,第一 UE向第四 UE发送第二 D2D通信资源接口 UE变更消息,该第二 D2D 通信资源接口 UE变更消息中携带 D2D通信组的组标识、 D2D通信组内各 UE 的用户标识和第一 UE所在小区的小区标识;以通知第四 UE由其作为通信代表 对后续 D2D通信组对应的第一通信资源进行管理。 该方案提供一套能够让 D2D通信顺利进行并减少或避免对蜂窝网通信干扰的技术方案。  The communication resource management method provided by the present invention, the first UE measures the network signal strength and/or the network signal quality of the cell where the first UE is located in the process of performing the D2D communication; if the network signal strength of the cell where the first UE is located is lower than the first The signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the first UE selects one UE from each of the second UEs as the fourth UE according to the cell identifier of the cell where the second UE is located; The first base station sends a first D2D communication resource interface UE change message, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell of the cell where the fourth UE is located. Identifying, by the first base station, the fourth UE as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group; and/or, the first UE sends the second D2D communication resource interface UE change message to the fourth UE, The second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell where the first UE is located. The cell identifier is configured to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using it as a communication representative. The solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.

图 8为本发明又一个实施例提供的通信资源管理方法的流程图。本实施例 是如图 1至 5所示方法的又一种具体实现方式,也可以视为如图 6所示的方法在 特定场景下的实现方式。本实施例的场景与如图 6所示方法的场景不同, 即上 述第一 UE在组建 D2D通信组时, 第一 UE不存在对应的服务小区, 上述第 一 UE无法从上述第一基站获取供 D2D通信组通信的通信资源,而是从多个 申请加入 D2D通信组的第二 UE中选择一个 UE作为代表从网络侧申请用于 上述 D2D通信组进行通信的通信资源。 如图 8所示, 上述通信资源管理方法 具体包括如下歩骤:  FIG. 8 is a flowchart of a communication resource management method according to still another embodiment of the present invention. This embodiment is another specific implementation manner of the method shown in FIG. 1 to FIG. 5, and can also be regarded as an implementation manner of the method shown in FIG. 6 in a specific scenario. The scenario of this embodiment is different from the scenario of the method shown in FIG. 6 , that is, when the first UE is configured to form a D2D communication group, the first UE does not have a corresponding serving cell, and the first UE cannot obtain the information from the first base station. The D2D communication group communicates the communication resources, and selects one UE from the plurality of second UEs applying for joining the D2D communication group as a communication resource for requesting communication from the network side for the above-mentioned D2D communication group for communication. As shown in FIG. 8, the foregoing communication resource management method specifically includes the following steps:

S801 , 第一用户设备 UE向无线网络中的至少一个第二 UE发送发现消息, 该发现消息用于向至少一个第二 UE指示第一 UE支持设备对设备 D2D通信业 务; 该发现消息中携带 D2D通信组的组标识和 D2D通信组对应的业务标识; S801. The first user equipment UE sends a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports the device to the device D2D communication service; the discovery message carries the D2D. The group identifier of the communication group and the service identifier corresponding to the D2D communication group;

S802, 第一 UE接收第二 UE发送的第一申请消息, 该第一申请消息中 携带第二 UE的用户标识; 该第一申请消息用于第二 UE申请加入 D2D通信 组; 上述歩骤 801 802可参见图 1所示实施例中的歩骤 101 102, 在此不作赘 述。 与歩骤 102不同的是, 在歩骤 802中, 各第二 UE发送的第一申请消息中还 携带有第二 UE所在小区的小区标识。 S802. The first UE receives a first application message sent by the second UE, where the first application message carries a user identifier of the second UE. The first application message is used by the second UE to join the D2D communication group. The foregoing step 801 802 can be referred to step 101 102 in the embodiment shown in FIG. 1, and details are not described herein. Different from step 102, in step 802, the first application message sent by each second UE further carries the cell identifier of the cell where the second UE is located.

5803 , 第一 UE根据第二 UE所在小区的小区标识测量第二 UE所在小区的 网络信号强度和 /或网络信号质量, 并根据测量结果从各第二 UE中选取一个 The first UE calculates the network signal strength and/or the network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and selects one of the second UEs according to the measurement result.

UE作为第五 UE, 并向该第五 UE发送上述第一资源请求消息, 以通知第五 UE 由其作为通信代表对 D2D通信组的通信资源进行管理; The UE is used as the fifth UE, and sends the foregoing first resource request message to the fifth UE, to notify the fifth UE to manage the communication resource of the D2D communication group by using the communication terminal as the communication representative;

例如,第一 UE接收到各第二 UE发送的第一申请消息后,根据第一申请消 息中携带的第二 UE所在小区的小区标识,测量获知各第二 UE当前的网络连接 状态, 并从中选取一个合适的第二 UE作为上述第五 UE, 该第二 UE具备如网 络信号强度和信号质量较其他第二 UE强的特点。第一 UE使用上述协议固定的 资源及收发信息方式向上述第五 UE发送上述第一资源请求消息, 以通过第五 UE从网络测获取上述业务标识对应的 D2D通信业务的通信资源; 同时, 也通 知第五 UE由其作为通信代表对上述 D2D通信组的后续所使用的通信资源进 行管理。  For example, after receiving the first application message sent by each second UE, the first UE measures the current network connection status of each second UE according to the cell identifier of the cell where the second UE is located, which is carried in the first application message, and A suitable second UE is selected as the fifth UE, and the second UE has the characteristics that the network signal strength and signal quality are stronger than other second UEs. The first UE sends the first resource request message to the fifth UE by using the fixed resource and the sending and receiving information manner of the foregoing protocol, so that the communication resource of the D2D communication service corresponding to the service identifier is obtained from the network by the fifth UE; The fifth UE is notified to manage the communication resources used by the D2D communication group as a communication representative.

5804 , 作为第五 UE的第二 UE向其所在小区所属的第二基站发送第一资 源请求消息, 以请求第二基站分配用于 D2D通信组执行业务标识对应的 D2D 通信业务的通信资源;  The second UE that is the fifth UE sends a first resource request message to the second base station to which the cell to which the cell belongs, to request the second base station to allocate a communication resource for the D2D communication service corresponding to the service identity of the D2D communication group.

S805, 第二基站根据 D2D通信组的组标识和当前第二基站下各小区的网 络资源情况确定用于 D2D通信组进行通信的通信资源; 或者, 第二基站根据 D2D通信组的组标识在通过与第二基站相邻的基站共同协商后确定上述通信 资源;  S805, the second base station determines, according to the group identifier of the D2D communication group and the network resource condition of each cell under the current second base station, a communication resource used for communication by the D2D communication group; or, the second base station passes the group identifier according to the D2D communication group. Determining, by the base station adjacent to the second base station, the foregoing communication resource;

S806 , 作为第五 UE的第二 UE接收第二基站发送的第一资源响应消息, 该第一资源响应消息中携带用于 D2D通信组执行通信的通信资源;  S806, the second UE that is the fifth UE receives the first resource response message sent by the second base station, where the first resource response message carries a communication resource used for performing communication by the D2D communication group;

S807作为第五 UE的第二 UE根据 D2D通信组内各 UE的用户标识向 D2D通 信组内各 UE发送用于 D2D通信组执行通信的通信资源,以通知各 UE利用该通 信资源执行上述业务标识对应的 D2D通信业务。  S807, as the second UE of the fifth UE, transmitting communication resources for performing communication by the D2D communication group to each UE in the D2D communication group according to the user identifier of each UE in the D2D communication group, to notify each UE to perform the foregoing service identifier by using the communication resource. Corresponding D2D communication service.

上述歩骤 704 707的具体执行过程可参考歩骤 603 607中,第一 UE从第一 基站获取用于 D2D通信组所使用的通信资源的过程, 在此不作赘述。  For the specific implementation process of the foregoing step 704 707, reference may be made to the process of the first UE acquiring the communication resources used by the D2D communication group from the first base station, which is not described herein.

具体地,除上述第五 UE根据 D2D通信组内各 UE的用户标识直接向 D2D通 信组内各 UE发送用于 D2D通信组执行通信的通信资源的信息外,第五 UE还可 通过间接方式将上述通信资源的信息发送给 D2D通信组内各 UE, 该方式包 括: Specifically, the fifth UE is directly connected to the D2D according to the user identifier of each UE in the D2D communication group. The information of the foregoing communication resource is sent to each UE in the D2D communication group by using the information of the communication resource for the D2D communication group to perform the communication.

S808.1,第五 UE向第一 UE发送用于 D2D通信组执行通信的通信资源; S808.2, 第一 UE根据第二 UE的用户标识向 D2D通信组内的第二 UE 发送用于 D2D通信组执行通信的通信资源, 以通知 D2D通信组内各 UE利 用该通信资源执行业务标识对应的 D2D通信业务;  S808.1, the fifth UE sends, to the first UE, a communication resource for performing communication by the D2D communication group; S808.2, the first UE sends, to the second UE in the D2D communication group, the D2D according to the user identifier of the second UE. The communication group performs the communication resource of the communication, to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the communication resource;

具体地, 上述第一 UE可通过上述协议固定的资源及收发信息方式接收 第五 UE发送的上述通信资源, 然后执行如歩骤 104的过程, 将上述通信资 源发送至上述 D2D通信组的各 UE。  Specifically, the first UE may receive the communication resource sent by the fifth UE by using the fixed resource and the sending and receiving information manner, and then performing the process of step 104 to send the communication resource to each UE of the D2D communication group. .

可选的, 上述第一资源响应消息中还包括小区列表; 该小区列表包含至 少一个小区对应的小区标识, 该小区列表用于指示上述 D2D通信组执行通信 所利用的预留资源所在的小区; 该小区列表为第二基站确定的, 或者该小区 列表为第二基站在通过与第二基站相邻的基站共同协商后确定的。 该小区列 表包含的内容, 作用以及确定该小区列表中各小区的具体方式与上述第一小 区列表相同, 在此不作赘述。  Optionally, the foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to the at least one cell, where the cell list is used to indicate a cell where the reserved resource used by the D2D communication group to perform communication is located; The cell list is determined by the second base station, or the cell list is determined by the second base station after being negotiated by the base station adjacent to the second base station. The content of the cell list, the role, and the specific manner of determining the cells in the cell list are the same as those of the first cell list, and are not described herein.

可选的, 在歩骤 807之后, 即上述 D2D通信组对应的的通信资源由上述 第五 UE作为通信代表进行管理,且第五 UE在进行 D2D通信的过程中,还包括: Optionally, after the step 807, the communication resource corresponding to the D2D communication group is managed by the fifth UE as a communication representative, and the fifth UE further includes:

5809, 第五 UE接收第五 UE所在小区所属的第二基站发送的第三资源变 更消息; 该第三资源变更消息中携带第三变更通信资源; The third UE receives the third resource change message sent by the second base station to which the cell where the fifth UE belongs, and the third resource change message carries the third change communication resource.

5810,第五 UE向上述 D2D通信组内各 UE发送上述第三变更通信资源, 以通知各 UE利用第三变更通信资源执行上述业务标识对应的 D2D通信业 上述歩骤 809 810的执行过程可参考歩骤 704 705的相应内容, 在此不 作赘述。  5810: The fifth UE sends the third change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication industry corresponding to the service identifier by using the third change communication resource, and the execution process of the foregoing step 809 810 may be referred to. The corresponding content of step 704 705 is not described herein.

可选的, 第五 UE在接到网络侧基站发送的上述第三资源变更消息后, 也会将其中包含的第三变更通信资源所在小区的小区标识更新至上述对应的 小区列表中。  Optionally, after receiving the third resource change message sent by the network side base station, the fifth UE also updates the cell identifier of the cell where the third change communication resource is included in the corresponding cell list.

本发明提供的通信资源管理方法, 第一用户设备 UE向无线网络中的至少 一个第二 UE发送发现消息, 该发现消息用于向至少一个第二 UE指示第一 UE 支持设备对设备 D2D通信业务; 该发现消息中携带 D2D通信组的组标识和 D2D通信组对应的业务标识; 第一 UE接收第二 UE发送的第一申请消息, 该第 一申请消息中携带第二 UE的用户标识;该第一申请消息用于第二 UE申请加入 D2D通信组; 第一 UE根据第二 UE所在小区的小区标识测量第二 UE所在小区 的网络信号强度和 /或网络信号质量,并根据测量结果从各第二 UE中选取一个 UE作为第五 UE, 并向该第五 UE发送上述第一资源请求消息, 以通知第五 UE 由其作为通信代表对 D2D通信组的通信资源进行管理; 第五 UE向其所在小区 所属的基站转发第一资源请求消息, 以请求第五 UE所在小区所属的基站分配 用于 D2D通信组执行上述业务标识对应的 D2D通信业务的通信资源; 第五 UE 接收其所在小区所属的基站发送的第一资源响应消息, 该第一资源响应消息 中携带用于 D2D通信组执行通信的通信资源;第五 UE根据 D2D通信组内各 UE 的用户标识向 D2D通信组内各 UE发送用于 D2D通信组执行通信的通信资源, 以通知各 UE利用该通信资源执行上述业务标识对应的 D2D通信业务。 该方案 提供一套能够让 D2D通信顺利进行并减少或避免对蜂窝网通信干扰的技术 方案。 The communication resource management method provided by the present invention, the first user equipment UE sends a discovery message to at least one second UE in the wireless network, where the discovery message is used to indicate the first UE to the at least one second UE. Supporting the device-to-device D2D communication service; the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; the first UE receives the first application message sent by the second UE, where the first application message carries the first a user identifier of the second UE; the first application message is used by the second UE to join the D2D communication group; and the first UE measures the network signal strength and/or the network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located. And selecting, according to the measurement result, one UE from each of the second UEs as the fifth UE, and sending the first resource request message to the fifth UE, to notify the fifth UE of the communication resource of the D2D communication group by the communication representative Performing management; the fifth UE forwards the first resource request message to the base station to which the cell to which the cell belongs, to request the base station to which the cell in which the fifth UE belongs to allocate the communication resource for the D2D communication group to perform the D2D communication service corresponding to the service identifier; The fifth UE receives the first resource response message sent by the base station to which the cell to which the cell belongs, and the first resource response message carries the communication for the D2D communication group to perform communication. a communication resource; the fifth UE sends a communication resource for performing communication by the D2D communication group to each UE in the D2D communication group according to the user identifier of each UE in the D2D communication group, to notify each UE to perform D2D corresponding to the service identifier by using the communication resource. Communication business. The solution provides a solution that allows D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.

图 9为本发明又一个实施例提供的通信资源管理方法的流程图。本实施例 是如图 1至 5所示方法的又一种具体实现方式,也可以视为如图 6所示的方法在 特定场景下的实现方式。本实施例的场景与如图 6所示方法的场景相同, 即上 述第一 UE在组建完成 D2D通信组后,如何进一歩的在其自身所在小区的网 络信号或质量下降而切换至新小区后, 继续对上述 D2D通信组使用的通信 资源进行管理。 如图 9所示, 上述通信资源管理方法具体包括如下歩骤: FIG. 9 is a flowchart of a communication resource management method according to still another embodiment of the present invention. This embodiment is another specific implementation manner of the method shown in FIG. 1 to FIG. 5, and can also be regarded as an implementation manner of the method shown in FIG. 6 in a specific scenario. The scenario in this embodiment is the same as the scenario in the method shown in FIG. 6, that is, after the first UE is set up to complete the D2D communication group, how to further switch to the new cell after the network signal or quality of the cell in which it is located is decreased. , continue to manage the communication resources used by the above D2D communication group. As shown in FIG. 9, the foregoing communication resource management method specifically includes the following steps:

S901 , 第一 UE在执行 D2D通信的过程中测量第一 UE所在小区以及第 一 UE所在小区的相邻小区的网络信号强度和 /或网络信号质量, 并根据测 量结果重选或切换至新的小区; S901. The first UE measures, in a process of performing D2D communication, a network signal strength and/or a network signal quality of a cell where the first UE is located and a neighboring cell of the cell where the first UE is located, and reselects or switches to a new one according to the measurement result. Community

例如, 上述第一 UE作为上述 D2D通信组的通信代表, 在执行上述 D2D 通信过程中实时或周期性测量第一 UE接入其当前所在小区的网络情况以 及第一 UE所在小区的相邻小区的网络情况, 包括网络信号强度和 /或网络 信号质量。其中, 上述第一 UE所在小区的相邻小区的网络情况可通过第一 UE接入网络对应的基站来协助测量。  For example, the first UE, as the communication representative of the D2D communication group, performs real-time or periodic measurement of the network condition of the first UE accessing the current cell and the neighboring cell of the cell where the first UE is located in the process of performing the D2D communication. Network conditions, including network signal strength and/or network signal quality. The network condition of the neighboring cell of the cell where the first UE is located may be assisted by the base station corresponding to the first UE accessing the network.

S902.1 , 第一 UE将第一 UE所在的上述新小区所属的基站确定为新的 第一基站, 并向第一基站发送 D2D通信资源小区变更消息; 该 D2D通信资 源小区变更消息中携带 D2D通信组的组标识和第一 UE的用户标识,以通知 第一基站由新小区下的第一 UE继续作为通信代表对后续 D2D通信组的通 信资源进行管理; 或者, S902.1. The first UE determines, according to the base station to which the new cell where the first UE belongs, a new a first base station, and sending a D2D communication resource cell change message to the first base station; the D2D communication resource cell change message carries a group identifier of the D2D communication group and a user identifier of the first UE, to notify the first base station that the new base station is under the new cell The first UE continues to manage the communication resources of the subsequent D2D communication group as a communication representative; or

S902.2,第一 UE在重选或切换的程中通过原小区所属的基站向新小区 所属的第一基站发送 D2D通信资源小区变更消息, 以通知第一基站由上述 新小区下的第一 UE继续作为通信代表对后续 D2D通信组的通信资源进行 管理;  S902.2, the first UE sends a D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of reselecting or switching, to notify the first base station that the first cell is the first one of the new cells. The UE continues to manage the communication resources of the subsequent D2D communication group as a communication representative;

例如, 当第一 UE由当前接入小区切换至新小区时, 需通知网络侧的 基站上述 D2D 通信组对应的通信代表所在的小区已变更; 具体通知方式 可如歩骤 902.1或歩骤 902.2, 其中上述歩骤 902.1具体为:  For example, when the first UE is handed over to the new cell by the current access cell, the base station of the network side is notified that the cell corresponding to the communication representative corresponding to the D2D communication group has been changed; the specific notification manner may be as described in step 902.1 or step 902.2. The above step 902.1 is specifically as follows:

上述第一 UE选取并完成切换至新小区后, 将该新小区所属的第三基 站确定为新的第一基站, 并向该第三基站发送 D2D通信资源小区变更消 息; 该 D2D通信资源小区变更消息中携带上述 D2D通信组的组标识和第 — UE 的用户标识, 以通知该第三基站由接入到上述新小区下的第一 UE 继续作为通信代表对后续上述 D2D通信组的通信资源进行管理。 具体地, 第三基站接收 D2D通信资源小区变更消息时,可通过第一 UE发送该信息 使用的网络资源判定当前该第一 UE的接入小区, 并将该接入小区确定为 上述新小区。 因此, 在上述 D2D通信资源小区变更消息中可不携带上述 新小区的小区标识。 同时, 上述第三基站还向第一 UE原所在的第一基站 发送上述 D2D 通信资源小区变更消息, 以使原第一基站获知由上述第三 基站下的第一 UE继续作为通信代表对后续上述 D2D通信组的所述通信资 源进行管理。  After the first UE selects and completes the handover to the new cell, the third base station to which the new cell belongs is determined as the new first base station, and the D2D communication resource cell change message is sent to the third base station; the D2D communication resource cell is changed. The message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the third base station that the first UE accessing the new cell continues to serve as a communication representative for the communication resources of the subsequent D2D communication group. management. Specifically, when receiving the D2D communication resource cell change message, the third base station may determine the current access cell of the first UE by using the network resource used by the first UE to send the information, and determine the access cell as the new cell. Therefore, the cell identity of the new cell may not be carried in the D2D communication resource cell change message. At the same time, the third base station further sends the D2D communication resource cell change message to the first base station where the first UE is located, so that the original first base station learns that the first UE under the third base station continues to be the communication representative for the subsequent The communication resources of the D2D communication group are managed.

上述歩骤 902.2具体为:  The above step 902.2 is specifically as follows:

上述第一 UE也可在重选或切换的程中通过原小区所属的基站向新小 区所属的第一基站发送 D2D通信资源小区变更消息, 以通知新小区对应 的第一基站由上述新小区下的第一 UE继续作为通信代表对后续 D2D通信 组的通信资源进行管理; 具体地, 在第一 UE确定待切换的新小区后, 第 一 UE可通过在原所在基站下查找各小区与所对应基站的对应关系表, 查 找上述新小区对应的上述第一基站的基站标识, 并通过原小区对应的基站 向该新小区对应的基站发送上述 D2D通信资源小区变更消息, 该 D2D通 信资源小区变更消息中携带有上述新小区的小区标识。 以通知新小区对应 的第一基站由上述新小区下的第一 UE继续作为通信代表对后续 D2D通信 组的通信资源进行管理。 The first UE may also send a D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of reselection or handover, to notify the first base station corresponding to the new cell to be used by the new cell. The first UE continues to manage the communication resources of the subsequent D2D communication group as the communication representative. Specifically, after the first UE determines the new cell to be handed over, the first UE may search for each cell and the corresponding base station by using the original base station. Corresponding relationship table, searching for the base station identifier of the first base station corresponding to the new cell, and passing the base station corresponding to the original cell And transmitting, to the base station corresponding to the new cell, the D2D communication resource cell change message, where the D2D communication resource cell change message carries the cell identity of the new cell. The first base station corresponding to the new cell is notified to continue to manage the communication resources of the subsequent D2D communication group by the first UE under the new cell as the communication representative.

本发明提供的通信资源管理方法,第一 UE在执行 D2D通信的过程中测 量第一 UE所在小区以及第一 UE所在小区的相邻小区的网络信号强度和 / 或网络信号质量, 并根据测量结果重选或切换至新的小区;第一 UE将第一 UE所在的上述新小区所属的基站确定为新的第一基站,并向第一基站发送 D2D通信资源小区变更消息; 该 D2D通信资源小区变更消息中携带 D2D通 信组的组标识和第一 UE的用户标识, 以通知第一基站由新小区下的第一 UE继续作为通信代表对后续 D2D通信组的通信资源进行管理; 或者, 第一 UE在重选或切换的程中通过原小区所属的基站向新小区所属的第一基站 发送 D2D通信资源小区变更消息, 以通知第一基站由上述新小区下的第一 UE继续作为通信代表对后续 D2D通信组的通信资源进行管理。该方案提供 —套能够让 D2D通信顺利进行并减少或避免对蜂窝网通信干扰的技术方 案。  The communication resource management method provided by the present invention, the first UE measures the network signal strength and/or the network signal quality of the cell where the first UE is located and the neighboring cell of the cell where the first UE is located in the process of performing D2D communication, and according to the measurement result Reselecting or switching to a new cell; the first UE determines the base station to which the new cell in which the first UE belongs to be the new first base station, and sends a D2D communication resource cell change message to the first base station; the D2D communication resource cell The change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station to continue to manage the communication resources of the subsequent D2D communication group by the first UE in the new cell as the communication representative; or, the first The UE sends a D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of reselection or handover, to notify the first base station to continue as the communication representative pair by the first UE under the new cell. The communication resources of the subsequent D2D communication group are managed. The solution provides a technical solution that enables D2D communication to proceed smoothly and reduces or avoids interference with cellular communications.

图 10为本发明一个实施例提供的设备(例如用户设备 UE) 的结构示 意图。 如图 10所示, 上述设备可以为发起 D2D通信的用户设备, 例如可 以用于执行如图 1所示的方法歩骤, 以下对上述设备以第一用户设备 UE 为例进行介绍, 细节及举例亦可参见本发明上述实施例, 例如图 1所示的 实施例。  FIG. 10 is a schematic structural diagram of a device (for example, a user equipment UE) according to an embodiment of the present invention. As shown in FIG. 10, the foregoing device may be a user equipment that initiates D2D communication, for example, may be used to perform the method shown in FIG. 1. The following uses the first user equipment UE as an example, details and examples. See also the above-described embodiments of the present invention, such as the embodiment shown in FIG.

上述第一用户设备 UE包括:发送模块 1001、接收模块 1002和处理模块 1003,其中:发送模块 1001用于向无线网络中的至少一个第二 UE发送发现 消息, 上述发现消息用于向上述至少一个第二 UE指示上述第一 UE支持设 备对设备 D2D通信业务; 上述发现消息中携带 D2D通信组的组标识和上述 D2D通信组对应的业务标识;接收模块 1002用于接收上述第二 UE发送的第 一申请消息,上述第一申请消息中携带上述第二 UE的用户标识; 上述第一 申请消息用于上述第二 UE申请加入所述 D2D通信组;处理模块 1003用于根 据上述第二 UE发送的上述第一申请消息获取用于上述 D2D通信组执行通 信的通信资源; 上述发送模块 1001还用于根据上述第二 UE的用户标识, 向 上述 D2D通信组内的上述第二 UE发送用于上述 D2D通信组执行通信的通 信资源,以通知上述 D2D通信组内各 UE利用上述通信资源执行上述业务标 识对应的 D2D通信业务。 The foregoing first user equipment UE includes: a sending module 1001, a receiving module 1002, and a processing module 1003, where: the sending module 1001 is configured to send a discovery message to at least one second UE in the wireless network, where the discovery message is used to send the at least one The second UE indicates that the first UE supports the device-to-device D2D communication service; the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; and the receiving module 1002 is configured to receive the second UE An application message, where the first application message carries the user identifier of the second UE; the first application message is used by the second UE to join the D2D communication group; and the processing module 1003 is configured to send according to the second UE. The foregoing first application message acquires a communication resource for performing communication by the D2D communication group; the sending module 1001 is further configured to: according to the user identifier of the second UE, The second UE in the D2D communication group transmits a communication resource for performing communication by the D2D communication group to notify each UE in the D2D communication group to execute the D2D communication service corresponding to the service identifier by using the communication resource.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE 还可以进一歩包括:  On the basis of the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述处理模块 1003具体用于:  The foregoing processing module 1003 is specifically configured to:

指示上述发送模块 1001根据上述第二 UE发送的上述第一申请消息向 第一基站发送第一资源请求消息, 上述第一 UE在上述第一基站覆盖的小 区范围内, 上述第一资源请求消息中携带上述 D2D通信组的组标识; 指示上述接收模块 1002接收上述第一基站发送的第一资源响应消息, 上述第一资源响应消息中携带用于上述 D2D通信组执行通信的第一通信 资源; 上述第一通信资源为上述第一基站根据上述 D2D通信组的组标识 和当前上述第一基站下各小区的网络资源情况确定出来; 或者, 上述第一 通信资源为上述第一基站根据上述 D2D通信组的组标识在通过与上述第 —基站相邻的基站共同协商后确定出来。  Instructing the sending module 1001 to send a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is in the first resource request message in the cell coverage area of the first base station. Carrying the group identifier of the D2D communication group; instructing the receiving module 1002 to receive the first resource response message sent by the first base station, where the first resource response message carries the first communication resource used for performing communication by the D2D communication group; The first communication resource is determined by the first base station according to the group identifier of the D2D communication group and the current network resource status of each of the cells in the first base station; or, the first communication resource is the first base station according to the D2D communication group. The group identity is determined after being negotiated by the base station adjacent to the first base station.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE 还可以进一歩包括:  On the basis of the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述第一资源响应消息中还包括第一小区列表; 上述第一小区列表包 含至少一个小区对应的小区标识, 上述第一小区列表用于指示上述 D2D通 信组执行通信所利用的第一预留资源所在的小区; 上述第一小区列表为上 述第一基站确定的, 或者上述第一小区列表为上述第一基站与上述第一基站 相邻的基站共同协商后确定的。  The first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate the first reserved resource used by the D2D communication group to perform communication. The first cell list is determined by the first base station, or the first cell list is determined by the first base station and the base station adjacent to the first base station.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述接收模块 1002还用于接收第三 UE发送的第二申请消息; 所述第二 申请消息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标 识;  The receiving module 1002 is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located;

上述处理模块 1003还用于若所述第三 UE所在小区的小区标识包含在所 述第一小区列表中, 则通知所述第三 UE利用所述第一预留资源执行所述业务 标识对应的 D2D通信业务,并且指示所述第一 UE将所述第三 UE作为所述 D2D 通信组中的一个所述第二 UE进行管理。 The foregoing processing module 1003 is further configured to: if the cell identifier of the cell where the third UE is located is included in the first cell list, notify the third UE to perform, by using the first reserved resource, the service identifier D2D communication service, and instructing the first UE to use the third UE as the D2D One of the second UEs in the communication group is managed.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述接收模块 1002还用于接收第三 UE发送的第二申请消息; 上述第二申 请消息中携带上述第三 UE的用户标识和上述第三 UE所在小区的小区标识; 上述处理模块 1003还用于若上述第三 UE所在小区的小区标识不包含在 上述第一小区列表中,则指示上述发送模块 1001向上述第一基站发送第二资 源请求消息;上述第二资源请求消息中携带上述 D2D通信组的组标识和上述 第三 UE所在小区的小区标识,以请求上述第一基站根据上述第三 UE所在小 区的小区标识为上述 D2D通信组重新分配通信资源, 并且指示上述第一 UE 将上述第三 UE作为上述 D2D通信组中的一个上述第二 UE进行管理;  The receiving module 1002 is further configured to receive a second application message sent by the third UE, where the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located; the processing module 1003 is further used by And if the cell identifier of the cell where the third UE is located is not included in the first cell list, the sending module 1001 is configured to send a second resource request message to the first base station; and the second resource request message carries the D2D communication group. The group identifier and the cell identifier of the cell where the third UE is located, to request the first base station to re-allocate communication resources to the D2D communication group according to the cell identifier of the cell where the third UE is located, and instruct the first UE to use the third UE. The UE is managed as one of the foregoing second UEs in the D2D communication group;

上述接收模块 1002还用于接收上述第一基站发送的第二资源响应消息, 上述第二资源响应消息中携带用于上述 D2D通信组执行通信的第二通信资源 和第二小区列表; 上述第二小区列表中包含上述第三 UE所在小区的小区标 识;  The receiving module 1002 is further configured to receive the second resource response message sent by the first base station, where the second resource response message carries a second communication resource and a second cell list used for performing communication by the D2D communication group; The cell list includes the cell identifier of the cell where the third UE is located;

上述发送模块 1001还用于向上述 D2D通信组内的上述第二 UE发送用 于上述 D2D通信组执行通信的第二通信资源, 以通知上述 D2D通信组内各 UE利用上述第二通信资源执行上述业务标识对应的 D2D通信业务。  The transmitting module 1001 is further configured to send, to the second UE in the D2D communication group, a second communication resource that is used by the D2D communication group to perform communication, to notify each UE in the D2D communication group to perform the foregoing by using the second communication resource. The D2D communication service corresponding to the service identifier.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述第一申请消息中还携带上述第二 UE所在小区的小区标识; 上述处理模块 1003还用于上述第一 UE在执行上述 D2D通信的过程中测 量上述第一 UE所在小区的网络信号强度和 /或网络信号质量;  The first application message further includes the cell identifier of the cell where the second UE is located. The processing module 1003 is further configured to: when the first UE performs the D2D communication, measure the network signal strength of the cell where the first UE is located, and/or Or network signal quality;

若上述第一 UE所在小区的网络信号强度低于第一信号强度阈值, 和 /或 网络信号质量低于第一信号质量阈值,则上述处理模块 1003根据各上述第二 UE所在小区的小区标识从各上述第二 UE中选取一个 UE作为第四 UE; 上述发送模块 1001用于向上述第一基站发送第一 D2D通信资源接口 UE 变更消息, 上述第一 D2D通信资源接口 UE变更消息中携带上述 D2D通信组的 组标识、上述 D2D通信组内各 UE的用户标识和上述第四 UE所在小区的小区标 识; 以通知上述第一基站由上述第四 UE作为通信代表对后续上述 D2D通信组 对应的上述第一通信资源进行管理; 和 /或, If the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the processing module 1003 is configured according to the cell identifier of the cell where the second UE is located. One of the foregoing second UEs is selected as the fourth UE. The sending module 1001 is configured to send a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the D2D. a group identifier of the communication group, a user identifier of each UE in the D2D communication group, and a cell identifier of a cell in which the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to the subsequent D2D communication group Corresponding to the foregoing first communication resource for management; and/or,

上述发送模块 1001向上述第四 UE发送第二 D2D通信资源接口 UE变更 消息, 上述第二 D2D通信资源接口 UE变更消息中携带上述 D2D通信组的 组标识、 上述 D2D通信组内各 UE的用户标识和上述第一 UE所在小区的小 区标识; 以通知上述第四 UE由其作为通信代表对后续上述 D2D通信组对应 的上述第一通信资源进行管理。  The sending module 1001 sends a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group and the user identifier of each UE in the D2D communication group. And the cell identifier of the cell where the first UE is located; and the fourth UE is configured to be used as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述处理模块 1003根据各上述第二 UE所在小区的小区标识从各上述第 二 UE中选取一个 UE作为第四 UE, 包括:  The processing module 1003 selects one UE from each of the second UEs as the fourth UE according to the cell identifier of the cell in which the second UE is located, and includes:

上述处理模块 1003根据各上述第二 UE所在小区的小区标识指示上述发 送模块 1001向上述 D2D通信组中上述第二 UE发送查询请求;  The processing module 1003, according to the cell identifier of the cell where the second UE is located, instructs the sending module 1001 to send a query request to the second UE in the D2D communication group;

上述处理模块 1003指示上述接收模块 1002接收上述第二 UE发送的查询 响应,上述查询响应中携带上述第二 UE所在小区的网络信号强度和 /或网络信 号质量;  The foregoing processing module 1003 instructs the receiving module 1002 to receive the query response sent by the second UE, where the query response carries the network signal strength and/or the network signal quality of the cell where the second UE is located;

上述处理模块 1003从各上述第二 UE中选择一个所在小区的网络信号强 度或网络信号质量最强的上述第二 UE作为上述第四 UE, 或者, 上述处理模 块 1003从各上述第二 UE中选择一个所在小区的网络信号强度和网络信号质 量的综合值最强的上述第二 UE作为上述第四 UE。  The processing module 1003 selects, as the fourth UE, the second UE that has the strongest network signal strength or network signal quality of the cell in the second UE, or the processing module 1003 selects from each of the second UEs. The second UE having the strongest combination of the network signal strength and the network signal quality of the cell in which the cell is located serves as the fourth UE.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述第一申请消息中还携带上述第二 UE所在小区的小区标识;  The first application message further carries the cell identifier of the cell where the second UE is located;

上述处理模块 1003还具体用于根据上述第二 UE所在小区的小区标识测 量上述第二 UE所在小区的网络信号强度和 /或网络信号质量,并根据测量结果 从各上述第二 UE中选取一个 UE作为第五 UE, 并指示发送模块 1001向上述第 五 UE发送上述第一资源请求消息,以通知上述第五 UE由其作为通信代表对上 述 D2D通信组的上述通信资源进行管理; 并指示上述第五 UE向上述第五 UE 所在小区所属的基站转发上述第一资源请求消息, 进而请求上述第五 UE所在 小区所属的基站分配用于上述 D2D通信组执行上述业务标识对应的 D2D通信 业务的通信资源; 上述处理模块 1003指示上述接收模块 1002接收上述第五 UE发送的用于 上述 D2D通信组执行通信的通信资源。 The processing module 1003 is further configured to: measure, according to the cell identifier of the cell where the second UE is located, the network signal strength and/or the network signal quality of the cell where the second UE is located, and select one UE from each of the second UEs according to the measurement result. As the fifth UE, the instructing sending module 1001 sends the first resource request message to the fifth UE to notify the fifth UE to manage the communication resource of the D2D communication group as a communication representative; and instruct the foregoing The fifth UE forwards the first resource request message to the base station to which the cell in which the fifth UE belongs, and further requests the base station to which the cell in which the fifth UE belongs to allocate the communication resource used by the D2D communication group to perform the D2D communication service corresponding to the service identifier. ; The processing module 1003 instructs the receiving module 1002 to receive the communication resource sent by the fifth UE for performing the communication by the D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述处理模块 1003还用于上述第一 UE在执行上述 D2D通信的过程中 测量上述第一 UE所在小区以及上述第一 UE所在小区的相邻小区的网络信号 强度和 /或网络信号质量, 并根据测量结果重选或切换至新的小区;  The processing module 1003 is further configured to: when the first UE performs the foregoing D2D communication, measure network signal strength and/or network signal quality of the cell where the first UE is located and the neighboring cell of the cell where the first UE is located, and according to The measurement result is re-selected or switched to a new cell;

上述处理模块 1003还用于将上述第一 UE所在的上述新小区所属的基站 确定为新的上述第一基站, 并指示发送模块 1001向上述第一基站发送 D2D通 信资源小区变更消息; 上述 D2D通信资源小区变更消息中携带上述 D2D通信 组的组标识和上述第一 UE的用户标识, 以通知上述第一基站由上述新小区下 的上述第一 UE继续作为通信代表对后续上述 D2D通信组的上述通信资源进 行管理; 或者,  The processing module 1003 is further configured to determine, by the base station to which the new cell where the first UE is located, the new first base station, and instruct the sending module 1001 to send a D2D communication resource cell change message to the first base station; The resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station that the first UE in the new cell continues to be the communication representative to the foregoing D2D communication group. Management of communication resources; or,

上述处理模块 1003指示上述发送模块 1001在上述重选或切换的程中通 过原小区所属的基站向上述新小区所属的上述第一基站发送上述 D2D通信资 源小区变更消息, 以通知上述第一基站由上述新小区下的上述第一 UE继续 作为通信代表对后续上述 D2D通信组的上述通信资源进行管理。  The processing module 1003 instructs the sending module 1001 to send the D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of the reselection or handover to notify the first base station The first UE in the new cell continues to manage the communication resources of the subsequent D2D communication group as a communication representative.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述接收模块 1002还用于上述第一 UE在进行上述 D2D通信的过程中, 接 收上述第一基站发送的第一资源变更消息; 上述第一资源变更消息中携带第 一变更通信资源;  The receiving module 1002 is further configured to: when the first UE performs the D2D communication, receive the first resource change message sent by the first base station; and the first resource change message carries the first change communication resource;

上述发送模块 1002 还用于将上述第一资源变更消息中携带的上述第一 变更通信资源发送给上述 D2D通信组内的上述第二 UE, 以使上述 D2D通信 组内各上述第二 UE 利用上述第一变更通信资源执行上述业务标识对应的 D2D通信业务;并且指示上述处理模块 1003将上述第一变更通信资源所在小 区的小区标识更新至上述 D2D通信组对应的上述第一小区列表中。  The transmitting module 1002 is further configured to send the first changed communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the second UEs in the D2D communication group uses the foregoing The first change communication resource performs the D2D communication service corresponding to the service identifier; and the processing module 1003 is instructed to update the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述接收模块 1002还用于由上述第四 UE作为通信代表对上述 D2D通信 组对应的上述第一通信资源进行管理之后, 且上述第一 UE在进行上述 D2D通 信的过程中, 接收上述第四 UE发送的第二资源变更消息; 上述第二资源变更 消息中携带第二变更通信资源; The receiving module 1002 is further configured to use the fourth UE as the communication representative to perform the D2D communication. After the first communication resource corresponding to the group is managed, the first UE receives the second resource change message sent by the fourth UE in the process of performing the D2D communication, and the second resource change message carries the second change. Communication resources

上述处理模块 1003还用于利用上述第二变更通信资源执行上述业务标识 对应的 D2D通信业务。  The processing module 1003 is further configured to perform the D2D communication service corresponding to the service identifier by using the second changed communication resource.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述接收模块 1002还用于由上述第五 UE作为通信代表对上述 D2D通信 组的上述通信资源进行管理之后, 且上述第一 UE在进行上述 D2D通信的过程 中, 接收上述第五 UE发送的第三资源变更消息; 上述第三资源变更消息中携 带第三变更通信资源;  The receiving module 1002 is further configured to: after the fifth UE is used as the communication representative, to manage the communication resource of the D2D communication group, and the first UE receives the first UE sent in the process of performing the D2D communication. a third resource change message; the third resource change message carries the third change communication resource;

上述处理模块 1003还用于利用上述第三变更通信资源执行上述业务标识 对应的 D2D通信业务。  The processing module 1003 is further configured to perform the D2D communication service corresponding to the service identifier by using the third change communication resource.

上述如图 6-9所示的实施例中以第一 UE为执行主体的歩骤可通过本实施 例所示的设备实现, 在此对其具体执行过程不作赘述。  The foregoing steps in the embodiment shown in FIG. 6-9 are implemented by using the device shown in the embodiment in the first UE. The specific implementation process is not described herein.

本实施例提供的设备, 可根据从网络中接收的各第二 UE发送的申请消息 获取用于各第二 UE执行 D2D通信业务所需的通信资源的信息, 从而使 D2D通 信组内各 UE利用通信资源执行相应的 D2D通信业务, 有效减少或避免对现有 蜂窝网通信的干扰。  The device provided in this embodiment may acquire information about communication resources required for each second UE to perform D2D communication service according to an application message sent by each second UE received from the network, so that each UE in the D2D communication group utilizes The communication resources perform corresponding D2D communication services, effectively reducing or avoiding interference to existing cellular network communications.

图 11为本发明另一个实施例提供的设备 (例如用户设备 UE) 的结构示 意图。 如图 11所示, 上述设备可以为 D2D通信组中接收第一 UE发起 D2D 通信组业务的一个第二 UE, 例如可以用于执行如图 2所示的方法歩骤, 以下 对上述设备以第二用户设备 UE为例进行介绍, 细节及举例亦可参见本发明 上述实施例, 例如图 2所示的实施例。  FIG. 11 is a schematic structural diagram of a device (for example, a user equipment UE) according to another embodiment of the present invention. As shown in FIG. 11, the device may be a second UE that receives the first UE to initiate the D2D communication group service in the D2D communication group, and may be used, for example, to perform the method as shown in FIG. The second user equipment UE is taken as an example. For details and examples, reference may also be made to the foregoing embodiments of the present invention, such as the embodiment shown in FIG. 2.

上述第二用户设备 UE包括: 接收模块 1101和发送模块 1102, 其中: 接 收模块 1101用于从无线网络中接收第一 UE发送的发现消息; 上述发现消息 中携带设备对设备 D2D通信组的组标识和上述 D2D通信组对应的业务标识; 发送模块 1102用于根据上述 D2D通信组的组标识和上述 D2D通信组对应的 业务标识向上述第一 UE发送第一申请消息, 上述第一申请消息中携带第二 UE的用户标识; 上述第一申请消息用于上述第二 UE申请加入上述 D2D通 信组; 上述接收模块 1101还用于接收上述第一 UE根据上述第二 UE的用户 标识发送的用于上述 D2D通信组执行通信的通信资源, 并指示上述第二 UE 利用所述通信资源执行上述业务标识对应的 D2D通信业务。 The foregoing second user equipment UE includes: a receiving module 1101 and a sending module 1102, where: the receiving module 1101 is configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group. a service identifier corresponding to the D2D communication group; the sending module 1102 is configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message is carried a user identifier of the second UE; the foregoing first application message is used by the foregoing second UE to join the foregoing D2D pass The receiving module 1101 is further configured to receive, by the first UE, the communication resource that is sent by the first UE according to the user identifier of the second UE for performing the communication by using the D2D communication group, and instruct the second UE to perform the foregoing by using the communication resource. The D2D communication service corresponding to the service identifier.

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述接收模块 1101还用于上述第二 UE在执行上述 D2D通信的过程中接 收上述第一 UE发送的用于上述 D2D通信组执行通信的变更通信资源, 并指示 上述第二 UE利用上述变更通信资源执行上述业务标识对应的 D2D通信业务; 在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  The receiving module 1101 is further configured to: when the second UE performs the D2D communication, receive the changed communication resource sent by the first UE for performing the D2D communication group to perform communication, and instruct the second UE to use the changed communication resource. The D2D communication service corresponding to the foregoing service identifier is executed. On the basis of the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述第一申请消息中还携带上述第二 UE所在小区的小区标识;  The first application message further carries the cell identifier of the cell where the second UE is located;

上述接收模块 1101用于上述第二 UE在执行所述 D2D通信的过程中作为 第四 UE时接收上述第一 UE发送的第二 D2D通信资源接口 UE变更消息, 上述 第二 D2D通信资源接口 UE变更消息中携带上述 D2D通信组的组标识、 上述 D2D通信组内各 UE的用户标识和上述第一 UE所在小区的小区标识;上述第四 UE为上述第一 UE根据上述 D2D通信组内各上述第二 UE所在小区的小区标识 从各上述第二 UE中选取的一个 UE;  The receiving module 1101 is configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in the process of performing the D2D communication, where the second D2D communication resource interface UE is changed. The message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; the fourth UE is the foregoing first UE according to each of the foregoing D2D communication groups. a cell identifier of a cell in which the second UE is located, and a UE selected from each of the foregoing second UEs;

上述发送模块 1102还用于上述第二 UE作为上述第四 UE时向上述第二 UE 所在小区所属的第二基站发送上述第二 D2D通信资源接口 UE变更消息, 以通 知上述第二基站由作为上述第四 UE的上述第二 UE作为通信代表对后续上述 D2D通信组的上述通信资源进行管理。  The sending module 1102 is further configured to: when the second UE is used as the fourth UE, send the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to notify the second base station The second UE of the fourth UE, as the communication representative, manages the foregoing communication resources of the subsequent D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述第二 UE在执行上述 D2D通信的过程中作为第四 UE通过接收模块 1101接收上述第一 UE发送的第二 D2D通信资源接口 UE变更消息之前,  Before the second UE receives the second D2D communication resource interface UE change message sent by the first UE by using the receiving module 1101 as the fourth UE in the process of performing the foregoing D2D communication,

接收模块 1101用于接收上述第一 UE发送的查询请求; 发送模块 1102用于 向上述第一 UE返回查询响应,上述查询响应中携带上述第二 UE所在小区的网 络信号强度和 /或网络信号质量。  The receiving module 1101 is configured to receive the query request sent by the first UE, and the sending module 1102 is configured to return a query response to the first UE, where the query response carries the network signal strength and/or network signal quality of the cell where the second UE is located. .

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括: 在由上述第二 UE作为通信代表对上述 D2D通信组对应的的通信资源进 行管理之后, 且上述第二 UE在进行上述 D2D通信的过程中, On the basis of the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include: After the communication resource corresponding to the D2D communication group is managed by the second UE as the communication representative, and the second UE is in the process of performing the D2D communication,

上述接收模块 1101还用于接收上述第二 UE所在小区所属的第二基站发 送的第二资源变更消息; 上述第二资源变更消息中携带第二变更通信资源; 上述发送模块 1102还用于向上述 D2D通信组内各 UE发送上述第二变更 通信资源, 以通知各上述 UE利用上述第二变更通信资源执行上述业务标识对 应的 D2D通信业务。  The receiving module 1101 is further configured to receive a second resource change message sent by the second base station to which the second UE is located, where the second resource change message carries the second change communication resource, where the sending module 1102 is further used to Each of the UEs in the D2D communication group transmits the second changed communication resource to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the second changed communication resource.

上述如图 6-7、 9所示的实施例中以第二 UE为执行主体的歩骤可通过本 实施例所示的设备实现, 在此对其具体执行过程不作赘述。  The foregoing steps in the embodiment shown in FIG. 6-7 and FIG. 9 are implemented by the device shown in this embodiment, and the specific implementation process is not described herein.

本实施例提供的设备, 通过接收作为上述 D2D通信业务组的发起者, 即第一 UE从网络中获取的用于各第二 UE执行 D2D通信业务所需的通信资源 来执行相应的 D2D通信业务, 有效减少或避免对现有蜂窝网通信的干扰。  The device provided in this embodiment performs the corresponding D2D communication service by receiving the communication resource required for the D2D communication service for each second UE acquired by the first UE from the network as the initiator of the D2D communication service group. , effectively reduce or avoid interference with existing cellular communication.

图 12为本发明又一个实施例提供的设备(例如用户设备 UE) 的结构示意 图。 如图 12所示, 上述设备可以为某一 D2D通信组中接收第一 UE发起 D2D通 信组业务的一个第二 UE, 例如可以用于执行如图 3所示的方法歩骤, 以下对 上述设备以第二用户设备 UE为例进行介绍, 细节及举例亦可参见本发明上述 实施例, 例如图 3所示的实施例。  FIG. 12 is a schematic structural diagram of a device (for example, a user equipment UE) according to another embodiment of the present invention. As shown in FIG. 12, the foregoing device may be a second UE that initiates a D2D communication group service in a certain D2D communication group, for example, may be used to perform the method shown in FIG. The second user equipment UE is taken as an example. For details and examples, reference may also be made to the foregoing embodiments of the present invention, such as the embodiment shown in FIG.

上述第二用户设备 UE具体包括: 接收模块 1201和发送模块 1202; 其中: 接收模块 1201用于从无线网络中接收第一 UE发送的发现消息; 上述发现 消息中携带设备对设备 D2D通信组的组标识和上述 D2D通信组对应的业务标 识;  The foregoing second user equipment UE specifically includes: a receiving module 1201 and a sending module 1202. The receiving module 1201 is configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a device-to-device D2D communication group. Identifying a service identifier corresponding to the D2D communication group;

发送模块 1202用于根据上述 D2D通信组的组标识和上述 D2D通信组对应 的业务标识向上述第一 UE发送第一申请消息, 上述第一申请消息中携带上述 第二 UE的用户标识和上述第二 UE所在小区的小区标识;上述第一申请消息用 于上述第二 UE申请加入上述 D2D通信组;  The sending module 1202 is configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE and the foregoing a cell identifier of the cell where the UE is located; the first application message is used by the second UE to join the D2D communication group;

上述接收模块 1201还用于上述第二 UE作为第五 UE时接收上述第一 UE发 送的第一资源请求消息, 上述第一资源请求消息中携带上述 D2D通信组的组 标识和上述 D2D通信组中各 UE的用户标识,以通知上述第五 UE由其作为通信 代表对上述 D2D通信组的上述通信资源进行管理;上述第五 UE为上述第一 UE 根据各上述第二 UE所在小区的小区标识从各上述第二 UE中选取的一个 UE; 上述发送模块 1202还用于上述第二 UE作为上述第五 UE时向上述第二 UE 所在小区所属的第二基站转发上述第一资源请求消息, 以请求上述第二基站 分配用于上述 D2D通信组执行上述业务标识对应的 D2D通信业务的通信资 源; The receiving module 1201 is further configured to: when the second UE is used as the fifth UE, receive the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and the D2D communication group. a user identifier of each UE, to notify the fifth UE to manage the communication resource of the D2D communication group by using the communication unit as the communication representative; the fifth UE is the first UE according to the cell identifier of the cell where each of the second UE is located One selected one of the foregoing second UEs; The sending module 1202 is further configured to: when the second UE is the fifth UE, forwarding the first resource request message to the second base station to which the second UE is located, to request the second base station to allocate the D2D communication group. Performing communication resources of the D2D communication service corresponding to the foregoing service identifier;

上述接收模块 1201还用于上述第二 UE作为上述第五 UE时接收上述第二 基站发送的第一资源响应消息, 上述第一资源响应消息中携带用于上述 D2D 通信组执行通信的通信资源; 上述通信资源为上述第二基站根据上述 D2D通 信组的组标识和当前上述第二基站下各小区的网络资源情况确定出来;或者, 上述通信资源为上述第二基站根据上述 D2D通信组的组标识在通过与上述第 二基站相邻的基站共同协商后确定出来;  The receiving module 1201 is further configured to receive, by using the second UE, the first resource response message sent by the second base station, where the first resource response message carries a communication resource used for performing communication by using the D2D communication group; The communication resource is determined by the second base station according to the group identifier of the D2D communication group and the current network resource condition of each cell in the second base station; or, the communication resource is the group identifier of the second base station according to the D2D communication group. Determining after being negotiated by the base station adjacent to the second base station;

上述发送模块 1202还用于上述第二 UE作为上述第五 UE时根据上述 D2D 通信组内各 UE的用户标识向上述 D2D通信组内各 UE发送用于上述 D2D通信 组执行通信的通信资源, 以通知各上述 UE利用该通信资源执行上述业务标识 对应的 D2D通信业务。  The sending module 1202 is further configured to: when the second UE is used as the fifth UE, send, according to a user identifier of each UE in the D2D communication group, a communication resource used by the D2D communication group to perform communication, according to a user identifier of each UE in the D2D communication group, to The UE is notified to use the communication resource to perform the D2D communication service corresponding to the service identifier.

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述第一资源响应消息中还包括小区列表; 上述小区列表包含至少一个 小区对应的小区标识, 上述小区列表用于指示上述 D2D通信组执行通信所利 用的预留资源所在的小区; 上述小区列表为上述第二基站确定的, 或者上述 小区列表为上述第二基站在通过与上述第二基站相邻的基站共同协商后确定 的。  The foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to at least one cell, where the cell list is used to indicate a cell in which the reserved resource used by the D2D communication group performs communication; The foregoing determining, by the second base station, the cell list is determined by the second base station after being negotiated by the base station adjacent to the second base station.

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述接收模块 1201还用于接收上述第五 UE所在小区所属的上述第二基 站发送的第三资源变更消息; 上述第三资源变更消息中携带第三变更通信资 源;  The receiving module 1201 is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries the third change communication resource;

上述发送模块 1202还用于向上述 D2D通信组内各 UE发送上述第三变更 通信资源, 以通知各上述 UE利用上述第三变更通信资源执行上述业务标识对 应的 D2D通信业务。  The sending module 1202 is further configured to send the third changed communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the third changed communication resource.

上述如图 8所示的实施例中以第二 UE为执行主体的歩骤可通过本实施例 所示的设备实现, 在此对其具体执行过程不作赘述。 The foregoing step of using the second UE as the execution subject in the embodiment shown in FIG. 8 can be adopted in this embodiment. The device implementation is shown, and its specific implementation process will not be described herein.

本实施例提供的设备, 在发起 D2D通信业务的发起者, 即第一 UE无法 从网络中获取获取用于各第二 UE进行 D2D通信业务所需的通信资源时,可 代替第一 UE从网络中获取上述通信资源, 以使上述 D2D通信组内各 UE通 过该通信资源执行相应的 D2D通信业务, 有效减少或避免对现有蜂窝网通 信的干扰。  The device provided in this embodiment may replace the first UE from the network when the initiator of the D2D communication service is initiated, that is, the first UE cannot obtain the communication resources required for the second UE to perform the D2D communication service from the network. The foregoing communication resources are obtained, so that each UE in the D2D communication group performs corresponding D2D communication service through the communication resource, thereby effectively reducing or avoiding interference to existing cellular network communication.

图 13为本发明又一个实施例提供的设备(例如基站) 的结构示意图。 如 图 13所示, 上述设备可以为发起 D2D通信的用户设备 UE当前所在小区所 属的基站, 例如可以用于执行如图 4所示的方法歩骤, 以下对上述设备以第 一基站为例进行介绍, 细节及举例亦可参见本发明上述实施例, 例如图 4所 示的实施例。  FIG. 13 is a schematic structural diagram of a device (for example, a base station) according to another embodiment of the present invention. As shown in FIG. 13 , the foregoing device may be a base station to which a user equipment UE that is initiating D2D communication belongs, for example, may be used to perform the method as shown in FIG. For a description, details and examples, reference may also be made to the above-described embodiments of the present invention, such as the embodiment shown in FIG.

上述第一基站具体包括: 接收模块 1301、 处理模块 1302和发送模块 1303; 其中:接收模块 1301用于接收第一 UE发送的第一资源请求消息,上述第一 UE 在上述第一基站覆盖的小区范围内, 上述第一资源请求消息中携带 D2D通信 组的组标识; 处理模块 1302用于根据上述 D2D通信组的组标识和当前上述第 一基站下各小区的网络资源情况确定用于上述 D2D通信组执行通信的第一通 信资源; 或者, 上述处理模块 1302根据上述 D2D通信组的组标识在通过与上 述第一基站相邻的基站共同协商后确定上述第一通信资源; 发送模块 1303用 于向上述第一 UE发送第一资源响应消息, 上述第一资源响应消息中携带用于 上述 D2D通信组执行通信的上述第一通信资源。  The foregoing first base station specifically includes: a receiving module 1301, a processing module 1302, and a sending module 1303. The receiving module 1301 is configured to receive a first resource request message sent by the first UE, where the first UE is in a cell covered by the first base station. The first resource request message carries the group identifier of the D2D communication group, and the processing module 1302 is configured to determine, according to the group identifier of the D2D communication group and the current network resource status of each cell in the first base station, that the D2D communication is used. The first communication resource is configured to perform communication; or the processing module 1302 determines the first communication resource after being negotiated by the base station adjacent to the first base station according to the group identifier of the D2D communication group; and the sending module 1303 is configured to The first UE sends a first resource response message, where the first resource response message carries the first communication resource used for performing communication by the D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上述第一资源响应消息中还包括第一小区列表; 上述第一小区列表包含 至少一个小区对应的小区标识, 上述第一小区列表用于指示上述 D2D通信组 执行通信所利用的第一预留资源所在的小区; 上述第一小区列表为上述处理 模块 1302确定的, 或者上述第一小区列表为上述处理模块 1302与上述第一基 站相邻的基站共同协商后确定的。  The first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate the first reserved resource used by the D2D communication group to perform communication. The first cell list is determined by the processing module 1302, or the first cell list is determined by the processing module 1302 and the base station adjacent to the first base station.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上述接收模块 1301还用于接收上述第一 UE发送的第二资源请求消息; 上 述第二资源请求消息中携带上述 D2D通信组的组标识和第三 UE所在小区的 小区标识, 上述第三 UE所在小区的小区标识不包含在上述第一小区列表中; 上述处理模块 1302还用于根据上述第三 UE所在小区的小区标识、 上述 D2D通信组的组标识和当前上述第一基站下各小区的网络资源情况为上述 D2D通信组重新分配通信资源; 或者, 上述处理模块 1302根据上述第三 UE所 在小区的小区标识和上述 D2D通信组的组标识在通过与上述第一基站相邻的 基站共同协商后为上述 D2D通信组重新分配所述通信资源; The receiving module 1301 is further configured to receive the second resource request message sent by the first UE. The second resource request message carries the group identifier of the D2D communication group and the cell identifier of the cell where the third UE is located, and the cell identifier of the cell where the third UE is located is not included in the first cell list. The processing module 1302 is further used by the processing module 1302. And re-allocating the communication resource to the D2D communication group according to the cell identifier of the cell in which the third UE is located, the group identifier of the D2D communication group, and the current network resource status of each of the cells in the first base station; or, the processing module 1302 is configured according to the foregoing The cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group are re-allocated the communication resource for the D2D communication group after being negotiated by the base station adjacent to the first base station;

上述发送模块 1303还用于向上述第一 UE发送第二资源响应消息, 上述第 二资源响应消息中携带为上述 D2D通信组重新分配的上述通信资源和第二小 区列表; 上述第二小区列表中包含上述第三 UE所在小区的小区标识。  The foregoing sending module 1303 is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group; The cell identifier of the cell where the third UE is located is included.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上述接收模块 1301还用于接收上述第一 UE发送的第一 D2D通信资源接 口 UE变更消息,上述第一 D2D通信资源接口 UE变更消息中携带上述 D2D通信 组的组标识、上述 D2D通信组内各 UE的用户标识和第四 UE所在小区的小区标 识; 上述第一 D2D通信资源接口 UE变更消息用于通知上述第一基站由上述第 四 UE作为通信代表对后续上述 D2D通信组对应的上述第一通信资源进行管 理;  The receiving module 1301 is further configured to receive the first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each of the D2D communication groups The user identifier of the UE and the cell identifier of the cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the first UE is used by the fourth UE as a communication representative to the first D2D communication group corresponding to the first Management of communication resources;

上述发送模块 1303还用于根据上述第四 UE所在小区的小区标识; 向上述 第四 UE所在小区所属的基站发送上述第一 D2D通信资源接口 UE变更消息,以 通知上述第四 UE所在小区所属的基站由上述第四 UE作为通信代表对后续上 述 D2D通信组的上述通信资源进行管理; 或者,  The sending module 1303 is further configured to send, according to the cell identifier of the cell where the fourth UE is located, the first D2D communication resource interface UE change message to the base station to which the fourth UE is located, to notify the cell to which the fourth UE is located. The base station is configured by the fourth UE as a communication representative to manage the foregoing communication resources of the foregoing D2D communication group; or

上述接收模块 1301接收上述第四 UE所在小区所属的基站转发的上述第 四 UE发送的第二 D2D通信资源接口 UE变更消息;上述第二 D2D通信资源接口 UE变更消息中携带上述 D2D通信组的组标识、上述第四 UE的用户标识和上述 第四 UE所在小区的小区标识,以使上述第一基站获知由上述第四 UE作为通信 代表对后续上述 D2D通信组的上述通信资源进行管理。  The receiving module 1301 receives the second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, and the second D2D communication resource interface UE change message carries the group of the D2D communication group. The identifier, the user identifier of the fourth UE, and the cell identifier of the cell where the fourth UE is located, so that the first base station learns that the fourth UE is used as a communication representative to manage the communication resource of the subsequent D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上述接收模块 1301还用于接收第三基站转发的上述第一 UE发送的 D2D 通信资源小区变更消息, 上述 D2D通信资源小区变更消息中携带上述 D2D通 信组的组标识和上述第一 UE的用户标识; 以使上述第一基站获知由上述第三 基站下的上述第一 UE继续作为通信代表对后续上述 D2D通信组的上述通信 资源进行管理。 The receiving module 1301 is further configured to receive the D2D sent by the first UE that is forwarded by the third base station. a communication resource cell change message, where the D2D communication resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, so that the first base station learns that the first UE under the third base station continues As the communication representative, the above communication resources of the above-mentioned D2D communication group are managed.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上述第一 UE在执行上述 D2D通信的过程中, 上述发送模块 1303还用于向 上述第一 UE发送第一资源变更消息; 上述第一资源变更消息中携带变更的第 一通信资源; 以使上述第一 UE将所述变更的第一通信资源的信息发送给上述 D2D通信组中各 UE,以通知各上述 UE利用上述变更后的第一通信资源执行上 述 D2D通信的业务; 并指示上述第一 UE将上述第一变更通信资源所在小区的 小区标识更新至上述 D2D通信组对应的上述第一小区列表中。  In the process of performing the foregoing D2D communication, the sending module 1303 is further configured to send a first resource change message to the first UE, where the first resource change message carries the changed first communication resource, to enable the foregoing Transmitting, by the first UE, information of the changed first communication resource to each UE in the D2D communication group, to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first The UE updates the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.

上述如图 6-9所示的实施例中以第一基站为执行主体的歩骤可通过本实 施例所示的设备实现, 在此对其具体执行过程不作赘述。  The foregoing steps in the embodiment shown in FIG. 6-9 are performed by using the first base station as the execution entity, and the specific implementation process is not described herein.

本实施例提供的设备, 在接收用户设备, 即上述第一 UE发送的第一资源 请求消息后, 根据该消息中携带的 D2D通信组的组标识和当前第一基站下各 小区的网络资源情况确定用于 D2D通信组进行通信的第一通信资源; 或者, 根据 D2D通信组的组标识在通过与第一基站相邻的基站共同协商后确定第一 通信资源;并将确定的上述第一通信资源发送至上述用户设备,以使上述 D2D 通信组内各 UE通过该通信资源执行相应的 D2D通信业务, 有效减少或避免对 现有蜂窝网通信的干扰。  The device provided in this embodiment, after receiving the user equipment, that is, the first resource request message sent by the first UE, according to the group identifier of the D2D communication group carried in the message and the network resource status of each cell under the current first base station Determining a first communication resource for communication by the D2D communication group; or determining, according to the group identity of the D2D communication group, the first communication resource after being mutually negotiated by the base station adjacent to the first base station; and determining the first communication The resource is sent to the user equipment, so that each UE in the D2D communication group performs corresponding D2D communication service through the communication resource, thereby effectively reducing or avoiding interference to the existing cellular network communication.

图 14为本发明又一个实施例提供的设备 (例如基站) 的结构示意图。 如 图 14所示, 上述设备可以为 D2D通信组中接收第一 UE发起 D2D通信组业务的 一个第二 UE当前所在小区所属的基站, 例如可以用于执行如图 5所示的方法 歩骤, 以下对上述设备以第二基站为例进行介绍, 细节及举例亦可参见本发 明上述实施例, 例如图 5所示的实施例。  FIG. 14 is a schematic structural diagram of a device (for example, a base station) according to still another embodiment of the present invention. As shown in FIG. 14, the device may be a base station to which a cell in which a second UE is currently in the D2D communication group, and may be used to perform a method as shown in FIG. The second base station is taken as an example for the foregoing device. For details and examples, reference may also be made to the foregoing embodiment of the present invention, such as the embodiment shown in FIG.

上述第二基站具体包括: 接收模块 1401、 处理模块 1402和发送模块 1403; 其中:接收模块 1401用于接收第二 UE转发的来自第一 UE发送的第一资源请求 消息; 上述第二 UE在第二基站覆盖的小区范围内; 上述第一资源请求消息中 携带 D2D通信组的组标识; 上述第一资源请求消息用于上述第一 UE为其所在 的上述 D2D通信组进行通信资源申请; 处理模块 1402用于根据上述 D2D通信 组的组标识和当前上述第二基站下各小区的网络资源情况确定用于上述 D2D 通信组进行通信的通信资源; 或者, 上述处理模块 1402根据上述 D2D通信组 的组标识在通过与上述第二基站相邻的基站共同协商后确定上述通信资源; 发送模块 1403用于向上述第二 UE发送第一资源响应消息, 上述第一资源响应 消息中携带用于上述 D2D通信组执行通信的上述通信资源。 The foregoing second base station specifically includes: a receiving module 1401, a processing module 1402, and a sending module 1403. The receiving module 1401 is configured to receive a first resource request message sent by the second UE and sent by the second UE. The first resource request message carries the group identifier of the D2D communication group; the first resource request message is used by the first UE The D2D communication group performs the communication resource application; the processing module 1402 is configured to determine, according to the group identifier of the D2D communication group and the network resource condition of each of the cells under the second base station, communication resources used for communication by the D2D communication group; or The processing module 1402 determines the communication resource after being negotiated by the base station adjacent to the second base station according to the group identifier of the D2D communication group, and the sending module 1403 is configured to send a first resource response message to the second UE, where The first resource response message carries the foregoing communication resource for performing communication by the D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第二基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second base station may further include:

上述第一资源响应消息中还包括小区列表; 上述小区列表包含至少一个 小区对应的小区标识, 上述小区列表用于指示上述 D2D通信组执行通信所利 用的预留资源所在的小区; 上述小区列表为上述处理模块 1402确定的, 或者 上述小区列表为上述处理模块 1402与上述第二基站相邻的基站共同协商后确 定的。  The foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to at least one cell, where the cell list is used to indicate a cell in which the reserved resource used by the D2D communication group performs communication; The foregoing processing module 1402 determines, or the foregoing cell list is determined after the processing module 1402 and the base station adjacent to the second base station jointly negotiate.

上述如图 6-9所示的实施例中以第二基站为执行主体的歩骤可通过本实 施例所示的设备实现, 在此对其具体执行过程不作赘述。  The steps of the embodiment shown in FIG. 6-9 in which the second base station is the execution entity may be implemented by using the device shown in this embodiment, and detailed description thereof is not described herein.

本实施例提供的设备, 可接收第二基站下小区内第二 UE转发的来自第一 基站下小区内第一 UE发送的第一资源请求消息; 并根据上述第一资源请求消 息为上述第一 UE所在的上述 D2D通信组进行通信资源申请; 并将确定的通信 资源通过上述第二 UE转发给上述第一 UE, 以使上述 D2D通信组内各 UE通过 该通信资源执行相应的 D2D通信业务, 有效减少或避免对现有蜂窝网通信的 干扰。  The device provided in this embodiment may receive the first resource request message sent by the first UE in the cell under the first base station that is forwarded by the second UE in the second cell, and the first resource request message is the first The D2D communication group in which the UE is located performs a communication resource request, and the determined communication resource is forwarded to the first UE by using the second UE, so that each UE in the D2D communication group performs a corresponding D2D communication service by using the communication resource, Effectively reduce or avoid interference with existing cellular communications.

图 15为本发明一个实施例提供的设备(例如用户设备 UE)的结构示意图。 如图 15所示, 上述设备可以为发起 D2D通信的用户设备, 例如可以用于执行 如图 1所示的方法歩骤, 以下对上述设备以第一用户设备 UE为例进行介绍, 细节及举例亦可参见本发明上述实施例, 例如图 1所示的实施例。  Figure 15 is a schematic structural diagram of a device (e.g., user equipment UE) according to an embodiment of the present invention. As shown in FIG. 15 , the device may be a user equipment that initiates D2D communication, for example, may be used to perform the method shown in FIG. 1 . The following uses the first user equipment UE as an example to introduce the details, and examples. See also the above-described embodiments of the present invention, such as the embodiment shown in FIG.

上述第一用户设备 UE包括: 发送器 1501、 接收器 1502和处理器 1503, 其 中: 发送器 1501用于向无线网络中的至少一个第二 UE发送发现消息, 上述发 现消息用于向上述至少一个第二 UE指示上述第一 UE支持设备对设备 D2D通 信业务; 上述发现消息中携带 D2D通信组的组标识和上述 D2D通信组对应的 业务标识; 接收器 1502用于接收上述第二 UE发送的第一申请消息, 上述第一 申请消息中携带上述第二 UE的用户标识;上述第一申请消息用于上述第二 UE 申请加入所述 D2D通信组; 处理器 1503用于根据上述第二 UE发送的上述第一 申请消息获取用于上述 D2D通信组执行通信的通信资源; 上述发送器 1501还 用于根据上述第二 UE的用户标识,向上述 D2D通信组内的上述第二 UE发送用 于上述 D2D通信组执行通信的通信资源, 以通知上述 D2D通信组内各 UE利用 上述通信资源执行上述业务标识对应的 D2D通信业务。 The foregoing first user equipment UE includes: a transmitter 1501, a receiver 1502, and a processor 1503, where: the transmitter 1501 is configured to send a discovery message to at least one second UE in the wireless network, where the discovery message is used to send the at least one The second UE indicates that the first UE supports the device-to-device D2D communication service; the discovery message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; and the receiver 1502 is configured to receive the second UE An application message, the first mentioned above The application message carries the user identifier of the second UE, where the first application message is used by the second UE to join the D2D communication group, and the processor 1503 is configured to acquire the first application message sent by the second UE. The communication resource for performing communication in the D2D communication group; the transmitter 1501 is further configured to send, according to the user identifier of the second UE, the communication resource used by the D2D communication group to perform communication to the second UE in the D2D communication group. And instructing each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the foregoing communication resource.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述处理器 1503具体用于:  The processor 1503 is specifically configured to:

指示上述发送器 1501根据上述第二 UE发送的上述第一申请消息向第一 基站发送第一资源请求消息, 上述第一 UE在上述第一基站覆盖的小区范围 内, 上述第一资源请求消息中携带上述 D2D通信组的组标识;  Instructing the transmitter 1501 to send a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is in the first resource request message in the cell coverage area of the first base station. Carrying the group identifier of the above D2D communication group;

指示上述接收器 1502接收上述第一基站发送的第一资源响应消息, 上述 第一资源响应消息中携带用于上述 D2D通信组执行通信的第一通信资源; 上 述第一通信资源为上述第一基站根据上述 D2D通信组的组标识和当前上述第 一基站下各小区的网络资源情况确定出来; 或者, 上述第一通信资源为上述 第一基站根据上述 D2D通信组的组标识在通过与上述第一基站相邻的基站共 同协商后确定出来。  Instructing the receiver 1502 to receive the first resource response message sent by the first base station, where the first resource response message carries a first communication resource used for performing communication by the D2D communication group; the first communication resource is the first base station. And determining, according to the group identifier of the D2D communication group and the current network resource condition of each of the cells in the first base station; or, the first communication resource is that the first base station passes the first group according to the group identifier of the D2D communication group. The base stations adjacent to the base station are jointly negotiated and determined.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述第一资源响应消息中还包括第一小区列表; 上述第一小区列表包含 至少一个小区对应的小区标识, 上述第一小区列表用于指示上述 D2D通信组 执行通信所利用的第一预留资源所在的小区; 上述第一小区列表为上述第一 基站确定的, 或者上述第一小区列表为上述第一基站与上述第一基站相邻的 基站共同协商后确定的。  The first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate the first reserved resource used by the D2D communication group to perform communication. The first cell list is determined by the first base station, or the first cell list is determined by the first base station and the base station adjacent to the first base station.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述接收器 1502还用于接收第三 UE发送的第二申请消息; 所述第二申请 消息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标识; 上述处理器 1503还用于若所述第三 UE所在小区的小区标识包含在所述 第一小区列表中, 则通知所述第三 UE利用所述第一预留资源执行所述业务标 识对应的 D2D通信业务,并且指示所述第一 UE将所述第三 UE作为所述 D2D通 信组中的一个所述第二 UE进行管理。 The receiver 1502 is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; the processor 1503 Also used if the cell identifier of the cell where the third UE is located is included in the In the first cell list, the third UE is notified to perform the D2D communication service corresponding to the service identifier by using the first reserved resource, and instruct the first UE to use the third UE as the D2D communication. One of the second UEs in the group is managed.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述接收器 1502还用于接收第三 UE发送的第二申请消息; 上述第二申请 消息中携带上述第三 UE的用户标识和上述第三 UE所在小区的小区标识; 上述处理器 1503还用于若上述第三 UE所在小区的小区标识不包含在上 述第一小区列表中, 则指示上述发送器 1501向上述第一基站发送第二资源请 求消息; 上述第二资源请求消息中携带上述 D2D通信组的组标识和上述第三 UE所在小区的小区标识,以请求上述第一基站根据上述第三 UE所在小区的小 区标识为上述 D2D通信组重新分配通信资源, 并且指示上述第一 UE将上述第 三 UE作为上述 D2D通信组中的一个上述第二 UE进行管理;  The receiver 1502 is further configured to receive a second application message sent by the third UE, where the second application message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located; the processor 1503 is further used by And if the cell identifier of the cell where the third UE is located is not included in the first cell list, the transmitter 1501 is configured to send a second resource request message to the first base station; and the second resource request message carries the D2D communication group. The group identifier and the cell identifier of the cell where the third UE is located, to request the first base station to re-allocate communication resources to the D2D communication group according to the cell identifier of the cell where the third UE is located, and instruct the first UE to use the third The UE is managed as one of the foregoing second UEs in the D2D communication group;

上述接收器 1502还用于接收上述第一基站发送的第二资源响应消息, 上 述第二资源响应消息中携带用于上述 D2D通信组执行通信的第二通信资源和 第二小区列表; 上述第二小区列表中包含上述第三 UE所在小区的小区标识; 上述发送器 1501还用于向上述 D2D通信组内的上述第二 UE发送用于上 述 D2D通信组执行通信的第二通信资源, 以通知上述 D2D通信组内各 UE利用 上述第二通信资源执行上述业务标识对应的 D2D通信业务。  The receiver 1502 is further configured to receive the second resource response message sent by the first base station, where the second resource response message carries a second communication resource and a second cell list for performing communication by the D2D communication group; The cell list includes the cell identifier of the cell where the third UE is located. The transmitter 1501 is further configured to send, to the second UE in the D2D communication group, a second communication resource for performing communication by using the D2D communication group, to notify the foregoing. Each UE in the D2D communication group performs the D2D communication service corresponding to the service identifier by using the second communication resource.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述第一申请消息中还携带上述第二 UE所在小区的小区标识; 上述处理器 1503还用于上述第一 UE在执行上述 D2D通信的过程中测量 上述第一 UE所在小区的网络信号强度和 /或网络信号质量;  The first application message further carries the cell identifier of the cell where the second UE is located. The processor 1503 is further configured to: when the first UE performs the D2D communication, measure the network signal strength of the cell where the first UE is located, and/or Or network signal quality;

若上述第一 UE所在小区的网络信号强度低于第一信号强度阈值,和 /或网 络信号质量低于第一信号质量阈值, 则上述处理器 1503根据各上述第二 UE所 在小区的小区标识从各上述第二 UE中选取一个 UE作为第四 UE;  If the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the processor 1503 is configured according to the cell identifier of the cell where each of the second UEs is located. One of the foregoing second UEs is selected as the fourth UE;

上述发送器 1501用于向上述第一基站发送第一 D2D通信资源接口 UE变 更消息, 上述第一 D2D通信资源接口 UE变更消息中携带上述 D2D通信组的组 标识、 上述 D2D通信组内各 UE的用户标识和上述第四 UE所在小区的小区标 识; 以通知上述第一基站由上述第四 UE作为通信代表对后续上述 D2D通信组 对应的上述第一通信资源进行管理; 和 /或, The transmitter 1501 is configured to send, to the first base station, a first D2D communication resource interface UE change message, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each UE in the D2D communication group User identifier and the cell identifier of the cell where the fourth UE is located The first base station is notified by the fourth UE as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group; and/or

上述发送器 1501向上述第四 UE发送第二 D2D通信资源接口 UE变更消息, 上述第二 D2D通信资源接口 UE变更消息中携带上述 D2D通信组的组标识、 上 述 D2D通信组内各 UE的用户标识和上述第一 UE所在小区的小区标识;以通知 上述第四 UE由其作为通信代表对后续上述 D2D通信组对应的上述第一通信 资源进行管理。  The transmitter 1501 sends a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group and the user identifier of each UE in the D2D communication group. And the cell identifier of the cell where the first UE is located; and the fourth UE is notified as the communication representative to manage the first communication resource corresponding to the subsequent D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述处理器 1503根据各上述第二 UE所在小区的小区标识从各上述第二 The processor 1503, according to the cell identifier of each cell where the second UE is located, from each of the foregoing second

UE中选取一个 UE作为第四 UE, 包括: Selecting one UE as the fourth UE in the UE includes:

上述处理器 1503根据各上述第二 UE所在小区的小区标识指示上述发送 器 1501向上述 D2D通信组中上述第二 UE发送查询请求;  The processor 1503 instructs the transmitter 1501 to send a query request to the second UE in the D2D communication group according to the cell identifier of the cell where the second UE is located;

上述处理器 1503指示上述接收器 1502接收上述第二 UE发送的查询响应, 上述查询响应中携带上述第二 UE所在小区的网络信号强度和 /或网络信号质 上述处理器 1503从各上述第二 UE中选择一个所在小区的网络信号强度 或网络信号质量最强的上述第二 UE作为上述第四 UE,或者,上述处理器 1503 从各上述第二 UE 中选择一个所在小区的网络信号强度和网络信号质量的综 合值最强的上述第二 UE作为上述第四 UE。  The processor 1503 instructs the receiver 1502 to receive the query response sent by the second UE, where the query response carries the network signal strength and/or the network signal quality of the cell where the second UE is located, and the processor 1503 uses the foregoing second UE. Selecting the second UE that has the strongest network signal strength or network signal quality of the cell in the cell as the fourth UE, or the processor 1503 selects the network signal strength and the network signal of the cell in the second UE. The second UE having the strongest integrated value of the quality is used as the fourth UE.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述第一申请消息中还携带上述第二 UE所在小区的小区标识;  The first application message further carries the cell identifier of the cell where the second UE is located;

上述处理器 1503还具体用于根据上述第二 UE所在小区的小区标识测量 上述第二 UE所在小区的网络信号强度和 /或网络信号质量,并根据测量结果从 各上述第二 UE中选取一个 UE作为第五 UE, 并指示发送器 1501向上述第五 UE 发送上述第一资源请求消息, 以通知上述第五 UE由其作为通信代表对上述 D2D通信组的上述通信资源进行管理;并指示上述第五 UE向上述第五 UE所在 小区所属的基站转发上述第一资源请求消息, 进而请求上述第五 UE所在小区 所属的基站分配用于上述 D2D通信组执行上述业务标识对应的 D2D通信业务 的通信资源; The processor 1503 is further configured to measure network signal strength and/or network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and select one UE from each of the second UEs according to the measurement result. And as the fifth UE, instructing the sender 1501 to send the first resource request message to the fifth UE, to notify the fifth UE to manage the communication resource of the D2D communication group by using the fifth UE as a communication representative; and instructing the foregoing And transmitting, by the UE, the first resource request message to the base station to which the cell in which the fifth UE is located, and requesting the base station to which the cell where the fifth UE is located to allocate the D2D communication service corresponding to the service identifier for the D2D communication group. Communication resources;

上述处理器 1503指示上述接收器 1502接收上述第五 UE发送的用于上 述 D2D通信组执行通信的通信资源。  The processor 1503 instructs the receiver 1502 to receive the communication resource sent by the fifth UE for performing the communication by the D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述处理器 1503还用于上述第一 UE在执行上述 D2D通信的过程中测 量上述第一 UE所在小区以及上述第一 UE所在小区的相邻小区的网络信号强 度和 /或网络信号质量, 并根据测量结果重选或切换至新的小区;  The processor 1503 is further configured to: when the first UE performs the foregoing D2D communication, measure network signal strength and/or network signal quality of the cell where the first UE is located and the neighboring cell of the cell where the first UE is located, and according to The measurement result is re-selected or switched to a new cell;

上述处理器 1503还用于将上述第一 UE所在的上述新小区所属的基站确 定为新的上述第一基站, 并指示发送器 1501向上述第一基站发送 D2D通信资 源小区变更消息; 上述 D2D通信资源小区变更消息中携带上述 D2D通信组的 组标识和上述第一 UE的用户标识, 以通知上述第一基站由上述新小区下的上 述第一 UE继续作为通信代表对后续上述 D2D通信组的上述通信资源进行管 理; 或者,  The processor 1503 is further configured to determine, by the base station to which the new cell where the first UE is located, the new first base station, and instruct the transmitter 1501 to send a D2D communication resource cell change message to the first base station; The resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station that the first UE in the new cell continues to be the communication representative to the foregoing D2D communication group. Management of communication resources; or,

上述处理器 1503指示上述发送器 1501在上述重选或切换的程中通过原 小区所属的基站向上述新小区所属的上述第一基站发送上述 D2D通信资源小 区变更消息, 以通知上述第一基站由上述新小区下的上述第一 UE继续作为 通信代表对后续上述 D2D通信组的上述通信资源进行管理。  The processor 1503 instructs the transmitter 1501 to send the D2D communication resource cell change message to the first base station to which the new cell belongs by using the base station to which the original cell belongs in the process of the reselection or handover to notify the first base station The first UE in the new cell continues to manage the communication resources of the subsequent D2D communication group as a communication representative.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述接收器 1502还用于上述第一 UE在进行上述 D2D通信的过程中, 接收 上述第一基站发送的第一资源变更消息; 上述第一资源变更消息中携带第一 变更通信资源;  The receiver 1502 is further configured to: when the first UE performs the D2D communication, receive the first resource change message sent by the first base station; and the first resource change message carries the first change communication resource;

上述发送器 1501 还用于将上述第一资源变更消息中携带的上述第一变 更通信资源发送给上述 D2D通信组内的上述第二 UE, 以使上述 D2D通信组 内各上述第二 UE利用上述第一变更通信资源执行上述业务标识对应的 D2D 通信业务;并且指示上述处理器 1503将上述第一变更通信资源所在小区的小 区标识更新至上述 D2D通信组对应的上述第一小区列表中。  The transmitter 1501 is further configured to send the first changed communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the second UEs in the D2D communication group uses the foregoing The first change communication resource performs the D2D communication service corresponding to the service identifier; and the processor 1503 is instructed to update the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括: 上述接收器 1502还用于由上述第四 UE作为通信代表对上述 D2D通信组 对应的上述第一通信资源进行管理之后, 且上述第一 UE在进行上述 D2D通信 的过程中, 接收上述第四 UE发送的第二资源变更消息; 上述第二资源变更消 息中携带第二变更通信资源; On the basis of the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include: The receiver 1502 is further configured to: after the fourth UE is used as the communication representative, to manage the first communication resource corresponding to the D2D communication group, and the first UE receives the fourth UE in the process of performing the D2D communication. Sending a second resource change message; the second resource change message carries the second change communication resource;

上述处理器 1503还用于利用上述第二变更通信资源执行上述业务标识对 应的 D2D通信业务。  The processor 1503 is further configured to perform the D2D communication service corresponding to the service identifier by using the second changed communication resource.

在本实施例所示的功能结构的基础上, 例如, 上述第一用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first user equipment UE may further include:

上述接收器 1502还用于由上述第五 UE作为通信代表对上述 D2D通信组 的上述通信资源进行管理之后, 且上述第一 UE在进行上述 D2D通信的过程 中, 接收上述第五 UE发送的第三资源变更消息; 上述第三资源变更消息中携 带第三变更通信资源;  The receiver 1502 is further configured to: after the fifth UE is used as a communication representative, to manage the communication resource of the D2D communication group, and the first UE receives the first UE sent in the process of performing the D2D communication. a third resource change message; the third resource change message carries the third change communication resource;

上述处理器 1503还用于利用上述第三变更通信资源执行上述业务标识对 应的 D2D通信业务。  The processor 1503 is further configured to perform the D2D communication service corresponding to the service identifier by using the third changed communication resource.

上述如图 6-9所示的实施例中以第一 UE为执行主体的歩骤可通过本实施 例所示的设备实现, 在此对其具体执行过程不作赘述。  The foregoing steps in the embodiment shown in FIG. 6-9 are implemented by using the device shown in the embodiment in the first UE. The specific implementation process is not described herein.

本实施例提供的设备, 可根据从网络中接收的各第二 UE发送的申请 消息获取用于各第二 UE执行 D2D通信业务所需的通信资源的信息,从而 使 D2D通信组内各 UE利用通信资源执行相应的 D2D通信业务, 有效减 少或避免对现有蜂窝网通信的干扰。  The device provided in this embodiment may acquire information about communication resources required for each second UE to perform D2D communication service according to an application message sent by each second UE received from the network, so that each UE in the D2D communication group utilizes The communication resources perform corresponding D2D communication services, effectively reducing or avoiding interference to existing cellular network communications.

图 16为本发明另一个实施例提供的设备 (例如用户设备 UE) 的结构示 意图。 如图 16所示, 上述设备可以为 D2D通信组中接收第一 UE发起 D2D 通信组业务的一个第二 UE, 例如可以用于执行如图 2所示的方法歩骤, 以下 对上述设备以第二用户设备 UE为例进行介绍, 细节及举例亦可参见本发明 上述实施例, 例如图 2所示的实施例。  FIG. 16 is a schematic structural diagram of a device (for example, a user equipment UE) according to another embodiment of the present invention. As shown in FIG. 16, the device may be a second UE that receives the first UE to initiate the D2D communication group service in the D2D communication group, and may be used, for example, to perform the method shown in FIG. The second user equipment UE is taken as an example. For details and examples, reference may also be made to the foregoing embodiments of the present invention, such as the embodiment shown in FIG. 2.

上述第二用户设备 UE包括: 接收器 1601和发送器 1602, 其中: 接收器 1601用于从无线网络中接收第一 UE发送的发现消息; 上述发现消息中携带 设备对设备 D2D通信组的组标识和上述 D2D通信组对应的业务标识; 发送 器 1602用于根据上述 D2D通信组的组标识和上述 D2D通信组对应的业务标 识向上述第一 UE发送第一申请消息,上述第一申请消息中携带第二 UE的用 户标识; 上述第一申请消息用于上述第二 UE申请加入上述 D2D通信组; 上 述接收器 1601还用于接收上述第一 UE根据上述第二 UE的用户标识发送的 用于上述 D2D通信组执行通信的通信资源, 并指示上述第二 UE利用所述通 信资源执行上述业务标识对应的 D2D通信业务。 The foregoing second user equipment UE includes: a receiver 1601 and a transmitter 1602, where: the receiver 1601 is configured to receive a discovery message sent by the first UE from the wireless network; and the discovery message carries the group identifier of the device-to-device D2D communication group. a service identifier corresponding to the D2D communication group; the sender 1602 is configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message is carried Use of the second UE The first application message is used by the second UE to join the D2D communication group; the receiver 1601 is further configured to receive, by the first UE, the third UE, according to the user identifier of the second UE, to perform the D2D communication group execution. Communicating the communication resource, and instructing the second UE to perform the D2D communication service corresponding to the service identifier by using the communication resource.

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述接收器 1601还用于上述第二 UE在执行上述 D2D通信的过程中接收 上述第一 UE发送的用于上述 D2D通信组执行通信的变更通信资源, 并指示上 述第二 UE利用上述变更通信资源执行上述业务标识对应的 D2D通信业务; 在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  The receiver 1601 is further configured to: when the second UE performs the D2D communication, receive the changed communication resource used by the first UE for performing the D2D communication group to perform communication, and instruct the second UE to use the changed communication resource. The D2D communication service corresponding to the foregoing service identifier is executed. On the basis of the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述第一申请消息中还携带上述第二 UE所在小区的小区标识;  The first application message further carries the cell identifier of the cell where the second UE is located;

上述接收器 1601用于上述第二 UE在执行所述 D2D通信的过程中作为第 四 UE时接收上述第一 UE发送的第二 D2D通信资源接口 UE变更消息, 上述第 二 D2D通信资源接口 UE变更消息中携带上述 D2D通信组的组标识、 上述 D2D 通信组内各 UE的用户标识和上述第一 UE所在小区的小区标识; 上述第四 UE 为上述第一 UE根据上述 D2D通信组内各上述第二 UE所在小区的小区标识从 各上述第二 UE中选取的一个 UE;  The receiver 1601 is configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in the process of performing the D2D communication, where the second D2D communication resource interface UE is changed. The message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; the fourth UE is the foregoing first UE according to each of the foregoing D2D communication groups. a cell identifier of a cell in which the second UE is located, and a UE selected from each of the foregoing second UEs;

上述发送器 1602还用于上述第二 UE作为上述第四 UE时向上述第二 UE所 在小区所属的第二基站发送上述第二 D2D通信资源接口 UE变更消息, 以通知 上述第二基站由作为上述第四 UE的上述第二 UE作为通信代表对后续上述 D2D通信组的上述通信资源进行管理。  The transmitter 1602 is further configured to: when the second UE is used as the fourth UE, send the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to notify the second base station The second UE of the fourth UE, as the communication representative, manages the foregoing communication resources of the subsequent D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述第二 UE在执行上述 D2D通信的过程中作为第四 UE通过接收器 1601 接收上述第一 UE发送的第二 D2D通信资源接口 UE变更消息之前,  Before the second UE receives the second D2D communication resource interface UE change message sent by the first UE by using the receiver 1601 in the process of performing the foregoing D2D communication,

接收器 1601用于接收上述第一 UE发送的查询请求; 发送器 1602用于向上 述第一 UE返回查询响应,上述查询响应中携带上述第二 UE所在小区的网络信 号强度和 /或网络信号质量。  The receiver 1601 is configured to receive the query request sent by the first UE, and the sender 1602 is configured to return a query response to the first UE, where the query response carries the network signal strength and/or network signal quality of the cell where the second UE is located. .

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括: On the basis of the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may also To further include:

在由上述第二 UE作为通信代表对上述 D2D通信组对应的的通信资源进 行管理之后, 且上述第二 UE在进行上述 D2D通信的过程中,  After the communication resource corresponding to the D2D communication group is managed by the second UE as the communication representative, and the second UE is in the process of performing the D2D communication,

上述接收器 1602还用于接收上述第二 UE所在小区所属的第二基站发送 的第二资源变更消息; 上述第二资源变更消息中携带第二变更通信资源; 上述发送器 1602还用于向上述 D2D通信组内各 UE发送上述第二变更通 信资源, 以通知各上述 UE利用上述第二变更通信资源执行上述业务标识对应 的 D2D通信业务。  The receiver 1602 is further configured to receive a second resource change message sent by the second base station to which the second UE is located, where the second resource change message carries the second change communication resource, where the transmitter 1602 is further used to Each of the UEs in the D2D communication group transmits the second changed communication resource to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the second changed communication resource.

上述如图 6-7、 9所示的实施例中以第二 UE为执行主体的歩骤可通过本 实施例所示的设备实现, 在此对其具体执行过程不作赘述。  The foregoing steps in the embodiment shown in FIG. 6-7 and FIG. 9 are implemented by the device shown in this embodiment, and the specific implementation process is not described herein.

本实施例提供的设备, 通过接收作为 D2D通信业务组的发起者, 即第一 UE从网络中获取的用于各第二 UE执行 D2D通信业务所需的通信资源来执行 相应的 D2D通信业务, 有效减少或避免对现有蜂窝网通信的干扰。  The device provided in this embodiment performs the corresponding D2D communication service by receiving the communication resource required for the D2D communication service for each second UE acquired by the first UE from the network as the initiator of the D2D communication service group. Effectively reduce or avoid interference with existing cellular communications.

图 17为本发明又一个实施例提供的设备 (例如用户设备 UE) 的结构示 意图。 如图 17所示, 上述设备可以为某一 D2D通信组中接收第一 UE发起 D2D通信组业务的一个第二 UE, 例如可以用于执行如图 3所示的方法歩骤, 以下对上述设备以第二用户设备 UE为例进行介绍, 细节及举例亦可参见本 发明上述实施例, 例如图 3所示的实施例。  FIG. 17 is a schematic structural diagram of a device (for example, a user equipment UE) according to still another embodiment of the present invention. As shown in FIG. 17, the foregoing device may be a second UE that initiates a D2D communication group service by using a first UE in a certain D2D communication group, and may be used, for example, to perform the method shown in FIG. The second user equipment UE is taken as an example. For details and examples, reference may also be made to the foregoing embodiments of the present invention, such as the embodiment shown in FIG.

上述第二用户设备 UE具体包括: 接收器 1701和发送器 1702; 其中: 接收器 1701用于从无线网络中接收第一 UE发送的发现消息; 上述发现 消息中携带设备对设备 D2D通信组的组标识和上述 D2D通信组对应的业务 标识;  The foregoing second user equipment UE specifically includes: a receiver 1701 and a transmitter 1702; wherein: the receiver 1701 is configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a device-to-device D2D communication group Identifying a service identifier corresponding to the D2D communication group;

发送器 1702用于根据上述 D2D通信组的组标识和上述 D2D通信组对应的 业务标识向上述第一 UE发送第一申请消息, 上述第一申请消息中携带上述第 二 UE的用户标识和上述第二 UE所在小区的小区标识;上述第一申请消息用于 上述第二 UE申请加入上述 D2D通信组;  The transmitter 1702 is configured to send, by using the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, a first application message to the first UE, where the first application message carries the user identifier of the second UE and the foregoing a cell identifier of the cell where the UE is located; the first application message is used by the second UE to join the D2D communication group;

上述接收器 1701还用于上述第二 UE作为第五 UE时接收上述第一 UE发送 的第一资源请求消息, 上述第一资源请求消息中携带上述 D2D通信组的组标 识和上述 D2D通信组中各 UE的用户标识,以通知上述第五 UE由其作为通信代 表对上述 D2D通信组的上述通信资源进行管理; 上述第五 UE为上述第一 UE 根据各上述第二 UE所在小区的小区标识从各上述第二 UE中选取的一个 UE; 上述发送器 1702还用于上述第二 UE作为上述第五 UE时向上述第二 UE 所在小区所属的第二基站转发上述第一资源请求消息, 以请求上述第二基站 分配用于上述 D2D通信组执行上述业务标识对应的 D2D通信业务的通信资 源; The receiver 1701 is further configured to receive, by using the second UE, the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and the D2D communication group. a user identifier of each UE, to notify the fifth UE to manage the communication resource of the D2D communication group by using the communication unit as the communication representative; the fifth UE is the first UE And the transmitter 1702 is further configured to: when the second UE is the fifth UE, to the cell to which the second UE is located, according to the cell identifier of the cell where the second UE is located. The second base station forwards the first resource request message to request the second base station to allocate a communication resource for the D2D communication group to perform the D2D communication service corresponding to the service identifier.

上述接收器 1701还还用于上述第二 UE作为上述第五 UE时接收上述第二 基站发送的第一资源响应消息, 上述第一资源响应消息中携带用于上述 D2D 通信组执行通信的通信资源; 上述通信资源为上述第二基站根据上述 D2D通 信组的组标识和当前上述第二基站下各小区的网络资源情况确定出来;或者, 上述通信资源为上述第二基站根据上述 D2D通信组的组标识在通过与上述第 二基站相邻的基站共同协商后确定出来;  The receiver 1701 is further configured to receive, by using the second UE, the first resource response message sent by the second base station, where the first resource response message carries a communication resource used by the D2D communication group to perform communication. The communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource condition of each cell in the current second base station; or, the communication resource is the group of the second base station according to the D2D communication group. The identifier is determined after being negotiated by the base station adjacent to the second base station;

上述发送器 1702还用于上述第二 UE作为上述第五 UE时根据上述 D2D通 信组内各 UE的用户标识向上述 D2D通信组内各 UE发送用于上述 D2D通信组 执行通信的通信资源, 以通知各上述 UE利用该通信资源执行上述业务标识对 应的 D2D通信业务。  The transmitter 1702 is further configured to: when the second UE is used as the fifth UE, send communication resources for performing communication by using the D2D communication group to each UE in the D2D communication group according to a user identifier of each UE in the D2D communication group, to The UE is notified to use the communication resource to perform the D2D communication service corresponding to the service identifier.

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述第一资源响应消息中还包括小区列表; 上述小区列表包含至少一个 小区对应的小区标识, 上述小区列表用于指示上述 D2D通信组执行通信所利 用的预留资源所在的小区; 上述小区列表为上述第二基站确定的, 或者上述 小区列表为上述第二基站在通过与上述第二基站相邻的基站共同协商后确定 的。  The foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to at least one cell, where the cell list is used to indicate a cell in which the reserved resource used by the D2D communication group performs communication; The foregoing determining, by the second base station, the cell list is determined by the second base station after being negotiated by the base station adjacent to the second base station.

在本实施例所示的功能结构的基础上, 例如, 上述第二用户设备 UE还可 以进一歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second user equipment UE may further include:

上述接收器 1701还用于接收上述第五 UE所在小区所属的上述第二基站 发送的第三资源变更消息;上述第三资源变更消息中携带第三变更通信资源; 上述发送器 1702还用于向上述 D2D通信组内各 UE发送上述第三变更通 信资源, 以通知各上述 UE利用上述第三变更通信资源执行上述业务标识对应 的 D2D通信业务。  The receiver 1701 is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries a third change communication resource, where the transmitter 1702 is further used to Each of the UEs in the D2D communication group transmits the third changed communication resource to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the third changed communication resource.

上述如图 8所示的实施例中以第二 UE为执行主体的歩骤可通过本实施例 所示的设备实现, 在此对其具体执行过程不作赘述。 The foregoing step of using the second UE as the execution subject in the embodiment shown in FIG. 8 can be adopted in this embodiment. The device implementation is shown, and its specific implementation process will not be described herein.

本实施例提供的设备, 在发起 D2D通信业务的发起者, 即第一 UE无法从 网络中获取获取用于各第二 UE进行 D2D通信业务所需的通信资源时, 可代替 第一 UE从网络中获取上述通信资源,以使上述 D2D通信组内各 UE通过该通信 资源执行相应的 D2D通信业务, 有效减少或避免对现有蜂窝网通信的干扰。  The device provided in this embodiment may replace the first UE from the network when the initiator of the D2D communication service is initiated, that is, the first UE cannot obtain the communication resources required for the second UE to perform the D2D communication service from the network. The foregoing communication resources are obtained, so that each UE in the D2D communication group performs corresponding D2D communication service through the communication resource, thereby effectively reducing or avoiding interference to existing cellular network communication.

图 18为本发明又一个实施例提供的设备 (例如基站) 的结构示意图。 如 图 18所示, 上述设备可以为发起 D2D通信的用户设备 UE当前所在小区所属的 基站, 例如可以用于执行如图 4所示的方法歩骤, 以下对上述设备以第一基站 为例进行介绍, 细节及举例亦可参见本发明上述实施例, 例如图 4所示的实施 例。  FIG. 18 is a schematic structural diagram of a device (for example, a base station) according to still another embodiment of the present invention. As shown in FIG. 18, the foregoing device may be a base station to which a user equipment UE that is initiating D2D communication belongs, for example, may be used to perform the method as shown in FIG. For a description, details and examples, reference may also be made to the above-described embodiments of the present invention, such as the embodiment shown in FIG.

上述第一基站具体包括: 接收器 1801、 处理器 1802和发送器 1803; 其中: 接收器 1801用于接收第一 UE发送的第一资源请求消息,上述第一 UE在上述第 一基站覆盖的小区范围内, 上述第一资源请求消息中携带 D2D通信组的组标 识; 处理器 1802用于根据上述 D2D通信组的组标识和当前上述第一基站下各 小区的网络资源情况确定用于上述 D2D通信组执行通信的第一通信资源; 或 者, 上述处理器 1802根据上述 D2D通信组的组标识在通过与上述第一基站相 邻的基站共同协商后确定上述第一通信资源; 发送器 1803用于向上述第一 UE 发送第一资源响应消息, 上述第一资源响应消息中携带用于上述 D2D通信组 执行通信的上述第一通信资源。  The foregoing first base station specifically includes: a receiver 1801, a processor 1802, and a transmitter 1803; wherein: the receiver 1801 is configured to receive a first resource request message sent by the first UE, where the first UE is in a cell covered by the first base station The first resource request message carries the group identifier of the D2D communication group, and the processor 1802 is configured to determine, according to the group identifier of the D2D communication group and the current network resource status of each cell in the first base station, that the D2D communication is used. The first communication resource is configured to perform communication; or the processor 1802 determines the first communication resource after being negotiated by the base station adjacent to the first base station according to the group identifier of the D2D communication group; and the transmitter 1803 is configured to The first UE sends a first resource response message, where the first resource response message carries the first communication resource used for performing communication by the D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上上述第一资源响应消息中还包括第一小区列表; 上述第一小区列表包 含至少一个小区对应的小区标识, 上述第一小区列表用于指示上述 D2D通信 组执行通信所利用的第一预留资源所在的小区; 上述第一小区列表为上述处 理器 1802确定的, 或者上述第一小区列表为上述处理器 1802与上述第一基站 相邻的基站共同协商后确定的。  The first resource response message further includes a first cell list, where the first cell list includes a cell identifier corresponding to the at least one cell, where the first cell list is used to indicate that the D2D communication group performs the first reservation used by the communication. The cell in which the resource is located; the first cell list is determined by the processor 1802, or the first cell list is determined by the processor 1802 and the base station adjacent to the first base station jointly negotiate.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上述接收器 1801还用于接收上述第一 UE发送的第二资源请求消息; 上述 第二资源请求消息中携带上述 D2D通信组的组标识和第三 UE所在小区的小 区标识, 上述第三 UE所在小区的小区标识不包含在上述第一小区列表中; 上述处理器 1802还用于根据上述第三 UE所在小区的小区标识、 上述 D2D 通信组的组标识和当前上述第一基站下各小区的网络资源情况为上述 D2D通 信组重新分配通信资源; 或者, 上述处理器 1802根据上述第三 UE所在小区的 小区标识和上述 D2D通信组的组标识在通过与上述第一基站相邻的基站共同 协商后为上述 D2D通信组重新分配所述通信资源; The receiver 1801 is further configured to receive the second resource request message sent by the first UE, where the second resource request message carries the group identifier of the D2D communication group and a small cell where the third UE is located. a cell identifier, where the cell identifier of the cell where the third UE is located is not included in the first cell list, and the processor 1802 is further configured to use, according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the current The network resource of each cell in the first base station is re-allocated communication resources to the D2D communication group; or the processor 1802 is configured to pass the first identifier according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group. Relocating the communication resource to the D2D communication group after the base stations adjacent to the base station jointly negotiate;

上述发送器 1803还用于向上述第一 UE发送第二资源响应消息, 上述第二 资源响应消息中携带为上述 D2D通信组重新分配的上述通信资源和第二小区 列表; 上述第二小区列表中包含上述第三 UE所在小区的小区标识。  The foregoing transmitter 1803 is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group; The cell identifier of the cell where the third UE is located is included.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上述接收器 1801还用于接收上述第一 UE发送的第一 D2D通信资源接口 UE变更消息,上述第一 D2D通信资源接口 UE变更消息中携带上述 D2D通信组 的组标识、 上述 D2D通信组内各 UE的用户标识和第四 UE所在小区的小区标 识; 上述第一 D2D通信资源接口 UE变更消息用于通知上述第一基站由上述第 四 UE作为通信代表对后续上述 D2D通信组对应的上述第一通信资源进行管 理;  The receiver 1801 is further configured to receive the first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each of the D2D communication groups The user identifier of the UE and the cell identifier of the cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the first UE is used by the fourth UE as a communication representative to the first D2D communication group corresponding to the first Management of communication resources;

上述发送器 1803还用于根据上述第四 UE所在小区的小区标识; 向上述 第四 UE所在小区所属的基站发送上述第一 D2D通信资源接口 UE变更消息, 以通知上述第四 UE所在小区所属的基站由上述第四 UE作为通信代表对后续 上述 D2D通信组的上述通信资源进行管理; 或者,  The transmitter 1803 is further configured to send, according to the cell identifier of the cell where the fourth UE is located, the first D2D communication resource interface UE change message to the base station to which the fourth UE is located, to notify the cell to which the fourth UE is located. The base station is configured by the fourth UE as a communication representative to manage the foregoing communication resources of the foregoing D2D communication group; or

上述接收器 1801接收上述第四 UE所在小区所属的基站转发的上述第四 UE发送的第二 D2D通信资源接口 UE变更消息; 上述第二 D2D通信资源接口 UE变更消息中携带上述 D2D通信组的组标识、上述第四 UE的用户标识和上述 第四 UE所在小区的小区标识,以使上述第一基站获知由上述第四 UE作为通信 代表对后续上述 D2D通信组的上述通信资源进行管理。  The receiver 1801 receives the second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, and the second D2D communication resource interface UE change message carries the group of the D2D communication group. The identifier, the user identifier of the fourth UE, and the cell identifier of the cell where the fourth UE is located, so that the first base station learns that the fourth UE is used as a communication representative to manage the communication resource of the subsequent D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上述接收器 1801还用于接收第三基站转发的上述第一 UE发送的 D2D通 信资源小区变更消息, 上述 D2D通信资源小区变更消息中携带上述 D2D通信 组的组标识和上述第一 UE的用户标识; 以使上述第一基站获知由上述第三基 站下的上述第一 UE继续作为通信代表对后续上述 D2D通信组的上述通信资 源进行管理。 The receiver 1801 is further configured to receive, by the third base station, the D2D communication resource cell change message sent by the first UE, where the D2D communication resource cell change message carries the D2D communication. The group identifier of the group and the user identifier of the first UE are used to enable the first base station to learn that the first UE under the third base station continues to be used as a communication representative to manage the communication resources of the subsequent D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第一基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing first base station may further include:

上述第一 UE在执行上述 D2D通信的过程中, 上述发送器 1803还用于向上 述第一 UE发送第一资源变更消息; 上述第一资源变更消息中携带变更的第一 通信资源; 以使上述第一 UE将所述变更的第一通信资源的信息发送给上述 D2D通信组中各 UE,以通知各上述 UE利用上述变更后的第一通信资源执行上 述 D2D通信的业务; 并指示上述第一 UE将上述第一变更通信资源所在小区的 小区标识更新至上述 D2D通信组对应的上述第一小区列表中。  The first UE is configured to send the first resource change message to the first UE, where the first UE performs the D2D communication, and the first resource change message carries the changed first communication resource. Transmitting, by the first UE, information of the changed first communication resource to each UE in the D2D communication group, to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first The UE updates the cell identifier of the cell where the first change communication resource is located to the first cell list corresponding to the D2D communication group.

上述如图 6-9所示的实施例中以第一基站为执行主体的歩骤可通过本实 施例所示的设备实现, 在此对其具体执行过程不作赘述。  The foregoing steps in the embodiment shown in FIG. 6-9 are performed by using the first base station as the execution entity, and the specific implementation process is not described herein.

本实施例提供的设备, 在接收用户设备, 即上述第一 UE发送的第一资源 请求消息后, 根据该消息中携带的 D2D通信组的组标识和当前第一基站下各 小区的网络资源情况确定用于 D2D通信组进行通信的第一通信资源; 或者, 根据 D2D通信组的组标识在通过与第一基站相邻的基站共同协商后确定第一 通信资源;并将确定的上述第一通信资源发送至上述用户设备,以使上述 D2D 通信组内各 UE通过该通信资源执行相应的 D2D通信业务, 有效减少或避免对 现有蜂窝网通信的干扰。  The device provided in this embodiment, after receiving the user equipment, that is, the first resource request message sent by the first UE, according to the group identifier of the D2D communication group carried in the message and the network resource status of each cell under the current first base station Determining a first communication resource for communication by the D2D communication group; or determining, according to the group identity of the D2D communication group, the first communication resource after being mutually negotiated by the base station adjacent to the first base station; and determining the first communication The resource is sent to the user equipment, so that each UE in the D2D communication group performs corresponding D2D communication service through the communication resource, thereby effectively reducing or avoiding interference to the existing cellular network communication.

图 19为本发明又一个实施例提供的设备 (例如基站) 的结构示意图。 如 图 19所示, 上述设备可以为 D2D通信组中接收第一 UE发起 D2D通信组业务的 一个第二 UE当前所在小区所属的基站, 例如可以用于执行如图 5所示的方法 歩骤, 以下对上述设备以第二基站为例进行介绍, 细节及举例亦可参见本发 明上述实施例, 例如图 5所示的实施例。  FIG. 19 is a schematic structural diagram of a device (for example, a base station) according to still another embodiment of the present invention. As shown in FIG. 19, the device may be a base station to which a cell in which a second UE is currently in the D2D communication group, and may be used to perform a method as shown in FIG. The second base station is taken as an example for the foregoing device. For details and examples, reference may also be made to the foregoing embodiment of the present invention, such as the embodiment shown in FIG.

上述第二基站具体包括: 接收器 1901、 处理器 1902和发送器 1903; 其中: 接收器 1901用于接收第二 UE转发的来自第一 UE发送的第一资源请求消息;上 述第二 UE在第二基站覆盖的小区范围内; 上述第一资源请求消息中携带 D2D 通信组的组标识; 上述第一资源请求消息用于上述第一 UE为其所在的上述 D2D通信组进行通信资源申请; 处理器 1902用于根据上述 D2D通信组的组标 识和当前上述第二基站下各小区的网络资源情况确定用于上述 D2D通信组进 行通信的通信资源; 或者, 上述处理器 1902根据上述 D2D通信组的组标识在 通过与上述第二基站相邻的基站共同协商后确定上述通信资源; 发送器 1903 用于向上述第二 UE发送第一资源响应消息, 上述第一资源响应消息中携带用 于上述 D2D通信组执行通信的上述通信资源。 The foregoing second base station specifically includes: a receiver 1901, a processor 1902, and a transmitter 1903; wherein: the receiver 1901 is configured to receive a first resource request message sent by the second UE and sent by the second UE; The first resource request message carries the group identifier of the D2D communication group; the first resource request message is used by the first UE to perform the communication resource application for the D2D communication group where the first UE is located; 1902 is used for group labeling according to the above D2D communication group And determining, by the current network resource condition of each cell in the second base station, a communication resource used for communication by the D2D communication group; or, the processor 1902 is adjacent to the second base station according to the group identifier of the D2D communication group. The base station determines the communication resource after the negotiation by the base station; the transmitter 1903 is configured to send the first resource response message to the second UE, where the first resource response message carries the communication resource used for performing communication by the D2D communication group.

在本实施例所示的功能结构的基础上, 例如, 上述第二基站还可以进一 歩包括:  Based on the functional structure shown in this embodiment, for example, the foregoing second base station may further include:

上述第一资源响应消息中还包括小区列表; 上述小区列表包含至少一个 小区对应的小区标识, 上述小区列表用于指示上述 D2D通信组执行通信所利 用的预留资源所在的小区; 上述小区列表为上述处理器 1902确定的, 或者上 述小区列表为上述处理器 1902与上述第二基站相邻的基站共同协商后确定 的。  The foregoing first resource response message further includes a cell list, where the cell list includes a cell identifier corresponding to at least one cell, where the cell list is used to indicate a cell in which the reserved resource used by the D2D communication group performs communication; The processor 1902 determines that the cell list is determined by the processor 1902 and the base station adjacent to the second base station.

上述如图 6-9所示的实施例中以第二基站为执行主体的歩骤可通过本实 施例所示的设备实现, 在此对其具体执行过程不作赘述。  The steps of the embodiment shown in FIG. 6-9 in which the second base station is the execution entity may be implemented by using the device shown in this embodiment, and detailed description thereof is not described herein.

本实施例提供的设备, 可接收接收第二基站下小区内第二 UE转发的来 自第一基站下小区内第一 UE发送的第一资源请求消息; 并根据上述第一资源 请求消息为上述第一 UE所在的上述 D2D通信组进行通信资源申请; 并将确定 的通信资源通过上述第二 UE转发给上述第一 UE, 以使上述 D2D通信组内各 UE通过该通信资源执行相应的 D2D通信业务,有效减少或避免对现有蜂窝 网通信的干扰。  The device provided in this embodiment may receive the first resource request message sent by the first UE in the cell under the first base station that is forwarded by the second UE in the cell under the second base station; and according to the first resource request message, The D2D communication group in which the UE is located performs a communication resource application; and the determined communication resource is forwarded to the first UE by using the second UE, so that each UE in the D2D communication group performs a corresponding D2D communication service by using the communication resource. Effectively reduce or avoid interference with existing cellular communications.

本发明实施例还提供了一种系统, 包括上述图 10-14所述的设备。  The embodiment of the invention further provides a system comprising the apparatus described in the above Figures 10-14.

本发明实施例还提供了另一种系统, 包括上述图 15-19所述的设备。 所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 仅以上 述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功 能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块, 以完成以上描述的全部或者部分功能。 上述描述的系统, 装置和单元的具体 工作过程, 可以参考前述方法实施例中的对应过程, 在此不再赘述。  Another embodiment of the present invention provides a system, including the apparatus described above with reference to Figures 15-19. It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.

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

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

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

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品 销售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理 解, 本申请的技术方案本质上或者说对现有技术做出贡献的部分或者上述 技术方案的全部或部分可以以软件产品的形式体现出来, 上述计算机软件 产品存储在一个存储介质中, 包括若干指令用以使得一台计算机设备 (可 以是个人计算机, 服务器, 或者网络设备等) 或处理器 (processor) 执行 本申请各个实施例所述方法的全部或部分歩骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (ROM, Read-Only Memory) 、 随机存取存 储器 (RAM, Random Access Memory) 、 磁碟或者光盘等各种可以存储 程序代码的介质。  The above integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the above technical solution may be embodied in the form of a software product stored in a storage medium. The instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

以上所述, 以上实施例仅用以说明本申请的技术方案,而非对其限制; 尽管参照前述实施例对本申请进行了详细的说明, 本领域的普通技术人员 应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者 对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本申请各实施例技术方案的精神和范围。  The above embodiments are only used to illustrate the technical solutions of the present application, and are not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the embodiments are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

权 利 要 求 Rights request 1、 一种通信资源管理方法, 其特征在于, 包括: A communication resource management method, characterized in that: 第一用户设备 UE向无线网络中的至少一个第二 UE发送发现消息,所述发 现消息用于向所述至少一个第二 UE指示所述第一 UE支持设备对设备 D2D通 信业务; 所述发现消息中携带 D2D通信组的组标识和所述 D2D通信组对应的 业务标识;  The first user equipment UE sends a discovery message to at least one second UE in the wireless network, the discovery message is used to indicate to the at least one second UE that the first UE supports device-to-device D2D communication service; The message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; 所述第一 UE接收所述第二 UE发送的第一申请消息,所述第一申请消息中 携带所述第二 UE的用户标识;所述第一申请消息用于所述第二 UE申请加入所 述 D2D通信组;  The first UE receives the first application message sent by the second UE, where the first application message carries the user identifier of the second UE, and the first application message is used by the second UE to apply for joining. The D2D communication group; 所述第一 UE根据所述第二 UE发送的所述第一申请消息获取用于所述 Obtaining, by the first UE, according to the first application message sent by the second UE, D2D通信组执行通信的通信资源; a communication resource in which the D2D communication group performs communication; 所述第一 UE根据所述第二 UE的用户标识,向所述 D2D通信组内的所述第 二 UE发送用于所述 D2D通信组执行通信的通信资源, 以通知所述 D2D通信组 内各 UE利用所述通信资源执行所述业务标识对应的 D2D通信业务。  Transmitting, by the first UE, a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group according to a user identifier of the second UE, to notify the D2D communication group Each UE performs the D2D communication service corresponding to the service identifier by using the communication resource. 2、 根据权利要求 1所述的方法, 其特征在于, 所述第一 UE根据所述第二 2. The method according to claim 1, wherein the first UE is according to the second UE发送的所述第一申请消息获取用于所述 D2D通信组进行通信的通信资源, 包括: The first application message sent by the UE acquires communication resources used for communication by the D2D communication group, and includes: 所述第一 UE根据所述第二 UE发送的所述第一申请消息向第一基站发送 第一资源请求消息, 所述第一 UE在所述第一基站覆盖的小区范围内, 所述第 一资源请求消息中携带所述 D2D通信组的组标识;  Transmitting, by the first UE, a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is within a cell coverage area covered by the first base station, Carrying a group identifier of the D2D communication group in a resource request message; 所述第一 UE接收所述第一基站发送的第一资源响应消息, 所述第一资源 响应消息中携带用于所述 D2D通信组执行通信的第一通信资源; 所述第一通 信资源为所述第一基站根据所述 D2D通信组的组标识和当前所述第一基站下 各小区的网络资源情况确定出来; 或者, 所述第一通信资源为所述第一基站 根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协商后 确定出来。  Receiving, by the first UE, a first resource response message sent by the first base station, where the first resource response message carries a first communication resource used for performing communication by the D2D communication group; Determining, by the first base station, a group identity of the D2D communication group and a network resource condition of each cell in the current first base station; or, the first communication resource is the first base station according to the D2D communication The group identity of the group is determined after being negotiated by the base station adjacent to the first base station. 3、 根据权利要求 2所述的方法, 其特征在于, 所述第一资源响应消息中 还包括第一小区列表;所述第一小区列表包含至少一个小区对应的小区标识, 所述第一小区列表用于指示所述 D2D通信组执行通信所利用的第一预留资源 所在的小区; 所述第一小区列表为所述第一基站确定的, 或者所述第一小区 列表为所述第一基站与所述第一基站相邻的基站共同协商后确定的。 The method according to claim 2, wherein the first resource response message further includes a first cell list; the first cell list includes a cell identifier corresponding to at least one cell, and the first cell The list is used to indicate a cell where the first reserved resource utilized by the D2D communication group to perform communication; the first cell list is determined by the first base station, or the first cell The list is determined after the first base station and the base station adjacent to the first base station jointly negotiate. 4、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括: 所述第一 UE接收第三 UE发送的第二申请消息;所述第二申请消息中携带 所述第三 UE的用户标识和所述第三 UE所在小区的小区标识;  The method according to claim 3, wherein the method further includes: the first UE receiving a second application message sent by a third UE; and the second application message carrying the third UE User identifier and a cell identifier of a cell in which the third UE is located; 若所述第三 UE所在小区的小区标识包含在所述第一小区列表中, 则所述 第一 UE通知所述第三 UE利用所述第一预留资源执行所述业务标识对应的 If the cell identifier of the cell where the third UE is located is included in the first cell list, the first UE notifies the third UE to perform the service identifier corresponding to the first reserved resource. D2D通信业务,并且所述第一 UE将所述第三 UE作为所述 D2D通信组中的一个 所述第二 UE进行管理。 D2D communication service, and the first UE manages the third UE as one of the second UEs in the D2D communication group. 5、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括: 所述第一 UE接收第三 UE发送的第二申请消息;所述第二申请消息中携带 所述第三 UE的用户标识和所述第三 UE所在小区的小区标识; The method according to claim 3, wherein the method further includes: the first UE receiving a second application message sent by a third UE; and the second application message carrying the third UE User identifier and a cell identifier of a cell in which the third UE is located; 若所述第三 UE所在小区的小区标识不包含在所述第一小区列表中, 则所 述第一 UE向所述第一基站发送第二资源请求消息; 所述第二资源请求消息中 携带所述 D2D通信组的组标识和所述第三 UE所在小区的小区标识, 以请求所 述第一基站根据所述第三 UE所在小区的小区标识为所述 D2D通信组重新分 配通信资源,并且所述第一 UE将所述第三 UE作为所述 D2D通信组中的一个所 述第二 UE进行管理;  If the cell identifier of the cell where the third UE is located is not included in the first cell list, the first UE sends a second resource request message to the first base station; a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, to request the first base station to re-allocate communication resources for the D2D communication group according to a cell identifier of a cell where the third UE is located, and The first UE manages the third UE as one of the second UEs in the D2D communication group; 所述第一 UE接收所述第一基站发送的第二资源响应消息, 所述第二资源 响应消息中携带用于所述 D2D通信组执行通信的第二通信资源和第二小区列 表; 所述第二小区列表中包含所述第三 UE所在小区的小区标识;  Receiving, by the first UE, a second resource response message sent by the first base station, where the second resource response message carries a second communication resource and a second cell list for performing communication by the D2D communication group; The second cell list includes a cell identifier of a cell where the third UE is located; 所述第一 UE向所述 D2D通信组内的所述第二 UE发送用于所述 D2D通信 组执行通信的第二通信资源, 以通知所述 D2D通信组内各 UE利用所述第二通 信资源执行所述业务标识对应的 D2D通信业务。  Transmitting, by the first UE, a second communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group, to notify each UE in the D2D communication group to utilize the second communication The resource performs the D2D communication service corresponding to the service identifier. 6、 根据权利要求 2-5任一项所述的方法, 其特征在于, 所述第一申请消 息中还携带所述第二 UE所在小区的小区标识; 所述方法还包括:  The method according to any one of claims 2 to 5, wherein the first application message further carries a cell identifier of a cell where the second UE is located; the method further includes: 所述第一 UE在执行所述 D2D通信的过程中测量所述第一 UE所在小区的 网络信号强度和 /或网络信号质量;  The first UE measures network signal strength and/or network signal quality of a cell where the first UE is located in the process of performing the D2D communication; 若所述第一 UE所在小区的网络信号强度满足第一条件,和 /或网络信号质 量满足第二条件,则所述第一 UE根据各所述第二 UE所在小区的小区标识从各 所述第二 UE中选取一个 UE作为第四 UE; If the network signal strength of the cell where the first UE is located satisfies the first condition, and/or the network signal quality meets the second condition, the first UE is configured according to the cell identifier of the cell where the second UE is located. Selecting one UE from the second UE as the fourth UE; 若所述第一 UE所在小区的网络信号强度低于第一信号强度阈值,和 /或网 络信号质量低于第一信号质量阈值,则所述第一 UE根据各所述第二 UE所在小 区的小区标识从各所述第二 UE中选取一个 UE作为第四 UE;  If the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the first UE is configured according to the cell where the second UE is located. The cell identifier selects one UE from each of the second UEs as the fourth UE; 所述第一 UE向所述第一基站发送第一 D2D通信资源接口 UE变更消息,所 述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标识和所述第四 UE所在小区的小区标识;以通知所 述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对应的所述 第一通信资源进行管理; 和 /或,  The first UE sends a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication group a user identifier of each UE and a cell identifier of a cell in which the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group ; and / or, 所述第一 UE向所述第四 UE发送第二 D2D通信资源接口 UE变更消息, 所 述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标识和所述第一 UE所在小区的小区标识;以通知所 述第四 UE由其作为通信代表对后续所述 D2D通信组对应的所述第一通信资 源进行管理。  Transmitting, by the first UE, a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication group The user identifier of each UE and the cell identifier of the cell where the first UE is located; to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using the communication unit as the communication representative. 7、 根据权利要求 6所述的方法, 其特征在于, 所述第一 UE根据各所述第 二 UE所在小区的小区标识从各所述第二 UE中选取一个 UE作为第四 UE包括: 所述第一 UE根据各所述第二 UE所在小区的小区标识向所述 D2D通信组 中所述第二 UE发送查询请求;  The method according to claim 6, wherein the first UE selects one UE from each of the second UEs as a fourth UE according to a cell identifier of a cell in which the second UE is located: Sending, by the first UE, a query request to the second UE in the D2D communication group according to a cell identifier of a cell where the second UE is located; 所述第一 UE接收所述第二 UE发送的查询响应,所述查询响应中携带所述 第二 UE所在小区的网络信号强度和 /或网络信号质量;  Receiving, by the first UE, a query response sent by the second UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located; 所述第一 UE从各所述第二 UE中选择一个所在小区的网络信号强度或网 络信号质量最强的所述第二 UE作为所述第四 UE, 或者, 所述第一 UE从各所 述第二 UE中选择一个所在小区的网络信号强度和网络信号质量的综合值最 强的所述第二 UE作为所述第四 UE。  The first UE selects, as the fourth UE, the second UE that has the strongest network signal strength or the network signal quality of the cell in the second UE, or the first UE from each of the second UEs. The second UE that selects one of the second UEs has the strongest integrated network signal strength and network signal quality as the fourth UE. 8、 根据权利要求 1所述的方法, 其特征在于, 所述第一申请消息中还携 带所述第二 UE所在小区的小区标识;  The method according to claim 1, wherein the first application message further carries a cell identifier of a cell where the second UE is located; 所述第一 UE根据所述第二 UE发送的所述第一申请消息获取用于所述 D2D通信组执行通信的通信资源, 包括:  Acquiring, by the first UE, the communication resource used by the D2D communication group to perform communication according to the first application message sent by the second UE, including: 所述第一 UE根据所述第二 UE所在小区的小区标识测量所述第二 UE所在 小区的网络信号强度和 /或网络信号质量, 并根据测量结果从各所述第二 UE 中选取一个 UE作为第五 UE, 并向所述第五 UE发送所述第一资源请求消息, 以通知所述第五 UE由其作为通信代表对所述 D2D通信组的所述通信资源进 行管理;并指示所述第五 UE向所述第五 UE所在小区所属的基站转发所述第一 资源请求消息, 进而请求所述第五 UE所在小区所属的基站分配用于所述 D2D 通信组执行所述业务标识对应的 D2D通信业务的通信资源; The first UE measures the network signal strength and/or the network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and obtains the second UE according to the measurement result. Selecting one UE as the fifth UE, and sending the first resource request message to the fifth UE, to notify the fifth UE to manage the communication resource of the D2D communication group by using the fifth UE as a communication representative And instructing the fifth UE to forward the first resource request message to the base station to which the cell in which the fifth UE belongs, and requesting the base station to which the cell in which the fifth UE belongs to allocate the D2D communication group execution station a communication resource corresponding to the D2D communication service corresponding to the service identifier; 所述第一 UE接收所述第五 UE发送的用于所述 D2D通信组执行通信的通 信资源。  The first UE receives a communication resource sent by the fifth UE for performing communication by the D2D communication group. 9、 根据权利要求 2-5任一项所述的方法, 其特征在于, 还包括: 所述第一 UE在执行所述 D2D通信的过程中测量所述第一 UE所在小区以 及所述第一 UE所在小区的相邻小区的网络信号强度和 /或网络信号质量,并根 据测量结果重选或切换至新的小区;  The method according to any one of claims 2 to 5, further comprising: the first UE measuring a cell in which the first UE is located and the first in a process of performing the D2D communication The network signal strength and/or network signal quality of the neighboring cell of the cell in which the UE is located, and reselected or switched to the new cell according to the measurement result; 所述第一 UE将所述第一 UE所在的所述新小区所属的基站确定为新的所 述第一基站, 并向所述第一基站发送 D2D通信资源小区变更消息; 所述 D2D 通信资源小区变更消息中携带所述 D2D通信组的组标识和所述第一 UE的用 户标识, 以通知所述第一基站由所述新小区下的所述第一 UE继续作为通信代 表对后续所述 D2D通信组的所述通信资源进行管理; 或者,  Determining, by the first UE, a base station to which the new cell in which the first UE belongs is the new first base station, and transmitting a D2D communication resource cell change message to the first base station; the D2D communication resource The cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station that the first UE under the new cell continues to be the communication representative for the subsequent The communication resources of the D2D communication group are managed; or 所述第一 UE在所述重选或切换的程中通过原小区所属的基站向所述新 小区所属的所述第一基站发送所述 D2D通信资源小区变更消息, 以通知所述 第一基站由所述新小区下的所述第一 UE继续作为通信代表对后续所述 D2D 通信组的所述通信资源进行管理。  Sending, by the base station to which the original cell belongs, the D2D communication resource cell change message to the first base station to which the new cell belongs, in the process of the reselection or handover, to notify the first base station The first UE under the new cell continues to manage the communication resources of the subsequent D2D communication group as a communication representative. 10、 根据权利要求 2-5任一项所述的方法, 其特征在于, 还包括: 所述第一 UE在进行所述 D2D通信的过程中, 接收所述第一基站发送的第 一资源变更消息; 所述第一资源变更消息中携带第一变更通信资源;  The method according to any one of claims 2 to 5, further comprising: receiving, by the first UE, the first resource change sent by the first base station in the process of performing the D2D communication The first resource change message carries the first change communication resource; 所述第一 UE将所述第一资源变更消息中携带的所述第一变更通信资源 发送给所述 D2D通信组内的所述第二 UE, 以使所述 D2D通信组内各所述第二 UE利用所述第一变更通信资源执行所述业务标识对应的 D2D通信业务; 并且 所述第一 UE将所述第一变更通信资源所在小区的小区标识更新至所述 D2D 通信组对应的所述第一小区列表中。  Transmitting, by the first UE, the first change communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the D2D communication groups The second UE uses the first change communication resource to perform the D2D communication service corresponding to the service identifier; and the first UE updates the cell identifier of the cell where the first change communication resource is located to the corresponding location of the D2D communication group. In the first cell list. 11、 根据权利要求 6所述的方法, 其特征在于, 所述由所述第四 UE作为 通信代表对所述 D2D通信组对应的所述第一通信资源进行管理之后, 且所述 第一 UE在进行所述 D2D通信的过程中, 还包括: The method according to claim 6, wherein after the fourth UE is used as a communication representative to manage the first communication resource corresponding to the D2D communication group, In the process of performing the D2D communication, the first UE further includes: 所述第一 UE接收所述第四 UE发送的第二资源变更消息;所述第二资源变 更消息中携带第二变更通信资源;  Receiving, by the first UE, a second resource change message sent by the fourth UE, where the second resource change message carries a second change communication resource; 所述第一 UE利用所述第二变更通信资源执行所述业务标识对应的 D2D 通信业务。  The first UE performs the D2D communication service corresponding to the service identifier by using the second change communication resource. 12、 根据权利要求 8所述的方法, 其特征在于, 所述由所述第五 UE作为 通信代表对所述 D2D通信组的所述通信资源进行管理之后, 且所述第一 UE在 进行所述 D2D通信的过程中, 还包括:  The method according to claim 8, wherein after the fifth UE is used as a communication representative to manage the communication resource of the D2D communication group, and the first UE is in operation In the process of D2D communication, it also includes: 所述第一 UE接收所述第五 UE发送的第三资源变更消息;所述第三资源变 更消息中携带第三变更通信资源;  Receiving, by the first UE, a third resource change message sent by the fifth UE, where the third resource change message carries a third change communication resource; 所述第一 UE利用所述第三变更通信资源执行所述业务标识对应的 D2D 通信业务。  The first UE performs the D2D communication service corresponding to the service identifier by using the third change communication resource. 13、 一种通信资源管理方法, 其特征在于, 包括:  13. A communication resource management method, characterized in that: 第二用户设备 UE从无线网络中接收第一 UE发送的发现消息;所述发现 消息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务 标识;  The second user equipment receives the discovery message sent by the first UE from the wireless network; the discovery message carries the group identifier of the device to the device D2D communication group and the service identifier corresponding to the D2D communication group; 所述第二 UE根据所述 D2D通信组的组标识和所述 D2D通信组对应的 业务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带所述 第二 UE的用户标识;所述第一申请消息用于所述第二 UE申请加入所述 D2D 通信组;  The second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier; the first application message is used by the second UE to join the D2D communication group; 所述第二 UE接收所述第一 UE根据所述第二 UE的用户标识发送的用于 所述 D2D通信组执行通信的通信资源,并利用所述通信资源执行所述业务标 识对应的 D2D通信业务。  The second UE receives a communication resource that is sent by the first UE according to the user identifier of the second UE for performing communication by the D2D communication group, and performs D2D communication corresponding to the service identifier by using the communication resource. business. 14、 根据权利要求 13所述的方法, 其特征在于, 还包括:  14. The method according to claim 13, further comprising: 所述第二 UE在执行所述 D2D通信的过程中接收所述第一 UE发送的用 于所述 D2D通信组执行通信的变更通信资源,并利用所述变更通信资源执行 所述业务标识对应的 D2D通信业务。  Receiving, by the second UE, the changed communication resource sent by the first UE for performing communication by the D2D communication group, and performing, by using the change communication resource, the service identifier corresponding to the second UE, in the process of performing the D2D communication D2D communication service. 15、 根据权利要求 13或 14所述的方法, 其特征在于, 所述第一申请消息 中还携带所述第二 UE所在小区的小区标识; 所述方法还包括:  The method according to claim 13 or 14, wherein the first application message further carries a cell identifier of a cell where the second UE is located; the method further includes: 所述第二 UE在执行所述 D2D通信的过程中作为第四 UE接收所述第一 UE 发送的第二 D2D通信资源接口 UE变更消息, 所述第二 D2D通信资源接口 UE 变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标 识和所述第一 UE所在小区的小区标识; ·' 所述第四 UE为所述第一 UE根据所 述 D2D通信组内各所述第二 UE所在小区的小区标识从各所述第二 UE中选取 的一个 UE; Receiving, by the second UE, the first UE as a fourth UE in the process of performing the D2D communication Sending a second D2D communication resource interface UE change message, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the first a cell identifier of a cell in which the UE is located; the fourth UE is a UE selected from each of the second UEs according to a cell identifier of a cell in which the second UE is located in the D2D communication group ; 作为所述第四 UE的所述第二 UE向所述第二 UE所在小区所属的第二基站 发送所述第二 D2D通信资源接口 UE变更消息, 以指示所述第二基站由作为所 述第四 UE的所述第二 UE作为通信代表对后续所述 D2D通信组的所述通信资 源进行管理。  Transmitting, by the second UE that is the fourth UE, the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to indicate that the second base station is used as the first The second UE of the four UEs manages the communication resources of the subsequent D2D communication group as a communication representative. 16、 根据权利要求 15所述的方法, 其特征在于, 所述第二 UE在执行所述 The method according to claim 15, wherein the second UE is performing the D2D通信的过程中作为第四 UE接收所述第一 UE发送的第二 D2D通信资源接 口 UE变更消息之前, 还包括: Before receiving the second D2D communication resource interface UE change message sent by the first UE in the process of the D2D communication, the method further includes: 作为所述第四 UE的所述第二 UE接收所述第一 UE发送的查询请求; 作为所述第四 UE的所述第二 UE向所述第一 UE发送查询响应, 所述查询 响应中携带所述第二 UE所在小区的网络信号强度和 /或网络信号质量。  The second UE that is the fourth UE receives the query request sent by the first UE, and the second UE that is the fourth UE sends a query response to the first UE, where the query response is Carrying network signal strength and/or network signal quality of the cell where the second UE is located. 17、 根据权利要求 15或 16所述的方法, 其特征在于, 所述由所述第二 UE 作为通信代表对所述 D2D通信组对应的的通信资源进行管理之后, 且所述第 二 UE在进行所述 D2D通信的过程中, 还包括:  The method according to claim 15 or 16, wherein after the second UE is used as a communication representative to manage communication resources corresponding to the D2D communication group, the second UE is In the process of performing the D2D communication, the method further includes: 所述第二 UE接收所述第二 UE所在小区所属的第二基站发送的第二资源 变更消息; 所述第二资源变更消息中携带第二变更通信资源;  The second UE receives the second resource change message sent by the second base station to which the second UE is located; the second resource change message carries the second change communication resource; 所述第二 UE向所述 D2D通信组内各 UE发送所述第二变更通信资源,以通 知各所述 UE利用所述第二变更通信资源执行所述业务标识对应的 D2D通信 业务。  And transmitting, by the second UE, the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the second change communication resource. 18、 一种通信资源管理方法, 其特征在于, 包括:  18. A communication resource management method, characterized in that: 第二用户设备 UE从无线网络中接收第一 UE发送的发现消息;所述发现 消息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务 标识;  The second user equipment receives the discovery message sent by the first UE from the wireless network; the discovery message carries the group identifier of the device to the device D2D communication group and the service identifier corresponding to the D2D communication group; 所述第二 UE根据所述 D2D通信组的组标识和所述 D2D通信组对应的业 务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带所述第二 UE的用户标识和所述第二 UE所在小区的小区标识;所述第一申请消息用于所 述第二 UE申请加入所述 D2D通信组; The second UE sends a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier and a cell identifier of a cell where the second UE is located; the first application message is used by the The second UE applies to join the D2D communication group; 所述第二 UE作为第五 UE接收所述第一 UE发送的第一资源请求消息, 所 述第一资源请求消息中携带所述 D2D通信组的组标识和所述 D2D通信组中各 UE的用户标识,以通知所述第五 UE由其作为通信代表对所述 D2D通信组的所 述通信资源进行管理; 所述第五 UE为所述第一 UE根据各所述第二 UE所在小 区的小区标识从各所述第二 UE中选取的一个 UE;  Receiving, by the second UE, the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and each UE in the D2D communication group. a user identifier, to notify the fifth UE to manage the communication resource of the D2D communication group by the communication UE; the fifth UE is the first UE according to the cell where each second UE is located a cell identifier selected from each of the second UEs; 作为所述第五 UE的所述第二 UE向其所在小区所属的第二基站转发所述 第一资源请求消息, 以请求所述第二基站分配用于所述 D2D通信组执行所述 业务标识对应的 D2D通信业务的通信资源;  The second UE that is the fifth UE forwards the first resource request message to the second base station to which the cell to which the cell belongs, to request the second base station to allocate the service identifier for the D2D communication group to be executed. Corresponding communication resources of the D2D communication service; 作为所述第五 UE的所述第二 UE接收所述第二基站发送的第一资源响应 消息,所述第一资源响应消息中携带用于所述 D2D通信组执行通信的通信资 源;所述通信资源为所述第二基站根据所述 D2D通信组的组标识和当前所述 第二基站下各小区的网络资源情况确定出来; 或者, 所述通信资源为所述第 二基站根据所述 D2D通信组的组标识在通过与所述第二基站相邻的基站共同 协商后确定出来;  Receiving, by the second UE of the fifth UE, a first resource response message sent by the second base station, where the first resource response message carries a communication resource used by the D2D communication group to perform communication; The communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource condition of each cell under the current second base station; or, the communication resource is the second base station according to the D2D The group identifier of the communication group is determined after being negotiated by the base station adjacent to the second base station; 作为所述第五 UE的所述第二 UE根据所述 D2D通信组内各 UE的用户 标识向所述 D2D通信组内各 UE发送用于所述 D2D通信组执行通信的通信 资源, 以通知各所述 UE利用该通信资源执行所述业务标识对应的 D2D通信 业务。  Transmitting, by the second UE, the second UE, a communication resource for performing communication by the D2D communication group to each UE in the D2D communication group according to a user identifier of each UE in the D2D communication group, to notify each The UE performs the D2D communication service corresponding to the service identifier by using the communication resource. 19、 根据权利要求 18所述的方法, 其特征在于, 所述第一资源响应消息 中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标识, 所述 小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在的小区 ·' 所述小区列表为所述第二基站确定的, 或者所述小区列表为所述第二基站在 通过与所述第二基站相邻的基站共同协商后确定的。  The method according to claim 18, wherein the first resource response message further includes a cell list; the cell list includes a cell identifier corresponding to at least one cell, and the cell list is used to indicate the The cell in which the reserved resource used by the D2D communication group performs communication is determined by the second base station, or the cell list is that the second base station is adjacent to the second base station. The base stations are determined after mutual negotiation. 20、 根据权利要求 18或 19所述的方法, 其特征在于, 所述由所述第五 UE 作为通信代表对所述 D2D通信组对应的的通信资源进行管理之后, 且所述第 五 UE在进行所述 D2D通信的过程中, 还包括:  The method according to claim 18 or 19, wherein after the fifth UE is used as a communication representative to manage communication resources corresponding to the D2D communication group, the fifth UE is In the process of performing the D2D communication, the method further includes: 所述第五 UE接收所述第五 UE所在小区所属的第二基站发送的第三资源 变更消息; 所述第三资源变更消息中携带第三变更通信资源;  Receiving, by the fifth UE, a third resource change message sent by the second base station to which the cell where the fifth UE is located; the third resource change message carrying the third change communication resource; 所述第五 UE向所述 D2D通信组内各 UE发送所述第三变更通信资源,以通 知各所述 UE利用所述第三变更通信资源执行所述业务标识对应的 D2D通信 业务。 Transmitting, by the fifth UE, the third change communication resource to each UE in the D2D communication group, to Each of the UEs uses the third changed communication resource to perform a D2D communication service corresponding to the service identifier. 21、 一种通信资源管理方法, 其特征在于, 包括:  21. A communication resource management method, characterized in that: 第一基站接收第一 UE发送的第一资源请求消息,所述第一 UE在所述第 —基站覆盖的小区范围内,所述第一资源请求消息中携带 D2D通信组的组标 识;  The first base station receives the first resource request message sent by the first UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries the group identifier of the D2D communication group; 所述第一基站根据所述 D2D通信组的组标识和当前所述第一基站下各小 区的网络资源情况确定用于所述 D2D通信组执行通信的第一通信资源;或者, 所述第一基站根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基 站共同协商后确定所述第一通信资源;  Determining, by the first base station, a first communication resource used for performing communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the first base station; or, the first Determining, by the base station, the first communication resource after being negotiated by the base station adjacent to the first base station according to the group identifier of the D2D communication group; 所述第一基站向所述第一 UE发送第一资源响应消息, 所述第一资源响 应消息中携带用于所述 D2D通信组执行通信的所述第一通信资源。  The first base station sends a first resource response message to the first UE, where the first resource response message carries the first communication resource used by the D2D communication group to perform communication. 22、 根据权利要求 21所述的方法, 其特征在于, 所述第一资源响应消息 中还包括第一小区列表; 所述第一小区列表包含至少一个小区对应的小区标 识,所述第一小区列表用于指示所述 D2D通信组执行通信所利用的第一预留 资源所在的小区; 所述第一小区列表为所述第一基站确定的, 或者所述第一 小区列表为所述第一基站与所述第一基站相邻的基站共同协商后确定的。  The method according to claim 21, wherein the first resource response message further includes a first cell list; the first cell list includes a cell identifier corresponding to at least one cell, and the first cell The list is used to indicate a cell in which the first reserved resource utilized by the D2D communication group to perform communication; the first cell list is determined by the first base station, or the first cell list is the first The base station is determined after the base station adjacent to the first base station negotiates. 23、 根据权利要求 22所述的方法, 其特征在于, 还包括:  The method according to claim 22, further comprising: 所述第一基站接收所述第一 UE发送的第二资源请求消息; 所述第二资 源请求消息中携带所述 D2D通信组的组标识和第三 UE所在小区的小区标 识, 所述第三 UE所在小区的小区标识不包含在所述第一小区列表中;  Receiving, by the first base station, a second resource request message sent by the first UE, where the second resource request message carries a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, where the third The cell identifier of the cell where the UE is located is not included in the first cell list; 所述第一基站根据所述第三 UE所在小区的小区标识、 所述 D2D通信组 的组标识和当前所述第一基站下各小区的网络资源情况为所述 D2D通信组重 新分配通信资源; 或者, 所述第一基站根据所述第三 UE所在小区的小区标 识和所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协商后 为所述 D2D通信组重新分配所述通信资源;  The first base station re-allocates communication resources for the D2D communication group according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the network resource condition of each cell under the current first base station; Or the first base station reassigns the D2D communication group after being negotiated by the base station adjacent to the first base station according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group. The communication resource; 所述第一基站向所述第一 UE发送第二资源响应消息, 所述第二资源响应 消息中携带为所述 D2D通信组重新分配的所述通信资源和第二小区列表; 所 述第二小区列表中包含所述第三 UE所在小区的小区标识。  The first base station sends a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list re-allocated for the D2D communication group; The cell list includes a cell identifier of a cell where the third UE is located. 24、 根据权利要求 21-23任一项所述的方法, 其特征在于, 所述第一基 站向所述第一 UE发送所述第一资源响应消息或所述第二资源响应消息后, 还包括: The method according to any one of claims 21 to 23, wherein the first base After the sending, by the station, the first resource response message or the second resource response message to the first UE, the method further includes: 所述第一基站接收所述第一 UE发送的第一 D2D通信资源接口 UE变更 消息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的 组标识、 所述 D2D通信组内各 UE的用户标识和第四 UE所在小区的小区标 识; 所述第一 D2D通信资源接口 UE变更消息用于通知所述第一基站由所述 第四 UE作为通信代表对后续所述 D2D通信组对应的所述第一通信资源进行 管理;  Receiving, by the first base station, a first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication group a user identifier of each UE in the UE and a cell identifier of a cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the fourth UE is used as a communication representative to perform subsequent D2D communication The first communication resource corresponding to the group is managed; 所述第一基站根据所述第四 UE所在小区的小区标识; 向所述第四 UE 所在小区所属的基站发送所述第一 D2D通信资源接口 UE变更消息, 以通知 所述第四 UE所在小区所属的基站由所述第四 UE作为通信代表对后续所述 D2D通信组的所述通信资源进行管理; 或者,  And transmitting, by the first base station, the first D2D communication resource interface UE change message to the base station to which the fourth UE is located, according to the cell identifier of the cell where the fourth UE is located, to notify the cell where the fourth UE is located The associated base station is managed by the fourth UE as a communication representative for the communication resources of the subsequent D2D communication group; or 所述第一基站接收所述第四 UE所在小区所属的基站转发的所述第四 UE 发送的第二 D2D通信资源接口 UE变更消息; 所述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述第四 UE的用户标识和 所述第四 UE所在小区的小区标识,以获知由所述第四 UE作为通信代表对后 续所述 D2D通信组的所述通信资源进行管理。  Receiving, by the first base station, a second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, where the second D2D communication resource interface UE change message carries the a group identifier of the D2D communication group, a user identifier of the fourth UE, and a cell identifier of a cell where the fourth UE is located, to learn that the fourth UE is used as a communication representative to the communication resource of the subsequent D2D communication group Manage. 25、 根据权利要求 21-23任一项所述的方法, 其特征在于, 还包括: 所述第一基站接收第三基站转发的所述第一 UE发送的 D2D通信资源小 区变更消息, 所述 D2D通信资源小区变更消息中携带所述 D2D通信组的组 标识和所述第一 UE 的用户标识; 以使所述第一基站获知由所述第三基站下 的所述第一 UE继续作为通信代表对后续所述 D2D通信组的所述通信资源进 行管理。  The method according to any one of claims 21 to 23, further comprising: the first base station receiving, by the third base station, a D2D communication resource cell change message sent by the first UE, where The D2D communication resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, so that the first base station learns that the first UE under the third base station continues to serve as the communication. Representing management of the communication resources of the subsequent D2D communication group. 26、 根据权利要求 21-23任一项所述的方法, 其特征在于, 还包括: 所述第一 UE在进行所述 D2D通信的过程中,所述第一基站向所述第一 UE 发送第一资源变更消息;所述第一资源变更消息中携带变更的第一通信资源; 以使所述第一 UE将所述变更的第一通信资源的信息发送给所述 D2D通信组 中各 UE,以通知各所述 UE利用所述变更后的第一通信资源执行所述 D2D通信 的业务; 并指示所述第一 UE将所述第一变更通信资源所在小区的小区标识更 新至所述 D2D通信组对应的所述第一小区列表中。 The method according to any one of claims 21 to 23, further comprising: in the process of performing the D2D communication, the first base station sends the first base station to the first UE a first resource change message; the first resource change message carries the changed first communication resource; and the first UE sends the changed first communication resource information to each UE in the D2D communication group And instructing each of the UEs to perform the D2D communication service by using the changed first communication resource; and instructing the first UE to update a cell identifier of a cell where the first change communication resource is located to the D2D The first cell list corresponding to the communication group. 27、 一种通信资源管理方法, 其特征在于, 包括: 27. A communication resource management method, characterized in that: 第二基站接收第二 UE转发的来自第一 UE发送的第一资源请求消息;所述 第二 UE在所述第二基站覆盖的小区范围内; 所述第一资源请求消息中携带 D2D通信组的组标识; 所述第一资源请求消息用于所述第一 UE为其所在的所 述 D2D通信组进行通信资源申请;  The second base station receives the first resource request message sent by the first UE and is sent by the second UE; the second UE is in the cell coverage area of the second base station; and the first resource request message carries the D2D communication group. The first resource request message is used by the first UE to perform a communication resource application for the D2D communication group in which the first UE is located; 所述第二基站根据所述 D2D通信组的组标识和当前所述第二基站下各小 区的网络资源情况确定用于所述 D2D通信组进行通信的通信资源; 或者, 所 述第二基站根据所述 D2D通信组的组标识在通过与所述第二基站相邻的基站 共同协商后确定所述通信资源;  Determining, by the second base station, a communication resource used for communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the current second base station; or, the second base station is configured according to The group identifier of the D2D communication group determines the communication resource after being mutually negotiated by a base station adjacent to the second base station; 所述第二基站向所述第二 UE发送第一资源响应消息, 所述第一资源响应 消息中携带用于所述 D2D通信组执行通信的所述通信资源。  The second base station sends a first resource response message to the second UE, where the first resource response message carries the communication resource used for performing communication by the D2D communication group. 28、 根据权利要求 27所述的方法, 其特征在于, 所述第一资源响应消息 中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标识, 所述 小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在的小区; 所述小区列表为所述第二基站确定的, 或者所述小区列表为所述第二基站与 所述第二基站相邻的基站共同协商后确定的。  The method according to claim 27, wherein the first resource response message further includes a cell list, the cell list includes a cell identifier corresponding to at least one cell, and the cell list is used to indicate the The D2D communication group performs the cell in which the reserved resource is used for communication; the cell list is determined by the second base station, or the cell list is the second base station and the base station adjacent to the second base station Determined after consultation. 29、 一种用户设备, 其特征在于, 包括:  29. A user equipment, comprising: 发送模块, 用于向无线网络中的至少一个第二 UE发送发现消息, 所述发 现消息用于向所述至少一个第二 UE指示所述第一 UE支持设备对设备 D2D通 信业务; 所述发现消息中携带 D2D通信组的组标识和所述 D2D通信组对应的 业务标识;  a sending module, configured to send a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports device-to-device D2D communication service; The message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; 接收模块, 用于接收所述第二 UE发送的第一申请消息, 所述第一申请消 息中携带所述第二 UE的用户标识;所述第一申请消息用于所述第二 UE申请加 入所述 D2D通信组;  a receiving module, configured to receive a first application message sent by the second UE, where the first application message carries a user identifier of the second UE, and the first application message is used by the second UE to apply for joining The D2D communication group; 处理模块, 用于根据所述第二 UE发送的所述第一申请消息获取用于所述 a processing module, configured to acquire, according to the first application message sent by the second UE, D2D通信组执行通信的通信资源; a communication resource in which the D2D communication group performs communication; 所述发送模块, 还用于根据所述第二 UE的用户标识, 向所述 D2D通信 组内的所述第二 UE发送用于所述 D2D通信组执行通信的通信资源, 以通知 所述 D2D通信组内各 UE利用所述通信资源执行所述业务标识对应的 D2D 通信业务。 The sending module is further configured to send, according to the user identifier of the second UE, a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group, to notify the D2D Each UE in the communication group performs the D2D communication service corresponding to the service identifier by using the communication resource. 30、 根据权利要求 29所述的用户设备, 其特征在于, 所述处理模块具体 用于: The user equipment according to claim 29, wherein the processing module is specifically configured to: 指示所述发送模块根据所述第二 UE发送的所述第一申请消息向第一基 站发送第一资源请求消息, 所述第一 UE在所述第一基站覆盖的小区范围内, 所述第一资源请求消息中携带所述 D2D通信组的组标识;  Instructing the sending module to send a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is within a cell coverage area covered by the first base station, Carrying a group identifier of the D2D communication group in a resource request message; 指示所述接收模块接收所述第一基站发送的第一资源响应消息, 所述第 一资源响应消息中携带用于所述 D2D通信组执行通信的第一通信资源; 所述 第一通信资源为所述第一基站根据所述 D2D通信组的组标识和当前所述第一 基站下各小区的网络资源情况确定出来; 或者, 所述第一通信资源为所述第 一基站根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同 协商后确定出来。  Instructing the receiving module to receive the first resource response message sent by the first base station, where the first resource response message carries a first communication resource for performing communication by the D2D communication group; the first communication resource is Determining, by the first base station, a group identity of the D2D communication group and a network resource condition of each cell in the current first base station; or, the first communication resource is the first base station according to the D2D communication The group identity of the group is determined after being negotiated by the base station adjacent to the first base station. 31、 根据权利要求 30所述的用户设备, 其特征在于, 所述第一资源响应 消息中还包括第一小区列表; 所述第一小区列表包含至少一个小区对应的小 区标识,所述第一小区列表用于指示所述 D2D通信组执行通信所利用的第一 预留资源所在的小区; 所述第一小区列表为所述第一基站确定的, 或者所述 第一小区列表为所述第一基站与所述第一基站相邻的基站共同协商后确定 的。  The user equipment according to claim 30, wherein the first resource response message further includes a first cell list; the first cell list includes a cell identifier corresponding to at least one cell, the first The cell list is used to indicate a cell in which the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the first base station, or the first cell list is the first A base station is determined by mutual agreement with the base station adjacent to the first base station. 32、 根据权利要求 31所述的用户设备, 其特征在于,  32. The user equipment of claim 31, wherein 所述接收模块, 还用于接收第三 UE发送的第二申请消息; 所述第二申 请消息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标识; 所述处理模块, 还用于若所述第三 UE所在小区的小区标识包含在所述第 一小区列表中, 则通知所述第三 UE利用所述第一预留资源执行所述业务标识 对应的 D2D通信业务,并且指示所述第一 UE将所述第三 UE作为所述 D2D通信 组中的一个所述第二 UE进行管理。  The receiving module is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; The module is further configured to: if the cell identifier of the cell where the third UE is located is included in the first cell list, notify the third UE to perform D2D communication corresponding to the service identifier by using the first reserved resource Traffic, and instructing the first UE to manage the third UE as one of the second UEs in the D2D communication group. 33、 根据权利要求 31所述的用户设备, 其特征在于,  33. The user equipment of claim 31, wherein 所述接收模块, 还用于接收第三 UE发送的第二申请消息; 所述第二申请 消息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标识;  The receiving module is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; 所述处理模块, 还用于若所述第三 UE所在小区的小区标识不包含在所 述第一小区列表中, 则指示所述发送模块向所述第一基站发送第二资源请求 消息; 所述第二资源请求消息中携带所述 D2D 通信组的组标识和所述第三 UE所在小区的小区标识, 以请求所述第一基站根据所述第三 UE所在小区的 小区标识为所述 D2D通信组重新分配通信资源, 并且指示所述第一 UE将所 述第三 UE作为所述 D2D通信组中的一个所述第二 UE进行管理; The processing module is further configured to: if the cell identifier of the cell where the third UE is located is not included in the first cell list, instruct the sending module to send a second resource request message to the first base station; The second resource request message carries the group identifier of the D2D communication group and the third a cell identifier of the cell where the UE is located, requesting the first base station to re-allocate communication resources for the D2D communication group according to the cell identifier of the cell where the third UE is located, and instructing the first UE to use the third UE as One of the second UEs in the D2D communication group is managed; 所述接收模块, 还用于接收所述第一基站发送的第二资源响应消息, 所 述第二资源响应消息中携带用于所述 D2D通信组执行通信的第二通信资源和 第二小区列表; 所述第二小区列表中包含所述第三 UE所在小区的小区标识; 所述发送模块, 还用于向所述 D2D通信组内的所述第二 UE发送用于所 述 D2D通信组执行通信的第二通信资源, 以通知所述 D2D通信组内各 UE 利用所述第二通信资源执行所述业务标识对应的 D2D通信业务。  The receiving module is further configured to receive a second resource response message that is sent by the first base station, where the second resource response message carries a second communication resource and a second cell list that are used by the D2D communication group to perform communication. The second cell list includes a cell identifier of a cell where the third UE is located; the sending module is further configured to send, to the second UE in the D2D communication group, the D2D communication group to perform The second communication resource of the communication is configured to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the second communication resource. 34、 根据权利要求 30-33任一项所述的用户设备, 其特征在于, 所述第 一申请消息中还携带所述第二 UE所在小区的小区标识;  The user equipment according to any one of claims 30 to 33, wherein the first application message further carries a cell identifier of a cell where the second UE is located; 所述处理模块, 还用于所述第一 UE在执行所述 D2D通信的过程中测量所 述第一 UE所在小区的网络信号强度和 /或网络信号质量;  The processing module is further configured to: when the first UE performs the D2D communication, measure network signal strength and/or network signal quality of a cell where the first UE is located; 若所述第一 UE所在小区的网络信号强度低于第一信号强度阈值, 和 /或 网络信号质量低于第一信号质量阈值, 则所述处理模块根据各所述第二 UE 所在小区的小区标识从各所述第二 UE中选取一个 UE作为第四 UE;  If the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the processing module is configured according to the cell of each cell where the second UE is located. Identifying, selecting one UE from each of the second UEs as the fourth UE; 所述发送模块, 用于向所述第一基站发送第一 D2D通信资源接口 UE变更 消息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标 识、 所述 D2D通信组内各 UE的用户标识和所述第四 UE所在小区的小区标识; 以通知所述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对 应的所述第一通信资源进行管理; 和 /或,  The sending module is configured to send, to the first base station, a first D2D communication resource interface UE change message, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication a user identifier of each UE in the group and a cell identifier of a cell in which the fourth UE is located; to notify the first base station that the fourth UE is used as a communication representative to the first communication resource corresponding to the subsequent D2D communication group Manage; and/or, 所述发送模块向所述第四 UE发送第二 D2D通信资源接口 UE变更消息, 所述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标识和所述第一 UE所在小区的小区标识; 以通知所述第四 UE由其作为通信代表对后续所述 D2D通信组对应的所述第 一通信资源进行管理。  The sending module sends a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and each of the D2D communication groups The user identifier of the UE and the cell identifier of the cell where the first UE is located; to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using the same as the communication representative. 35、 根据权利要求 34所述的用户设备, 其特征在于, 所述处理模块根据 各所述第二 UE所在小区的小区标识从各所述第二 UE中选取一个 UE作为第 四 UE, 包括:  The user equipment according to claim 34, wherein the processing module selects one UE from each of the second UEs as the fourth UE according to the cell identifier of the cell in which the second UE is located, and includes: 所述处理模块根据各所述第二 UE所在小区的小区标识指示所述发送模 块向所述 D2D通信组中所述第二 UE发送查询请求; The processing module indicates the sending mode according to a cell identifier of a cell where each second UE is located Transmitting, by the block, a query request to the second UE in the D2D communication group; 所述处理模块指示所述接收模块接收所述第二 UE发送的查询响应, 所述 查询响应中携带所述第二 UE所在小区的网络信号强度和 /或网络信号质量; 所述处理模块从各所述第二 UE 中选择一个所在小区的网络信号强度或 网络信号质量最强的所述第二 UE作为所述第四 UE, 或者, 所述处理模块从 各所述第二 UE 中选择一个所在小区的网络信号强度和网络信号质量的综合 值最强的所述第二 UE作为所述第四 UE。  The processing module instructs the receiving module to receive a query response sent by the second UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located; And selecting, by the second UE, the second UE that has the strongest network signal strength or the network signal quality of the cell in the second UE as the fourth UE, or the processing module selects one of each of the second UEs. The second UE having the strongest integrated network signal strength and network signal quality of the cell serves as the fourth UE. 36、 根据权利要求 29所述的用户设备, 其特征在于, 所述第一申请消息 中还携带所述第二 UE所在小区的小区标识;  The user equipment according to claim 29, wherein the first application message further carries a cell identifier of a cell where the second UE is located; 所述处理模块还具体用于根据所述第二 UE所在小区的小区标识测量所 述第二 UE所在小区的网络信号强度和 /或网络信号质量, 并根据测量结果从 各所述第二 UE中选取一个 UE作为第五 UE, 并指示所述发送模块向所述第 五 UE发送所述第一资源请求消息,以通知所述第五 UE由其作为通信代表对 所述 D2D通信组的所述通信资源进行管理; 并指示所述第五 UE向所述第五 UE所在小区所属的基站转发所述第一资源请求消息, 进而请求所述第五 UE 所在小区所属的基站分配用于所述 D2D 通信组执行所述业务标识对应的 D2D通信业务的通信资源;  The processing module is further configured to measure network signal strength and/or network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and use the measurement result from each of the second UEs. Selecting one UE as the fifth UE, and instructing the sending module to send the first resource request message to the fifth UE, to notify the fifth UE that the fifth UE is the communication representative to the D2D communication group. The communication resource is managed; and the fifth UE is instructed to forward the first resource request message to the base station to which the cell where the fifth UE belongs, and then request the base station to which the cell in which the fifth UE belongs to allocate the D2D. The communication group executes the communication resource of the D2D communication service corresponding to the service identifier; 所述处理模块指示所述接收模块接收所述第五 UE发送的用于所述 D2D 通信组执行通信的通信资源。  The processing module instructs the receiving module to receive a communication resource sent by the fifth UE for performing communication by the D2D communication group. 37、 根据权利要求 30-33任一项所述的用户设备, 其特征在于, 所述处理模块, 还用于所述第一 UE在执行所述 D2D通信的过程中测量 所述第一 UE所在小区以及所述第一 UE所在小区的相邻小区的网络信号强度 和 /或网络信号质量, 并根据测量结果重选或切换至新的小区;  The user equipment according to any one of claims 30 to 33, wherein the processing module is further configured to: when the first UE performs the D2D communication, measure the location where the first UE is located. a network signal strength and/or a network signal quality of a cell and a neighboring cell of the cell where the first UE is located, and reselected or switched to a new cell according to the measurement result; 所述处理模块, 还用于将所述第一 UE所在的所述新小区所属的基站确 定为新的所述第一基站,并指示发送模块向所述第一基站发送 D2D通信资源 小区变更消息; 所述 D2D通信资源小区变更消息中携带所述 D2D通信组的 组标识和所述第一 UE 的用户标识, 以通知所述第一基站由所述新小区下的 所述第一 UE继续作为通信代表对后续所述 D2D通信组的所述通信资源进行 管理; 或者,  The processing module is further configured to determine, by the base station to which the new cell where the first UE belongs, as the new first base station, and instruct the sending module to send a D2D communication resource cell change message to the first base station. The D2D communication resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station to continue by the first UE under the new cell. The communication representative manages the communication resources of the subsequent D2D communication group; or 所述处理模块指示所述发送模块在所述重选或切换的程中通过原小区所 属的基站向所述新小区所属的所述第一基站发送所述 D2D通信资源小区变更 消息, 以通知所述第一基站由所述新小区下的所述第一 UE继续作为通信代 表对后续所述 D2D通信组的所述通信资源进行管理。 The processing module instructs the sending module to pass the original cell in the process of reselecting or switching The base station of the genus transmits the D2D communication resource cell change message to the first base station to which the new cell belongs, to notify the first base station to continue to be the communication representative by the first UE under the new cell. The communication resources of the D2D communication group are managed. 38、 根据权利要求 30-33任一项所述的用户设备, 其特征在于, 所述接收模块, 还用于所述第一 UE在进行所述 D2D通信的过程中, 接收 所述第一基站发送的第一资源变更消息; 所述第一资源变更消息中携带第一 变更通信资源;  The user equipment according to any one of claims 30 to 33, wherein the receiving module is further configured to receive, by the first UE, the first base station in a process of performing the D2D communication. Transmitting a first resource change message; the first resource change message carries a first change communication resource; 所述发送模块, 还用于将所述第一资源变更消息中携带的所述第一变更 通信资源发送给所述 D2D通信组内的所述第二 UE, 以使所述 D2D通信组内 各所述第二 UE利用所述第一变更通信资源执行所述业务标识对应的 D2D通 信业务; 并且指示所述处理模块将所述第一变更通信资源所在小区的小区标 识更新至所述 D2D通信组对应的所述第一小区列表中。  The sending module is further configured to send the first change communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the D2D communication groups The second UE performs the D2D communication service corresponding to the service identifier by using the first change communication resource; and instructs the processing module to update the cell identifier of the cell where the first change communication resource is located to the D2D communication group. Corresponding to the first cell list. 39、 根据权利要求 34所述的用户设备, 其特征在于,  39. The user equipment of claim 34, wherein 所述接收模块, 还用于所述由所述第四 UE作为通信代表对所述 D2D通信 组对应的所述第一通信资源进行管理之后, 且所述第一 UE在进行所述 D2D通 信的过程中, 接收所述第四 UE发送的第二资源变更消息; 所述第二资源变更 消息中携带第二变更通信资源;  The receiving module is further configured to: after the fourth UE is used as a communication representative to manage the first communication resource corresponding to the D2D communication group, and the first UE is performing the D2D communication Receiving, by the fourth UE, the second resource change message, where the second resource change message carries the second change communication resource; 所述处理模块还用于利用所述第二变更通信资源执行所述业务标识对应 的 D2D通信业务。  The processing module is further configured to perform, by using the second change communication resource, a D2D communication service corresponding to the service identifier. 40、 根据权利要求 36所述的用户设备, 其特征在于,  40. The user equipment of claim 36, wherein 所述接收模块, 还用于所述由所述第五 UE作为通信代表对所述 D2D通信 组的所述通信资源进行管理之后, 且所述第一 UE在进行所述 D2D通信的过程 中, 接收所述第五 UE发送的第三资源变更消息; 所述第三资源变更消息中携 带第三变更通信资源;  The receiving module is further configured to: after the fifth UE is used as a communication representative to manage the communication resource of the D2D communication group, and the first UE is in the process of performing the D2D communication, Receiving, by the fifth UE, a third resource change message, where the third resource change message carries a third change communication resource; 所述处理模块, 还用于利用所述第三变更通信资源执行所述业务标识对 应的 D2D通信业务。  The processing module is further configured to perform, by using the third change communication resource, a D2D communication service corresponding to the service identifier. 41、 一种用户设备, 其特征在于, 包括:  41. A user equipment, comprising: 接收模块, 用于从无线网络中接收第一 UE发送的发现消息; 所述发现 消息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务 标识; 发送模块, 用于根据所述 D2D通信组的组标识和所述 D2D通信组对应 的业务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带第 二 UE的用户标识; 所述第一申请消息用于所述第二 UE申请加入所述 D2D 通信组; a receiving module, configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group; a sending module, configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the user identifier of the second UE The first application message is used by the second UE to apply to join the D2D communication group; 所述接收模块,还用于接收所述第一 UE根据所述第二 UE的用户标识发送 的用于所述 D2D通信组执行通信的通信资源, 并指示所述第二 UE利用所述通 信资源执行所述业务标识对应的 D2D通信业务。  The receiving module is further configured to receive, by the first UE, a communication resource that is sent by the D2D communication group to perform communication according to the user identifier of the second UE, and instruct the second UE to use the communication resource. Performing a D2D communication service corresponding to the service identifier. 42、 根据权利要求 41所述的用户设备, 其特征在于, 所述接收模块还用 于所述第二 UE在执行所述 D2D通信的过程中接收所述第一 UE发送的用于所 述 D2D通信组执行通信的变更通信资源, 并指示所述第二 UE利用所述变更通 信资源执行所述业务标识对应的 D2D通信业务。  The user equipment according to claim 41, wherein the receiving module is further configured to receive, by the second UE, the D2D sent by the first UE in the process of performing the D2D communication. The communication group performs the changed communication resource of the communication, and instructs the second UE to perform the D2D communication service corresponding to the service identifier by using the changed communication resource. 43、 根据权利要求 41或 42所述的用户设备, 其特征在于, 所述第一申请 消息中还携带所述第二 UE所在小区的小区标识;  The user equipment according to claim 41 or 42, wherein the first application message further carries a cell identifier of a cell where the second UE is located; 所述接收模块还用于所述第二 UE在执行所述 D2D通信的过程中作为第 四 UE时接收所述第一 UE发送的第二 D2D通信资源接口 UE变更消息, 所述第 二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D 通信组内各 UE的用户标识和所述第一 UE所在小区的小区标识; 所述第四 UE 为所述第一 UE根据所述 D2D通信组内各所述第二 UE所在小区的小区标识从 各所述第二 UE中选取的一个 UE;  The receiving module is further configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in a process of performing the D2D communication, where the second D2D communication is performed. The group interface identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located in the resource interface UE change message; the fourth UE is the first UE And selecting, according to the cell identifier of the cell where the second UE is located in the D2D communication group, one UE selected from each of the second UEs; 所述发送模块, 还用于所述第二 UE作为所述第四 UE时向所述第二 UE所 在小区所属的第二基站发送所述第二 D2D通信资源接口 UE变更消息, 以通知 所述第二基站由作为所述第四 UE的所述第二 UE作为通信代表对后续所述 D2D通信组的所述通信资源进行管理。  The sending module is further configured to: when the second UE is the fourth UE, send the second D2D communication resource interface UE change message to the second base station to which the second UE is located, to notify the The second base station manages the communication resource of the subsequent D2D communication group by the second UE as the fourth UE as a communication representative. 44、 根据权利要求 43所述的用户设备, 其特征在于, 所述第二 UE在执行 所述 D2D通信的过程中作为第四 UE通过所述接收模块接收所述第一 UE发送 的第二 D2D通信资源接口 UE变更消息之前,  The user equipment according to claim 43, wherein the second UE receives, as the fourth UE, the second D2D sent by the first UE by using the receiving module in the process of performing the D2D communication. Before the communication resource interface UE changes the message, 所述接收模块用于接收所述第一 UE发送的查询请求;  The receiving module is configured to receive a query request sent by the first UE; 所述发送模块用于向所述第一 UE发送查询响应, 所述查询响应中携带所 述第二 UE所在小区的网络信号强度和 /或网络信号质量。  The sending module is configured to send a query response to the first UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located. 45、 根据权利要求 43或 44所述的用户设备, 其特征在于, 所述由所述第 二 UE作为通信代表对所述 D2D通信组对应的的通信资源进行管理之后, 且所 述第二 UE在进行所述 D2D通信的过程中, 45. The user equipment according to claim 43 or 44, wherein said said After the two UEs manage the communication resources corresponding to the D2D communication group as the communication representative, and the second UE performs the D2D communication process, 所述接收模块, 还用于接收所述第二 UE所在小区所属的第二基站发送的 第二资源变更消息; 所述第二资源变更消息中携带第二变更通信资源;  The receiving module is further configured to receive a second resource change message sent by the second base station to which the second UE is located, where the second resource change message carries the second change communication resource; 所述发送模块, 还用于向所述 D2D通信组内各 UE发送所述第二变更通信 资源, 以通知各所述 UE利用所述第二变更通信资源执行所述业务标识对应的 D2D通信业务。  The sending module is further configured to send the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the second change communication resource. . 46、 一种用户设备, 其特征在于, 包括:  46. A user equipment, comprising: 接收模块, 用于从无线网络中接收第一 UE发送的发现消息; 所述发现 消息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务 标识;  a receiving module, configured to receive a discovery message sent by the first UE from the wireless network, where the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group; 发送模块, 用于根据所述 D2D通信组的组标识和所述 D2D通信组对应的 业务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带所述第 二 UE的用户标识和所述第二 UE所在小区的小区标识;所述第一申请消息用于 所述第二 UE申请加入所述 D2D通信组;  a sending module, configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier and a cell identifier of a cell where the second UE is located; the first application message is used by the second UE to join the D2D communication group; 所述接收模块, 还用于所述第二 UE作为第五 UE时接收所述第一 UE发送 的第一资源请求消息, 所述第一资源请求消息中携带所述 D2D通信组的组标 识和所述 D2D通信组中各 UE的用户标识,以通知所述第五 UE由其作为通信代 表对所述 D2D通信组的所述通信资源进行管理; 所述第五 UE为所述第一 UE 根据各所述第二 UE所在小区的小区标识从各所述第二 UE中选取的一个 UE; 所述发送模块, 还用于所述第二 UE作为所述第五 UE时向所述第二 UE 所在小区所属的第二基站转发所述第一资源请求消息, 以请求所述第二基站 分配用于所述 D2D通信组执行所述业务标识对应的 D2D通信业务的通信资 源;  The receiving module is further configured to: when the second UE is used as the fifth UE, receive the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and a user identifier of each UE in the D2D communication group, to notify the fifth UE to manage the communication resource of the D2D communication group as a communication representative; the fifth UE is the first UE according to the The cell identifier of the cell in which the second UE is located is selected from one of the second UEs, and the sending module is further configured to use, when the second UE is the fifth UE, to the second UE. The second base station to which the cell is located forwards the first resource request message, to request the second base station to allocate a communication resource for the D2D communication group to perform the D2D communication service corresponding to the service identifier; 所述接收模块,还用于所述第二 UE作为所述第五 UE时接收所述第二基站 发送的第一资源响应消息, 所述第一资源响应消息中携带用于所述 D2D通信 组执行通信的通信资源; 所述通信资源为所述第二基站根据所述 D2D通信组 的组标识和当前所述第二基站下各小区的网络资源情况确定出来; 或者, 所 述通信资源为所述第二基站根据所述 D2D通信组的组标识在通过与所述第二 基站相邻的基站共同协商后确定出来; 所述发送模块,还用于所述第二 UE作为所述第五 UE时根据所述 D2D通信 组内各 UE的用户标识向所述 D2D通信组内各 UE发送用于所述 D2D通信组执 行通信的通信资源, 以通知各所述 UE利用该通信资源执行所述业务标识对应 的 D2D通信业务。 The receiving module is further configured to receive, by the second UE, the first resource response message sent by the second base station, where the first resource response message is carried in the D2D communication group. a communication resource that performs communication; the communication resource is determined by the second base station according to the group identifier of the D2D communication group and the network resource status of each cell in the current second base station; or, the communication resource is Determining, by the second base station, that the group identifier of the D2D communication group is jointly negotiated by a base station adjacent to the second base station; The sending module is further configured to send, when the second UE is the fifth UE, to the UEs in the D2D communication group to perform the D2D communication group according to user identifiers of UEs in the D2D communication group. And a communication resource of the communication, to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the communication resource. 47、 根据权利要求 46所述的用户设备, 其特征在于, 所述第一资源响应 消息中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标识, 所述小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在的小 区; 所述小区列表为所述第二基站确定的, 或者所述小区列表为所述第二基 站在通过与所述第二基站相邻的基站共同协商后确定的。  The user equipment according to claim 46, wherein the first resource response message further includes a cell list; the cell list includes a cell identifier corresponding to at least one cell, and the cell list is used to indicate a location a cell in which the reserved resource used by the D2D communication group performs communication; the cell list is determined by the second base station, or the cell list is that the second base station is adjacent to the second base station The base stations are determined after mutual negotiation. 48、 根据权利要求 46或 47所述的用户设备, 其特征在于:  48. The user equipment according to claim 46 or 47, wherein: 所述接收模块, 还用于接收所述第五 UE所在小区所属的所述第二基站发 送的第三资源变更消息; 所述第三资源变更消息中携带第三变更通信资源; 所述发送模块, 还用于向所述 D2D通信组内各 UE发送所述第三变更通信 资源, 以通知各所述 UE利用所述第三变更通信资源执行所述业务标识对应的 D2D通信业务。  The receiving module is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries a third change communication resource; And the third change communication resource is sent to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the third change communication resource. 49、 一种基站, 其特征在于, 包括:  49. A base station, comprising: 接收模块,用于接收第一 UE发送的第一资源请求消息,所述第一 UE在所 述第一基站覆盖的小区范围内, 所述第一资源请求消息中携带 D2D通信组的 组标识;  a receiving module, configured to receive a first resource request message sent by the first UE, where the first UE is in the cell coverage area of the first base station, and the first resource request message carries a group identifier of the D2D communication group; 处理模块, 用于根据所述 D2D通信组的组标识和当前所述第一基站下各 小区的网络资源情况确定用于所述 D2D通信组执行通信的第一通信资源; 或 者, 所述处理模块根据所述 D2D通信组的组标识在通过与所述第一基站相邻 的基站共同协商后确定所述第一通信资源;  a processing module, configured to determine, according to the group identifier of the D2D communication group and a network resource condition of each cell under the first base station, a first communication resource used for performing communication by the D2D communication group; or, the processing module Determining, according to the group identifier of the D2D communication group, the first communication resource after being mutually negotiated by a base station adjacent to the first base station; 发送模块, 用于向所述第一 UE发送第一资源响应消息, 所述第一资源响 应消息中携带用于所述 D2D通信组执行通信的所述第一通信资源。  And a sending module, configured to send, to the first UE, a first resource response message, where the first resource response message carries the first communication resource used by the D2D communication group to perform communication. 50、 根据权利要求 49所述的基站, 其特征在于, 所述第一资源响应消息 中还包括第一小区列表; 所述第一小区列表包含至少一个小区对应的小区标 识, 所述第一小区列表用于指示所述 D2D通信组执行通信所利用的第一预留 资源所在的小区; 所述第一小区列表为所述处理模块确定的, 或者所述第一 小区列表为所述处理模块与所述第一基站相邻的基站共同协商后确定的。 The base station according to claim 49, wherein the first resource response message further includes a first cell list; the first cell list includes a cell identifier corresponding to at least one cell, and the first cell The list is used to indicate the cell in which the first reserved resource utilized by the D2D communication group to perform communication; the first cell list is determined by the processing module, or the first cell list is the processing module and The base stations adjacent to the first base station are jointly negotiated and determined. 51、 根据权利要求 50所述的基站, 其特征在于, 51. The base station according to claim 50, wherein: 所述接收模块, 还用于接收所述第一 UE发送的第二资源请求消息; 所述 第二资源请求消息中携带所述 D2D通信组的组标识和第三 UE所在小区的小 区标识, 所述第三 UE所在小区的小区标识不包含在所述第一小区列表中; 所述处理模块, 还用于根据所述第三 UE所在小区的小区标识、 所述 D2D 通信组的组标识和当前所述第一基站下各小区的网络资源情况为所述 D2D通 信组重新分配通信资源; 或者, 所述处理模块根据所述第三 UE所在小区的小 区标识和所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协 商后为所述 D2D通信组重新分配所述通信资源;  The receiving module is further configured to receive a second resource request message sent by the first UE, where the second resource request message carries a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, where The cell identifier of the cell where the third UE is located is not included in the first cell list, and the processing module is further configured to: according to the cell identifier of the cell where the third UE is located, the group identifier of the D2D communication group, and the current The network resource situation of the cells in the first base station is re-allocated communication resources to the D2D communication group; or the processing module is configured according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group. Re-allocating the communication resource for the D2D communication group by co-negotiating with a base station adjacent to the first base station; 所述发送模块, 还用于向所述第一 UE发送第二资源响应消息, 所述第二 资源响应消息中携带为所述 D2D通信组重新分配的所述通信资源和第二小区 列表; 所述第二小区列表中包含所述第三 UE所在小区的小区标识。  The sending module is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group; The second cell list includes a cell identifier of a cell where the third UE is located. 52、 根据权利要求 49-51任一项所述的基站, 其特征在于,  The base station according to any one of claims 49 to 51, characterized in that 所述接收模块,还用于接收所述第一 UE发送的第一 D2D通信资源接口 UE 变更消息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的 组标识、 所述 D2D通信组内各 UE的用户标识和第四 UE所在小区的小区标识; 所述第一 D2D通信资源接口 UE变更消息用于通知所述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对应的所述第一通信资源进行管理; 所述发送模块, 还用于根据所述第四 UE所在小区的小区标识; 向所述 第四 UE所在小区所属的基站发送所述第一 D2D通信资源接口 UE变更消息, 以通知所述第四 UE所在小区所属的基站由所述第四 UE作为通信代表对后续 所述 D2D通信组的所述通信资源进行管理; 或者,  The receiving module is further configured to receive a first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the a user identifier of each UE in the D2D communication group and a cell identifier of a cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the fourth UE is used as a communication representative to the subsequent station The first communication resource corresponding to the D2D communication group is managed; the sending module is further configured to send, according to the cell identifier of the cell where the fourth UE is located, to the base station to which the fourth UE is located, a D2D communication resource interface UE change message, to notify the base station to which the cell in which the fourth UE belongs is managed by the fourth UE as a communication representative to the communication resource of the subsequent D2D communication group; or 所述接收模块接收所述第四 UE所在小区所属的基站转发的所述第四 UE 发送的第二 D2D通信资源接口 UE变更消息; 所述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述第四 UE的用户标识和 所述第四 UE所在小区的小区标识, 以使所述第一基站获知由所述第四 UE 作为通信代表对后续所述 D2D通信组的所述通信资源进行管理。  The receiving module receives a second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, and the second D2D communication resource interface UE change message carries the D2D a group identifier of the communication group, a user identifier of the fourth UE, and a cell identifier of a cell where the fourth UE is located, so that the first base station learns that the fourth UE is used as a communication representative to the subsequent D2D communication group. The communication resources are managed. 53、 根据权利要求 49-51任一项所述的基站, 其特征在于,  53. A base station according to any of claims 49-51, characterized in that 所述接收模块, 还用于接收第三基站转发的所述第一 UE发送的 D2D通信 资源小区变更消息, 所述 D2D通信资源小区变更消息中携带所述 D2D通信组 的组标识和所述第一 UE的用户标识; 以使所述第一基站获知由所述第三基站 下的所述第一 UE继续作为通信代表对后续所述 D2D通信组的所述通信资源 进行管理。 The receiving module is further configured to receive, by the third base station, a D2D communication resource cell change message that is sent by the first UE, where the D2D communication resource cell change message carries the D2D communication group a group identifier and a user identifier of the first UE; to enable the first base station to learn that the first UE under the third base station continues to serve as a communication representative for the communication resource of the subsequent D2D communication group Manage. 54、 根据权利要求 49-51任一项所述的基站, 其特征在于, 所述第一 UE 在进行所述 D2D通信的过程中,  The base station according to any one of claims 49 to 51, wherein, in the process of performing the D2D communication, the first UE 所述发送模块, 还用于向所述第一 UE发送第一资源变更消息; 所述第一 资源变更消息中携带变更的第一通信资源; 以使所述第一 UE将所述变更的第 一通信资源的信息发送给所述 D2D通信组中各 UE,以通知各所述 UE利用所述 变更后的第一通信资源执行所述 D2D通信的业务; 并指示所述第一 UE将所述 第一变更通信资源所在小区的小区标识更新至所述 D2D通信组对应的所述第 一小区列表中。  The sending module is further configured to send a first resource change message to the first UE, where the first resource change message carries the changed first communication resource, so that the first UE changes the first Sending information of a communication resource to each UE in the D2D communication group to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first UE to The cell identifier of the cell in which the first change communication resource is located is updated to the first cell list corresponding to the D2D communication group. 55、 一种基站, 其特征在于, 包括:  55. A base station, comprising: 接收模块, 用于接收第二 UE转发的来自第一 UE发送的第一资源请求消 息; 所述第二 UE在第二基站覆盖的小区范围内; 所述第一资源请求消息中携 带 D2D通信组的组标识; 所述第一资源请求消息用于所述第一 UE为其所在的 所述 D2D通信组进行通信资源申请;  a receiving module, configured to receive, by the second UE, a first resource request message sent by the first UE, where the second UE is within a cell coverage area of the second base station, and the first resource request message carries the D2D communication group The first resource request message is used by the first UE to perform a communication resource application for the D2D communication group in which the first UE is located; 处理模块, 用于根据所述 D2D通信组的组标识和当前所述第二基站下各 小区的网络资源情况确定用于所述 D2D通信组进行通信的通信资源; 或者, 所述处理模块根据所述 D2D通信组的组标识在通过与所述第二基站相邻的基 站共同协商后确定所述通信资源;  a processing module, configured to determine a communication resource used for communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the current second base station; or, the processing module is configured according to the Determining, by the base station adjacent to the second base station, the communication resource after determining the group identity of the D2D communication group; 发送模块, 用于向所述第二 UE发送第一资源响应消息, 所述第一资源响 应消息中携带用于所述 D2D通信组执行通信的所述通信资源。  And a sending module, configured to send, to the second UE, a first resource response message, where the first resource response message carries the communication resource used by the D2D communication group to perform communication. 56、 根据权利要求 55所述的基站, 其特征在于, 所述第一资源响应消息 中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标识, 所述 小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在的小区 ·' 所述小区列表为所述处理模块确定的, 或者所述小区列表为所述处理模块与 所述第二基站相邻的基站共同协商后确定的。  The base station according to claim 55, wherein the first resource response message further includes a cell list, the cell list includes a cell identifier corresponding to at least one cell, and the cell list is used to indicate the The cell in which the reserved resource used by the D2D communication group performs communication is determined by the processing module, or the cell list is negotiated by the processing module and the base station adjacent to the second base station. After the determination. 57、 一种用户设备, 其特征在于, 包括:  57. A user equipment, comprising: 发送器, 用于向无线网络中的至少一个第二 UE发送发现消息, 所述发现 消息用于向所述至少一个第二 UE指示所述第一 UE支持设备对设备 D2D通信 业务; 所述发现消息中携带 D2D通信组的组标识和所述 D2D通信组对应的业 务标识; a transmitter, configured to send a discovery message to the at least one second UE in the wireless network, where the discovery message is used to indicate to the at least one second UE that the first UE supports device-to-device D2D communication The service message carries the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group; 接收器, 用于接收所述第二 UE发送的第一申请消息, 所述第一申请消息 中携带所述第二 UE的用户标识;所述第一申请消息用于所述第二 UE申请加入 所述 D2D通信组;  a receiver, configured to receive a first application message sent by the second UE, where the first application message carries a user identifier of the second UE, and the first application message is used by the second UE to apply for joining The D2D communication group; 处理器, 用于根据所述第二 UE发送的所述第一申请消息获取用于所述 D2D通信组执行通信的通信资源;  a processor, configured to acquire, according to the first application message sent by the second UE, a communication resource used by the D2D communication group to perform communication; 所述发送器, 还用于根据所述第二 UE的用户标识, 向所述 D2D通信组内 的所述第二 UE发送用于所述 D2D通信组执行通信的通信资源, 以通知所述 D2D通信组内各 UE利用所述通信资源执行所述业务标识对应的 D2D通信业  The transmitter is further configured to send, according to the user identifier of the second UE, a communication resource for performing communication by the D2D communication group to the second UE in the D2D communication group, to notify the D2D Each UE in the communication group performs the D2D communication industry corresponding to the service identifier by using the communication resource 58、 根据权利要求 57所述的用户设备, 其特征在于, 所述处理器具体用 于: The user equipment according to claim 57, wherein the processor is specifically configured to: 指示所述发送器根据所述第二 UE发送的所述第一申请消息向第一基站 发送第一资源请求消息, 所述第一 UE在所述第一基站覆盖的小区范围内, 所 述第一资源请求消息中携带所述 D2D通信组的组标识;  Instructing the sender to send a first resource request message to the first base station according to the first application message sent by the second UE, where the first UE is within a cell coverage area of the first base station, Carrying a group identifier of the D2D communication group in a resource request message; 指示所述接收器接收所述第一基站发送的第一资源响应消息, 所述第一 资源响应消息中携带用于所述 D2D通信组执行通信的第一通信资源; 所述第 一通信资源为所述第一基站根据所述 D2D通信组的组标识和当前所述第一基 站下各小区的网络资源情况确定出来; 或者, 所述第一通信资源为所述第一 基站根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协 商后确定出来。  Instructing the receiver to receive the first resource response message sent by the first base station, where the first resource response message carries a first communication resource for performing communication by the D2D communication group; the first communication resource is Determining, by the first base station, a group identity of the D2D communication group and a network resource condition of each cell in the current first base station; or, the first communication resource is the first base station according to the D2D communication The group identity of the group is determined after being negotiated by the base station adjacent to the first base station. 59、 根据权利要求 58所述的用户设备, 其特征在于, 所述第一资源响应 消息中还包括第一小区列表; 所述第一小区列表包含至少一个小区对应的小 区标识, 所述第一小区列表用于指示所述 D2D通信组执行通信所利用的第一 预留资源所在的小区; 所述第一小区列表为所述第一基站确定的, 或者所述 第一小区列表为所述第一基站与所述第一基站相邻的基站共同协商后确定 的。  The user equipment according to claim 58, wherein the first resource response message further includes a first cell list; the first cell list includes a cell identifier corresponding to at least one cell, the first The cell list is used to indicate a cell in which the first reserved resource used by the D2D communication group to perform communication; the first cell list is determined by the first base station, or the first cell list is the first A base station is determined by mutual agreement with the base station adjacent to the first base station. 60、 根据权利要求 59所述的用户设备, 其特征在于,  60. The user equipment of claim 59, wherein 所述接收器, 还用于接收第三 UE发送的第二申请消息; 所述第二申请 消息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标识; 所述处理器, 还用于若所述第三 UE所在小区的小区标识包含在所述第一 小区列表中, 则通知所述第三 UE利用所述第一预留资源执行所述业务标识对 应的 D2D通信业务,并且指示所述第一 UE将所述第三 UE作为所述 D2D通信组 中的一个所述第二 UE进行管理。 The receiver is further configured to receive a second application message sent by the third UE, where the second application is The message carries the user identifier of the third UE and the cell identifier of the cell where the third UE is located; the processor is further configured to: if the cell identifier of the cell where the third UE is located, is included in the first cell list Notifying the third UE to perform the D2D communication service corresponding to the service identifier by using the first reserved resource, and instructing the first UE to use the third UE as one of the D2D communication groups. The second UE performs management. 61、 根据权利要求 59所述的用户设备, 其特征在于,  61. The user equipment of claim 59, wherein 所述接收器, 还用于接收第三 UE发送的第二申请消息; 所述第二申请消 息中携带所述第三 UE的用户标识和所述第三 UE所在小区的小区标识;  The receiver is further configured to receive a second application message sent by the third UE, where the second application message carries a user identifier of the third UE and a cell identifier of a cell where the third UE is located; 所述处理器, 还用于若所述第三 UE所在小区的小区标识不包含在所述 第一小区列表中,则指示所述发送器向所述第一基站发送第二资源请求消息; 所述第二资源请求消息中携带所述 D2D通信组的组标识和所述第三 UE所在 小区的小区标识, 以请求所述第一基站根据所述第三 UE所在小区的小区标 识为所述 D2D通信组重新分配合适的通信资源, 并且指示所述第一 UE将所 述第三 UE作为所述 D2D通信组中的一个所述第二 UE进行管理;  The processor is further configured to: if the cell identifier of the cell where the third UE is located is not included in the first cell list, instruct the sender to send a second resource request message to the first base station; The second resource request message carries the group identifier of the D2D communication group and the cell identifier of the cell where the third UE is located, to request the first base station to use the cell identifier of the cell where the third UE is located as the D2D The communication group reallocates a suitable communication resource, and instructs the first UE to manage the third UE as one of the second UEs in the D2D communication group; 所述接收器, 还用于接收所述第一基站返回的第二资源响应消息, 所述 第二资源响应消息中携带用于所述 D2D通信组进行通信的第二通信资源的信 息和第二小区列表; 所述所述第二小区列表中包含所述第三 UE所在小区; 所述发送器, 还用于向所述 D2D通信组内的所述第二 UE发送用于所述 D2D通信组执行通信的第二通信资源, 以通知所述 D2D通信组内各 UE利用 所述第二通信资源执行所述业务标识对应的 D2D通信业务。  The receiver is further configured to receive a second resource response message returned by the first base station, where the second resource response message carries information and a second information of a second communication resource used for communication by the D2D communication group a cell list; the second cell list includes a cell where the third UE is located; the transmitter is further configured to send, to the second UE in the D2D communication group, the D2D communication group And performing a second communication resource of the communication, to notify each UE in the D2D communication group to perform the D2D communication service corresponding to the service identifier by using the second communication resource. 62、 根据权利要求 58-61 任一项所述的用户设备, 其特征在于, 所述第 一申请消息中还携带所述第二 UE所在小区的小区标识;  The user equipment according to any one of claims 58 to 61, wherein the first application message further carries a cell identifier of a cell where the second UE is located; 所述处理器, 还用于所述第一 UE在执行所述 D2D通信的过程中测量所述 第一 UE所在小区的网络信号强度和 /或网络信号质量;  The processor is further configured to: when the first UE performs the D2D communication, measure network signal strength and/or network signal quality of a cell where the first UE is located; 若所述第一 UE所在小区的网络信号强度低于第一信号强度阈值, 和 /或 网络信号质量低于第一信号质量阈值, 则所述处理器根据各所述第二 UE所 在小区的小区标识从各所述第二 UE中选取一个 UE作为第四 UE;  If the network signal strength of the cell where the first UE is located is lower than the first signal strength threshold, and/or the network signal quality is lower than the first signal quality threshold, the processor is configured according to the cell of each cell where the second UE is located. Identifying, selecting one UE from each of the second UEs as the fourth UE; 所述发送器, 用于向所述第一基站发送第一 D2D通信资源接口 UE变更消 息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标 识、 所述 D2D通信组内各 UE的用户标识和所述第四 UE所在小区的小区标识; 以通知所述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对 应的所述第一通信资源进行管理; 和 /或, The transmitter is configured to send a first D2D communication resource interface UE change message to the first base station, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the D2D communication a user identifier of each UE in the group and a cell identifier of a cell where the fourth UE is located; Notifying the first base station that the fourth UE is used as a communication representative to manage the first communication resource corresponding to the subsequent D2D communication group; and/or, 所述发送器向所述第四 UE发送第二 D2D通信资源接口 UE变更消息,所述 第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通信组内各 UE的用户标识和所述第一 UE所在小区的小区标识;以通知所 述第四 UE由其作为通信代表对后续所述 D2D通信组对应的所述第一通信资 源进行管理。  Transmitting, by the sender, a second D2D communication resource interface UE change message to the fourth UE, where the second D2D communication resource interface UE change message carries a group identifier of the D2D communication group, and each of the D2D communication groups The user identifier of the UE and the cell identifier of the cell where the first UE is located; to notify the fourth UE to manage the first communication resource corresponding to the subsequent D2D communication group by using the communication unit as the communication representative. 63、 根据权利要求 62所述的用户设备, 其特征在于, 所述处理器根据各 所述第二 UE所在小区的小区标识从各所述第二 UE中选取一个 UE作为第四 UE, 包括:  The user equipment according to claim 62, wherein the processor selects one UE from each of the second UEs as the fourth UE according to the cell identifier of the cell in which the second UE is located, and includes: 所述处理器根据各所述第二 UE所在小区的小区标识指示所述发送器向 所述 D2D通信组中所述第二 UE发送查询请求 ·'  The processor, according to the cell identifier of the cell where the second UE is located, instructs the sender to send a query request to the second UE in the D2D communication group. 所述处理器指示所述接收器接收所述第二 UE返回的查询响应, 所述查询 响应中携带所述第二 UE所在小区的网络信号强度和 /或网络信号质量;  The processor instructs the receiver to receive a query response returned by the second UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located; 所述处理器从各所述第二 UE中选择一个所在小区的网络信号强度或网 络信号质量最强的所述第二 UE作为所述第四 UE,或者,所述处理器从各所述 第二 UE中选择一个所在小区的网络信号强度和网络信号质量的综合值最强 的所述第二 UE作为所述第四 UE。  The processor selects, from the each of the second UEs, the second UE that has the strongest network signal strength or network signal quality of the located cell as the fourth UE, or the processor from each of the foregoing The second UE that has the strongest combination of the network signal strength and the network signal quality of one of the two UEs is selected as the fourth UE. 64、 根据权利要求 57所述的用户设备, 其特征在于, 所述第一申请消息 中还携带所述第二 UE所在小区的小区标识;  The user equipment according to claim 57, wherein the first application message further carries a cell identifier of a cell where the second UE is located; 所述处理器还具体用于根据所述第二 UE所在小区的小区标识测量所述 第二 UE所在小区的网络信号强度和 /或网络信号质量,并根据测量结果从各所 述第二 UE中选取一个 UE作为第五 UE, 并指示所述发送器向所述第五 UE发送 所述第一资源请求消息, 以通知所述第五 UE由其作为通信代表对所述 D2D通 信组的所述通信资源进行管理;并指示所述第五 UE向所述第五 UE所在小区所 属的基站转发所述第一资源请求消息, 进而请求所述第五 UE所在小区所属的 基站分配用于所述 D2D通信组执行所述业务标识对应的 D2D通信业务的通信 资源;  The processor is further configured to measure network signal strength and/or network signal quality of the cell where the second UE is located according to the cell identifier of the cell where the second UE is located, and use the measurement result from each of the second UEs. Selecting one UE as the fifth UE, and instructing the sender to send the first resource request message to the fifth UE, to notify the fifth UE that the fifth UE is the communication representative to the D2D communication group. The communication resource is managed; and the fifth UE is instructed to forward the first resource request message to the base station to which the cell where the fifth UE belongs, and then request the base station to which the cell in which the fifth UE belongs to allocate the D2D. The communication group executes the communication resource of the D2D communication service corresponding to the service identifier; 所述处理器指示所述接收器接收所述第五 UE发送的用于所述 D2D通信 组执行通信的通信资源。 The processor instructs the receiver to receive a communication resource sent by the fifth UE for the D2D communication group to perform communication. 65、 根据权利要求 58-61任一项所述的用户设备, 其特征在于, 所述处理器, 所述第一 UE在执行所述 D2D通信的过程中测量所述第一The user equipment according to any one of claims 58 to 61, wherein, the processor, the first UE measures the first in a process of performing the D2D communication UE所在小区以及所述第一 UE所在小区的相邻小区的网络信号强度和 /或网 络信号质量, 并根据测量结果重选或切换至新的小区; The network signal strength and/or the network signal quality of the cell where the UE is located and the neighboring cell of the cell where the first UE is located, and reselected or switched to the new cell according to the measurement result; 所述处理器, 还用于将所述第一 UE所在的所述新小区所属的基站确定为 新的所述第一基站, 并指示发送器向所述第一基站发送 D2D通信资源小区变 更消息; 所述 D2D通信资源小区变更消息中携带所述 D2D通信组的组标识和 所述第一 UE的用户标识,以通知所述第一基站由所述新小区下的所述第一 UE 继续作为通信代表对后续所述 D2D通信组的所述通信资源进行管理; 或者, 所述处理器指示所述发送器在所述重选或切换的程中通过原小区所属的 基站向所述新小区所属的所述第一基站发送所述 D2D 通信资源小区变更消 息, 以通知所述第一基站由所述新小区下的所述第一 UE继续作为通信代表 对后续所述 D2D通信组的所述通信资源进行管理。  The processor is further configured to determine, by the base station to which the new cell where the first UE belongs, as the new first base station, and instruct the sender to send a D2D communication resource cell change message to the first base station. The D2D communication resource cell change message carries the group identifier of the D2D communication group and the user identifier of the first UE, to notify the first base station to continue by the first UE under the new cell. The communication representative manages the communication resource of the subsequent D2D communication group; or the processor instructs the sender to belong to the new cell by the base station to which the original cell belongs in the process of the reselection or handover The first base station sends the D2D communication resource cell change message to notify the first base station to continue the communication by the first UE under the new cell as a communication representative to the subsequent D2D communication group. Resources are managed. 66、 根据权利要求 58-61任一项所述的用户设备, 其特征在于, 所述接收器, 还用于所述第一 UE在进行所述 D2D通信的过程中, 接收所 述第一基站发送的第一资源变更消息; 所述第一资源变更消息中携带第一变 更通信资源;  The user equipment according to any one of claims 58 to 61, wherein the receiver is further configured to receive, by the first UE, the first base station in a process of performing the D2D communication. Transmitting a first resource change message; the first resource change message carries a first change communication resource; 所述发送器, 还用于将所述第一资源变更消息中携带的所述第一变更通 信资源发送给所述 D2D通信组内的所述第二 UE, 以使所述 D2D通信组内各 所述第二 UE利用所述第一变更通信资源执行所述业务标识对应的 D2D通信 业务; 并且指示所述处理器将所述第一变更通信资源所在小区的小区标识更 新至所述 D2D通信组对应的所述第一小区列表中。  The transmitter is further configured to send the first change communication resource carried in the first resource change message to the second UE in the D2D communication group, so that each of the D2D communication groups Determining, by the second UE, the D2D communication service corresponding to the service identifier by using the first change communication resource; and instructing the processor to update a cell identifier of a cell where the first change communication resource is located to the D2D communication group Corresponding to the first cell list. 67、 根据权利要求 62所述的用户设备, 其特征在于,  67. The user equipment of claim 62, wherein 所述接收器, 还用于所述由所述第四 UE作为通信代表对所述 D2D通信组 对应的所述第一通信资源进行管理之后, 且所述第一 UE在进行所述 D2D通信 的过程中, 接收所述第四 UE发送的第二资源变更消息; 所述第二资源变更消 息中携带第二变更通信资源;  The receiver is further configured to: after the fourth UE is used as a communication representative to manage the first communication resource corresponding to the D2D communication group, and the first UE is performing the D2D communication Receiving, by the fourth UE, the second resource change message, where the second resource change message carries the second change communication resource; 所述处理器还用于利用所述第二变更通信资源执行所述业务标识对应的 D2D通信业务。  The processor is further configured to perform, by using the second change communication resource, a D2D communication service corresponding to the service identifier. 68、 根据权利要求 64所述的用户设备, 其特征在于, 所述接收器, 还用于所述由所述第五 UE作为通信代表对所述 D2D通信组 的所述通信资源进行管理之后, 且所述第一 UE在进行所述 D2D通信的过程 中, 接收所述第五 UE发送的第三资源变更消息; 所述第三资源变更消息中携 带第三变更通信资源; 68. The user equipment of claim 64, wherein The receiver is further configured to: after the fifth UE is used as a communication representative to manage the communication resource of the D2D communication group, and the first UE is in the process of performing the D2D communication, Receiving, by the fifth UE, a third resource change message, where the third resource change message carries a third change communication resource; 所述处理器用于还利用第三变更通信资源执行所述业务标识对应的 D2D 通信业务。  The processor is further configured to perform, by using the third change communication resource, the D2D communication service corresponding to the service identifier. 69、 一种用户设备, 其特征在于, 包括:  69. A user equipment, comprising: 接收器, 用于从无线网络中接收第一 UE发送的发现消息; 所述发现消 息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务标 识;  a receiver, configured to receive a discovery message sent by the first UE from the wireless network; the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group; 发送器, 用于根据所述 D2D通信组的组标识和所述 D2D通信组对应的 业务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带第二 UE的用户标识; 所述第一申请消息用于所述第二 UE申请加入所述 D2D通 信组;  a transmitter, configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries a user identifier of the second UE The first application message is used by the second UE to apply to join the D2D communication group; 所述接收器,还用于接收所述第一 UE根据所述第二 UE的用户标识发送的 用于所述 D2D通信组执行通信的通信资源, 并指示所述第二 UE利用所述通信 资源执行所述业务标识对应的 D2D通信业务。  The receiver is further configured to receive, by the first UE, a communication resource that is sent by the D2D communication group to perform communication according to the user identifier of the second UE, and instruct the second UE to use the communication resource. Performing a D2D communication service corresponding to the service identifier. 70、 根据权利要求 69所述的用户设备, 其特征在于, 所示接收器还用于 所述第二 UE在执行所述 D2D通信的过程中接收所述第一 UE发送的用于所述 D2D通信组执行通信的变更通信资源, 并指示所述第二 UE利用所述变更通信 资源执行所述业务标识对应的 D2D通信业务。  The user equipment according to claim 69, wherein the receiver is further configured to receive, by the second UE, the first UE, for the D2D, in the process of performing the D2D communication. The communication group performs the changed communication resource of the communication, and instructs the second UE to perform the D2D communication service corresponding to the service identifier by using the changed communication resource. 71、 根据权利要求 69或 70所述的用户设备, 其特征在于, 所述第一申请 消息中还携带所述第二 UE所在小区的小区标识;  The user equipment according to claim 69 or 70, wherein the first application message further carries a cell identifier of a cell where the second UE is located; 所述接收器还用于所述第二 UE在执行所述 D2D通信的过程中作为第四 UE时接收所述第一 UE发送的第二 D2D通信资源接口 UE变更消息, 所述第二 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的组标识、 所述 D2D通 信组内各 UE的用户标识和所述第一 UE所在小区的小区标识; 所述第四 UE为 所述第一 UE根据所述 D2D通信组内各所述第二 UE所在小区的小区标识从各 所述第二 UE中选取的一个 UE;  The receiver is further configured to receive, by the second UE, a second D2D communication resource interface UE change message sent by the first UE when the second UE is in a process of performing the D2D communication, where the second D2D communication is performed. The resource interface UE change message carries the group identifier of the D2D communication group, the user identifier of each UE in the D2D communication group, and the cell identifier of the cell where the first UE is located; the fourth UE is the first UE And selecting, according to the cell identifier of the cell where the second UE is located in the D2D communication group, one UE selected from each of the second UEs; 所述发送器, 还用于所述第二 UE作为所述第四 UE时向所述第二 UE所在 小区所属的第二基站发送所述第二 D2D通信资源接口 UE变更消息, 以通知所 述第二基站由作为所述第四 UE的所述第二 UE作为通信代表对后续所述 D2D 通信组的所述通信资源进行管理。 The transmitter is further configured to: when the second UE is the fourth UE, where the second UE is located The second base station to which the cell belongs sends the second D2D communication resource interface UE change message to notify the second base station that the second UE that is the fourth UE serves as a communication representative to the subsequent D2D communication group. The communication resources are managed. 72、 根据权利要求 71所述的用户设备, 其特征在于, 所述第二 UE在执行 所述 D2D通信的过程中作为第四 UE通过所述接收器接收所述第一 UE发送的 第二 D2D通信资源接口 UE变更消息之前,  The user equipment according to claim 71, wherein the second UE receives the second D2D sent by the first UE by using the receiver as a fourth UE in the process of performing the D2D communication. Before the communication resource interface UE changes the message, 所述接收器用于接收所述第一 UE发送的查询请求;  The receiver is configured to receive a query request sent by the first UE; 所述发送器用于向所述第一 UE返回查询响应, 所述查询响应中携带所述 第二 UE所在小区的网络信号强度和 /或网络信号质量。  The transmitter is configured to return a query response to the first UE, where the query response carries network signal strength and/or network signal quality of a cell where the second UE is located. 73、 根据权利要求 71或 72所述的用户设备, 其特征在于, 所述由所述第 二 UE作为通信代表对所述 D2D通信组对应的的通信资源进行管理之后, 且所 述第二 UE在进行所述 D2D通信的过程中,  The user equipment according to claim 71 or 72, wherein the second UE is managed by the second UE as a communication representative, and the second UE is managed by the communication resource corresponding to the D2D communication group. In the process of performing the D2D communication, 所述接收器, 还用于接收所述第二 UE所在小区所属的第二基站发送的第 二资源变更消息; 所述第二资源变更消息中携带第二变更通信资源;  The receiver is further configured to receive a second resource change message sent by the second base station to which the second UE is located, where the second resource change message carries the second change communication resource; 所述发送器, 还用于向所述 D2D通信组内各 UE发送所述第二变更通信资 源, 以通知各所述 UE利用所述第二变更通信资源执行所述业务标识对应的 D2D通信业务。  The transmitter is further configured to send the second change communication resource to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the second change communication resource. . 74、 一种用户设备, 其特征在于, 包括:  74. A user equipment, comprising: 接收器, 用于从无线网络中接收第一 UE发送的发现消息; 所述发现消 息中携带设备对设备 D2D通信组的组标识和所述 D2D通信组对应的业务标 识;  a receiver, configured to receive a discovery message sent by the first UE from the wireless network; the discovery message carries a group identifier of the device to the device D2D communication group and a service identifier corresponding to the D2D communication group; 发送器, 用于根据所述 D2D通信组的组标识和所述 D2D通信组对应的业 务标识向所述第一 UE发送第一申请消息, 所述第一申请消息中携带所述第二 UE的用户标识和所述第二 UE所在小区的小区标识;所述第一申请消息用于所 述第二 UE申请加入所述 D2D通信组 ·'  a transmitter, configured to send a first application message to the first UE according to the group identifier of the D2D communication group and the service identifier corresponding to the D2D communication group, where the first application message carries the second UE a user identifier and a cell identifier of a cell where the second UE is located; the first application message is used by the second UE to join the D2D communication group. 所述接收器, 还用于所述第二 UE作为第五 UE时接收所述第一 UE发送的 第一资源请求消息, 所述第一资源请求消息中携带所述 D2D通信组的组标识 和所述 D2D通信组中各 UE的用户标识,以通知所述第五 UE由其作为通信代表 对所述 D2D通信组的所述通信资源进行管理;所述第五 UE为所述第一 UE根据 各所述第二 UE所在小区的小区标识从各所述第二 UE中选取的一个 UE; 所述发送器,还用于所述第二 UE作为所述第五 UE时向所述第二 UE所 在小区所属的第二基站转发所述第一资源请求消息, 以请求所述第二基站分 配用于所述 D2D通信组执行所述业务标识对应的 D2D通信业务的通信资源; 所述接收器,还用于所述第二 UE作为所述第五 UE时接收所述第二基站发 送的第一资源响应消息, 所述第一资源响应消息中携带用于所述 D2D通信组 执行通信的通信资源; 所述通信资源为所述第二基站根据所述 D2D通信组的 组标识和当前所述第二基站下各小区的网络资源情况确定出来; 或者, 所述 通信资源为所述第二基站根据所述 D2D通信组的组标识在通过与所述第二基 站相邻的基站共同协商后确定出来; The receiver, when the second UE is used as the fifth UE, receives the first resource request message sent by the first UE, where the first resource request message carries the group identifier of the D2D communication group and a user identifier of each UE in the D2D communication group, to notify the fifth UE to manage the communication resource of the D2D communication group as a communication representative; the fifth UE is the first UE according to the first UE a cell identifier of a cell in which the second UE is located, and a UE selected from each of the second UEs; The transmitter is further configured to: when the second UE is the fifth UE, forward the first resource request message to a second base station to which the second UE is located, to request the second base station to allocate a communication resource for the D2D communication group to perform the D2D communication service corresponding to the service identifier; the receiver is further configured to receive, by the second UE, the second UE when the second UE is the fifth UE a resource response message, where the first resource response message carries communication resources for performing communication by the D2D communication group; the communication resource is a group identifier of the D2D communication group and the current The network resource situation of each cell in the second base station is determined; or the communication resource is determined by the second base station according to the group identifier of the D2D communication group after being negotiated by the base station adjacent to the second base station. come out; 所述发送器,还用于所述第二 UE作为所述第五 UE时根据所述 D2D通信组 内各 UE的用户标识向所述 D2D通信组内各 UE发送用于所述 D2D通信组执行 通信的通信资源, 以通知各所述 UE利用该通信资源执行所述业务标识对应的 D2D通信业务。  The transmitter is further configured to send, when the second UE is the fifth UE, to the UEs in the D2D communication group to perform the D2D communication group according to user identifiers of UEs in the D2D communication group. And a communication resource of the communication, to notify each of the UEs to perform the D2D communication service corresponding to the service identifier by using the communication resource. 75、 根据权利要求 74所述的用户设备, 其特征在于, 所述第一资源响应 消息中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标识, 所述小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在的小 区; 所述小区列表为所述第二基站确定的, 或者所述小区列表为所述第二基 站在通过与所述第二基站相邻的基站共同协商后确定的。  The user equipment according to claim 74, wherein the first resource response message further includes a cell list; the cell list includes a cell identifier corresponding to at least one cell, and the cell list is used to indicate a location a cell in which the reserved resource used by the D2D communication group performs communication; the cell list is determined by the second base station, or the cell list is that the second base station is adjacent to the second base station The base stations are determined after mutual negotiation. 76、 根据权利要求 74或 75所述的用户设备, 其特征在于:  76. The user equipment according to claim 74 or 75, characterized in that: 所述接收器, 还用于接收所述第五 UE所在小区所属的所述第二基站发送 的第三资源变更消息; 所述第三资源变更消息中携带第三变更通信资源; 所述发送器, 还用于向所述 D2D通信组内各 UE发送所述第三变更通信资 源, 以通知各所述 UE利用所述第三变更通信资源执行所述业务标识对应的 D2D通信业务。  The receiver is further configured to receive a third resource change message sent by the second base station to which the cell where the fifth UE is located, where the third resource change message carries a third change communication resource; And the third change communication resource is sent to each UE in the D2D communication group, to notify each UE to perform the D2D communication service corresponding to the service identifier by using the third change communication resource. 77、 一种基站, 其特征在于, 包括:  77. A base station, comprising: 接收器,用于接收第一 UE发送的第一资源请求消息,所述第一 UE在所述 第一基站覆盖的小区范围内, 所述第一资源请求消息中携带 D2D通信组的组 标识;  a receiver, configured to receive a first resource request message sent by the first UE, where the first UE is in a range of cells covered by the first base station, and the first resource request message carries a group identifier of a D2D communication group; 处理器, 用于根据所述 D2D通信组的组标识和当前所述第一基站下各小 区的网络资源情况确定用于所述 D2D通信组执行通信的第一通信资源;或者, 所述处理器根据所述 D2D通信组的组标识在通过与所述第一基站相邻的基站 共同协商后确定所述第一通信资源; a processor, configured to determine, according to a group identifier of the D2D communication group and a network resource condition of each cell under the first base station, a first communication resource used for performing communication by the D2D communication group; or Determining, by the processor, the first communication resource after being negotiated by a base station adjacent to the first base station according to the group identifier of the D2D communication group; 发送器, 用于向所述第一 UE发送第一资源响应消息, 所述第一资源响应 消息中携带用于所述 D2D通信组执行通信的所述第一通信资源。  And a transmitter, configured to send, to the first UE, a first resource response message, where the first resource response message carries the first communication resource used by the D2D communication group to perform communication. 78、 根据权利要求 77所述的基站, 其特征在于, 所述第一资源响应消息 中还包括第一小区列表; 所述第一小区列表包含至少一个小区对应的小区标 识, 所述第一小区列表用于指示所述 D2D通信组执行通信所利用的第一预留 资源所在的小区; 所述第一小区列表为所述处理器确定的, 或者所述第一小 区列表为所述处理器与所述第一基站相邻的基站共同协商后确定的。  The base station according to claim 77, wherein the first resource response message further includes a first cell list; the first cell list includes a cell identifier corresponding to at least one cell, and the first cell The list is used to indicate a cell in which the first reserved resource utilized by the D2D communication group to perform communication; the first cell list is determined by the processor, or the first cell list is the processor and The base stations adjacent to the first base station are jointly negotiated and determined. 79、 根据权利要求 78所述的基站, 其特征在于,  79. The base station according to claim 78, wherein: 所述接收器, 还用于接收所述第一 UE发送的第二资源请求消息; 所述第 二资源请求消息中携带所述 D2D通信组的组标识和第三 UE所在小区的小区 标识, 所述第三 UE所在小区的小区标识不包含在所述第一小区列表中;  The receiver is further configured to receive a second resource request message sent by the first UE, where the second resource request message carries a group identifier of the D2D communication group and a cell identifier of a cell where the third UE is located, where The cell identifier of the cell where the third UE is located is not included in the first cell list; 所述处理器, 还用于根据所述第三 UE所在小区的小区标识、 所述 D2D通 信组的组标识和当前所述第一基站下各小区的网络资源情况为所述 D2D通信 组重新分配通信资源; 或者, 所述处理器根据所述第三 UE所在小区的小区标 识和所述 D2D通信组的组标识在通过与所述第一基站相邻的基站共同协商后 为所述 D2D通信组重新分配所述通信资源;  The processor is further configured to redistribute the D2D communication group according to a cell identifier of a cell where the third UE is located, a group identifier of the D2D communication group, and a network resource condition of each cell in the current first base station. And the processor is configured to be the D2D communication group after being negotiated by the base station adjacent to the first base station according to the cell identifier of the cell where the third UE is located and the group identifier of the D2D communication group. Redistributing the communication resources; 所述发送器, 还用于向所述第一 UE发送第二资源响应消息, 所述第二资 源响应消息中携带为所述 D2D通信组重新分配的所述通信资源和第二小区列 表; 所述第二小区列表中包含所述第三 UE所在小区的小区标识。  The transmitter is further configured to send a second resource response message to the first UE, where the second resource response message carries the communication resource and the second cell list that are re-allocated for the D2D communication group; The second cell list includes a cell identifier of a cell where the third UE is located. 80、 根据权利要求 77-79任一项所述的基站, 其特征在于,  80. The base station according to any one of claims 77-79, characterized in that 所述接收器, 还用于接收所述第一 UE发送的第一 D2D通信资源接口 UE 变更消息, 所述第一 D2D通信资源接口 UE变更消息中携带所述 D2D通信组的 组标识、 所述 D2D通信组内各 UE的用户标识和第四 UE所在小区的小区标识; 所述第一 D2D通信资源接口 UE变更消息用于通知所述第一基站由所述第四 UE作为通信代表对后续所述 D2D通信组对应的所述第一通信资源进行管理; 所述发送器, 还用于根据所述第四 UE所在小区的小区标识; 向所述第 四 UE所在小区所属的基站发送所述第一 D2D通信资源接口 UE变更消息, 以通知所述第四 UE所在小区所属的基站由所述第四 UE作为通信代表对后续 所述 D2D通信组的所述通信资源进行管理; 或者, The receiver is further configured to receive a first D2D communication resource interface UE change message sent by the first UE, where the first D2D communication resource interface UE change message carries the group identifier of the D2D communication group, and the a user identifier of each UE in the D2D communication group and a cell identifier of a cell where the fourth UE is located; the first D2D communication resource interface UE change message is used to notify the first base station that the fourth UE is used as a communication representative to the subsequent station The first communication resource corresponding to the D2D communication group is managed; the transmitter is further configured to send, according to the cell identifier of the cell where the fourth UE is located, to the base station to which the fourth UE is located, a D2D communication resource interface UE change message, to notify that the base station to which the fourth UE is located is used by the fourth UE as a communication representative The communication resource of the D2D communication group is managed; or 所述接收器接收所述第四 UE所在小区所属的基站转发的所述第四 UE发 送的第二 D2D通信资源接口 UE变更消息;所述第二 D2D通信资源接口 UE变更 消息中携带所述 D2D通信组的组标识、所述第四 UE的用户标识和所述第四 UE 所在小区的小区标识, 以使所述第一基站获知由所述第四 UE作为通信代表对 后续所述 D2D通信组的所述通信资源进行管理。  Receiving, by the receiver, the second D2D communication resource interface UE change message sent by the fourth UE that is sent by the base station to which the fourth UE belongs, and the second D2D communication resource interface UE change message carrying the D2D a group identifier of the communication group, a user identifier of the fourth UE, and a cell identifier of a cell where the fourth UE is located, so that the first base station learns that the fourth UE is used as a communication representative to the subsequent D2D communication group. The communication resources are managed. 81、 根据权利要求 77-79任一项所述的基站, 其特征在于,  The base station according to any one of claims 77 to 79, characterized in that 所述接收器, 还用于接收第三基站转发的所述第一 UE发送的 D2D通信资 源小区变更消息, 所述 D2D通信资源小区变更消息中携带所述 D2D通信组的 组标识和所述第一 UE的用户标识; 以使所述第一基站获知由所述第三基站下 的所述第一 UE继续作为通信代表对后续所述 D2D通信组的所述通信资源进 行管理。  The receiver is further configured to receive, by the third base station, a D2D communication resource cell change message that is sent by the first UE, where the D2D communication resource cell change message carries the group identifier of the D2D communication group and the a user identifier of a UE, so that the first base station learns that the first UE under the third base station continues to be a communication representative to manage the communication resource of the subsequent D2D communication group. 82、 根据权利要求 77-79任一项所述的基站, 其特征在于, 所述第一 UE 在进行所述 D2D通信的过程中,  The base station according to any one of claims 77 to 79, wherein, in the process of performing the D2D communication, the first UE 所述发送器, 还用于向所述第一 UE发送第一资源变更消息; 所述第一资 源变更消息中携带变更的第一通信资源; 以使所述第一 UE将所述变更的第一 通信资源的信息发送给所述 D2D通信组中各 UE,以通知各所述 UE利用所述变 更后的第一通信资源执行所述 D2D通信的业务; 并指示所述第一 UE将所述第 一变更通信资源所在小区的小区标识更新至所述 D2D通信组对应的所述第一 小区列表中。  The transmitter is further configured to send a first resource change message to the first UE, where the first resource change message carries the changed first communication resource, so that the first UE changes the first Sending information of a communication resource to each UE in the D2D communication group to notify each UE to perform the service of the D2D communication by using the changed first communication resource; and instructing the first UE to The cell identifier of the cell in which the first change communication resource is located is updated to the first cell list corresponding to the D2D communication group. 83、 一种基站, 其特征在于, 包括:  83. A base station, comprising: 接收器,于接收第二 UE转发的来自第一 UE发送的第一资源请求消息;所 述第二 UE在第二基站覆盖的小区范围内; 所述第一资源请求消息中携带 D2D 通信组的组标识; 所述第一资源请求消息用于所述第一 UE为其所在的所述 D2D通信组进行通信资源申请;  Receiving, by the receiver, a first resource request message sent by the first UE that is sent by the second UE; the second UE is within a cell coverage area of the second base station; and the first resource request message carries the D2D communication group The first resource request message is used by the first UE to apply for a communication resource for the D2D communication group in which the first UE is located; 处理器, 用于根据所述 D2D通信组的组标识和当前所述第二基站下各小 区的网络资源情况确定用于所述 D2D通信组进行通信的通信资源; 或者, 所 述处理器根据所述 D2D通信组的组标识在通过与所述第二基站相邻的基站共 同协商后确定所述通信资源;  a processor, configured to determine a communication resource used for communication by the D2D communication group according to a group identifier of the D2D communication group and a network resource condition of each cell under the current second base station; or, the processor according to the Determining, by the base station adjacent to the second base station, the communication resource after determining the group identity of the D2D communication group; 发送器, 用于向所述第二 UE发送第一资源响应消息, 所述第一资源响应 消息中携带用于所述 D2D通信组执行通信的所述通信资源。 a transmitter, configured to send, to the second UE, a first resource response message, where the first resource response The message carries the communication resource for the D2D communication group to perform communication. 84、 根据权利要求 83所述的基站, 其特征在于, 所述第一资源响应消息 中还包括小区列表; 所述小区列表包含至少一个小区对应的小区标识, 所述 小区列表用于指示所述 D2D通信组执行通信所利用的预留资源所在的小区 ·' 所述小区列表为所述处理器确定的, 或者所述小区列表为所述处理器与所述 第二基站相邻的基站共同协商后确定的。  The base station according to claim 83, wherein the first resource response message further includes a cell list, the cell list includes a cell identifier corresponding to at least one cell, and the cell list is used to indicate the The cell in which the reserved resource used by the D2D communication group performs communication is determined by the processor, or the cell list is negotiated by the processor and the base station adjacent to the second base station. After the determination. 85、 一种系统, 其特征在于, 包括: 权利要求 29至 40任一项所述的用户 设备、 权利要求 41至 48任一项所述的用户设备、 权利要求 49至 54任一项所述 的基站和权利要求 55或 56所述的基站。  85. A system, comprising: the user equipment according to any one of claims 29 to 40, the user equipment according to any one of claims 41 to 48, or any one of claims 49 to 54 Base station and base station according to claim 55 or 56. 86、 一种系统, 其特征在于, 包括: 权利要求 57至 68任一项所述的用户 设备、 权利要求 69至 76任一项所述的用户设备、 权利要求 77至 82任一项所述 的基站和权利要求 83或 84所述的基站。  86. A system, comprising: the user equipment according to any one of claims 57 to 68, the user equipment according to any one of claims 69 to 76, or any one of claims 77 to 82 Base station and base station according to claim 83 or 84.
PCT/CN2014/079728 2014-06-12 2014-06-12 Communication resource management method, user equipment, base station and system Ceased WO2015188345A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480029201.2A CN105379405B (en) 2014-06-12 2014-06-12 Communication resource management method, user equipment, base station and system
PCT/CN2014/079728 WO2015188345A1 (en) 2014-06-12 2014-06-12 Communication resource management method, user equipment, base station and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/079728 WO2015188345A1 (en) 2014-06-12 2014-06-12 Communication resource management method, user equipment, base station and system

Publications (1)

Publication Number Publication Date
WO2015188345A1 true WO2015188345A1 (en) 2015-12-17

Family

ID=54832722

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079728 Ceased WO2015188345A1 (en) 2014-06-12 2014-06-12 Communication resource management method, user equipment, base station and system

Country Status (2)

Country Link
CN (1) CN105379405B (en)
WO (1) WO2015188345A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109691180A (en) * 2018-12-14 2019-04-26 北京小米移动软件有限公司 Method and device for transmitting configuration information
CN111246432A (en) * 2018-11-29 2020-06-05 华为技术有限公司 A communication method and device
CN113453310A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Signal transmission method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4344325A3 (en) * 2017-05-04 2024-12-11 Koninklijke Philips N.V. Intra-group communication
WO2021046788A1 (en) * 2019-09-12 2021-03-18 Qualcomm Incorporated Techniques for improving efficiency in sidelink wireless communications
CN111642007B (en) * 2020-05-27 2023-03-21 广东小天才科技有限公司 Method and system for synchronously accessing terminal equipment to network and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037448A (en) * 2011-09-30 2013-04-10 华为技术有限公司 Content publishing method and user device
US20130150061A1 (en) * 2011-12-09 2013-06-13 Electronics And Telecommunications Research Institute Device-to-device group communication method and device using the same
CN103634852A (en) * 2012-08-28 2014-03-12 华为技术有限公司 Resource negotiation method, devices and system of device-to-device (D2D) communication
CN103686676A (en) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 Communication method and device of device-to-device communication system and system
US20140112235A1 (en) * 2012-10-22 2014-04-24 Electronics And Telecommunications Research Institute Discovery signal transmitted in direct communication system, and method of transmitting/receiving the discovery signal
WO2014077745A1 (en) * 2012-11-14 2014-05-22 Telefonaktiebolaget L M Ericsson (Publ) Methods and apparatuses for enabling direct mode communication between user|equipments

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8867458B2 (en) * 2010-04-30 2014-10-21 Nokia Corporation Network controlled device to device / machine to machine cluster operation
CN103327568B (en) * 2012-03-21 2016-12-14 中国移动通信集团公司 Resource allocation message sending method, method for discovering equipment and relevant device
US9532224B2 (en) * 2012-11-05 2016-12-27 Electronics And Telecommunications Research Institute Method of device-to-device discovery and apparatus thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037448A (en) * 2011-09-30 2013-04-10 华为技术有限公司 Content publishing method and user device
US20130150061A1 (en) * 2011-12-09 2013-06-13 Electronics And Telecommunications Research Institute Device-to-device group communication method and device using the same
CN103634852A (en) * 2012-08-28 2014-03-12 华为技术有限公司 Resource negotiation method, devices and system of device-to-device (D2D) communication
CN103686676A (en) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 Communication method and device of device-to-device communication system and system
US20140112235A1 (en) * 2012-10-22 2014-04-24 Electronics And Telecommunications Research Institute Discovery signal transmitted in direct communication system, and method of transmitting/receiving the discovery signal
WO2014077745A1 (en) * 2012-11-14 2014-05-22 Telefonaktiebolaget L M Ericsson (Publ) Methods and apparatuses for enabling direct mode communication between user|equipments

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246432A (en) * 2018-11-29 2020-06-05 华为技术有限公司 A communication method and device
EP3883272A4 (en) * 2018-11-29 2022-01-05 Huawei Technologies Co., Ltd. Communication method and apparatus
US12047912B2 (en) 2018-11-29 2024-07-23 Huawei Technologies Co., Ltd. Communication method and apparatus
CN109691180A (en) * 2018-12-14 2019-04-26 北京小米移动软件有限公司 Method and device for transmitting configuration information
CN109691180B (en) * 2018-12-14 2022-05-13 北京小米移动软件有限公司 Method and device for transmitting configuration information
US12004016B2 (en) 2018-12-14 2024-06-04 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for transmitting configuration information
CN113453310A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Signal transmission method and device
WO2021190272A1 (en) * 2020-03-27 2021-09-30 华为技术有限公司 Signal transmission method and apparatus
CN113453310B (en) * 2020-03-27 2023-03-03 华为技术有限公司 Signal transmission method and device

Also Published As

Publication number Publication date
CN105379405B (en) 2019-09-03
CN105379405A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN107248906B (en) Method for adjusting auxiliary primary cell and base station
CN103200629B (en) Base station switch method, X2 interface method for building up, base station, user terminal and system
CN112996087B (en) Network slice selection method, terminal equipment and network equipment
CN110662308B (en) Communication method and device
WO2017118199A1 (en) Data scheduling method, base station and system
CN103796262B (en) The method and apparatus directly switched
WO2018082221A1 (en) Network switching method, apparatus and related equipment
KR102232787B1 (en) Method and apparatus for controlling service continuity in mobile communication systems
CN101370261B (en) Resource preparation method and communication equipment for switching from CS field to PS field
TW200835360A (en) Method and apparatus for supporting handover from LTE/EUTRAN to GPRS/GERAN
WO2012041044A1 (en) Method for notifying handover information and base station
CN109246772B (en) Data transmission method, related equipment and system
WO2014000498A1 (en) Data radio bearer establishment method and device
WO2016015525A1 (en) Wireless network access control method, device and system
WO2015188345A1 (en) Communication resource management method, user equipment, base station and system
CN111510977B (en) A mobility management method and device
CN119563339A (en) Enhanced configuration options for Layer 1/Layer 2 triggered mobility
CN104507129B (en) A kind of SRVCC trigger flows method, mobile management entity and base station
TW202101948A (en) Method of supporting ip multimedia subsystem signalingand user equipment thereof
WO2016026117A1 (en) Resource allocation and service transmission method and apparatus
WO2022022082A1 (en) Communication method and communication apparatus
WO2012155681A1 (en) Method and apparatus for transmitting csg information
CN104869661B (en) A kind of method and system of service bearer
WO2013071850A1 (en) Uplink change method, device and system
CN103228016B (en) Based on the data processing method of cell merge, equipment and system

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

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

Country of ref document: EP

Kind code of ref document: A1