WO2015113235A1 - Resource application method, device and system - Google Patents

Resource application method, device and system Download PDF

Info

Publication number
WO2015113235A1
WO2015113235A1 PCT/CN2014/071720 CN2014071720W WO2015113235A1 WO 2015113235 A1 WO2015113235 A1 WO 2015113235A1 CN 2014071720 W CN2014071720 W CN 2014071720W WO 2015113235 A1 WO2015113235 A1 WO 2015113235A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
information
block
idle
cluster head
Prior art date
Application number
PCT/CN2014/071720
Other languages
French (fr)
Chinese (zh)
Inventor
马洁
曹振臻
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201480001161.0A priority Critical patent/CN105122927B/en
Priority to PCT/CN2014/071720 priority patent/WO2015113235A1/en
Publication of WO2015113235A1 publication Critical patent/WO2015113235A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device and system for resource application.
  • the D2D (Device to De V i ce) technology is a technology in which a user equipment (UE) can transmit data through a direct link in a short range without performing data forwarding through a base station. In the D2D technology, it is required to allocate resource information to a UE that performs D2D data transmission through a base station.
  • the UE when a certain UE needs to transmit data to other UEs through the D2D technology, the UE first needs to apply for the resource information required for transmitting data to the base station serving the UE, that is, to send the bearer to the base station serving the UE.
  • a status report message with a buffered data size after receiving the status report message sent by the UE, the base station allocates resource information required for transmitting data to the UE according to the size of the buffered data and the priority information of the UE carried in the status report message. So that the UE can use this resource information to transmit data to other UEs.
  • the base station 1 allocates resources to the UE1, and the base station 2 allocates resources to the UE2, and at this time, when the geographical location of the UE1 and the UE2 are close, 1
  • the resources of the managed cell may be partially the same as the resources of the cell managed by the base station 2.
  • the resource allocated by the base station 1 to the UE1 may be the same as the resource allocated by the base station 2 to the UE2, that is, the UE1 and the UE2 use the same resource.
  • the data is transmitted between the UE and other UEs, causing the data sent by the UE1 to other UEs to interfere with the data sent by the UE2 to other UEs, so that the data sent by the UE1 and the UE2 cannot be correctly received by other UEs, thereby reducing the correct data transmission. rate.
  • Embodiments of the present invention provide a method, device, and system for resource application, which are used to reduce interference of data transmission during D2D data transmission, thereby improving positive data transmission. Confirmation rate.
  • the embodiment of the present invention uses the following technical solutions:
  • an embodiment of the present invention provides a user equipment UE, which is applied to a device-to-device D2D communication system, and includes: a receiving unit, configured to receive information about a first resource pool sent by a first device;
  • the first resource pool includes: at least one resource block; a determining unit, configured to determine status information of the at least one resource block; and a sending unit, configured to send a resource request message to the first device, where the resource
  • the application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the receiving unit is further configured to receive, by the first device, the UE to be allocated to the UE.
  • Information of the idle resource block where the information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE, where the idle resource block is the at least one resource Piece.
  • the status information is busy status information.
  • the receiving unit is further configured to use a time period of a superframe as a period Receiving the superframe division information sent by the cluster head in the first time frame of the superframe division information, where the superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame, where the first time frame is information that the first resource pool is sent by the cluster head, and the super frame division information and the first a frame of resource allocation information; the second time frame is a frame in which the UE sends the application resource message to the cluster head; the third time frame and the fifth time frame are the UE a frame in which the second UE transmits data; the fourth time frame is a frame in which the cluster head sends information of an idle resource block allocated by the cluster head to the UE to the UE; the receiving unit is configured to receive the first The information of the first resource pool that is sent by the
  • the information about the first resource pool is used to indicate each resource of the at least one resource block.
  • the block is divided into related information of the at least one resource sub-block; the determining unit is further configured to determine, according to the information of the first resource pool, the idle resource sub-block; wherein the idle resource sub-block is the idle resource block And the determining unit is further configured to receive the first resource allocation information sent by the cluster head; and determine the idle resource sub-block according to the first resource allocation information;
  • a resource allocation information is used to indicate a resource sub-block that is used by the cluster head to allocate to the UE for transmitting the resource request message.
  • the sending unit configured to send a resource request message to the cluster head according to the superframe split information
  • the sending unit is configured to send, in the second time frame in the superframe splitting information, the idle resource sub-block determined by the determining unit to the cluster head to carry The medium access control layer control unit MAC CE message of the resource application message.
  • the sending, by the sending unit, the sending a resource request message to the first device includes: The sending unit is configured to send, to the base station, when the receiving unit receives the information about the first resource pool sent by the base station And sending a radio resource control protocol (RRC) message carrying the resource application message; or sending the MA CCE message carrying the resource application message to the base station.
  • RRC radio resource control protocol
  • an embodiment of the present invention provides an apparatus, which is applied to the D2D communication system, and includes: a sending unit, configured to send, to a user equipment UE, information of a first resource pool;
  • the resource pool includes: at least one resource block;
  • a receiving unit configured to receive a resource request message sent by the UE, where the resource request message carries a service type of the application resource, and an idle status message of the at least one resource block, 3 ⁇ 4 And/or the busy state information of the at least one resource block;
  • the sending unit is further configured to: send, according to the resource request message, information about an idle resource block allocated to the UE to the UE, where the idle resource The block is the at least one resource block.
  • the sending unit is further configured to use a time period of a superframe as a period, in a first time frame of the superframe division information. Transmitting the superframe splitting information to the UE; the superframe splitting information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first The time frame is used by the cluster head to send information of the first resource pool, the superframe division information and the frame of the first resource allocation information; the second time frame is that the UE sends the application resource to the cluster head a frame of the message; the third time frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame is that the cluster head sends a cluster head to the UE to allocate a frame of the information of the idle resource block of the UE; the sending, by the sending unit, the information of the first resource pool to the UE, specifically:
  • the method further includes: if the device includes a cluster head, a processing unit, Each resource of at least one resource block in the first resource pool The block is divided into at least one resource sub-block; the sending unit is further configured to send the first resource allocation information to the UE, where the first resource allocation information is used to indicate that the cluster head is allocated to the UE An idle resource sub-block that is used when sending a resource request message.
  • the receiving, by the receiving unit, The device includes a cluster head, and the receiving unit is configured to receive, by using an idle resource sub-block, a media access control layer control unit MAC CE message that is sent by the UE and that carries the resource application message, where the idle resource sub-block is The resource sub-block used by the UE to send the resource request message to the cluster head.
  • the sending unit is configured to: according to the superframe split information and the resource request message, And the sending, by the sending unit, the sending unit, configured to: in the fourth time frame in the superframe splitting information, according to the resource request message,
  • the idle resource sub-block transmits information of the idle resource block allocated to the UE to the UE.
  • the receiving, by the receiving unit, the resource request message sent by the UE includes: if the device includes a base station, the receiving unit, Receiving a radio resource control protocol RRC message that is sent by the UE and carrying the resource application message; or, for receiving the MAC CE message that is sent by the UE and carrying the resource application message.
  • the embodiment of the present invention provides a method for applying for a resource, where the user equipment UE receives the information of the first resource pool sent by the first device, where
  • the first resource pool includes: at least one resource block; the UE determines status information of the at least one resource block; the UE sends a resource request message to the first device, where the resource application message carries an application a service type of the resource, idle state information of the at least one resource block, and/or busy state information of the at least one resource block; the UE receiving information of the idle resource block allocated by the first device to the UE;
  • the information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE, where the idle resource
  • the source block is the at least one resource block.
  • the determining, by the UE, status information of the at least one resource block includes: acquiring, by the UE, power information on the at least one resource block; Whether the power information is greater than the first threshold, if the UE determines that the acquired power information is not greater than the first threshold, the UE determines that the state information of the at least one resource block is an idle state. And determining, by the UE, status information of the at least one resource block as busy status information; or determining, by the UE, that the at least one resource block is greater than the first threshold.
  • a resource block carries a pilot signal
  • the UE determines that state information of the at least one resource block is idle state information
  • the UE determines that status information of the at least one resource block is a busy state. information.
  • the UE before the UE sends the resource application message to the first device, the UE receives the superframe split information sent by the cluster head in a first time frame of the superframe split information, where the superframe split information includes: the first time frame a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first time frame is information for sending the “resource pool” to the cluster head, and the super frame division information and the a frame of resource allocation information; the second time frame is a frame in which the UE sends the application resource message to the cluster head; the third time frame and the fifth time frame are the UE a frame in which the second UE sends data; the fourth time frame is a frame in which the cluster head sends information of an idle resource block allocated by the cluster head to the UE to the UE; and the UE receives the information sent by the first device.
  • the superframe split information includes: the first time frame a second time frame, a third time frame, a fourth time frame, and a
  • the information of the first resource pool includes: the UE And receiving, in a first time frame of the superframe division information, a superframe division information sent by the cluster head, and receiving information of the first resource pool, where the UE is to the first And the sending, by the UE, the resource application message to the cluster head according to the received superframe division information.
  • the information about the first resource pool is used to indicate each resource of the at least one resource block
  • the block is divided into related information of the at least one resource sub-block; before the sending, by the UE, the resource request message to the cluster head according to the received super-frame partitioning information, the method further includes: the UE according to the first resource pool Determining an idle resource sub-block; wherein the idle resource sub-block is one resource sub-block in the idle resource block; or the UE receives the first resource allocation information sent by the cluster head; Determining the idle resource sub-block according to the first resource allocation information.
  • the sending, by the UE, the resource request message to the cluster head according to the received superframe partitioning information includes: Transmitting, by the UE, the media access control layer control unit carrying the resource application message to the cluster head in the second time frame in the superframe split information MAC CE message.
  • the sending, by the UE, the resource request message to the first device includes: Transmitting, by the base station, a radio resource control protocol RRC message carrying the resource request cancellation, when receiving the information of the first resource pool sent by the base station; or sending, by the UE, the carrying There is the MAC CE message of the resource request message.
  • the embodiment of the present invention provides a method for applying for a resource, where the method is applied to the D2D communication system, where: the first device sends information of the first resource pool to the user equipment UE, where A resource pool includes: at least one resource block; the first device receives a resource request message sent by the UE, where the resource request message carries a service type of an application resource, idle state information of at least one resource block, and And/or information of the busy state of the at least one resource block; the first device, according to the received resource request message, sending, to the UE, information of an idle resource block allocated to the UE; where the idle resource block Is the at least one resource block.
  • the method before the receiving, by the first device, the resource request message sent by the UE, the method further includes: if the first device includes a cluster a header, the cluster header sends superframe splitting information to the UE in a first time frame of the superframe splitting information in a period of a superframe; the superframe splitting information includes: a first time frame, a second time a frame, a third time frame, a fourth time frame, and a fifth time frame; wherein the first time frame is information that the first resource pool is sent by the cluster head, the super frame division information and the first resource allocation information
  • the second time frame is a frame in which the UE sends the application resource message to the cluster head; the third time frame and the fifth time frame are data sent by the UE to the second UE.
  • the fourth time frame is a frame in which the cluster head sends information of an idle resource block allocated by the cluster head to the UE to the UE; the first device sends the first resource pool to the UE.
  • the information includes: the cluster head transmits the superframe splitting information to the UE in a first time frame of the superframe splitting information in a period of a superframe, and sends the first resource pool Information; the first device according to the received resource request.
  • the message of the idle resource block allocated to the UE to the UE is: the cluster head sends the allocation to the UE according to the received resource request message and the superframe splitting information.
  • the method before the device sends the information of the first resource pool to the UE, the method further includes: If the device includes a cluster head, the cluster head divides each resource block of at least one resource block in the first resource pool into at least one resource sub-block; and sends, by the device, a first resource pool to the UE. After the information, the method further includes: the cluster head sends the first resource allocation information to the UE, where the first resource allocation information is used to indicate that the cluster head is allocated to the UE for sending a resource request message Free resource sub-block.
  • the receiving, by the first device, the resource application message sent by the UE includes: if the first device includes a cluster head, the cluster head receives, by the idle resource sub-block, a media access control layer control unit MA CCE message that is sent by the UE and carries the resource application message; the idle resource sub-block is the UE A resource sub-block used by the cluster head when transmitting the resource request message.
  • the cluster head according to the superframe division information and the received resource application message, The information that the UE sends the idle resource block allocated to the UE includes: the cluster head according to the received resource request message, in the fourth time frame in the superframe split information, The idle resource sub-block transmits information of the idle resource block allocated to the UE to the UE.
  • the receiving, by the first device, the resource application message sent by the UE includes: if the first device includes a base station, the base station receives the a radio resource control protocol R RC message that is sent by the UE and carries the resource request message; or, the base station receives the MAC CE message that is sent by the UE and carries the resource application message.
  • an embodiment of the present invention provides a user equipment UE, which is applied to the D2D communication system, and includes: a receiver, configured to receive information about a first resource pool sent by a first device;
  • the first resource pool includes: at least one resource block; a processor, configured to determine status information of the at least one resource block; a transmitter, configured to send a resource request message to the first device, where the resource request
  • the message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the receiver is further configured to receive, by the first device, the first device to be allocated to the UE.
  • Information of the idle resource block where the information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE, where the idle resource block is the at least one resource block .
  • the determining, by the processor, the status information of the at least one resource block includes: the processor, configured to acquire power information on the at least one resource block If it is determined that the acquired power information is not greater than the first threshold, determining that the state information of the at least one resource block is idle state information; if it is determined that the obtained power information is greater than the first threshold, Determining, by the processor, determining, by the processor, whether the at least one resource block carries the pilot signal, if the at least one resource block is determined to be Determining the at least one if the pilot signal is not carried The state information of the resource blocks is the idle state information. If it is determined that the at least one resource block carries the pilot signal, determining that the state information of the at least one resource block is the busy state information.
  • the receiver is further configured to use a time period of a superframe as a period Receiving the superframe division information sent by the cluster head in the first time frame of the superframe division information, where the superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein the first time frame is information that the first resource pool is sent by the cluster head, the superframe division information and the first resource allocation information frame; the second time frame is the Sending, by the UE, the frame of the application resource message to the cluster head; the third time frame and the fifth time frame are frames in which the UE sends data to the second UE; The cluster head sends, to the UE, a frame that is allocated by the cluster head to the information of the idle resource block of the UE; the information that the receiver is used to receive the first resource pool sent by the first device includes: the receiver, For
  • the information of the first resource pool is used to indicate each resource of the at least one resource block
  • the block is divided into related information of at least one resource sub-block;
  • the processor is further configured to determine, according to information of the first resource pool, an idle resource sub-block; wherein the idle resource sub-block is the idle resource block a resource sub-block; or the processor, configured to receive the first resource allocation information sent by the cluster head; and determine the idle resource sub-block according to the first resource allocation information, where A resource allocation information is used to indicate a resource sub-block that is used by the cluster head to allocate to the UE for transmitting the resource request message.
  • the sending, the sending, by the sending, the resource request message to the cluster head according to the superframe splitting information includes: the transmitter, configured to be used in the superframe splitting information And transmitting, in the second time frame, the media access control layer control unit MAC CE message carrying the resource application message to the cluster head by using the idle resource sub-block determined by the processor.
  • the sending, by the sending, the sending of the resource application message to the first device includes: The transmitter is configured to: when the receiver receives the information about the first resource pool sent by the base station, send, to the base station, a radio resource control protocol R RC message that carries the resource application message; Or sending, to the base station, the MAC CE message carrying the resource application message.
  • an embodiment of the present invention provides a device, which is applied to the D2D communication system, and includes: a transmitter, configured to send information of a first resource pool to a user equipment UE, where the first The resource pool includes: at least one resource block; a receiver, configured to receive a resource request message sent by the UE, where the resource request message carries a service type of the application resource, idle state information of the at least one resource block, and/or Or the busy state information of the at least one resource block; the transmitter is further configured to: send, according to the resource request message, information about an idle resource block allocated to the UE to the UE, where the idle resource block is The at least one resource block.
  • the transmitter is further configured to use a time period of a superframe as a period, in a first time frame of the superframe division information. Transmitting the superframe splitting information to the UE; the superframe splitting information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first The time frame is used by the cluster head to send information of the first resource pool, the superframe division information and the frame of the first resource allocation information; the second time frame is that the UE sends the application resource to the cluster head a frame of the message; the third time frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame is that the cluster head sends a cluster head to the UE to allocate a frame of information of the idle resource block of the UE; the transmitter is configured to send, to the UE, a specific packet of information of the first resource pool.
  • the method further includes: if the device includes a cluster head, a processor, Each resource block of the at least one resource block in the first resource pool is divided into at least one resource sub-block; the information of the first resource pool is used to indicate that each resource block of the at least one resource block is divided into The information about the at least one resource sub-block; or the transmitter is further configured to send the first resource allocation information to the UE, where the first resource allocation information is used to indicate that the cluster head is allocated to the UE An idle resource sub-block that is used when sending a resource request message.
  • the receiving, by the receiving, the a cluster head, the receiver configured to receive, by using an idle resource sub-block, a media access control layer control unit MAC CE message that is sent by the UE and that carries the resource application message, where the idle resource sub-block is The resource sub-block used by the UE when the resource request message is sent to the cluster head.
  • the transmitter is configured to send, according to the superframe split information and the resource request message, to the UE
  • the information of the idle resource block allocated to the UE includes: the sender, configured to use the idle time in the fourth time frame in the superframe split information according to the resource request message
  • the resource sub-block transmits information of the idle resource block allocated to the UE to the UE.
  • the receiving, by the receiver, the resource request message sent by the UE includes: if the device includes a base station, the receiver, Receiving, by the UE, carrying the capital a radio resource control protocol RRC message of the source application message; or, configured to receive the MAC CE message that is sent by the UE and that carries the resource application message.
  • the embodiment of the present invention provides a system for applying for a resource, which is applied to the D2D communication system, and includes: a user equipment UE and a first device; wherein, the UE is the foregoing embodiment. UE; the first device is the device described in the foregoing embodiment.
  • the embodiment of the present invention provides a method, a device, and a system for requesting a resource.
  • the user equipment UE After receiving the information of the first resource pool sent by the first device, the user equipment UE determines the state of at least one resource block included in the first resource pool. And transmitting, to the first device, a resource application message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block, so that the first device is configured according to the received resource
  • the application message sends the information of the idle resource block allocated to the UE to the UE.
  • the UE receives the information of the idle resource block allocated by the first device and allocated to the UE, so that the UE uses the idle resource block to perform data with the second UE. transmission.
  • the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE.
  • the resource block that is, the UE managed by itself, uses different idle resource blocks to transmit data to the second UE, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission.
  • FIG. 1 is a schematic diagram of functions of a user equipment UE according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of functions of a device according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of functions of another device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of a method for requesting a resource according to an embodiment of the present invention.
  • FIG. 5 is a schematic flow chart of another method for resource application according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic flow chart of another method for resource application according to an embodiment of the present disclosure.
  • FIG. 7 is a structural diagram of superframe division information according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a user equipment UE according to an embodiment of the present invention. Schematic;
  • FIG. 10 is a schematic structural diagram of a system for resource application according to an embodiment of the present invention.
  • the embodiment of the present invention provides a UE (User Equipment), which is applied to a D2D (Device to Device) communication system.
  • the method includes: a receiving unit 101, a determining unit 102, and Transmitting unit 103. among them,
  • the receiving unit 101 is configured to receive information about a first resource pool sent by the first device.
  • the first resource pool is a resource that is allocated when the first device performs D2D communication for the UE, and the information of the first resource pool is used to indicate that the first device performs the foregoing for the UE.
  • the receiving unit 101 before receiving the information of the first resource pool sent by the first device, needs to receive the identifier that is sent by the first device and carries the first device.
  • the receiving unit 101 determines whether the received information of the first resource pool is sent by the base station to the UE or is sent by the cluster head to the UE according to the received message carrying the identification information of the first device. .
  • the identifier information of the first device is the identifier information of the base station, determining that the received information of the first resource pool is sent by the base station to the UE; and determining the identifier information of the first device carried in the information of the first resource pool For the identification information of the cluster head, it is determined that the received information of the first resource pool is sent by the cluster head to the UE.
  • the receiving unit 101 determines that the UE accesses the network itself; if receiving the information of the first resource pool sent by the base station, If the information of the first resource pool sent by the cluster head is received, the UE may determine that the UE accesses the network. If only the information of the first resource pool sent by the cluster head is received, it is determined that the UE does not access the network.
  • the first resource pool indicated by the information of the received first resource pool is pre-configured for the D2D communication by the cluster head.
  • the first resource pool indicated in the received information of the first resource pool is a resource block allocated by the base station to the UE for D2D communication when determining that the UE itself accesses the network.
  • the determining unit 102 is configured to determine status information of the at least one resource block. Specifically, the determining unit 102 is configured to determine status information of at least one resource block included in the first resource pool, and the specific method is as follows:
  • the first method, the determining unit 102 is specifically configured to acquire power information on the at least one resource block, and determine whether the acquired power information is greater than a first threshold.
  • the determining unit 102 needs to at least one resource block included in the first resource pool after learning the first resource pool used by the UE itself for performing D2D communication.
  • the status information on each resource block is determined, that is, the received power information on each resource block of the at least one resource block included in the first resource pool is obtained, and the received power information on each resource block is respectively obtained. Comparing with the preset first threshold, if it is determined that the received power information on the obtained resource block is not greater than the preset first threshold, the received power information is not greater than the preset first gate.
  • the status information of the resource block of the limit is determined to be idle state information. If it is determined that the received power information on the obtained resource block is greater than a preset first threshold, the received power information is greater than a preset first threshold.
  • the status information of the resource block of the value is determined to be busy status information.
  • the determining unit 102 is specifically configured to determine whether a pilot signal is carried on the at least one resource block.
  • the state information of the at least one resource block is idle state information.
  • the pilot signal is carried on the at least one resource block, determining that the status information of the at least one resource block is busy status information.
  • the determining unit 102 after learning the first resource pool used by the UE itself for D2D communication, parsing whether each resource block of at least one resource block included in the first resource pool carries If there is any pilot information, if it is determined that the pilot information is not carried on the resource block, the state information of the resource block that does not carry the pilot information is determined as idle state information; if it is determined that the pilot information is carried on the resource block, Then, the state information carrying the resource block corresponding to the pilot information is determined as the busy state information.
  • the sending unit 1 0 3 is configured to send a resource request message to the first device.
  • the resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the sending unit 1 0 3 may send, to the base station or the cluster head, a service type carrying the application resource, idle state information of the at least one resource block, and/or at least one resource block. Resource request message for busy status information.
  • the sending unit 1 0 3 sends only the service type carrying the application resource and the idle status message of the at least one resource block to the cluster head, 3 ⁇ 4 And/or a resource request message for the busy status information of at least one resource block.
  • the sending unit 103 sends the resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the resource request message of the busy state information of the at least one resource block to the base station, as follows: :
  • the first method the sending unit 103, when the receiving unit 101 receives the information about the first resource pool sent by the base station, is configured to send, to the base station, an RRC that carries the resource application message. (Radio Resource Control, Radio Resource Control Protocol) message.
  • RRC Radio Resource Control, Radio Resource Control Protocol
  • the sending unit 103 may use a service type field in an RRC message to carry a service type of the application resource, and use a resource status field to carry idle state information of at least one resource block and/or at least one resource block.
  • the busy state information so that when the RRC message is sent to the base station by the base station to allocate the RRC message, the service type of the application resource, the idle state information of the at least one resource block, and/or at least The busy status information of a resource block is sent to the base station.
  • the sending unit 103 may use other fields in the RRC message to carry the service type of the application resource and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block. This is not a limitation.
  • the sending unit 103 when the receiving unit 101 receives the information about the first resource pool sent by the base station, is configured to send, to the base station, a MAC that carries the resource application message.
  • CE Media Access Control Control Element
  • the sending unit 103 may carry the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block in the MAC CE message. That is, according to the format of the MAC CE message, the service type of the application resource is carried in the first four bits of the first byte of the MAC CE message, and the idle state information of at least one resource block is carried in the last four bits of the first byte.
  • the state information carrying the resource block in the second byte is all resource blocks of the idle state information; the service type of the application resource is carried in the first four bits of the third byte, and the last four digits of the third byte Carrying the busy state information of at least one resource block, and carrying the resource block in the fourth byte
  • the state information is all the resource blocks of the busy state information, so that when the resource for transmitting the RRC message allocated by the base station to the UE is used to send the MAC CE message to the base station, the service type of the application resource, at least one resource block
  • the idle state information and/or the busy state information of the at least one resource block are transmitted to the base station.
  • the sending unit 103 in the MAC CE message, carries the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block, and may be other methods.
  • the invention is not limited thereto.
  • the sending unit 103 is configured to send, to the cluster head, a MAC CE message carrying the resource application message.
  • the method for the sending unit 103 to send the MAC CE message carrying the resource request message to the cluster head may be similar to the method for sending the MAC CE message carrying the resource request message to the base station.
  • the present invention will not be described again herein.
  • the receiving unit 101 is further configured to receive information about an idle resource block allocated by the first device to the UE.
  • the information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE; the idle resource block is the at least one resource block.
  • the receiving unit 101 sends, in the sending unit 103, the service type carrying the application resource, the idle status information of the at least one resource block, and/or the busy status information of the at least one resource block to the first device.
  • the resource application message After the resource application message, the information about the idle resource block allocated by the first device to the UE is received, and the idle resource block used when sending data to the second UE is learned according to the information of the idle resource block, thereby using the idle resource block and the first
  • the two UEs perform data transmission, and complete communication between the UE and the second UE.
  • the receiving unit 101 may receive information about an idle resource block allocated by the base station or the cluster head to the UE; when it is determined that the network does not access the network, it can only receive The information that the cluster head allocates to the idle resource block of the UE.
  • the receiving unit 101 is further configured to use a time period of a superframe as a week And receiving superframe division information sent by the cluster head in the first time frame of the superframe division information.
  • the superframe splitting information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first time frame is sent by the cluster head a resource pool information, a frame of the superframe division information and the first resource allocation information; the second time frame is a frame in which the UE sends the application resource message to the cluster head; The frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame is that the cluster head sends a cluster resource to the UE to allocate a cluster resource to an idle resource block of the UE.
  • the frame of information is sent by the cluster head a resource pool information, a frame of the superframe division information and the first resource allocation information
  • the second time frame is a frame in which the UE sends the application resource message to the cluster head
  • the frame and the fifth time frame are frames in which the UE sends data to the second UE
  • the fourth time frame is that the cluster head sends a cluster resource
  • the receiving unit 1 0 1 is configured to receive information about the first resource pool sent by the first device, specifically:
  • the receiving unit 1 0 1 is configured to receive the super resource frame splitting information sent by the cluster head in a first time frame of the superframe splitting information in a period of a superframe, and receive the first resource pool. Information.
  • the sending by the sending unit, the sending of the resource request message to the first device, specifically includes: the sending unit 1 0 3, configured to send a resource request message to the cluster according to the superframe dividing information.
  • the information of the first resource pool is further used to indicate that each resource block of the at least one resource block is divided into related information of at least one resource sub-block.
  • the determining unit 1 0 2 is further configured to determine an idle resource sub-block.
  • the determining unit 102 determines two methods for the idle resource sub-block, as follows:
  • the determining unit 102 is further configured to determine, according to information about the first resource pool, an idle resource sub-block.
  • the idle resource sub-block is one resource sub-block in the idle resource block.
  • the determining unit 102 after receiving the information of the first resource pool, parses out that each resource block of the at least one resource block indicated in the information of the first resource pool is divided into at least one resource sub-block. Information, that is, the division information of each resource block of at least one resource block in the first resource pool is obtained, thereby selecting one of the resource blocks An idle resource sub-block, the idle resource sub-block is determined as an idle resource sub-block, and then, in the second time frame in the super-frame splitting information, the idle resource sub-block is used to send to the cluster head A MAC CE message carrying a resource request message.
  • the determining unit 1 0 2 is further configured to receive the first resource allocation information sent by the cluster head, and determine the idle resource sub-block according to the first resource allocation information.
  • the first resource allocation information is used to indicate a resource sub-block that is used by the cluster head to allocate to the UE for sending the resource request message.
  • the determining unit 1 0 after receiving the first resource allocation information sent by the cluster head, parsing the resource sub-blocks used by the UE for transmitting the resource application message in the first resource allocation information And determining the idle resource sub-block, and in the second time frame in the super-frame splitting information, using the idle resource sub-block to send the MAC CE message carrying the resource application message to the cluster head.
  • the sending unit 1 0 3 is configured to send a resource request message to the cluster according to the superframe splitting information, and specifically includes:
  • the sending unit 1 0 3 is configured to send, in the second time frame in the superframe splitting information, the idle resource sub-block determined by the determining unit 102 to the cluster head A MAC CE message carrying the resource request message.
  • the idle resource sub-block is allocated to the UE in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, and is configured to send the a resource sub-block of the resource request message; or in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, the UE is selected in at least one resource sub-block Any resource sub-block.
  • the embodiment of the present invention provides a user equipment (UE), after receiving the information of the first resource pool sent by the first device, the UE determines the state information of the at least one resource block included in the first resource pool, and sends the status information to the first device.
  • UE user equipment
  • Information about the idle resource block of the UE At this time, the UE receives the first device to send.
  • the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE.
  • the resource block that is, the UE managed by itself, uses different idle resource blocks to send data to the second UE, thereby reducing interference of data transmission during D2D data transmission, and improving the accuracy of data transmission.
  • the embodiment of the present invention provides a device, which is applied to a D2D communication system. As shown in FIG. 2, the method includes: a sending unit 201 and a receiving unit 202. among them,
  • the sending unit 201 is configured to send information about the first resource pool to the user equipment UE.
  • the first resource pool is a resource allocated by the device when the device performs device-to-device D2D communication; the information of the first resource pool is used to indicate that the device performs the D2D for the UE Information about resources allocated during communication; the first resource pool includes: at least one resource block; the cluster head is one of a cluster of multiple UEs that communicates with a D2D link, for management Other UEs in the cluster.
  • the sending unit 201 sends the information of the first resource pool to the UE in a broadcast manner, that is, sends information of the resource block used for performing D2D communication to the UE.
  • the sending unit 201 sends the pre-configured information of the resource block used for D2D communication to the UE in a broadcast manner; or when the receiving base station sends the D2D communication. After the information of the used resource block, the sending unit 201 sends the information to the UE.
  • the sending unit 201 may further send a message of the first resource pool to the UE according to other manners, for example, the sending unit 201 sends a message of the first resource pool to the UE in a dedicated signaling manner, and the present invention This is not a limitation.
  • the receiving unit 202 is configured to receive a resource application message sent by the UE.
  • the resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the receiving unit 202 can receive The resource request sent by the UE carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy status message of the at least one resource block, is eliminated.
  • the resource request message sent by the UE and carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block may also be received.
  • the receiving unit 202 is configured to receive a radio resource control protocol R R C message that is sent by the U E and carries the resource request cancellation.
  • the receiving unit 202 receives an RRC message that is sent by the UE and carries the resource application message when the UE sends an RRC message to the base station, and receives the RRC message.
  • the resource request message is parsed in the RRC message, and the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block are further parsed in the resource application message.
  • the receiving unit 202 is configured to receive the MAC CE message that is sent by the UE and that carries the resource application message.
  • the receiving unit 202 receives the MAC CE message that is sent by the UE and carries the resource application message, and parses out the MAC CE message in the MAC CE message when the UE sends the MAC CE message to the base station.
  • the carried resource application message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
  • the receiving unit 202 is configured to receive, by the idle resource sub-block, a media access control layer control unit MAC CE message that is sent by the UE and carries the resource application message.
  • the idle resource sub-block is a resource sub-block used when the UE sends the resource request message to the cluster head.
  • the receiving unit 202 receives, by the idle resource sub-block, the MACCE that is sent by the UE and carries the resource request message, and parses the carried in the MAC CE message.
  • Resource application message further in resource application The message parses the service type of the application resource, the idle state information of the at least one resource block, and/or the busy status information of the at least one resource block.
  • the sending unit 201 is further configured to send, according to the resource application message, information about an idle resource block allocated to the UE to the UE.
  • the idle resource block is the at least one resource block.
  • the sending unit 201 may learn, according to the parsed service type of the application resource, the idle status information of the at least one resource block, and/or the busy status information of the at least one resource block.
  • the resource block state information in the first resource pool for performing D2D communication is busy state information or idle state information, and at least one idle resource block is allocated to the UE in a resource block whose state information of the resource block is idle state information, and is allocated Information for at least one idle resource block of the UE is sent to the UE.
  • the sending unit 201 learns the D2D communication according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the resource block state information in a resource pool is busy state information or idle state information, and allocates at least one idle resource block to the UE in a resource block whose state information of the resource block is idle state information, and allocates at least one to the UE.
  • the information of the idle resource block is sent to the UE.
  • the sending unit 201 may carry information of at least one idle resource block allocated to the UE in a PDCCH (Physical Layer Downlink Control Channel) and send the message to the UE.
  • the information of the at least one idle resource block allocated to the UE may also be carried in the MAC CE message and sent to the UE.
  • the sending unit 201 is further configured to send the superframe splitting information to the UE in a first time frame of the superframe splitting information by using a time length of the superframe as a period
  • the superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame.
  • the first time frame is information that the first resource pool is sent by the cluster head, the superframe division information and the frame of the first resource allocation information, and the second time frame is that the UE is to the cluster.
  • Sending, by the header, a frame of the application resource message; the third time frame and the The fifth time frame is a frame in which the UE sends data to the second UE;
  • the fourth time frame is a frame in which the cluster head sends information of a cluster resource allocated to the idle resource block of the UE by the cluster head to the UE.
  • the information that the sending unit 201 sends to the UE for the first resource pool specifically includes:
  • the sending unit 201 is configured to send the first resource pool when the superframe splitting information is sent to the UE in a first time frame of the superframe splitting information in a period of a time length of the superframe. Information.
  • the sending, by the sending unit 201, the information about the idle resource block allocated to the UE to the UE according to the resource request message includes:
  • the sending unit 201 is configured to send information about an idle resource block allocated to the UE to the UE according to the superframe split information and the resource request message.
  • the device further includes: a processing unit 203. If the device includes a cluster head, the processing unit 203 is configured to divide each resource block of at least one resource block in the first resource pool into at least one resource sub-block.
  • the processing unit 203 needs to allocate each resource block of at least one resource block in the first resource pool before the sending unit 201 sends the information of the first resource pool to the UE.
  • the available bandwidth is divided into equal resource sub-blocks.
  • the processing unit 203 may divide the 5M available bandwidth into equal 25 resource sub-blocks.
  • the available bandwidth of each resource sub-block is 180KHZ.
  • the sending unit 201 is further configured to send first resource allocation information to the UE.
  • the first resource allocation information is used to indicate an idle resource sub-block that is used by the sending unit 201 to allocate a resource request message to the UE.
  • the sending unit 201 is configured to send, according to the superframe splitting information and the resource request message, the information that is allocated to the UE to the idle resource block that is allocated to the UE, specifically:
  • the sending unit 201 is divided in the superframe In the fourth time frame in the information, the idle resource sub-block is used to send information about the idle resource block allocated to the UE to the UE.
  • the sending unit 2 G 1 according to the service type of the application resource parsed by the receiving unit 2 G 2 , the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block, is known.
  • the resource block state information in the first resource pool in which the D 2 D communication is performed is the busy state information or the idle state information, and the UE is allocated at least one idle resource block in the resource block whose state information is the idle state information, and is in the super frame.
  • the idle resource sub-block used when the UE sends the resource request message to the cluster head transmits the information of the at least one idle resource block allocated to the UE to the UE, so that When the UE sends the resource request message to the cluster head, the same idle resource sub-block sends the information of the at least one idle resource block allocated to the UE to the UE, and does not need to carry the identifier information of the UE, thereby saving the resources occupied by the identifier information of the UE.
  • the embodiment of the present invention provides a device, after the device sends a message of the first resource pool to the user equipment UE, so that the UE determines the first resource after receiving the information of the first resource pool sent by the device.
  • Status information of at least one resource block included in the pool and sending, to the device, a resource application message carrying a service type of the application resource, idle state information of the at least one resource block, and/or busy status information of the at least one resource block,
  • the device sends the information of the idle resource block allocated to the UE to the UE according to the received resource request message, so that the UE uses the idle resource block to perform data transmission with the second UE.
  • the two devices can allocate different idleness to the UE managed by the UE according to the state information of the first resource pool reported by the UE.
  • the resource block that is, the UE managed by itself, uses different idle resource blocks to transmit data to the second UE, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission.
  • the embodiment of the present invention provides a resource application method, which is applied to a D 2 D communication system, as shown in FIG. 4, and includes:
  • the UE receives the information of the first resource pool sent by the first device.
  • the first resource pool is a resource that is allocated when the first device performs D 2 D communication for the UE, and the information of the first resource pool is used to indicate that the first device is Information related to resources allocated by the UE when performing the D 2 D communication; the first resource pool includes: at least one resource block; the cluster head is a plurality of UEs that communicate by using a D 2 D link One of the constituent clusters for managing other UEs in the cluster.
  • the UE before receiving the information of the first resource pool sent by the first device, the UE needs to receive the message that the first device sends the identifier information of the first device, so that the UE carries the first device according to the received information.
  • the message of the identification information determines whether the received information of the first resource pool is sent by the base station to the UE or is sent by the cluster head to the UE.
  • the UE determines that the identity information of the first device is the identity information of the base station, the UE determines that the received information of the first resource pool is sent by the base station to the UE; if the UE determines that the identity information of the first device is the identity information of the cluster head Then, the UE determines that the received information of the first resource pool is sent by the cluster head to the UE.
  • the UE determines that the UE accesses the network; if the UE receives the information of the first resource pool sent by the base station, the UE also receives the cluster head transmission. If the information of the first resource pool is used, the UE may also determine that the UE accesses the network. If the UE only receives the information of the first resource pool sent by the cluster head, the UE determines that it does not access the network.
  • the first resource pool indicated by the information of the first resource pool received by the UE is used by the cluster head for pre-configured D 2 D communication.
  • the resource block is used when the UE determines to access the network, and the first resource pool indicated by the information of the first resource pool received by the UE is a resource block allocated by the base station to the UE for D 2 D communication.
  • the UE determines status information of the at least one resource block.
  • the UE determines status information of at least one resource block included in the first resource pool, and the specific method is as follows:
  • the first method the UE acquires power information on the at least one resource block, and determines whether the acquired power information is greater than a first threshold.
  • the UE determines that the acquired power information is not greater than the first threshold, the UE determines that state information of the at least one resource block is idle state information.
  • the UE determines that the acquired power information is greater than the first threshold, then The UE determines that the status information of the at least one resource block is busy status information.
  • the UE needs to determine the state information on each resource block of the at least one resource block included in the first resource pool, that is, the UE. Obtaining received power information on each resource block of the at least one resource block included in the first resource pool, and comparing the received power information on each resource block to a preset first threshold value, If the UE determines that the received power information on the obtained resource block is not greater than the preset first threshold, the UE determines that the status information of the resource block whose received power information is not greater than the preset first threshold is determined to be idle. If the UE determines that the received power information on the obtained resource block is greater than a preset first threshold, the UE determines that the status information of the resource block whose received power information is greater than the preset first threshold is determined as Busy status information.
  • the UE determines whether a pilot signal is carried on the at least one resource block.
  • the UE determines that the pilot signal is not carried on the at least one resource block, the UE determines that state information of the at least one resource block is idle state information.
  • the UE determines that the pilot signal is carried on the at least one resource block, the UE determines that status information of the at least one resource block is busy status information.
  • the UE analyzes whether each resource block of the at least one resource block included in the first resource pool carries the pilot information, if the UE Determining that the pilot information is not carried on the resource block, the UE will not carry the pilot information, and the state information of the resource block corresponding to I. is determined as idle state information; if the UE determines that the pilot information is carried on the resource block, The UE determines the state information carrying the resource block corresponding to the pilot information as the busy state information.
  • the UE sends a resource application message to the first device.
  • the resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the UE may send, to the base station or the cluster head, a resource application that carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • a resource application that carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the UE sends only the resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block to the cluster head.
  • the UE sends the resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block to the base station, as follows:
  • the UE sends an RRC message carrying the resource application message to the base station.
  • the UE may use a service type field in the RRC message to carry the service type of the application resource, and use the resource status field to carry the idle state information of the at least one resource block and/or the busy status information of the at least one resource block. Therefore, when the UE uses the resource allocated for the RRC message allocated by the base station to send the RRC message to the base station, the service type of the application resource, the idle state information of the at least one resource block, and/or the at least one resource block may be used.
  • the busy status information is sent to the base station.
  • the UE may use other fields in the RRC message to carry the service type of the application resource and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block, which is not limited by the present invention. .
  • the UE sends a MAC CE message carrying the resource application message to the base station.
  • the UE may carry the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block in the MAC CE message. That is, according to the format of the MAC CE message, the service type of the application resource is carried in the first four bits of the first byte of the MAC CE message, and the idle state information of at least one resource block is carried in the last four bits of the first byte.
  • the state information carrying the resource block in the second byte is all resource blocks of the idle state information; the service type of the application resource is carried in the first four bits of the third byte, and the last four digits of the third byte Carrying the busy state information of the at least one resource block, and the state information of the resource block in the fourth byte is all the resource blocks of the busy state information, so that the UE allocates resources for transmitting the RRC message to the UE by using the base station,
  • the service for requesting the resource can be Type, the idle state information of the at least one resource block and/or the busy state information of the at least one resource block are sent to the base station.
  • the UE carries the service type of the application resource in the MA CCE message, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block, and may be other methods. Make restrictions.
  • the U E sends an MA C C E message carrying the resource request message to the cluster head.
  • the method for the UE to send the MAC CE message carrying the resource application message to the cluster head may be similar to the method for the UE to send the MAC CE message carrying the resource application message to the base station, and the present invention is similar to the present invention. I will not repeat them here.
  • the UE receives information about an idle resource block allocated by the first device to the UE.
  • the information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE; the idle resource block is the at least one resource block.
  • the first device after transmitting, by the UE, the service type carrying the application resource, the idle state information of the at least one resource block, and/or the resource application message of the busy state information of the at least one resource block, the first device sends the first device according to the received
  • the resource request message is used to allocate the idle resource block to the UE, and the message for allocating the idle resource block is sent to the UE, and the UE receives the information of the idle resource block allocated by the first device to the UE, and learns the second information according to the information of the idle resource block.
  • the UE may receive information about the idle resource block allocated by the base station or the cluster head to the UE; when the UE determines that it does not access the network, the UE can only receive the cluster head allocation. Information for the idle resource block of the UE.
  • the embodiment of the present invention provides a method for requesting a resource.
  • the user equipment UE After receiving the information of the first resource pool sent by the first device, the user equipment UE determines state information of at least one resource block included in the first resource pool, and Transmitting, by the first device, a service type carrying the application resource, idle state information of the at least one resource block, and/or at least one resource block The resource request message of the busy state information, so that the first device sends the information of the idle resource block allocated to the UE to the UE according to the received resource request message.
  • the UE receives the idle resource allocated by the first device and allocated to the UE.
  • the information of the block so that the UE uses the idle resource block to perform data transmission with the second UE.
  • the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE.
  • the resource block that is, the UE managed by itself, uses different idle resource blocks to send data to the second UE, thereby reducing interference of data transmission during D2D data transmission, and improving the accuracy of data transmission.
  • the embodiment of the present invention provides a method for applying for a resource, which is applied to a D2D communication system, as shown in FIG. 5, and includes:
  • the first device sends information about the first resource pool to the UE.
  • the first resource pool is a resource that is allocated when the first device performs D2D communication for the UE, and the information of the first resource pool is used to indicate that the first device performs the foregoing for the UE.
  • the base station sends the information of the first resource pool to the UE in the form of a broadcast, that is, the information about the resource block used for performing the D2D communication is sent to the UE.
  • the cluster head transmits, in a broadcast form, pre-configured information of the resource block used for D2D communication to the UE; or the cluster head receives the resource used by the base station for D2D communication The information of the block is sent to the UE.
  • the base station or the cluster head may also send the message of the first resource pool to the UE according to other manners, for example, the base station or the cluster head sends the message of the first resource pool to the UE in a dedicated signaling manner, which is not Make restrictions.
  • the first device receives a resource application message sent by the UE.
  • the resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the base station or the cluster head may receive the service type of the application resource, the idle state information of the at least one resource block, and/or the busy of the at least one resource block sent by the UE.
  • the cluster head may receive a resource application message sent by the UE carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the base station receives an RRC message that is sent by the UE and carries the resource application message.
  • the base station receives the RRC message that is sent by the UE and carries the resource application message, and parses the carried in the received RRC message, when the UE sends the RRC message to the base station.
  • the resource request message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
  • the base station receives the MAC CE message that is sent by the UE and carries the resource application message.
  • the base station receives the MAC CE message that is sent by the UE and carries the resource application message, and parses the MAC CE message in the MAC CE message when the UE sends the MAC CE message to the base station.
  • the carried resource application message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
  • the cluster head receives, by the idle resource sub-block, a media access control layer control unit M A C C E message that is sent by the UE and carries the resource application message.
  • the idle resource sub-block is a resource sub-block used when the UE sends the resource request message to the cluster head.
  • the resource sub-block used by the UE to send the resource request message to the cluster head receives the MAC CE that is sent by the UE and carries the resource application message. And parsing the carried resource application message in the MAC CE message, and further parsing the service class of the application resource in the resource application message Type, idle state information of at least one resource block and/or busy state information of at least one resource block.
  • the first device sends, according to the received resource application message, information about an idle resource block allocated to the UE to the UE.
  • the idle resource block is the at least one resource block.
  • the base station or the cluster head may be based on the parsed service type of the application resource, the idle status information of the at least one resource block, and/or the busy status information of the at least one resource block.
  • the resource block state information in the first resource pool for performing D 2 D communication is busy state information or idle state information, and allocating at least one idle resource block to the UE in the resource block in which the state information of the resource block is the idle state information And transmitting information of at least one idle resource block allocated to the UE to the UE.
  • the first device includes a cluster head
  • only the cluster head can learn the D 2 D communication according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • a resource block status message in a resource pool which is busy status information or idle status information, and allocates at least one idle resource block to the UE in a resource block whose status information of the resource block is idle status information, and allocates at least one allocated to the UE Information of one idle resource block is sent to the UE.
  • the base station may carry the information of the at least one idle resource block allocated to the UE in the P DC CH and send the information to the UE; or may allocate at least one idle resource allocated to the UE.
  • the information of the block is carried in the MAC CE message and sent to the UE.
  • An embodiment of the present invention provides a method for requesting a resource, after the first device sends a message of the first resource pool to the user equipment UE, so that the UE determines, after receiving the information of the first resource pool sent by the first device, The status information of the at least one resource block included in the first resource pool, and sending, to the first device, a resource carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the application message the first device sends the information of the idle resource block allocated to the UE to the UE according to the received resource application message, so that the UE uses the idle resource block to perform data transmission with the second UE.
  • the two first devices can allocate different idle resource blocks to the UEs managed by the UEs according to the state information of the first resource pool that the UE manages, that is, the UEs managed by the UEs are different.
  • the idle resource block sends data to the second UE, thereby reducing interference of data transmission during D2D data transmission, and improving the accuracy of data transmission.
  • the embodiment of the present invention provides a method for applying for a resource, which is applied to a D2D communication system, as shown in FIG. 6, and includes:
  • the cluster head divides each resource block of at least one resource block in the first resource pool into at least one resource sub-block.
  • the first resource pool is a resource allocated by the first device when performing D2D communication for the UE; the first resource pool includes: at least one resource block; and the cluster head is performed by using a D2D link.
  • One of the clusters of communication consisting of multiple UEs for managing other UEs in the cluster.
  • the cluster head needs to divide the available bandwidth of each resource block of the at least one resource block in the first resource pool into equal resources before sending the information of the first resource pool to the UE. Subblock.
  • the cluster head may divide the available bandwidth of the 5M into equal 25 resource sub-blocks, and then each resource The available bandwidth of the sub-block is 180KHZ.
  • step 601 is performed; if the first device includes the base station, step 602 is directly performed.
  • the first device sends information about the first resource pool to the UE.
  • the UE receives information about the first resource pool sent by the first device.
  • the information of the first resource pool is used to indicate information about resources allocated by the first device when the D2D communication is performed by the UE.
  • the content of the first device is different, and the steps performed are different.
  • the first device includes a cluster head
  • steps 603-607 are performed; in the case where the first device includes a base station, Steps 604, 606-607 are performed.
  • the cluster head sends the first resource allocation information to the UE; the UE receives the first resource allocation information sent by the cluster head.
  • the first resource allocation information is used to indicate an idle resource sub-block that is used by the cluster head to allocate a resource request message to the UE.
  • the cluster head may send the indication to the UE after each resource block of the at least one resource block in the first resource pool is divided into at least one resource sub-block.
  • the first resource allocation information of the idle resource sub-block used by the cluster head is allocated to the UE when the resource request message is sent.
  • the UE receives the first resource allocation information sent by the cluster head. And causing the UE to send a resource request message to the cluster head according to the idle resource sub-block indicated in the first resource allocation information.
  • the UE determines status information of the at least one resource block.
  • step 4 0 2 For details, refer to step 4 0 2, and the present invention is not described herein again.
  • the cluster head sends a superframe splitting information to the UE in a first time frame of the superframe splitting information in a period of a superframe;
  • the superframe division information sent by the cluster head is received in a first time frame of the superframe division information in a period of a superframe.
  • the superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; as shown in FIG. 7, where the first time frame is The cluster head sends information of the first resource pool, the superframe division information and the frame of the first resource allocation information; the second time frame is a frame in which the UE sends the application resource message to the cluster head The third time frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame is that the cluster head sends a cluster head to the UE and allocates to the UE.
  • the frame of information for the idle resource block is shown in FIG. 7, where the first time frame is The cluster head sends information of the first resource pool, the superframe division information and the frame of the first resource allocation information; the second time frame is a frame in which the UE sends the application resource message to the cluster head The third time frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame
  • the cluster head periodically transmits to the UE, including the first time frame, the second time frame, the third time frame, the fourth time frame, and the The superframe division information of the five time frames.
  • the UE receives the superframe division information that is sent by the cluster head, including the first time frame, the second time frame, the third time frame, the fourth time frame, and the fifth time frame.
  • the UE divides information in a superframe by using a time period of a superframe as a period In the first time frame, when receiving the superframe division information sent by the cluster head, the information of the first resource pool is received.
  • the UE sends a resource application message to the first device; the first device receives a resource application message sent by the UE.
  • the resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the sending, by the UE, the resource request message to the first device includes: sending, by the UE, a resource request message to the cluster head according to the received superframe splitting information. .
  • the UE determines an idle resource sub-block, and in the second time frame in the super-frame split information, uses the idle resource sub-block to the cluster
  • the header sends a MAC CE message carrying the resource request message.
  • the idle resource sub-block is allocated to the UE in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, and is configured to send the a resource sub-block of the resource request message; or in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, the UE is selected in at least one resource sub-block Any resource sub-block.
  • the method for the UE to determine the idle resource sub-block is as follows: In the first method, the UE determines the idle resource sub-block according to the received first resource allocation information sent by the cluster head.
  • the UE parses the resource sub-block allocated to the UE for transmitting the resource application message in the first resource allocation information, thereby determining the idle resource sub-block. And then, in the second time frame in the superframe splitting information, the UE sends the MAC CE message carrying the resource request message to the cluster head by using the idle resource subblock.
  • the UE determines the idle resource sub-block according to the information of the first resource pool.
  • the information of the first resource pool is further used to indicate the at least one resource.
  • Each resource block of the source block is divided into related information of at least one resource sub-block.
  • the UE parses the information about each resource block of the at least one resource block indicated by the information in the information of the first resource pool into at least one resource sub-block, that is, the first information is obtained. Decoding information of each resource block of at least one resource block in the resource pool, thereby selecting one idle resource sub-block in one of the resource blocks, and determining the idle resource sub-block as an idle resource sub-block, thereby causing the UE to In the second time frame in the superframe division information, the idle resource sub-block is used to send a MAC CE message carrying the resource application message to the cluster head.
  • the first device sends, according to the received resource application message, information about an idle resource block allocated to the UE to the UE; the UE receives the first device and allocates the information to the UE. Information about the free resource block.
  • the information that the first device sends the idle resource block allocated to the UE to the UE according to the received resource request message includes: if the first device includes a cluster head, the cluster head And transmitting, according to the superframe splitting information and the received resource request message, information about an idle resource block allocated to the UE to the UE.
  • the cluster head sends, according to the received resource application message, the allocated resource sub-block to the UE to allocate to the UE in the fourth time frame in the super-frame split information.
  • Information of the free resource block is not limited to the received resource application message.
  • the cluster head learns the resources in the first resource pool for performing D 2 D communication according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the block status information is busy status information or idle status information
  • at least one idle resource block is allocated to the UE in the resource block whose status information is idle status information, and the UE is used in the fourth time frame in the superframe division information.
  • the embodiment of the present invention provides a method for requesting a resource. After receiving the information of the first resource pool sent by the first device, the user equipment UE determines state information of at least one resource block included in the first resource pool, and The first device sends a resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block, so that the first device sends the message to the UE according to the received resource request message.
  • the information about the idle resource block allocated to the UE is sent.
  • the UE receives the information of the idle resource block allocated by the first device and allocated to the UE, so that the UE uses the idle resource block to perform data transmission with the second UE.
  • the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE.
  • the resource block that is, the UE managed by itself, uses different idle resource blocks to send data to the second UE, thereby reducing interference of data transmission during D2D data transmission, and improving the accuracy of data transmission.
  • the embodiment of the present invention provides a UE, which is applied to a D2D communication system. As shown in FIG. 8, the method includes: a receiver 801, a transmitter 802, a memory 803, and a receiver 801, a transmitter 802, and a memory 803, respectively. Processor 804.
  • a set of program codes is stored in the memory 803, and the processor 804 is used to call the program code stored in the memory 803.
  • Receiver 801, transmitter 802 and processor 804 are used to perform the following operations:
  • the receiver 801 is configured to receive information about a first resource pool sent by the first device.
  • the first resource pool is a resource that is allocated when the first device performs device-to-device D2D communication for the UE, and the information of the first resource pool is used to indicate that the first device is the UE.
  • the receiver 801 before receiving the information of the first resource pool sent by the first device, needs to receive the identifier information that is sent by the first device and carries the first device, so that the receiver 801 receives the To the standard carrying the first device
  • the message identifying the information determines whether the received information of the first resource pool is sent by the base station to the UE or is sent by the cluster head to the UE.
  • the identifier information of the first device is the identifier information of the base station, determining that the received information of the first resource pool is sent by the base station to the UE; and determining the identifier information of the first device carried in the information of the first resource pool For the identification information of the cluster head, it is determined that the received information of the first resource pool is sent by the cluster head to the UE.
  • the receiver 801 only receives the information of the first resource pool sent by the base station, it determines that the UE accesses the network itself; if receiving the information of the first resource pool sent by the base station, If the information of the first resource pool sent by the cluster head is received, the UE may determine that the UE accesses the network. If only the information of the first resource pool sent by the cluster head is received, it is determined that the UE does not access the network.
  • the first resource pool indicated by the information of the received first resource pool is pre-configured for the D2D communication by the cluster head.
  • the first resource pool indicated in the received information of the first resource pool is a resource block allocated by the base station to the UE for D2D communication when determining that the UE itself accesses the network.
  • the processor 804 is configured to determine status information of the at least one resource block. Specifically, the processor 804 has two methods for determining status information of at least one resource block included in the first resource pool, and the specific method is as follows:
  • the first method, the processor 804 is specifically configured to acquire power information on the at least one resource block, and determine whether the acquired power information is greater than a first threshold.
  • the processor 804 needs to perform state information on each resource block of at least one resource block included in the first resource pool after learning the first resource pool used by the UE itself for performing D2D communication.
  • OK that is, to get to include in the first resource pool
  • the second method, the processor 804 is specifically configured to determine whether a pilot signal is carried on the at least one resource block.
  • the state information of the at least one resource block is idle state information.
  • the pilot signal is carried on the at least one resource block, determining that the status information of the at least one resource block is busy status information.
  • the processor 804 after learning the first resource pool used by the UE itself for D2D communication, parsing whether each resource block of at least one resource block included in the first resource pool carries If there is any pilot information, if it is determined that the pilot information is not carried on the resource block, the state information of the resource block that does not carry the pilot information is determined as idle state information; if it is determined that the pilot information is carried on the resource block, Then, the state information carrying the resource block corresponding to the pilot information is determined as the busy state information.
  • the transmitter 80 02 is configured to send a resource request message to the first device.
  • the resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the transmitter 802 may send, to the base station or the cluster head, a service type carrying the application resource, idle state information of the at least one resource block, and/or at least one resource block.
  • the transmitter 802 sends only the service type carrying the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block to the cluster head. Resource application message.
  • the transmitter 802 sends a service carrying the application resource to the base station.
  • a service carrying the application resource There are two methods for the type, the idle state information of at least one resource block, and/or the resource request message of the busy state information of at least one resource block, as follows:
  • the first method when the receiver 810 receives the information of the first resource pool sent by the base station, is configured to send, to the base station, the resource request message Radio Resource Control Protocol RRC message.
  • the transmitter 202 may use a service type field in an RRC message to carry a service type of the application resource, and use a resource status field to carry idle state information and/or at least one resource of the at least one resource block.
  • the busy state information of the block so that when the RRC message is sent to the base station by the base station to allocate the RRC message to the UE, the service type of the application resource, the idle state information of the at least one resource block, and/or The busy status information of at least one resource block is sent to the base station.
  • the transmitter 202 may use other fields in the RRC message to carry the service type of the application resource and the idle status information of the at least one resource block, and/or the busy status information of the at least one resource block.
  • the invention is not limited thereto.
  • the transmitter 802 when the receiver 819 receives the information about the first resource pool sent by the base station, is configured to send, to the base station, the resource request message The MAC CE message.
  • the sender 802 may carry the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block in the MAC CE message. That is, according to the format of the MAC CE message, the service type of the application resource is carried in the first four bits of the first byte of the MAC CE message, and the idle state information of at least one resource block is carried in the last four bits of the first byte.
  • the state information carrying the resource block in the second byte is all resource blocks of the idle state information; the service type of the application resource is carried in the first four bits of the third byte, and the last four digits of the third byte Carrying the busy state information of the at least one resource block, and carrying the state information of the resource block in the fourth byte as all the resource blocks of the busy state information, so as to allocate resources to the UE for transmitting the RRC message in the base station,
  • the base station sends the MAC CE message
  • the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block may be sent to the base station.
  • the transmitter 802 in the MAC CE message carries the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block, and may be other methods.
  • the invention is not limited thereto.
  • the transmitter 802 is configured to send, to the cluster head, a MAC CE message carrying the resource application message.
  • the method for the sender 802 to send the MAC CE message carrying the resource request message to the cluster head may be similar to the method for sending the MAC CE message carrying the resource application message to the base station.
  • the present invention will not be described again herein.
  • the receiver 801 is further configured to receive information about an idle resource block allocated by the first device to the UE.
  • the information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE; the idle resource block is the at least one resource block.
  • the receiver 801 sends, to the first device, the resource that carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy status information of the at least one resource block.
  • the information about the idle resource block allocated by the first device to the UE is received, and the idle resource block used when sending data to the second UE is learned according to the information of the idle resource block, thereby using the idle resource block and the second
  • the UE performs data transmission to complete communication between the UE and the second UE.
  • the receiver 801 may receive information about an idle resource block allocated by the base station or the cluster head to the UE; when it is determined that the network does not access the network, it can only receive The information that the cluster head allocates to the idle resource block of the UE.
  • the receiver 801 is further configured to receive, according to a time length of the superframe, a superframe division information sent by the cluster head in a first time frame of the superframe division information.
  • the superframe splitting information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first time frame is sent by the cluster head ⁇ resource pool information, the superframe division information and the first resource allocation a frame of information; the second time frame is a frame in which the UE sends the application resource message to the cluster head; the third time frame and the fifth time frame are a frame in which the UE transmits data; the fourth time frame is a frame in which the cluster head sends information of an idle resource block allocated by the cluster head to the UE to the UE.
  • the information that is used by the receiver 810 to receive the first resource pool sent by the first device includes:
  • the receiver 810 is configured to receive the superframe division information sent by the cluster head in the first time frame of the superframe division information in a period of the duration of the superframe, and receive the first resource pool. information.
  • the sending, by the transmitter 802, the resource request message to the first device includes: further, the information of the first resource pool is further used to indicate that each resource block of the at least one resource block is divided into Information about at least one resource sub-block.
  • processor 804 is further configured to determine an idle resource sub-block.
  • the processor 804 determines two methods for the idle resource sub-block, as follows:
  • the first method the processor 804 is further configured to determine, according to the information of the first resource pool, an idle resource sub-block.
  • the idle resource sub-block is one resource sub-block in the idle resource block.
  • the processor 8 04 after receiving the information of the first resource pool, parses out that each resource block of the at least one resource block indicated in the information of the first resource pool is divided into at least one resource sub-block.
  • the information that is, the partition information of each resource block of at least one resource block in the first resource pool is obtained, so that one idle resource sub-block is selected in one of the resource blocks, and the idle resource sub-block is determined as the idle resource sub-block.
  • the idle resource subblock is used to send a MAC CE message carrying the resource request message to the cluster head.
  • the second method, the processor 804 is further configured to receive the first resource allocation information sent by the cluster head, and determine the idle resource sub-block according to the first resource allocation information.
  • the first resource allocation information is used to indicate that the cluster head is allocated to the UE for sending the resource.
  • the processor 804 after receiving the first resource allocation information sent by the cluster head, parsing, in the first resource allocation information, the resource sub-blocks used for transmitting the resource application message allocated to the UE, Therefore, the idle resource sub-block is determined, and in the second time frame in the super-frame splitting information, the idle resource sub-block is used to send the MAC CE message carrying the resource application message to the cluster head.
  • the transmitter 80 2 is configured to send, in the second time frame in the superframe splitting information, the idle resource sub-block determined by the processor 804 to the cluster head A MAC CE message carrying the resource request message.
  • the idle resource sub-block is allocated to the UE in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, and is configured to send the a resource sub-block of the resource request message; or in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, the UE is selected in at least one resource sub-block Any resource sub-block.
  • the embodiment of the present invention provides a user equipment (UE), after receiving the information of the first resource pool sent by the first device, the UE determines the state information of the at least one resource block included in the first resource pool, and sends the status information to the first device.
  • UE user equipment
  • the information about the idle resource block of the UE at this time, the UE receives the information of the idle resource block allocated by the first device and allocated to the UE, so that the UE uses the idle resource block to perform data transmission with the second UE.
  • the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE.
  • the resource block that is, the UE managed by itself, uses different idle resource blocks to transmit data to the second UE, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission.
  • the embodiment of the present invention provides a device, which is applied to a D2D communication system. As shown in FIG. 9, the device includes: a transmitter 901, a receiver 902, a memory 903, and a transmitter 901, a receiver 902, and a memory 903, respectively. Processor 904.
  • a set of program codes is stored in the memory 903, and the processor 904 is used to call the program code stored in the memory 903.
  • Transmitter 901, receiver 902 and processor 904 are used to perform the following operations:
  • the transmitter 901 is configured to send information about the first resource pool to the user equipment UE.
  • the first resource pool is a resource allocated by the device when the device performs device-to-device D2D communication; the information of the first resource pool is used to indicate that the device performs the D2D for the UE Information about resources allocated during communication; the first resource pool includes: at least one resource block; the cluster head is one of a cluster of multiple UEs that communicates with a D2D link, for management Other UEs in the cluster.
  • the transmitter 901 sends the information of the first resource pool to the UE in a broadcast manner, that is, sends information of the resource block used for performing D2D communication to the UE.
  • the transmitter 901 transmits, in a broadcast form, pre-configured information for resource blocks used for D2D communication to the UE; or when receiving the base station for D2D communication. After the information of the used resource block, the transmitter 901 sends the information to the UE.
  • the sender 901 may further send a message of the first resource pool to the UE according to other manners, for example, the sender 901 sends a message of the first resource pool to the UE in a dedicated signaling manner. This is not a limitation.
  • the receiver 902 is configured to receive a resource application message sent by the UE.
  • the resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the receiver 902 may receive, by the UE, a service type carrying the application resource, idle state information of the at least one resource block, and/or busy state information of the at least one resource block. Resource application message.
  • the device may also receive the application resource sent by the UE.
  • the receiver 902 is configured to receive a radio resource control protocol RRC message that is sent by the UE and that carries the resource application message.
  • the receiver 902 receives an RRC message that is sent by the UE and carries the resource application message when the UE sends an RRC message to the base station, and receives the RRC message.
  • the resource request message is parsed in the RRC message, and the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block are further parsed in the resource application message.
  • the receiver 902 is configured to receive the MAC CE message that is sent by the UE and that carries the resource request message.
  • the receiver 902 receives the MAC CE message that is sent by the UE and carries the resource request message, and parses the MAC CE message in the MAC CE message when the UE sends the MAC CE message to the base station.
  • the carried resource application message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
  • the receiver 902 is configured to receive, by using an idle resource sub-block, a media access control layer control unit MAC CE message that is sent by the UE and carries the resource application message.
  • the idle resource sub-block is a resource sub-block used when the UE sends the resource request message to the cluster head.
  • the receiver 902 receives, by the idle resource sub-block, the MACCE that is sent by the UE and carries the resource request message, and parses the bearer in the MAC CE message.
  • the resource request message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
  • the transmitter 910 is further configured to send information about an idle resource block allocated to the UE to the UE according to the resource request message.
  • the idle resource block is the at least one resource block.
  • the sender 901 may learn to perform D2D according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the resource block state information in the first resource pool of the communication is the busy state information or the idle state information
  • the UE is allocated at least one idle resource block in the resource block whose state information of the resource block is the idle state information, and is allocated to the UE.
  • Information of at least one idle resource block is transmitted to the UE.
  • the transmitter 901 in the case that the device includes a cluster head, according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the at least one resource block
  • the busy state information, the resource block state information in the first resource pool for performing D2D communication is the busy state information or the idle state information
  • the UE is allocated at least one idle in the resource block whose state information of the resource block is the idle state information.
  • the transmitter 901 may carry information of at least one idle resource block allocated to the UE in the PDCCH and send the information to the UE; or may allocate at least one idle resource allocated to the UE.
  • the information of the block is carried in the MAC CE message and sent to the UE.
  • the transmitter 901 is further configured to send the superframe splitting information to the UE in a first time frame of the superframe splitting information, with a period of a superframe as a period.
  • the superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame.
  • the first time frame is information that the first resource pool is sent by the cluster head, the superframe division information and the frame of the first resource allocation information, and the second time frame is that the UE is to the cluster.
  • the header sends the frame of the application resource message;
  • the third time frame and the fifth time frame are frames in which the UE sends data to the second UE;
  • the fourth time frame is the cluster head to the
  • the UE transmits a frame of information that the cluster head allocates to the idle resource block of the UE.
  • the transmitter 901 is configured to send, to the UE, a specific packet of information of the first resource pool. Includes:
  • the transmitter 901 is configured to send the first resource pool when sending the superframe splitting information to the UE in a first time frame of the superframe splitting information in a period of a superframe. Information.
  • the information that is used by the sender 901 to send the idle resource block allocated to the UE to the UE according to the resource request message includes:
  • the transmitter 901 is configured to send information about an idle resource block allocated to the UE to the UE according to the superframe split information and the resource request message.
  • the processor 904 is configured to divide each resource block of at least one resource block in the first resource pool into at least one resource sub-block.
  • the processor 904 needs to allocate each resource block of at least one resource block in the first resource pool before the transmitter 901 sends the information of the first resource pool to the UE.
  • the available bandwidth is divided into equal resource sub-blocks.
  • the processor 904 may divide the 5M available bandwidth into equal 25 resource sub-blocks.
  • the available bandwidth of each resource sub-block is 180KHZ.
  • the transmitter 901 is further configured to send the first resource allocation information to the UE.
  • the first resource allocation information is used to indicate an idle resource sub-block that is used by the sender 901 to allocate a resource request message to the UE.
  • the information that is used by the transmitter 901 to send the idle resource block allocated to the UE to the UE according to the superframe split information and the resource request message includes:
  • the transmitter 901 according to the resource application message, in the fourth time frame in the superframe split information, send the allocated resource to the UE to the UE in the idle resource sub-block Information about idle resource blocks.
  • the transmitter 901 is configured to perform D2D communication according to the service type of the application resource parsed by the receiver 902, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
  • the resource block status information in the first resource pool is busy status information or idle status information, and the status information is idle.
  • the resource block of the state information allocates at least one idle resource block to the UE, and in the fourth time frame in the superframe split information, the idle resource sub-block used by the UE to send the resource request message to the cluster head to the UE Transmitting information of at least one idle resource block allocated to the UE, such that when the same idle resource sub-block that is used when the UE sends the resource request message to the cluster head transmits information of the at least one idle resource block allocated to the UE to the UE,
  • the identifier information of the UE is not required to be carried, and the resources occupied by the identifier information of the UE are saved.
  • the embodiment of the present invention provides a device, after the device sends a message of the first resource pool to the user equipment UE, so that the UE determines the first resource after receiving the information of the first resource pool sent by the device.
  • Status information of at least one resource block included in the pool and sending, to the device, a resource application message carrying a service type of the application resource, idle state information of the at least one resource block, and/or busy status information of the at least one resource block,
  • the device sends the information of the idle resource block allocated to the UE to the UE according to the received resource request message, so that the UE uses the idle resource block to perform data transmission with the second UE.
  • the two devices can allocate different idleness to the UE managed by the UE according to the state information of the first resource pool reported by the UE.
  • the resource block that is, the UE managed by itself, uses different idle resource blocks to transmit data to the second UE, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission.
  • An embodiment of the present invention provides a system for resource application, as shown in FIG. 10, including: a user equipment UE 1 0 0 1 and a first device 1 0 0 2 . among them,
  • the UE 1 0 0 1 is the UE described in the foregoing embodiment.
  • the first device 1 0 0 2 is the device described in the foregoing embodiment.
  • the embodiment of the present invention provides a method, a device, and a system for requesting a resource, after the device sends a message of the first resource pool to the user equipment UE, so that the UE receives the first resource pool sent by the device.
  • the device After the information, determining status information of the at least one resource block included in the first resource pool, and sending, to the device, the service type carrying the application resource, the idle state information of the at least one resource block, and/or the busy of the at least one resource block
  • the resource request message of the status information the device sends the information of the idle resource block allocated to the UE to the UE according to the received resource application message, so that the UE The idle resource block is used for data transmission with the second UE.
  • the two devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE.
  • the resource block that is, the UE managed by itself, transmits data to the second UE by using different idle resource blocks, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the 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 electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, and may be located in one place or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiment of the present embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included 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 hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read only memory (Re a d-Only lyme), a random access memory (Ra n dom A ccess) Me mo ry (referred to as RAM), disk or optical disc, and other media that can store program code.

Landscapes

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

Abstract

The present invention relates to the field of communications. Provided in an embodiment of the present invention are a resource application method, device and system for reducing the interference on data transmission during device to device (D2D) data transmission and increasing the accuracy of data transmission. The user equipment (UE) comprises: a receiving unit (101) for receiving the information of a first resource pool transmitted by a first device, the first resource pool comprising at least one resource block; a determination unit (102) for determining the status information of the at least one resource block; and a transmitting unit (103) for transmitting the resource application information to the first device; the receiving unit (101) is also used for receiving the information of an idle resource block allocated to the UE by the first device. The present invention is suitable for a UE conducting D2D communication.

Description

一种资源申请的方法、 装置及系统 技术领域  Method, device and system for resource application
本发明涉及通信领域, 尤其涉及一种资源申请的方法、 装置及 系统。  The present invention relates to the field of communications, and in particular, to a method, device and system for resource application.
背景技术 Background technique
D2D ( Device to De v i ce, 设备到设备 ) 技术是 UE ( User Equipment, 用户设备 ) 之间可以在近距离范围内通过直连链路进 行数据传输, 而不需要通过基站进行数据转发的技术。 在 D2D技术 中, 需要通过基站给进行 D2D数据传输的 UE分配资源信息。  The D2D (Device to De V i ce) technology is a technology in which a user equipment (UE) can transmit data through a direct link in a short range without performing data forwarding through a base station. In the D2D technology, it is required to allocate resource information to a UE that performs D2D data transmission through a base station.
在现有技术中, 当某一 UE需要通过 D2D技术向其他 UE传输数 据时, 首先此 UE 需要向为其服务的基站申请传输数据时所需的资 源信息, 即向为其服务的基站发送携带有緩存数据大小的状态报告 消息, 基站在接收到此 UE 发送的状态报告消息后, 根据状态报告 消息中携带的緩存数据大小及 UE的优先级信息给此 UE分配传输数 据时所需的资源信息, 从而使得此 UE 能够釆用此资源信息向其他 UE传输数据。  In the prior art, when a certain UE needs to transmit data to other UEs through the D2D technology, the UE first needs to apply for the resource information required for transmitting data to the base station serving the UE, that is, to send the bearer to the base station serving the UE. A status report message with a buffered data size, after receiving the status report message sent by the UE, the base station allocates resource information required for transmitting data to the UE according to the size of the buffered data and the priority information of the UE carried in the status report message. So that the UE can use this resource information to transmit data to other UEs.
在实现上述资源申请的过程中, 若基站 1 与基站 2为邻基站, 基站 1给 UE1分配资源, 基站 2给 UE2分配资源, 且此时, UE1 与 UE2 所处的地理位置接近时, 由于基站 1 管理的小区的资源可能会 与基站 2管理的小区的资源有部分相同的资源, 则基站 1给 UE1分 配的资源可能会与基站 2给 UE2分配的资源相同, 即 UE1与 UE2釆 用相同的资源与其他 UE进行数据传输, 导致 UE1 向其他 UE发送的 数据与 UE2 向其他 UE发送的数据产生干扰, 从而使得 UE1 与 UE2 发送的数据均不能被其他 UE 正确接收, 从而降低了数据传输的正 确率。  In the process of implementing the foregoing resource request, if the base station 1 and the base station 2 are neighboring base stations, the base station 1 allocates resources to the UE1, and the base station 2 allocates resources to the UE2, and at this time, when the geographical location of the UE1 and the UE2 are close, 1 The resources of the managed cell may be partially the same as the resources of the cell managed by the base station 2. The resource allocated by the base station 1 to the UE1 may be the same as the resource allocated by the base station 2 to the UE2, that is, the UE1 and the UE2 use the same resource. The data is transmitted between the UE and other UEs, causing the data sent by the UE1 to other UEs to interfere with the data sent by the UE2 to other UEs, so that the data sent by the UE1 and the UE2 cannot be correctly received by other UEs, thereby reducing the correct data transmission. rate.
发明内容 Summary of the invention
本发明的实施例提供了一种资源申请的方法、 装置及系统, 用 于在 D2D数据传输时降低数据传输的干扰, 从而提高数据传输的正 确率。 Embodiments of the present invention provide a method, device, and system for resource application, which are used to reduce interference of data transmission during D2D data transmission, thereby improving positive data transmission. Confirmation rate.
为达到上述目 的, 本发明的实施例釆用如下技术方案:  In order to achieve the above object, the embodiment of the present invention uses the following technical solutions:
第一方面, 本发明实施例提供了一种用户设备 UE , 应用于设备 到设备 D 2 D通信系统中, 包括: 接收单元, 用于接收第一设备发送 的第一资源池的信息; 其中, 所述第一资源池包括: 至少一个资源 块; 确定单元, 用于确定所述至少一个资源块的状态信息; 发送单 元, 用于向所述第一设备发送资源申请消息; 其中, 所述资源申请 消息中携带有申请资源的业务类型、 至少一个资源块的空闲状态信 息和 /或至少一个资源块的忙状态信息; 所述接收单元, 还用于接 收所述第一设备分配给所述 UE 的空闲资源块的信息; 其中, 所述 空闲资源块的信息用于指示所述 UE釆用所述空闲资源块与第二 UE 进行数据传输; 其中, 所述空闲资源块为所述至少一个资源块。  In a first aspect, an embodiment of the present invention provides a user equipment UE, which is applied to a device-to-device D2D communication system, and includes: a receiving unit, configured to receive information about a first resource pool sent by a first device; The first resource pool includes: at least one resource block; a determining unit, configured to determine status information of the at least one resource block; and a sending unit, configured to send a resource request message to the first device, where the resource The application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block. The receiving unit is further configured to receive, by the first device, the UE to be allocated to the UE. Information of the idle resource block, where the information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE, where the idle resource block is the at least one resource Piece.
在第一方面的第一种可能的实现方式中, 所述确定单元用于确 定所述至少一个资源块的状态信息具体包括: 所述确定单元, 用于 获取所述至少一个资源块上的功率信息; 若确定获取的所述功率信 息不大于第一门限值, 则确定所述至少一个资源块的状态信息为空 闲状态信息; 若确定获取的所述功率信息大于所述第一门限值, 则 确定所述至少一个资源块的状态信息为忙状态信息; 或者, 所述确 定单元, 具体用于确定所述至少一个资源块上是否携带有导频信 号, 若确定所述至少一个资源块上没有携带所述导频信号, 则确定 所述至少一个资源块的状态信息为空闲状态信息; 若确定所述至少 一个资源块上携带有所述导频信号, 则确定所述至少一个资源块的 状态信息为忙状态信息。  In a first possible implementation manner of the first aspect, the determining, by the determining unit, the determining, by the determining unit, the determining, by the determining unit, the acquiring, And determining, if the obtained power information is not greater than the first threshold, determining that the status information of the at least one resource block is idle state information; and determining that the acquired power information is greater than the first threshold And determining, by the determining unit, whether the at least one resource block carries a pilot signal, and if the at least one resource block is determined, Determining, by the pilot signal, the state information of the at least one resource block is idle state information; if it is determined that the at least one resource block carries the pilot signal, determining the at least one resource block The status information is busy status information.
结合第一方面, 或第一方面的第一种可能的实现方式, 在第一 方面的第二种可能的实现方式中, 所述接收单元, 还用于以超帧的 时间长度为周期, 在超帧划分信息的第一时间帧内接收簇头发送的 超帧划分信息; 其中, 所述超帧划分信息包括: 第一时间帧, 第二 时间帧, 第三时间帧, 第四时间帧及第五时间帧; 其中, 所述第一 时间帧为所述簇头发送第一资源池的信息, 所述超帧划分信息及第 一资源分配信息的帧; 所述第二时间帧为所述 UE 向所述簇头发送 所述申请资源消息的帧; 所述第三时间帧及所述第五时间帧为所述 UE 向所述第二 UE发送数据的帧; 所述第四时间帧为所述簇头向所 述 UE发送簇头分配给所述 UE的空闲资源块的信息的帧; 所述接收 单元用于接收第一设备发送的第一资源池的信息具体包括: 所述接 收单元, 用于以超帧的时间长度为周期在超帧划分信息的第一时间 帧内, 在接收簇头发送的超帧划分信息时, 并接收所述第一资源池 的信息; 所述发送单元用于向所述第一设备发送资源申请消息具体包括: 所述发送单元, 用于根据所述超帧划分信息向所述簇头发送资源申 请消息。 With reference to the first aspect, or the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the receiving unit is further configured to use a time period of a superframe as a period Receiving the superframe division information sent by the cluster head in the first time frame of the superframe division information, where the superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame, where the first time frame is information that the first resource pool is sent by the cluster head, and the super frame division information and the first a frame of resource allocation information; the second time frame is a frame in which the UE sends the application resource message to the cluster head; the third time frame and the fifth time frame are the UE a frame in which the second UE transmits data; the fourth time frame is a frame in which the cluster head sends information of an idle resource block allocated by the cluster head to the UE to the UE; the receiving unit is configured to receive the first The information of the first resource pool that is sent by the device specifically includes: the receiving unit, configured to: when receiving the superframe division information sent by the cluster head in the first time frame of the superframe division information by using the time length of the superframe as a period And receiving the information of the first resource pool, where the sending, by the sending unit, the sending, by the sending, the resource requesting message, the sending unit, is configured to: send, according to the superframe, information to the cluster head Send a resource request message.
结合第一方面的第二种可能的实现方式, 在第一方面的第三种 可能的实现方式中, 所述第一资源池的信息, 用于指示出所述至少 一个资源块的每个资源块划分为至少一个资源子块的相关信息; 所 述确定单元, 还用于根据所述第一资源池的信息, 确定空闲资源子 块; 其中, 所述空闲资源子块为所述空闲资源块中的一个资源子块; 或者, 所述确定单元, 还用于接收所述簇头发送的第一资源分配信 息; 并根据所述第一资源分配信息确定所述空闲资源子块; 其中, 第一资源分配信息用于指示簇头分配给 UE 的用于发送资源申请消 息时釆用的资源子块。  With reference to the second possible implementation of the first aspect, in a third possible implementation manner of the first aspect, the information about the first resource pool is used to indicate each resource of the at least one resource block. The block is divided into related information of the at least one resource sub-block; the determining unit is further configured to determine, according to the information of the first resource pool, the idle resource sub-block; wherein the idle resource sub-block is the idle resource block And the determining unit is further configured to receive the first resource allocation information sent by the cluster head; and determine the idle resource sub-block according to the first resource allocation information; A resource allocation information is used to indicate a resource sub-block that is used by the cluster head to allocate to the UE for transmitting the resource request message.
结合第一方面的第三种可能的实现方式, 在第一方面的第四种 可能的实现方式中, 所述发送单元, 用于根据所述超帧划分信息向 所述簇头发送资源申请消息具体包括: 所述发送单元, 用于在所述 超帧划分信息中的所述第二时间帧内, 釆用所述确定单元确定的所 述空闲资源子块向所述簇头发送携带有所述资源申请消息的媒体 接入控制层控制单元 MAC C E消息。  With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the sending unit, configured to send a resource request message to the cluster head according to the superframe split information The sending unit is configured to send, in the second time frame in the superframe splitting information, the idle resource sub-block determined by the determining unit to the cluster head to carry The medium access control layer control unit MAC CE message of the resource application message.
结合第一方面, 或第一方面的第一种可能的实现方式, 在第一 方面的第五种可能的实现方式中, 所述发送单元用于向所述第一设 备发送资源申请消息具体包括: 所述发送单元, 用于在所述接收单 元接收到所述基站发送的所述第一资源池的信息时, 向所述基站发 送携带有所述资源申请消息的无线资源控制协议 RRC消息; 或者, 向所述基站发送携带有所述资源申请消息的所述 MA C C E消息。 With reference to the first aspect, or the first possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the sending, by the sending unit, the sending a resource request message to the first device includes: The sending unit is configured to send, to the base station, when the receiving unit receives the information about the first resource pool sent by the base station And sending a radio resource control protocol (RRC) message carrying the resource application message; or sending the MA CCE message carrying the resource application message to the base station.
第二方面, 本发明实施例提供了一种设备, 应用于所述 D 2 D通 信系统中, 包括: 发送单元, 用于向用户设备 UE 发送第一资源池 的信息; 其中, 所述第一资源池包括: 至少一个资源块; 接收单元, 用于接收所述 U E 发送的资源申请消息; 其中, 所述资源申请消息 中携带有申请资源的业务类型、 至少一个资源块的空闲状态信 , ¾和 /或至少一个资源块的忙状态信息; 所述发送单元, 还用于根据所 述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信 息; 其中, 所述空闲资源块为所述至少一个资源块。  In a second aspect, an embodiment of the present invention provides an apparatus, which is applied to the D2D communication system, and includes: a sending unit, configured to send, to a user equipment UE, information of a first resource pool; The resource pool includes: at least one resource block; a receiving unit, configured to receive a resource request message sent by the UE, where the resource request message carries a service type of the application resource, and an idle status message of the at least one resource block, 3⁄4 And/or the busy state information of the at least one resource block; the sending unit is further configured to: send, according to the resource request message, information about an idle resource block allocated to the UE to the UE, where the idle resource The block is the at least one resource block.
在第二方面的第一种可能的实现方式中,若所述设备包括簇头, 所述发送单元, 还用于以超帧的时间长度为周期, 在超帧划分信息 的第一时间帧内, 向所述 UE 发送超帧划分信息; 所述超帧划分信 息包括: 第一时间帧, 第二时间帧, 第三时间帧, 第四时间帧及第 五时间帧; 其中, 所述第一时间帧为所述簇头发送第一资源池的信 息, 所述超帧划分信息及第一资源分配信息的帧; 所述第二时间帧 为所述 UE 向所述簇头发送所述申请资源消息的帧; 所述第三时间 帧及所述第五时间帧为所述 UE向第二 UE发送数据的帧; 所述第四 时间帧为所述簇头向所述 UE发送簇头分配给所述 U E的空闲资源块 的信息的帧; 所述发送单元用于向所述 UE 发送第一资源池的信息 具体包括: 所述发送单元, 用于以超帧的时间长度为周期在超帧划 分信息的第一时间帧内, 在向所述 UE 发送所述超帧划分信息时, 并发送所述第一资源池的信息; 所述发送单元根据所述资源申请消 息, 向所述 UE发送分配给所述 UE的空闲资源块的信息具体包括: 所述发送单元, 用于根据所述超帧划分信息及所述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息。  In a first possible implementation manner of the second aspect, if the device includes a cluster head, the sending unit is further configured to use a time period of a superframe as a period, in a first time frame of the superframe division information. Transmitting the superframe splitting information to the UE; the superframe splitting information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first The time frame is used by the cluster head to send information of the first resource pool, the superframe division information and the frame of the first resource allocation information; the second time frame is that the UE sends the application resource to the cluster head a frame of the message; the third time frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame is that the cluster head sends a cluster head to the UE to allocate a frame of the information of the idle resource block of the UE; the sending, by the sending unit, the information of the first resource pool to the UE, specifically: the sending unit, configured to use a superframe in a period of a superframe First time frame for dividing information Transmitting, by the UE, the information about the first resource pool when transmitting the superframe splitting information to the UE; the sending unit, according to the resource request message, sending, to the UE, an idle resource allocated to the UE The information of the block specifically includes: the sending unit, configured to send information about an idle resource block allocated to the UE to the UE according to the superframe splitting information and the resource request message.
结合第二方面, 或第二方面的第一种可能的实现方式, 在第二 方面的第二种可能的实现方式中, 还包括: 若所述设备包括簇头, 处理单元, 用于将所述第一资源池中的至少一个资源块的每个资源 块划分为至少一个资源子块; 所述发送单元, 还用于向所述 UE 发 送第一资源分配信息; 所述第一资源分配信息用于指示所述簇头分 配给所述 UE的用于发送资源申请消息时釆用的空闲资源子块。 With reference to the second aspect, or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the method further includes: if the device includes a cluster head, a processing unit, Each resource of at least one resource block in the first resource pool The block is divided into at least one resource sub-block; the sending unit is further configured to send the first resource allocation information to the UE, where the first resource allocation information is used to indicate that the cluster head is allocated to the UE An idle resource sub-block that is used when sending a resource request message.
结合第二方面的第二种可能的实现方式, 在第二方面的第三种 可能的实现方式中, 所述接收单元用于接收所述 U E 发送的所述资 源申请消息具体包括: 若所述设备包括簇头, 所述接收单元, 用于 通过空闲资源子块接收所述 UE 发送的携带有所述资源申请消息的 媒体接入控制层控制单元 MAC C E 消息; 所述空闲资源子块为所述 U E向所述簇头发送所述资源申请消息时釆用的资源子块。  With the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, the receiving, by the receiving unit, The device includes a cluster head, and the receiving unit is configured to receive, by using an idle resource sub-block, a media access control layer control unit MAC CE message that is sent by the UE and that carries the resource application message, where the idle resource sub-block is The resource sub-block used by the UE to send the resource request message to the cluster head.
结合第二方面的第三种可能的实现方式, 在第二方面的第四种 可能的实现方式中, 所述发送单元用于根据所述超帧划分信息及所 述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信 息具体包括: 所述发送单元, 用于根据所述资源申请消息, 在所述 超帧划分信息中的所述第四时间帧内, 釆用所述空闲资源子块向所 述 UE发送分配给所述 UE 的所述空闲资源块的信息。  With the third possible implementation of the second aspect, in a fourth possible implementation manner of the second aspect, the sending unit is configured to: according to the superframe split information and the resource request message, And the sending, by the sending unit, the sending unit, configured to: in the fourth time frame in the superframe splitting information, according to the resource request message, The idle resource sub-block transmits information of the idle resource block allocated to the UE to the UE.
结合第二方面, 在第二方面的第五种可能的实现方式中, 所述 接收单元用于接收所述 UE 发送的资源申请消息具体包括: 若所述 设备包括基站, 所述接收单元, 用于接收所述 UE 发送的携带有所 述资源申请消息的无线资源控制协议 RRC消息; 或者, 用于接收所 述 UE发送的携带有所述资源申请消息的所述 MAC C E消息。  With reference to the second aspect, in a fifth possible implementation manner of the second aspect, the receiving, by the receiving unit, the resource request message sent by the UE includes: if the device includes a base station, the receiving unit, Receiving a radio resource control protocol RRC message that is sent by the UE and carrying the resource application message; or, for receiving the MAC CE message that is sent by the UE and carrying the resource application message.
第三方面, 本发明实施例提供了一种资源申请的方法, 应用于 所述 D 2 D通信系统中, 包括: 用户设备 UE接收第一设备发送的第 一资源池的信息; 其中, 所述第一资源池包括: 至少一个资源块; 所述 UE确定所述至少一个资源块的状态信息; 所述 U E向所述第一 设备发送资源申请消息; 其中, 所述资源申请消息中携带有申请资 源的业务类型、 至少一个资源块的空闲状态信息和 /或至少一个资 源块的忙状态信息; 所述 UE接收所述第一设备分配给所述 U E的空 闲资源块的信息; 其中, 所述空闲资源块的信息用于指示所述 UE 釆用所述空闲资源块与第二 UE 进行数据传输; 其中, 所述空闲资 源块为所述至少一个资源块。 In a third aspect, the embodiment of the present invention provides a method for applying for a resource, where the user equipment UE receives the information of the first resource pool sent by the first device, where The first resource pool includes: at least one resource block; the UE determines status information of the at least one resource block; the UE sends a resource request message to the first device, where the resource application message carries an application a service type of the resource, idle state information of the at least one resource block, and/or busy state information of the at least one resource block; the UE receiving information of the idle resource block allocated by the first device to the UE; The information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE, where the idle resource The source block is the at least one resource block.
在第三方面的第一种可能的实现方式中,所述 UE确定所述至少 一个资源块的状态信息包括: 所述 UE 获取所述至少一个资源块上 的功率信息; 所述 UE 确定获取的所述功率信息是否大于第一门限 值, 若所述 UE 确定获取的所述功率信息不大于所述第一门限值, 则所述 UE 确定所述至少一个资源块的状态信息为空闲状态信息; 若所述 UE 确定获取的所述功率信息大于所述第一门限值, 则所述 UE确定所述至少一个资源块的状态信息为忙状态信息; 或者, 所述 UE确定所述至少一个资源块上是否携带有导频信号, 若所述 UE确 定所述至少一个资源块上没有携带所述导频信号, 则所述 UE 确定 所述至少一个资源块的状态信息为空闲状态信息; 若所述 UE 确定 所述至少一个资源块上携带有所述导频信号, 则所述 U E 确定所述 至少一个资源块的状态信息为忙状态信息。  In a first possible implementation manner of the third aspect, the determining, by the UE, status information of the at least one resource block includes: acquiring, by the UE, power information on the at least one resource block; Whether the power information is greater than the first threshold, if the UE determines that the acquired power information is not greater than the first threshold, the UE determines that the state information of the at least one resource block is an idle state. And determining, by the UE, status information of the at least one resource block as busy status information; or determining, by the UE, that the at least one resource block is greater than the first threshold. Whether a resource block carries a pilot signal, and if the UE determines that the pilot signal is not carried on the at least one resource block, the UE determines that state information of the at least one resource block is idle state information; If the UE determines that the pilot signal is carried on the at least one resource block, the UE determines that status information of the at least one resource block is a busy state. information.
结合第三方面, 或第三方面的第一种可能的实现方式, 在第三 方面的第二种可能的实现方式中, 在所述 UE 向所述第一设备发送 资源申请消息之前, 还包括: 所述 UE 以超帧的时间长度为周期, 在超帧划分信息的第一时间帧内接收所述簇头发送的超帧划分信 息; 其中, 所述超帧划分信息包括: 第一时间帧, 第二时间帧, 第 三时间帧, 第四时间帧及第五时间帧; 其中, 所述第一时间帧为所 述簇头发送第 ―资源池的信息, 所述超帧划分信息及第一资源分配 信息的帧; 所述第二时间帧为所述 UE 向所述簇头发送所述申请资 源消息的帧; 所述第三时间帧及所述第五时间帧为所述 UE 向所述 第二 UE发送数据的帧; 所述第四时间帧为所述簇头向所述 UE发送 簇头分配给所述 UE的空闲资源块的信息的帧; 所述 U E接收第一设 备发送的第一资源池的信息包括: 所述 UE 以超帧的时间长度为周 期在超帧划分信息的第一时间帧内, 在接收簇头发送的超帧划分信 息时, 并接收所述第一资源池的信息; 所述 U E 向所述第一设备发 送资源申请消息包括: 所述 UE 根据接收到的所述超帧划分信息向 所述簇头发送资源申请消息。 结合第三方面的第二种可能的实现方式, 在第三方面的第三种 可能的实现方式中, 所述第一资源池的信息, 用于指示出所述至少 一个资源块的每个资源块划分为至少一个资源子块的相关信息; 在 所述 U E 根据接收到的所述超帧划分信息向所述簇头发送资源申请 消息之前还包括: 所述 UE 根据所述第一资源池的信息, 确定空闲 资源子块; 其中, 所述空闲资源子块为所述空闲资源块中的一个资 源子块; 或者, 所述 UE 接收所述簇头发送的第一资源分配信息; 所述 U E根据所述第一资源分配信息确定所述空闲资源子块。 With the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, before the UE sends the resource application message to the first device, The UE receives the superframe split information sent by the cluster head in a first time frame of the superframe split information, where the superframe split information includes: the first time frame a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first time frame is information for sending the “resource pool” to the cluster head, and the super frame division information and the a frame of resource allocation information; the second time frame is a frame in which the UE sends the application resource message to the cluster head; the third time frame and the fifth time frame are the UE a frame in which the second UE sends data; the fourth time frame is a frame in which the cluster head sends information of an idle resource block allocated by the cluster head to the UE to the UE; and the UE receives the information sent by the first device. The information of the first resource pool includes: the UE And receiving, in a first time frame of the superframe division information, a superframe division information sent by the cluster head, and receiving information of the first resource pool, where the UE is to the first And the sending, by the UE, the resource application message to the cluster head according to the received superframe division information. With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the information about the first resource pool is used to indicate each resource of the at least one resource block The block is divided into related information of the at least one resource sub-block; before the sending, by the UE, the resource request message to the cluster head according to the received super-frame partitioning information, the method further includes: the UE according to the first resource pool Determining an idle resource sub-block; wherein the idle resource sub-block is one resource sub-block in the idle resource block; or the UE receives the first resource allocation information sent by the cluster head; Determining the idle resource sub-block according to the first resource allocation information.
结合第三方面的第三种可能的实现方式, 在第三方面的第四种 可能的实现方式中, 所述 UE 根据接收到的所述超帧划分信息向所 述簇头发送资源申请消息包括: 所述 UE 在所述超帧划分信息中的 所述第二时间帧内, 釆用所述空闲资源子块向所述簇头发送携带有 所述资源申请消息的媒体接入控制层控制单元 MAC C E消息。  With the third possible implementation of the third aspect, in a fourth possible implementation manner of the third aspect, the sending, by the UE, the resource request message to the cluster head according to the received superframe partitioning information includes: Transmitting, by the UE, the media access control layer control unit carrying the resource application message to the cluster head in the second time frame in the superframe split information MAC CE message.
结合第三方面, 或第三方面的第一种可能的实现方式, 在第三 方面的第五种可能的实现方式中, 所述 UE 向所述第一设备发送资 源申请消息包括: 所述 UE 在接收到所述基站发送的所述第一资源 池的信息时, 向所述基站发送携带有所述资源申请消 , 的无线资源 控制协议 RRC 消息; 或者, 所述 UE 向所述基站发送携带有所述资 源申请消息的所述 MAC C E消息。  With the third aspect, or the first possible implementation manner of the third aspect, in a fifth possible implementation manner of the third aspect, the sending, by the UE, the resource request message to the first device includes: Transmitting, by the base station, a radio resource control protocol RRC message carrying the resource request cancellation, when receiving the information of the first resource pool sent by the base station; or sending, by the UE, the carrying There is the MAC CE message of the resource request message.
第四方面, 本发明实施例提供了一种资源申请的方法, 应用于 所述 D 2 D通信系统中, 包括: 第一设备向用户设备 UE发送第一资 源池的信息; 其中, 所述第一资源池包括: 至少一个资源块; 所述 第一设备接收所述 UE 发送的资源申请消息; 其中, 所述资源申请 消息中携带有申请资源的业务类型、 至少一个资源块的空闲状态信 息和 /或至少一个资源块的忙状态信息; 所述第一设备根据接收到 的所述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块 的信息; 其中, 所述空闲资源块为所述至少一个资源块。  In a fourth aspect, the embodiment of the present invention provides a method for applying for a resource, where the method is applied to the D2D communication system, where: the first device sends information of the first resource pool to the user equipment UE, where A resource pool includes: at least one resource block; the first device receives a resource request message sent by the UE, where the resource request message carries a service type of an application resource, idle state information of at least one resource block, and And/or information of the busy state of the at least one resource block; the first device, according to the received resource request message, sending, to the UE, information of an idle resource block allocated to the UE; where the idle resource block Is the at least one resource block.
在第四方面的第一种可能的实现方式中, 所述第一设备接收所 述 UE 发送的资源申请消息之前, 还包括: 若所述第一设备包括簇 头, 所述簇头以超帧的时间长度为周期在超帧划分信息的第一时间 帧内向所述 UE 发送超帧划分信息; 所述超帧划分信息包括: 第一 时间帧, 第二时间帧, 第三时间帧, 第四时间帧及第五时间帧; 其 中, 所述第一时间帧为所述簇头发送第一资源池的信息, 所述超帧 划分信息及第一资源分配信息的帧; 所述第二时间帧为所述 UE 向 所述簇头发送所述申请资源消息的帧; 所述第三时间帧及所述第五 时间帧为所述 UE向第二 UE发送数据的帧; 所述第四时间帧为所述 簇头向所述 UE发送簇头分配给所述 UE的空闲资源块的信息的帧; 所述第一设备向所述 UE 发送第一资源池的信息包括: 所述簇头以 超帧的时间长度为周期在超帧划分信息的第一时间帧内, 在向所述 UE发送所述超帧划分信息时, 并发送所述第一资源池的信息; 所述 第一设备根据接收到的所述资源申请消息, 向所述 UE 发送分配给 所述 U E 的空闲资源块的信息包括: 所述簇头根据接收到的所述资 源申请消息及所述超帧划分信息, 向所述 UE发送分配给所述 UE的 空闲资源块的信息。 In a first possible implementation manner of the fourth aspect, before the receiving, by the first device, the resource request message sent by the UE, the method further includes: if the first device includes a cluster a header, the cluster header sends superframe splitting information to the UE in a first time frame of the superframe splitting information in a period of a superframe; the superframe splitting information includes: a first time frame, a second time a frame, a third time frame, a fourth time frame, and a fifth time frame; wherein the first time frame is information that the first resource pool is sent by the cluster head, the super frame division information and the first resource allocation information The second time frame is a frame in which the UE sends the application resource message to the cluster head; the third time frame and the fifth time frame are data sent by the UE to the second UE. The fourth time frame is a frame in which the cluster head sends information of an idle resource block allocated by the cluster head to the UE to the UE; the first device sends the first resource pool to the UE. The information includes: the cluster head transmits the superframe splitting information to the UE in a first time frame of the superframe splitting information in a period of a superframe, and sends the first resource pool Information; the first device according to the received resource request The message of the idle resource block allocated to the UE to the UE is: the cluster head sends the allocation to the UE according to the received resource request message and the superframe splitting information. Information about the idle resource block of the UE.
结合第四方面, 或第四方面的第一种可能的实现方式, 在第四 方面的第二种可能的实现方式中, 在所述设备向 U E 发送第一资源 池的信息之前, 还包括: 若所述设备包括簇头, 所述簇头将所述第 一资源池中的至少一个资源块的每个资源块划分为至少一个资源 子块; 在所述设备向 UE 发送第一资源池的信息之后, 还包括: 所 述簇头向所述 U E 发送第一资源分配信息; 所述第一资源分配信息 用于指示所述簇头分配给所述 UE 的用于发送资源申请消息时釆用 的空闲资源子块。  With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, before the device sends the information of the first resource pool to the UE, the method further includes: If the device includes a cluster head, the cluster head divides each resource block of at least one resource block in the first resource pool into at least one resource sub-block; and sends, by the device, a first resource pool to the UE. After the information, the method further includes: the cluster head sends the first resource allocation information to the UE, where the first resource allocation information is used to indicate that the cluster head is allocated to the UE for sending a resource request message Free resource sub-block.
结合第四方面的第二种可能的实现方式, 在第四方面的第三种 可能的实现方式中, 所述第一设备接收所述 U E 发送的资源申请消 息包括: 若所述第一设备包括簇头, 所述簇头通过空闲资源子块接 收所述 UE 发送的携带有所述资源申请消息的媒体接入控制层控制 单元 MA C C E消息; 所述空闲资源子块为所述 UE向所述簇头发送所 述资源申请消息时釆用的资源子块。 结合第四方面的第三种可能的实现方式, 在第四方面的第四种 可能的实现方式中, 所述簇头根据所述超帧划分信息及接收到的所 述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信 息包括: 所述簇头根据接收到的所述资源申请消息, 在所述超帧划 分信息中的所述第四时间帧内, 釆用所述空闲资源子块向所述 UE 发送分配给所述 UE 的所述空闲资源块的信息。 With the second possible implementation of the fourth aspect, in a third possible implementation manner of the fourth aspect, the receiving, by the first device, the resource application message sent by the UE includes: if the first device includes a cluster head, the cluster head receives, by the idle resource sub-block, a media access control layer control unit MA CCE message that is sent by the UE and carries the resource application message; the idle resource sub-block is the UE A resource sub-block used by the cluster head when transmitting the resource request message. With reference to the third possible implementation manner of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the cluster head, according to the superframe division information and the received resource application message, The information that the UE sends the idle resource block allocated to the UE includes: the cluster head according to the received resource request message, in the fourth time frame in the superframe split information, The idle resource sub-block transmits information of the idle resource block allocated to the UE to the UE.
结合第四方面, 在第四方面的第五种可能的实现方式中, 所述 第一设备接收所述 UE 发送的资源申请消息包括: 若所述第一设备 包括基站, 所述基站接收所述 UE 发送的携带有所述资源申请消息 的无线资源控制协议 R RC 消息; 或者, 所述基站接收所述 UE发送 的携带有所述资源申请消息的所述 MAC C E消息。  With reference to the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the receiving, by the first device, the resource application message sent by the UE includes: if the first device includes a base station, the base station receives the a radio resource control protocol R RC message that is sent by the UE and carries the resource request message; or, the base station receives the MAC CE message that is sent by the UE and carries the resource application message.
第五方面, 本发明实施例提供了一种用户设备 UE , 应用于所述 D 2 D 通信系统中, 包括: 接收器, 用于接收第一设备发送的第一资 源池的信息; 其中, 所述第一资源池包括: 至少一个资源块; 处理 器, 用于确定所述至少一个资源块的状态信息; 发送器, 用于向所 述第一设备发送资源申请消息; 其中, 所述资源申请消息中携带有 申请资源的业务类型、 至少一个资源块的空闲状态信息和 /或至少 一个资源块的忙状态信息; 所述接收器, 还用于接收所述第一设备 分配给所述 UE 的空闲资源块的信息; 其中, 所述空闲资源块的信 息用于指示所述 UE釆用所述空闲资源块与第二 UE进行数据传输; 其中, 所述空闲资源块为所述至少一个资源块。  In a fifth aspect, an embodiment of the present invention provides a user equipment UE, which is applied to the D2D communication system, and includes: a receiver, configured to receive information about a first resource pool sent by a first device; The first resource pool includes: at least one resource block; a processor, configured to determine status information of the at least one resource block; a transmitter, configured to send a resource request message to the first device, where the resource request The message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block. The receiver is further configured to receive, by the first device, the first device to be allocated to the UE. Information of the idle resource block, where the information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE, where the idle resource block is the at least one resource block .
在第五方面的第一种可能的实现方式中, 所述处理器用于确定 所述至少一个资源块的状态信息具体包括: 所述处理器, 用于获取 所述至少一个资源块上的功率信息; 若确定获取的所述功率信息不 大于第一门限值, 则确定所述至少一个资源块的状态信息为空闲状 态信息; 若确定获取的所述功率信息大于所述第一门限值, 则确定 所述至少一个资源块的状态信息为忙状态信息; 或者, 所述处理器, 具体用于确定所述至少一个资源块上是否携带有导频信号, 若确定 所述至少一个资源块上没有携带所述导频信号, 则确定所述至少一 个资源块的状态信息为空闲状态信息; 若确定所述至少一个资源块 上携带有所述导频信号, 则确定所述至少一个资源块的状态信息为 忙状态信息。 In a first possible implementation manner of the fifth aspect, the determining, by the processor, the status information of the at least one resource block includes: the processor, configured to acquire power information on the at least one resource block If it is determined that the acquired power information is not greater than the first threshold, determining that the state information of the at least one resource block is idle state information; if it is determined that the obtained power information is greater than the first threshold, Determining, by the processor, determining, by the processor, whether the at least one resource block carries the pilot signal, if the at least one resource block is determined to be Determining the at least one if the pilot signal is not carried The state information of the resource blocks is the idle state information. If it is determined that the at least one resource block carries the pilot signal, determining that the state information of the at least one resource block is the busy state information.
结合第五方面, 或第五方面的第一种可能的实现方式, 在第五 方面的第二种可能的实现方式中, 所述接收器, 还用于以超帧的时 间长度为周期, 在超帧划分信息的第一时间帧内接收簇头发送的超 帧划分信息; 其中, 所述超帧划分信息包括: 第一时间帧, 第二时 间帧, 第三时间帧, 第四时间帧及第五时间帧; 其中, 所述第一时 间帧为所述簇头发送第一资源池的信息, 所述超帧划分信息及第一 资源分配信息的帧; 所述第二时间帧为所述 U E 向所述簇头发送所 述申请资源消息的帧; 所述第三时间帧及所述第五时间帧为所述 UE 向所述第二 UE 发送数据的帧; 所述第四时间帧为所述簇头向所述 UE发送簇头分配给所述 UE 的空闲资源块的信息的帧; 所述接收器 用于接收第一设备发送的第一资源池的信息具体包括: 所述接收 器, 用于以超帧的时间长度为周期在超帧划分信息的第一时间帧 内, 在接收簇头发送的超帧划分信息时, 并接收所述第一资源池的 信息; 所述发送器用于向所述第一设备发送资源申请消息具体包括: 所 述发送器, 用于根据所述接收器接收到的所述超帧划分信息向所述 簇头发送资源申请消息。  With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the receiver is further configured to use a time period of a superframe as a period Receiving the superframe division information sent by the cluster head in the first time frame of the superframe division information, where the superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein the first time frame is information that the first resource pool is sent by the cluster head, the superframe division information and the first resource allocation information frame; the second time frame is the Sending, by the UE, the frame of the application resource message to the cluster head; the third time frame and the fifth time frame are frames in which the UE sends data to the second UE; The cluster head sends, to the UE, a frame that is allocated by the cluster head to the information of the idle resource block of the UE; the information that the receiver is used to receive the first resource pool sent by the first device includes: the receiver, For superframe time The first length of the period is the first time frame of the superframe division information, and when receiving the superframe division information sent by the cluster head, and receiving the information of the first resource pool; the transmitter is used to the first device The sending the resource application message specifically includes: the sender, configured to send a resource application message to the cluster head according to the superframe division information received by the receiver.
结合第五方面的第二种可能的实现方式, 在第五方面的第三种 可能的实现方式中, 所述第一资源池的信息, 用于指示出所述至少 一个资源块的每个资源块划分为至少一个资源子块的相关信息; 所 述处理器,还用于根据所述第一资源池的信息,确定空闲资源子块; 其中, 所述空闲资源子块为所述空闲资源块中的一个资源子块; 或 者, 所述处理器, 还用于接收所述簇头发送的第一资源分配信息; 并根据所述第一资源分配信息确定所述空闲资源子块, 其中, 第一 资源分配信息用于指示簇头分配给 UE 的用于发送资源申请消息时 釆用的资源子块。  With reference to the second possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, the information of the first resource pool is used to indicate each resource of the at least one resource block The block is divided into related information of at least one resource sub-block; the processor is further configured to determine, according to information of the first resource pool, an idle resource sub-block; wherein the idle resource sub-block is the idle resource block a resource sub-block; or the processor, configured to receive the first resource allocation information sent by the cluster head; and determine the idle resource sub-block according to the first resource allocation information, where A resource allocation information is used to indicate a resource sub-block that is used by the cluster head to allocate to the UE for transmitting the resource request message.
结合第五方面的第三种可能的实现方式, 在第五方面的第四种 可能的实现方式中, 所述发送器, 用于根据所述超帧划分信息向所 述簇头发送资源申请消息具体包括: 所述发送器, 用于在所述超帧 划分信息中的所述第二时间帧内, 釆用所述处理器确定的所述空闲 资源子块向所述簇头发送携带有所述资源申请消息的媒体接入控 制层控制单元 MAC C E消息。 In conjunction with the third possible implementation of the fifth aspect, the fourth aspect of the fifth aspect In a possible implementation manner, the sending, the sending, by the sending, the resource request message to the cluster head according to the superframe splitting information includes: the transmitter, configured to be used in the superframe splitting information And transmitting, in the second time frame, the media access control layer control unit MAC CE message carrying the resource application message to the cluster head by using the idle resource sub-block determined by the processor.
结合第五方面, 或第五方面的第一种可能的实现方式, 在第五 方面的第五种可能的实现方式中, 所述发送器用于向所述第一设备 发送资源申请消息具体包括: 所述发送器, 用于在所述接收器接收 到所述基站发送的所述第一资源池的信息时, 向所述基站发送携带 有所述资源申请消息的无线资源控制协议 R RC消息; 或者, 向所述 基站发送携带有所述资源申请消息的所述 MAC C E消息。  With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a fifth possible implementation manner of the fifth aspect, the sending, by the sending, the sending of the resource application message to the first device includes: The transmitter is configured to: when the receiver receives the information about the first resource pool sent by the base station, send, to the base station, a radio resource control protocol R RC message that carries the resource application message; Or sending, to the base station, the MAC CE message carrying the resource application message.
第六方面, 本发明实施例提供了一种设备, 应用于所述 D 2 D通 信系统中, 包括: 发送器, 用于向用户设备 U E 发送第一资源池的 信息; 其中, 所述第一资源池包括: 至少一个资源块; 接收器, 用 于接收所述 UE 发送的资源申请消息; 其中, 所述资源申请消息中 携带有申请资源的业务类型、 至少一个资源块的空闲状态信息和 / 或至少一个资源块的忙状态信息; 所述发送器, 还用于根据所述资 源申请消息, 向所述 U E发送分配给所述 UE的空闲资源块的信息; 其中, 所述空闲资源块为所述至少一个资源块。  According to a sixth aspect, an embodiment of the present invention provides a device, which is applied to the D2D communication system, and includes: a transmitter, configured to send information of a first resource pool to a user equipment UE, where the first The resource pool includes: at least one resource block; a receiver, configured to receive a resource request message sent by the UE, where the resource request message carries a service type of the application resource, idle state information of the at least one resource block, and/or Or the busy state information of the at least one resource block; the transmitter is further configured to: send, according to the resource request message, information about an idle resource block allocated to the UE to the UE, where the idle resource block is The at least one resource block.
在第六方面的第一种可能的实现方式中,若所述设备包括簇头, 所述发送器, 还用于以超帧的时间长度为周期, 在超帧划分信息的 第一时间帧内, 向所述 UE 发送超帧划分信息; 所述超帧划分信息 包括: 第一时间帧, 第二时间帧, 第三时间帧, 第四时间帧及第五 时间帧; 其中, 所述第一时间帧为所述簇头发送第一资源池的信息, 所述超帧划分信息及第一资源分配信息的帧; 所述第二时间帧为所 述 UE 向所述簇头发送所述申请资源消息的帧; 所述第三时间帧及 所述第五时间帧为所述 UE向第二 UE发送数据的帧; 所述第四时间 帧为所述簇头向所述 U E发送簇头分配给所述 U E的空闲资源块的信 息的帧; 所述发送器用于向所述 UE 发送第一资源池的信息具体包 括: 所述发送器, 用于以超帧的时间长度为周期在超帧划分信息的 第一时间帧内, 在向所述 UE 发送所述超帧划分信息时, 并发送所 述第一资源池的信息; 所述发送器根据所述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息具体包括: 所述发送器, 用于根据所述超帧划分信息及所述资源申请消息, 向所述 UE 发送 分配给所述 UE的空闲资源块的信息。 In a first possible implementation manner of the sixth aspect, if the device includes a cluster head, the transmitter is further configured to use a time period of a superframe as a period, in a first time frame of the superframe division information. Transmitting the superframe splitting information to the UE; the superframe splitting information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first The time frame is used by the cluster head to send information of the first resource pool, the superframe division information and the frame of the first resource allocation information; the second time frame is that the UE sends the application resource to the cluster head a frame of the message; the third time frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame is that the cluster head sends a cluster head to the UE to allocate a frame of information of the idle resource block of the UE; the transmitter is configured to send, to the UE, a specific packet of information of the first resource pool The transmitter is configured to: when the superframe splitting information is sent to the UE, send the first resource in a first time frame of superframe splitting information in a period of a superframe duration The information of the pool, the sending, by the sender, the information about the idle resource block allocated to the UE to the UE according to the resource request message, specifically: the transmitter, configured to divide information and information according to the superframe And the resource application message is sent to the UE, where the information about the idle resource block allocated to the UE is sent.
结合第六方面, 或第六方面的第一种可能的实现方式, 在第六 方面的第二种可能的实现方式中, 还包括: 若所述设备包括簇头, 处理器, 用于将所述第一资源池中的至少一个资源块的每个资源块 划分为至少一个资源子块; 所述第一资源池的信息, 用于指示出所 述至少一个资源块的每个资源块划分为至少一个资源子块的相关 信息; 或者, 所述发送器, 还用于向所述 UE 发送第一资源分配信 息; 所述第一资源分配信息用于指示所述簇头分配给所述 UE 的用 于发送资源申请消息时釆用的空闲资源子块。  With reference to the sixth aspect, or the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the method further includes: if the device includes a cluster head, a processor, Each resource block of the at least one resource block in the first resource pool is divided into at least one resource sub-block; the information of the first resource pool is used to indicate that each resource block of the at least one resource block is divided into The information about the at least one resource sub-block; or the transmitter is further configured to send the first resource allocation information to the UE, where the first resource allocation information is used to indicate that the cluster head is allocated to the UE An idle resource sub-block that is used when sending a resource request message.
结合第六方面的第二种可能的实现方式, 在第六方面的第三种 可能的实现方式中, 所述接收器用于接收所述 UE 发送的所述资源 申请消息具体包括: 若所述设备包括簇头, 所述接收器, 用于通过 空闲资源子块接收所述 UE 发送的携带有所述资源申请消息的媒体 接入控制层控制单元 MAC C E消息; 所述空闲资源子块为所述 UE向 所述簇头发送所述资源申请消息时釆用的资源子块。  With reference to the second possible implementation manner of the sixth aspect, in a third possible implementation manner of the sixth aspect, the receiving, by the receiving, the a cluster head, the receiver, configured to receive, by using an idle resource sub-block, a media access control layer control unit MAC CE message that is sent by the UE and that carries the resource application message, where the idle resource sub-block is The resource sub-block used by the UE when the resource request message is sent to the cluster head.
结合第六方面第三种可能的实现方式, 在第六方面的第四种可 能的实现方式中, 所述发送器用于根据所述超帧划分信息及所述资 源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息具 体包括: 所述发送器, 用于根据所述资源申请消息, 在所述超帧划 分信息中的所述第四时间帧内, 釆用所述空闲资源子块向所述 UE 发送分配给所述 UE 的所述空闲资源块的信息。  With reference to the third possible implementation manner of the sixth aspect, in a fourth possible implementation manner of the sixth aspect, the transmitter is configured to send, according to the superframe split information and the resource request message, to the UE The information of the idle resource block allocated to the UE includes: the sender, configured to use the idle time in the fourth time frame in the superframe split information according to the resource request message The resource sub-block transmits information of the idle resource block allocated to the UE to the UE.
结合第六方面, 在第六方面的第五种可能的实现方式中, 所述 接收器用于接收所述 UE 发送的资源申请消息具体包括: 若所述设 备包括基站, 所述接收器, 用于接收所述 UE 发送的携带有所述资 源申请消息的无线资源控制协议 RRC消息; 或者, 用于接收所述 UE 发送的携带有所述资源申请消息的所述 MAC C E消息。 With reference to the sixth aspect, in a fifth possible implementation manner of the sixth aspect, the receiving, by the receiver, the resource request message sent by the UE includes: if the device includes a base station, the receiver, Receiving, by the UE, carrying the capital a radio resource control protocol RRC message of the source application message; or, configured to receive the MAC CE message that is sent by the UE and that carries the resource application message.
第七方面, 本发明实施例提供了一种资源申请的系统, 应用于 所述 D 2 D通信系统中, 包括: 用户设备 UE 及第一设备; 其中, 所 述 UE为上述实施例所述的 UE; 所述第一设备为上述实施例所述的 设备。  In a seventh aspect, the embodiment of the present invention provides a system for applying for a resource, which is applied to the D2D communication system, and includes: a user equipment UE and a first device; wherein, the UE is the foregoing embodiment. UE; the first device is the device described in the foregoing embodiment.
本发明实施例提供了一种资源申请的方法, 装置及系统, 用户 设备 U E 在接收到第一设备发送的第一资源池的信息后, 确定第一 资源池中包括的至少一个资源块的状态信息, 并向第一设备发送携 带有申请资源的业务类型、 至少一个资源块的空闲状态信息和 /或 至少一个资源块的忙状态信息的资源申请消息, 以使得第一设备根 据接收到的资源申请消息向 UE 发送分配给 UE 的空闲资源块的信 息, 此时, U E接收第一设备发送的分配给 UE的空闲资源块的信息, 从而使得 UE釆用此空闲资源块与第二 UE进行数据传输。 这样, 在 两个第一设备管理的小区有相同的资源时, 两个第一设备均可以根 据自身所管理的 UE 上报的第一资源池的状态信息, 为 自身所管理 的 UE分配不同的空闲资源块, 即自身所管理的 UE釆用不同的空闲 资源块向第二 UE发送数据, 从而在 D 2 D数据传输时降低了数据传 输的干扰, 提高了数据传输的正确率。  The embodiment of the present invention provides a method, a device, and a system for requesting a resource. After receiving the information of the first resource pool sent by the first device, the user equipment UE determines the state of at least one resource block included in the first resource pool. And transmitting, to the first device, a resource application message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block, so that the first device is configured according to the received resource The application message sends the information of the idle resource block allocated to the UE to the UE. At this time, the UE receives the information of the idle resource block allocated by the first device and allocated to the UE, so that the UE uses the idle resource block to perform data with the second UE. transmission. In this way, when the cells managed by the two first devices have the same resource, the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE. The resource block, that is, the UE managed by itself, uses different idle resource blocks to transmit data to the second UE, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例 或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技 术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图 获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图 1 为本发明实施例提供的一种用户设备 UE的功能示意图; 图 2为本发明实施例提供的一种设备的功能示意图;  FIG. 1 is a schematic diagram of functions of a user equipment UE according to an embodiment of the present invention; FIG. 2 is a schematic diagram of functions of a device according to an embodiment of the present invention;
图 3为本发明实施例提供的另一种设备的功能示意图;  FIG. 3 is a schematic diagram of functions of another device according to an embodiment of the present disclosure;
图 4 为本发明实施例提供的一种资源申请的方法的流程示意 图; FIG. 4 is a schematic flowchart of a method for requesting a resource according to an embodiment of the present invention; Figure
图 5为本发明实施例提供的另一种资源申请的方法的流程示意 图;  FIG. 5 is a schematic flow chart of another method for resource application according to an embodiment of the present disclosure;
图 6为本发明实施例提供的另一种资源申请的方法的流程示意 图;  FIG. 6 is a schematic flow chart of another method for resource application according to an embodiment of the present disclosure;
图 7为本发明实施例提供的一种超帧划分信息的结构图; 图 8为本发明实施例提供的一种用户设备 UE的结构示意图; 图 9为本发明实施例提供的一种设备的结构示意图;  FIG. 7 is a structural diagram of superframe division information according to an embodiment of the present invention; FIG. 8 is a schematic structural diagram of a user equipment UE according to an embodiment of the present invention; Schematic;
图 10 为本发明实施例提供的一种资源申请的系统的结构示意 图。  FIG. 10 is a schematic structural diagram of a system for resource application according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有作出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。  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 embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种 UE ( User Equipment, 用户设备), 应用于 D2D ( Device to Device, 设备到设备) 通信系统中, 如图 1 所示, 包括: 接收单元 101, 确定单元 102, 以及发送单元 103。 其中,  The embodiment of the present invention provides a UE (User Equipment), which is applied to a D2D (Device to Device) communication system. As shown in FIG. 1, the method includes: a receiving unit 101, a determining unit 102, and Transmitting unit 103. among them,
所述接收单元 101, 用于接收第一设备发送的第一资源池的信 息。  The receiving unit 101 is configured to receive information about a first resource pool sent by the first device.
其中 ,所述第一资源池是所述第一设备为所述 UE进行 D2D通信 时分配的资源; 所述第一资源池的信息, 用于指示所述第一设备为 所述 UE 进行所述 D2D通信时分配的资源的相关信息; 所述第一资 源池包括: 至少一个资源块; 所述簇头为釆用 D2D链路进行通信的 由多个 UE组成的簇中的一个 UE, 用于管理所述簇中的其他 UE。  The first resource pool is a resource that is allocated when the first device performs D2D communication for the UE, and the information of the first resource pool is used to indicate that the first device performs the foregoing for the UE. Information related to resources allocated during D2D communication; the first resource pool includes: at least one resource block; the cluster head is one UE of a cluster consisting of multiple UEs that communicates with a D2D link, and is used for Manage other UEs in the cluster.
具体的, 所述接收单元 101, 在接收第一设备发送的第一资源 池的信息之前, 需要接收第一设备发送的携带有第一设备的标识信 息, 从而使得所述接收单元 101, 根据接收到的携带有第一设备的 标识信 , 的消息,确定接收到的第一资源池的信息是基站发送至 U E 的, 还是簇头发送至 UE 的。 若确定第一设备的标识信息为基站的 标识信息, 则确定接收到的第一资源池的信息是由基站发送至 UE 的; 若确定第一资源池的信息中携带的第一设备的标识信息为簇头 的标识信息,则确定接收到的第一资源池的信息是由簇头发送至 U E 的。 Specifically, the receiving unit 101, before receiving the information of the first resource pool sent by the first device, needs to receive the identifier that is sent by the first device and carries the first device. The receiving unit 101 determines whether the received information of the first resource pool is sent by the base station to the UE or is sent by the cluster head to the UE according to the received message carrying the identification information of the first device. . If it is determined that the identifier information of the first device is the identifier information of the base station, determining that the received information of the first resource pool is sent by the base station to the UE; and determining the identifier information of the first device carried in the information of the first resource pool For the identification information of the cluster head, it is determined that the received information of the first resource pool is sent by the cluster head to the UE.
需要说明的是, 所述接收单元 101, 若仅接收到基站发送的第 一资源池的信息, 则确定 UE 自身接入网络; 若在接收到基站发送 的第一资源池的信息时, 还接收到簇头发送的第一资源池的信息, 则可以确定 UE 自身接入网络; 若仅接收到簇头发送的第一资源池 的信息, 则确定自身没有接入网络。  It is to be noted that, when receiving the information of the first resource pool sent by the base station, the receiving unit 101 determines that the UE accesses the network itself; if receiving the information of the first resource pool sent by the base station, If the information of the first resource pool sent by the cluster head is received, the UE may determine that the UE accesses the network. If only the information of the first resource pool sent by the cluster head is received, it is determined that the UE does not access the network.
需要说明的是, 所述接收单元 101, 在确定 UE 自身没有接入网 络时, 接收到的第一资源池的信息中所指示的第一资源池为簇头预 先配置好的用于 D2D通信时釆用的资源块; 在确定 UE 自身接入网 络时, 接收到的第一资源池的信息中所指示的第一资源池为基站分 配给 UE的用于 D2D通信时釆用的资源块。  It should be noted that, when the receiving unit 101 determines that the UE does not access the network, the first resource pool indicated by the information of the received first resource pool is pre-configured for the D2D communication by the cluster head. The first resource pool indicated in the received information of the first resource pool is a resource block allocated by the base station to the UE for D2D communication when determining that the UE itself accesses the network.
所述确定单元 102, 用于确定所述至少一个资源块的状态信息。 具体的, 所述确定单元 102, 确定第一资源池中包括的至少一 个资源块的状态信息的方法有两种, 具体方法如下:  The determining unit 102 is configured to determine status information of the at least one resource block. Specifically, the determining unit 102 is configured to determine status information of at least one resource block included in the first resource pool, and the specific method is as follows:
第一种方法, 所述确定单元 102, 具体用于获取所述至少一个 资源块上的功率信息; 并确定获取的所述功率信息是否大于第一门 限值。  The first method, the determining unit 102 is specifically configured to acquire power information on the at least one resource block, and determine whether the acquired power information is greater than a first threshold.
若确定获取的所述功率信息不大于所述第一门限值, 则确定所 述至少一个资源块的状态信息为空闲状态信息;  If it is determined that the obtained power information is not greater than the first threshold, determining that state information of the at least one resource block is idle state information;
若确定获取的所述功率信息大于所述第一门限值, 则确定所述 至少一个资源块的状态信息为忙状态信息。  And determining that the obtained power information is greater than the first threshold, determining that the status information of the at least one resource block is busy status information.
也就是说, 所述确定单元 102, 在获知 UE 自身进行 D2D通信时 釆用的第一资源池后, 需要对第一资源池中包括的至少一个资源块 的每个资源块上的状态信息进行确定, 即获取第一资源池中包括的 至少一个资源块的每个资源块上的接收功率信息, 并将获取的每个 资源块上的接收功率信息分别与预先设置好的第一门限值进行比 较, 若确定获取的资源块上的接收功率信息不大于预先设置好的第 ―门限值, 则将接收功率信息不大于预先设置好的第一门限值的资 源块的状态信息确定为空闲状态信息; 若确定获取的资源块上的接 收功率信息大于预先设置好的第一门限值, 则将接收功率信息大于 预先设置好的第一门限值的资源块的状态信息确定为忙状态信息。 That is, the determining unit 102 needs to at least one resource block included in the first resource pool after learning the first resource pool used by the UE itself for performing D2D communication. The status information on each resource block is determined, that is, the received power information on each resource block of the at least one resource block included in the first resource pool is obtained, and the received power information on each resource block is respectively obtained. Comparing with the preset first threshold, if it is determined that the received power information on the obtained resource block is not greater than the preset first threshold, the received power information is not greater than the preset first gate. The status information of the resource block of the limit is determined to be idle state information. If it is determined that the received power information on the obtained resource block is greater than a preset first threshold, the received power information is greater than a preset first threshold. The status information of the resource block of the value is determined to be busy status information.
第二种方法, 所述确定单元 1 02 , 具体用于确定所述至少一个 资源块上是否携带有导频信号。  In a second method, the determining unit 102 is specifically configured to determine whether a pilot signal is carried on the at least one resource block.
若确定所述至少一个资源块上没有携带所述导频信号, 则确定 所述至少一个资源块的状态信息为空闲状态信息。  If it is determined that the pilot signal is not carried on the at least one resource block, determining that the state information of the at least one resource block is idle state information.
若确定所述至少一个资源块上携带有所述导频信号, 则确定所 述至少一个资源块的状态信息为忙状态信息。  If it is determined that the pilot signal is carried on the at least one resource block, determining that the status information of the at least one resource block is busy status information.
也就是说, 所述确定单元 1 02 , 在获知 UE 自身进行 D 2 D通信时 釆用的第一资源池后, 解析第一资源池中包括的至少一个资源块的 每个资源块上是否携带有导频信息, 若确定在资源块上没有携带导 频信息, 则将没有携带导频信息所对应的资源块的状态信息确定为 空闲状态信息; 若确定在资源块上携带有导频信息, 则将携带有导 频信息所对应的资源块的状态信息确定为忙状态信息。  That is, the determining unit 102, after learning the first resource pool used by the UE itself for D2D communication, parsing whether each resource block of at least one resource block included in the first resource pool carries If there is any pilot information, if it is determined that the pilot information is not carried on the resource block, the state information of the resource block that does not carry the pilot information is determined as idle state information; if it is determined that the pilot information is carried on the resource block, Then, the state information carrying the resource block corresponding to the pilot information is determined as the busy state information.
所述发送单元 1 0 3 , 用于向所述第一设备发送资源申请消息。 其中, 所述资源申请消息中携带有申请资源的业务类型、 至少 一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息。  The sending unit 1 0 3 is configured to send a resource request message to the first device. The resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
具体的, 在 UE确定自身接入网络时, 所述发送单元 1 0 3 , 可以 向基站或簇头发送携带有申请资源的业务类型、 至少一个资源块的 空闲状态信息和 /或至少一个资源块的忙状态信息的资源申请消 息。  Specifically, when the UE determines that the UE accesses the network, the sending unit 1 0 3 may send, to the base station or the cluster head, a service type carrying the application resource, idle state information of the at least one resource block, and/or at least one resource block. Resource request message for busy status information.
在 UE确定自身没有接入网络时, 所述发送单元 1 0 3 , 只向簇头 发送携带有申请资源的业务类型、 至少一个资源块的空闲状态信 , ¾ 和 /或至少一个资源块的忙状态信息的资源申请消息。 When the UE determines that it does not have access to the network, the sending unit 1 0 3 sends only the service type carrying the application resource and the idle status message of the at least one resource block to the cluster head, 3⁄4 And/or a resource request message for the busy status information of at least one resource block.
进一步的, 所述发送单元 103向基站发送携带有申请资源的业 务类型、 至少一个资源块的空闲状态信息和 /或至少一个资源块的 忙状态信息的资源申请消息的方法有两种, 具体如下:  Further, the sending unit 103 sends the resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the resource request message of the busy state information of the at least one resource block to the base station, as follows: :
第一种方法, 所述发送单元 103, 在所述接收单元 101 接收到 所述基站发送的所述第一资源池的信息时, 用于向所述基站发送携 带有所述资源申请消息的 RRC ( Radio Resource Control , 无线资 源控制协议) 消息。  The first method, the sending unit 103, when the receiving unit 101 receives the information about the first resource pool sent by the base station, is configured to send, to the base station, an RRC that carries the resource application message. (Radio Resource Control, Radio Resource Control Protocol) message.
示例性的, 所述发送单元 103可以在 RRC消息中釆用业务类型 的字段来携带申请资源的业务类型, 釆用资源状态字段来携带至少 一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息, 从而在釆用基站分配给 UE 的用于发送 RRC 消息的资源, 向基站发 送 RRC消息时, 就可以将申请资源的业务类型, 至少一个资源块的 空闲状态信息和 /或至少一个资源块的忙状态信息发送至基站。  Exemplarily, the sending unit 103 may use a service type field in an RRC message to carry a service type of the application resource, and use a resource status field to carry idle state information of at least one resource block and/or at least one resource block. The busy state information, so that when the RRC message is sent to the base station by the base station to allocate the RRC message, the service type of the application resource, the idle state information of the at least one resource block, and/or at least The busy status information of a resource block is sent to the base station.
需要说明的是, 所述发送单元 103可以在 RRC消息中釆用其他 字段来携带申请资源的业务类型及至少一个资源块的空闲状态信 息和 /或至少一个资源块的忙状态信息, 本发明对此不做限制。  It should be noted that, the sending unit 103 may use other fields in the RRC message to carry the service type of the application resource and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block. This is not a limitation.
第二种方法, 所述发送单元 103, 在所述接收单元 101 接收到 所述基站发送的所述第一资源池的信息时, 用于向所述基站发送携 带有所述资源申请消息的 MAC CE ( Media Access Control Control Element, 媒体接入控制层控制单元) 消息。  In a second method, the sending unit 103, when the receiving unit 101 receives the information about the first resource pool sent by the base station, is configured to send, to the base station, a MAC that carries the resource application message. CE (Media Access Control Control Element) message.
示例性的, 所述发送单元 103, 可以在 MAC CE消息中携带申请 资源的业务类型, 及至少一个资源块的空闲状态信息和 /或至少一 个资源块的忙状态信息。 即根据 MAC CE消息的格式, 在 MAC CE消 息的第一个字节的前四位中携带申请资源的业务类型, 在第一个字 节的后四位中携带至少一个资源块的空闲状态信息, 在第二字节中 携带资源块的状态信息为空闲状态信息的所有资源块; 在第三个字 节的前四位中携带申请资源的业务类型, 在第三个字节的后四位中 携带至少一个资源块的忙状态信息, 在第四字节中携带资源块的状 态信息为忙状态信息的所有资源块, 从而在釆用基站分配给 UE 的 用于发送 RRC 消息的资源, 向基站发送 MAC CE 消息时, 就可以将 申请资源的业务类型, 至少一个资源块的空闲状态信息和 /或至少 一个资源块的忙状态信息发送至基站。 Exemplarily, the sending unit 103 may carry the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block in the MAC CE message. That is, according to the format of the MAC CE message, the service type of the application resource is carried in the first four bits of the first byte of the MAC CE message, and the idle state information of at least one resource block is carried in the last four bits of the first byte. The state information carrying the resource block in the second byte is all resource blocks of the idle state information; the service type of the application resource is carried in the first four bits of the third byte, and the last four digits of the third byte Carrying the busy state information of at least one resource block, and carrying the resource block in the fourth byte The state information is all the resource blocks of the busy state information, so that when the resource for transmitting the RRC message allocated by the base station to the UE is used to send the MAC CE message to the base station, the service type of the application resource, at least one resource block The idle state information and/or the busy state information of the at least one resource block are transmitted to the base station.
需要说明的是, 所述发送单元 103, 在 MAC CE消息中携带申请 资源的业务类型, 及至少一个资源块的空闲状态信息和 /或至少一 个资源块的忙状态信息,还可以是其他方法, 本发明对此不做限制。  It should be noted that, the sending unit 103, in the MAC CE message, carries the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block, and may be other methods. The invention is not limited thereto.
进一步的, 所述发送单元 103, 用于向所述簇头发送携带有所 述资源申请消息的 MAC CE消息。  Further, the sending unit 103 is configured to send, to the cluster head, a MAC CE message carrying the resource application message.
具体的, 所述发送单元 103 向所述簇头发送携带有所述资源申 请消息的 MAC CE 消息的方法, 可参考上述向所述基站发送携带有 所述资源申请消息的 MAC CE 消息的方法类似, 本发明在此不再赘 述。  Specifically, the method for the sending unit 103 to send the MAC CE message carrying the resource request message to the cluster head may be similar to the method for sending the MAC CE message carrying the resource request message to the base station. The present invention will not be described again herein.
所述接收单元 101 , 还用于接收所述第一设备分配给所述 UE的 空闲资源块的信息。  The receiving unit 101 is further configured to receive information about an idle resource block allocated by the first device to the UE.
其中,所述空闲资源块的信息用于指示所述 UE釆用所述空闲资 源块与第二 UE 进行数据传输; 所述空闲资源块为所述至少一个资 源块。  The information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE; the idle resource block is the at least one resource block.
具体的, 所述接收单元 101 , 在所述发送单元 103 向第一设备 发送携带有申请资源的业务类型, 至少一个资源块的空闲状态信 , ¾ 和 /或至少一个资源块的忙状态信息的资源申请消息后, 接收第一 设备分配给 UE 的空闲资源块的信息, 并根据空闲资源块的信息获 知向第二 UE 发送数据时釆用的空闲资源块, 从而釆用此空闲资源 块与第二 UE进行数据传输, 完成此 UE与第二 UE间的通信。  Specifically, the receiving unit 101 sends, in the sending unit 103, the service type carrying the application resource, the idle status information of the at least one resource block, and/or the busy status information of the at least one resource block to the first device. After the resource application message, the information about the idle resource block allocated by the first device to the UE is received, and the idle resource block used when sending data to the second UE is learned according to the information of the idle resource block, thereby using the idle resource block and the first The two UEs perform data transmission, and complete communication between the UE and the second UE.
需要说明的是, 所述接收单元 101 ,在确定 UE 自身接入网络时, 可以接收到基站或簇头分配给 UE 的空闲资源块的信息; 在确定自 身没有接入网络时, 只能接收到簇头分配给 UE 的空闲资源块的信 息。  It should be noted that, when determining that the UE itself accesses the network, the receiving unit 101 may receive information about an idle resource block allocated by the base station or the cluster head to the UE; when it is determined that the network does not access the network, it can only receive The information that the cluster head allocates to the idle resource block of the UE.
进一步的, 所述接收单元 101 , 还用于以超帧的时间长度为周 期, 在超帧划分信息的第一时间帧内接收簇头发送的超帧划分信 息。 Further, the receiving unit 101 is further configured to use a time period of a superframe as a week And receiving superframe division information sent by the cluster head in the first time frame of the superframe division information.
其中, 所述超帧划分信息包括: 第一时间帧, 第二时间帧, 第 三时间帧, 第四时间帧及第五时间帧; 其中, 所述第一时间帧为所 述簇头发送第 ―资源池的信息, 所述超帧划分信息及第一资源分配 信息的帧; 所述第二时间帧为所述 UE 向所述簇头发送所述申请资 源消息的帧; 所述第三时间帧及所述第五时间帧为所述 UE 向所述 第二 UE发送数据的帧; 所述第四时间帧为所述簇头向所述 UE发送 簇头分配给所述 UE的空闲资源块的信息的帧。  The superframe splitting information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first time frame is sent by the cluster head a resource pool information, a frame of the superframe division information and the first resource allocation information; the second time frame is a frame in which the UE sends the application resource message to the cluster head; The frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame is that the cluster head sends a cluster resource to the UE to allocate a cluster resource to an idle resource block of the UE. The frame of information.
所述接收单元 1 0 1 用于接收第一设备发送的第一资源池的信息 具体包括:  The receiving unit 1 0 1 is configured to receive information about the first resource pool sent by the first device, specifically:
所述接收单元 1 0 1 , 用于以超帧的时间长度为周期在超帧划分 信息的第一时间帧内, 在接收簇头发送的超帧划分信息时, 并接收 所述第一资源池的信息。  The receiving unit 1 0 1 is configured to receive the super resource frame splitting information sent by the cluster head in a first time frame of the superframe splitting information in a period of a superframe, and receive the first resource pool. Information.
所述发送单元 1 03用于向所述第一设备发送资源申请消息具体包括: 所述发送单元 1 0 3 , 用于根据所述超帧划分信息向所述簇头发 送资源申请消息。  The sending, by the sending unit, the sending of the resource request message to the first device, specifically includes: the sending unit 1 0 3, configured to send a resource request message to the cluster according to the superframe dividing information.
进一步的, 所述第一资源池的信息, 还用于指示出所述至少一 个资源块的每个资源块划分为至少一个资源子块的相关信息。  Further, the information of the first resource pool is further used to indicate that each resource block of the at least one resource block is divided into related information of at least one resource sub-block.
进一步的, 所述确定单元 1 0 2 , 还用于确定空闲资源子块。  Further, the determining unit 1 0 2 is further configured to determine an idle resource sub-block.
具体的, 所述确定单元 1 02确定空闲资源子块的方法有两种, 具体如下:  Specifically, the determining unit 102 determines two methods for the idle resource sub-block, as follows:
第一种方法, 所述确定单元 1 02 , 还用于根据所述第一资源池 的信息, 确定空闲资源子块。  In a first method, the determining unit 102 is further configured to determine, according to information about the first resource pool, an idle resource sub-block.
其中,所述空闲资源子块为所述空闲资源块中的一个资源子块。 具体的, 所述确定单元 1 02 , 在接收到第一资源池的信息后, 解析出第一资源池的信息中指示的至少一个资源块的每个资源块 划分为至少一个资源子块的相关信息, 即获知第一资源池中至少一 个资源块的每个资源块的划分信息, 从而在其中一个资源块中选取 一个空闲的资源子块, 将此空闲的资源子块确定为空闲资源子块, 进而在所述超帧划分信息中的所述第二时间帧内, 釆用此空闲资源 子块向簇头发送携带有资源申请消息的 MAC C E消息。 The idle resource sub-block is one resource sub-block in the idle resource block. Specifically, the determining unit 102, after receiving the information of the first resource pool, parses out that each resource block of the at least one resource block indicated in the information of the first resource pool is divided into at least one resource sub-block. Information, that is, the division information of each resource block of at least one resource block in the first resource pool is obtained, thereby selecting one of the resource blocks An idle resource sub-block, the idle resource sub-block is determined as an idle resource sub-block, and then, in the second time frame in the super-frame splitting information, the idle resource sub-block is used to send to the cluster head A MAC CE message carrying a resource request message.
第二种方法, 所述确定单元 1 0 2 , 还用于接收所述簇头发送的 第一资源分配信息, 并根据所述第一资源分配信息确定所述空闲资 源子块。  In a second method, the determining unit 1 0 2 is further configured to receive the first resource allocation information sent by the cluster head, and determine the idle resource sub-block according to the first resource allocation information.
其中,第一资源分配信息用于指示簇头分配给 UE的用于发送资 源申请消息时釆用的资源子块。  The first resource allocation information is used to indicate a resource sub-block that is used by the cluster head to allocate to the UE for sending the resource request message.
具体的, 所述确定单元 1 0 2 , 在接收簇头发送的第一资源分配 信息后, 在第一资源分配信息中解析出分配给 UE 的用于发送资源 申请消息时釆用的资源子块, 从而确定空闲资源子块, 进而在所述 超帧划分信息中的所述第二时间帧内, 釆用此空闲资源子块向簇头 发送携带有资源申请消息的 MAC C E消息。  Specifically, the determining unit 1 0 2, after receiving the first resource allocation information sent by the cluster head, parsing the resource sub-blocks used by the UE for transmitting the resource application message in the first resource allocation information And determining the idle resource sub-block, and in the second time frame in the super-frame splitting information, using the idle resource sub-block to send the MAC CE message carrying the resource application message to the cluster head.
所述发送单元 1 0 3 , 用于根据所述超帧划分信息向所述簇头发 送资源申请消息具体包括:  The sending unit 1 0 3 is configured to send a resource request message to the cluster according to the superframe splitting information, and specifically includes:
所述发送单元 1 0 3 , 用于在所述超帧划分信息中的所述第二时 间帧内, 釆用所述确定单元 1 0 2确定的所述空闲资源子块向所述簇 头发送携带有所述资源申请消息的 MAC C E消息。  The sending unit 1 0 3 is configured to send, in the second time frame in the superframe splitting information, the idle resource sub-block determined by the determining unit 102 to the cluster head A MAC CE message carrying the resource request message.
其中, 所述空闲资源子块为在所述簇头将所述至少一个资源块 中的每个资源块划分为至少一个资源子块的情况下, 为所述 UE 分 配的, 用于发送所述资源申请消息的资源子块; 或在所述簇头将所 述至少一个资源块中的每个资源块划分为至少一个资源子块的情 况下, 所述 UE在至少一个资源子块中选取的任一个资源子块。  The idle resource sub-block is allocated to the UE in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, and is configured to send the a resource sub-block of the resource request message; or in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, the UE is selected in at least one resource sub-block Any resource sub-block.
本发明实施例提供了一种用户设备 UE , UE在接收到第一设备发 送的第一资源池的信息后, 确定第一资源池中包括的至少一个资源 块的状态信息, 并向第一设备发送携带有申请资源的业务类型、 至 少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息 的资源申请消息,以使得第一设备根据接收到的资源申请消息向 UE 发送分配给 UE 的空闲资源块的信息, 此时, UE接收第一设备发送 的分配给 UE的空闲资源块的信息, 从而使得 UE釆用此空闲资源块 与第二 UE 进行数据传输。 这样, 在两个第一设备管理的小区有相 同的资源时, 两个第一设备均可以根据自身所管理的 UE 上报的第 一资源池的状态信息, 为 自身所管理的 UE分配不同的空闲资源块, 即自身所管理的 UE釆用不同的空闲资源块向第二 UE发送数据, 从 而在 D2D数据传输时降低了数据传输的干扰, 提高了数据传输的正 确率。 The embodiment of the present invention provides a user equipment (UE), after receiving the information of the first resource pool sent by the first device, the UE determines the state information of the at least one resource block included in the first resource pool, and sends the status information to the first device. Sending a resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block, so that the first device sends the allocation to the UE according to the received resource request message. Information about the idle resource block of the UE. At this time, the UE receives the first device to send. The information allocated to the idle resource block of the UE, so that the UE uses the idle resource block to perform data transmission with the second UE. In this way, when the cells managed by the two first devices have the same resource, the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE. The resource block, that is, the UE managed by itself, uses different idle resource blocks to send data to the second UE, thereby reducing interference of data transmission during D2D data transmission, and improving the accuracy of data transmission.
本发明实施例提供了一种设备, 应用于 D2D通信系统中, 如图 2所示, 包括: 发送单元 201及接收单元 202。 其中,  The embodiment of the present invention provides a device, which is applied to a D2D communication system. As shown in FIG. 2, the method includes: a sending unit 201 and a receiving unit 202. among them,
所述发送单元 201 ,用于向用户设备 UE发送第一资源池的信息。 其中, 所述第一资源池是所述设备为所述 UE 进行设备到设备 D2D 通信时分配的资源; 所述第一资源池的信息, 用于指示所述设 备为所述 UE 进行所述 D2D通信时分配的资源的相关信息; 所述第 一资源池包括: 至少一个资源块; 所述簇头为釆用 D2D链路进行通 信的由多个 UE组成的簇中的一个 UE,用于管理所述簇中的其他 UE。  The sending unit 201 is configured to send information about the first resource pool to the user equipment UE. The first resource pool is a resource allocated by the device when the device performs device-to-device D2D communication; the information of the first resource pool is used to indicate that the device performs the D2D for the UE Information about resources allocated during communication; the first resource pool includes: at least one resource block; the cluster head is one of a cluster of multiple UEs that communicates with a D2D link, for management Other UEs in the cluster.
具体的, 若第一设备包括基站, 所述发送单元 201 , 以广播的 形式向 UE发送第一资源池的信息, 即向 UE发送进行 D2D通信时釆 用的资源块的信息。  Specifically, if the first device includes a base station, the sending unit 201 sends the information of the first resource pool to the UE in a broadcast manner, that is, sends information of the resource block used for performing D2D communication to the UE.
若第一设备包括簇头, 所述发送单元 201 , 以广播的形式向 UE 发送预先配置好的用于 D2D通信时釆用的资源块的信息; 或在接收 基站发送的用于 D2D通信时釆用的资源块的信息后, 所述发送单元 201再将此信息发送至 UE。  If the first device includes a cluster head, the sending unit 201 sends the pre-configured information of the resource block used for D2D communication to the UE in a broadcast manner; or when the receiving base station sends the D2D communication. After the information of the used resource block, the sending unit 201 sends the information to the UE.
需要说明的是, 所述发送单元 201 还可以根据其他方式向 UE 发送第一资源池的消息, 例如所述发送单元 201 以专用信令的方式 向 UE发送第一资源池的消息, 本发明对此不做限制。  It should be noted that, the sending unit 201 may further send a message of the first resource pool to the UE according to other manners, for example, the sending unit 201 sends a message of the first resource pool to the UE in a dedicated signaling manner, and the present invention This is not a limitation.
所述接收单元 202, 用于接收所述 UE发送的资源申请消息。 其中, 所述资源申请消息中携带有申请资源的业务类型、 至少 一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息。  The receiving unit 202 is configured to receive a resource application message sent by the UE. The resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
具体的, 若所述设备包括基站, 所述接收单元 202, 可以接收 到 UE 发送的携带有申请资源的业务类型、 至少一个资源块的空闲 状态信息和 /或至少一个资源块的忙状态信 , 的资源申请消 , ¾。 Specifically, if the device includes a base station, the receiving unit 202 can receive The resource request sent by the UE carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy status message of the at least one resource block, is eliminated.
若所述设备包括簇头,也可以接收到 UE发送的携带有申请资源 的业务类型、 至少一个资源块的空闲状态信息和 /或至少一个资源 块的忙状态信息的资源申请消息。  If the device includes a cluster head, the resource request message sent by the UE and carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block may also be received.
进一步的, 若所述设备包括基站, 所述接收单元 2 02 , 用于接 收所述 U E发送的携带有所述资源申请消 , 的无线资源控制协议 R R C 消息。  Further, if the device includes a base station, the receiving unit 202 is configured to receive a radio resource control protocol R R C message that is sent by the U E and carries the resource request cancellation.
具体的, 若所述设备包括基站, 所述接收单元 2 02 , 在 UE向基 站发送 RRC 消息时釆用的资源上接收 UE发送的携带有所述资源申 请消息的 RRC消息, 并在接收到的 RRC消息中解析出携带的资源申 请消息, 进一步在资源申请消息中解析出申请资源的业务类型、 至 少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信 息。  Specifically, if the device includes a base station, the receiving unit 202 receives an RRC message that is sent by the UE and carries the resource application message when the UE sends an RRC message to the base station, and receives the RRC message. The resource request message is parsed in the RRC message, and the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block are further parsed in the resource application message.
或者, 所述接收单元 2 02 , 用于接收所述 UE发送的携带有所述 资源申请消息的所述 MAC CE消息。  Or the receiving unit 202 is configured to receive the MAC CE message that is sent by the UE and that carries the resource application message.
具体的, 所述接收单元 2 02 , 在 UE 向基站发送 MAC CE 消息时 釆用的资源上接收 UE 发送的携带有所述资源申请消息的所述 MAC CE 消息, 并在 MAC CE 消息中解析出携带的资源申请消息, 进一步 在资源申请消息中解析出申请资源的业务类型、 至少一个资源块的 空闲状态信息和 /或至少一个资源块的忙状态信息。  Specifically, the receiving unit 202 receives the MAC CE message that is sent by the UE and carries the resource application message, and parses out the MAC CE message in the MAC CE message when the UE sends the MAC CE message to the base station. The carried resource application message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
若所述设备包括簇头, 所述接收单元 2 02 , 用于通过空闲资源 子块接收所述 UE 发送的携带有所述资源申请消息的媒体接入控制 层控制单元 MAC CE消息。  If the device includes a cluster head, the receiving unit 202 is configured to receive, by the idle resource sub-block, a media access control layer control unit MAC CE message that is sent by the UE and carries the resource application message.
其中,所述空闲资源子块为所述 UE向所述簇头发送所述资源申 请消息时釆用的资源子块。  The idle resource sub-block is a resource sub-block used when the UE sends the resource request message to the cluster head.
具体的, 若所述设备包括簇头, 所述接收单元 2 02通过空闲资 源子块接收 U E发送的携带有所述资源申请消息的所述 M A C C E消 , , 并在 MAC CE 消息中解析出携带的资源申请消息, 进一步在资源申 请消息中解析出申请资源的业务类型、 至少一个资源块的空闲状态 信息和 /或至少一个资源块的忙状态信息。 Specifically, if the device includes a cluster head, the receiving unit 202 receives, by the idle resource sub-block, the MACCE that is sent by the UE and carries the resource request message, and parses the carried in the MAC CE message. Resource application message, further in resource application The message parses the service type of the application resource, the idle state information of the at least one resource block, and/or the busy status information of the at least one resource block.
所述发送单元 201, 还用于根据所述资源申请消息, 向所述 UE 发送分配给所述 UE的空闲资源块的信息。  The sending unit 201 is further configured to send, according to the resource application message, information about an idle resource block allocated to the UE to the UE.
其中, 所述空闲资源块为所述至少一个资源块。  The idle resource block is the at least one resource block.
具体的, 若所述设备包括基站, 所述发送单元 201, 可以根据 解析出的申请资源的业务类型、 至少一个资源块的空闲状态信 , ¾和 /或至少一个资源块的忙状态信息, 获知进行 D2D 通信的第一资源 池中的资源块状态信息为忙状态信息或空闲状态信息, 并在资源块 的状态信息为空闲状态信息的资源块中为 UE 分配至少一个空闲资 源块, 并将分配给 UE的至少一个空闲资源块的信息发送至 UE。  Specifically, if the device includes a base station, the sending unit 201 may learn, according to the parsed service type of the application resource, the idle status information of the at least one resource block, and/or the busy status information of the at least one resource block. The resource block state information in the first resource pool for performing D2D communication is busy state information or idle state information, and at least one idle resource block is allocated to the UE in a resource block whose state information of the resource block is idle state information, and is allocated Information for at least one idle resource block of the UE is sent to the UE.
若所述设备包括簇头, 所述发送单元 201, 根据解析出的申请 资源的业务类型、 至少一个资源块的空闲状态信息和 /或至少一个 资源块的忙状态信息, 获知进行 D2D通信的第一资源池中的资源块 状态信息为忙状态信息或空闲状态信息, 并在资源块的状态信息为 空闲状态信息的资源块中为 UE 分配至少一个空闲资源块, 并将分 配给 UE的至少一个空闲资源块的信息发送至 UE。  If the device includes a cluster head, the sending unit 201 learns the D2D communication according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block. The resource block state information in a resource pool is busy state information or idle state information, and allocates at least one idle resource block to the UE in a resource block whose state information of the resource block is idle state information, and allocates at least one to the UE. The information of the idle resource block is sent to the UE.
需要说明的是, 若所述设备包括基站, 所述发送单元 201, 可 以将分配给 UE 的至少一个空闲 资源块的信息携带在 PDCCH ( Physical Downlink Control Channel , 物理层下行控制信道) 中发送至 UE; 也可以将分配给 UE 的至少一个空闲资源块的信息携 带在 MAC CE消息中发送至 UE。  It should be noted that, if the device includes a base station, the sending unit 201 may carry information of at least one idle resource block allocated to the UE in a PDCCH (Physical Layer Downlink Control Channel) and send the message to the UE. The information of the at least one idle resource block allocated to the UE may also be carried in the MAC CE message and sent to the UE.
进一步的, 若所述设备包括簇头, 所述发送单元 201, 还用于 以超帧的时间长度为周期, 在超帧划分信息的第一时间帧内, 向所 述 UE 发送超帧划分信息; 所述超帧划分信息包括: 第一时间帧, 第二时间帧, 第三时间帧, 第四时间帧及第五时间帧。  Further, if the device includes a cluster head, the sending unit 201 is further configured to send the superframe splitting information to the UE in a first time frame of the superframe splitting information by using a time length of the superframe as a period The superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame.
其中, 所述第一时间帧为所述簇头发送第一资源池的信息, 所 述超帧划分信息及第一资源分配信息的帧; 所述第二时间帧为所述 UE向所述簇头发送所述申请资源消息的帧;所述第三时间帧及所述 第五时间帧为所述 UE向第二 UE发送数据的帧; 所述第四时间帧为 所述簇头向所述 UE发送簇头分配给所述 UE的空闲资源块的信息的 帧。 The first time frame is information that the first resource pool is sent by the cluster head, the superframe division information and the frame of the first resource allocation information, and the second time frame is that the UE is to the cluster. Sending, by the header, a frame of the application resource message; the third time frame and the The fifth time frame is a frame in which the UE sends data to the second UE; the fourth time frame is a frame in which the cluster head sends information of a cluster resource allocated to the idle resource block of the UE by the cluster head to the UE.
所述发送单元 201用于向所述 UE发送第一资源池的信息具体包 括:  The information that the sending unit 201 sends to the UE for the first resource pool specifically includes:
所述发送单元 201 , 用于以超帧的时间长度为周期在超帧划分 信息的第一时间帧内, 在向所述 UE 发送所述超帧划分信息时, 并 发送所述第一资源池的信息。  The sending unit 201 is configured to send the first resource pool when the superframe splitting information is sent to the UE in a first time frame of the superframe splitting information in a period of a time length of the superframe. Information.
所述发送单元 201用于根据所述资源申请消息,向所述 UE发送 分配给所述 UE的空闲资源块的信息具体包括:  The sending, by the sending unit 201, the information about the idle resource block allocated to the UE to the UE according to the resource request message includes:
所述发送单元 201 , 用于根据所述超帧划分信息及所述资源申 请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息。  The sending unit 201 is configured to send information about an idle resource block allocated to the UE to the UE according to the superframe split information and the resource request message.
进一步的, 所述设备, 如图 3所示, 还包括: 处理单元 203。 若所述设备包括簇头, 所述处理单元 203, 用于将第一资源池 中的至少一个资源块的每个资源块划分为至少一个资源子块。  Further, the device, as shown in FIG. 3, further includes: a processing unit 203. If the device includes a cluster head, the processing unit 203 is configured to divide each resource block of at least one resource block in the first resource pool into at least one resource sub-block.
具体的, 若所述设备包括簇头, 所述处理单元 203在所述发送 单元 201 向 UE发送第一资源池的信息之前, 需要将第一资源池中 的至少一个资源块的每个资源块的可用带宽划分为相等的资源子 块。  Specifically, if the device includes a cluster head, the processing unit 203 needs to allocate each resource block of at least one resource block in the first resource pool before the sending unit 201 sends the information of the first resource pool to the UE. The available bandwidth is divided into equal resource sub-blocks.
示例性的, 假设第一资源池中的至少一个资源块的每个资源块 的可用带宽为 5M, 则所述处理单元 203可以将此 5M的可用带宽划 分为相等的 25个资源子块,则每个资源子块的可用带宽为 180KHZ。  Exemplarily, if the available bandwidth of each resource block of at least one resource block in the first resource pool is 5M, the processing unit 203 may divide the 5M available bandwidth into equal 25 resource sub-blocks. The available bandwidth of each resource sub-block is 180KHZ.
所述发送单元 201 , 还用于向所述 UE发送第一资源分配信息。 其中, 所述第一资源分配信息用于指示所述发送单元 201 分配 给所述 UE的用于发送资源申请消息时釆用的空闲资源子块。  The sending unit 201 is further configured to send first resource allocation information to the UE. The first resource allocation information is used to indicate an idle resource sub-block that is used by the sending unit 201 to allocate a resource request message to the UE.
进一步的, 所述发送单元 201 用于根据所述超帧划分信息及所 述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信 息具体包括:  Further, the sending unit 201 is configured to send, according to the superframe splitting information and the resource request message, the information that is allocated to the UE to the idle resource block that is allocated to the UE, specifically:
所述发送单元 201 , 根据所述资源申请消息, 在所述超帧划分 信息中的所述第四时间帧内, 釆用所述空闲资源子块向所述 UE 发 送分配给所述 UE 的所述空闲资源块的信息。 The sending unit 201, according to the resource application message, is divided in the superframe In the fourth time frame in the information, the idle resource sub-block is used to send information about the idle resource block allocated to the UE to the UE.
也就是说, 所述发送单元 2 G 1 , 根据所述接收单元 2 G 2 解析出 的申请资源的业务类型、 至少一个资源块的空闲状态信息和 /或至 少一个资源块的忙状态信息, 获知进行 D 2 D通信的第一资源池中的 资源块状态信息为忙状态信息或空闲状态信息, 并在状态信息为空 闲状态信息的资源块中为 UE 分配至少一个空闲资源块, 并在超帧 划分信息中的第四时间帧内, 釆用 UE 向簇头发送资源申请消息时 釆用的空闲资源子块, 向 UE发送分配给 UE的至少一个空闲资源块 的信息, 这样, 在釆用与 UE 向簇头发送资源申请消息时相同的空 闲资源子块向 UE发送分配给 UE的至少一个空闲资源块的信息时, 不需要携带 UE的标识信息, 节省了 UE的标识信息所占用的资源。  That is, the sending unit 2 G 1 , according to the service type of the application resource parsed by the receiving unit 2 G 2 , the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block, is known. The resource block state information in the first resource pool in which the D 2 D communication is performed is the busy state information or the idle state information, and the UE is allocated at least one idle resource block in the resource block whose state information is the idle state information, and is in the super frame. In the fourth time frame in the split information, the idle resource sub-block used when the UE sends the resource request message to the cluster head transmits the information of the at least one idle resource block allocated to the UE to the UE, so that When the UE sends the resource request message to the cluster head, the same idle resource sub-block sends the information of the at least one idle resource block allocated to the UE to the UE, and does not need to carry the identifier information of the UE, thereby saving the resources occupied by the identifier information of the UE.
本发明实施例提供了一种设备,在所述设备向用户设备 UE发送 第一资源池的消息后, 以使得 UE 在接收到所述设备发送的第一资 源池的信息后, 确定第一资源池中包括的至少一个资源块的状态信 息, 并向所述设备发送携带有申请资源的业务类型、 至少一个资源 块的空闲状态信息和 /或至少一个资源块的忙状态信息的资源申请 消息, 此时所述设备根据接收到的资源申请消息向 UE 发送分配给 UE的空闲资源块的信息, 从而使得 UE釆用此空闲资源块与第二 U E 进行数据传输。 这样, 在两个所述设备管理的小区有相同的资源时, 两个所述设备均可以根据自身所管理的 UE 上报的第一资源池的状 态信息, 为 自身所管理的 UE 分配不同的空闲资源块, 即自身所管 理的 UE釆用不同的空闲资源块向第二 U E发送数据, 从而在 D 2 D数 据传输时降低了数据传输的干扰, 提高了数据传输的正确率。  The embodiment of the present invention provides a device, after the device sends a message of the first resource pool to the user equipment UE, so that the UE determines the first resource after receiving the information of the first resource pool sent by the device. Status information of at least one resource block included in the pool, and sending, to the device, a resource application message carrying a service type of the application resource, idle state information of the at least one resource block, and/or busy status information of the at least one resource block, At this time, the device sends the information of the idle resource block allocated to the UE to the UE according to the received resource request message, so that the UE uses the idle resource block to perform data transmission with the second UE. In this way, when the two cells managed by the device have the same resource, the two devices can allocate different idleness to the UE managed by the UE according to the state information of the first resource pool reported by the UE. The resource block, that is, the UE managed by itself, uses different idle resource blocks to transmit data to the second UE, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission.
本发明实施例提供了一种资源申请的方法, 应用于 D 2 D通信系 统中, 如图 4所示, 包括:  The embodiment of the present invention provides a resource application method, which is applied to a D 2 D communication system, as shown in FIG. 4, and includes:
4 0 1、 UE接收第一设备发送的第一资源池的信息。  The UE receives the information of the first resource pool sent by the first device.
其中 ,所述第一资源池是所述第一设备为所述 UE进行 D 2 D通信 时分配的资源; 所述第一资源池的信息, 用于指示所述第一设备为 所述 UE 进行所述 D 2 D通信时分配的资源的相关信息; 所述第一资 源池包括: 至少一个资源块; 所述簇头为釆用 D 2 D链路进行通信的 由多个 UE组成的簇中的一个 UE , 用于管理所述簇中的其他 U E。 The first resource pool is a resource that is allocated when the first device performs D 2 D communication for the UE, and the information of the first resource pool is used to indicate that the first device is Information related to resources allocated by the UE when performing the D 2 D communication; the first resource pool includes: at least one resource block; the cluster head is a plurality of UEs that communicate by using a D 2 D link One of the constituent clusters for managing other UEs in the cluster.
具体的, U E在接收第一设备发送的第一资源池的信息之前, 需 要接收第一设备发送的携带有第一设备的标识信 , 的消息, 从而使 得 UE 根据接收到的携带有第一设备的标识信息的消息, 确定接收 到的第一资源池的信息是基站发送至 UE的,还是簇头发送至 UE的。 若 UE确定第一设备的标识信息为基站的标识信息, 则 UE确定接收 到的第一资源池的信息是由基站发送至 U E的; 若 UE确定第一设备 的标识信息为簇头的标识信息, 则 UE 确定接收到的第一资源池的 信息是由簇头发送至 UE的。  Specifically, before receiving the information of the first resource pool sent by the first device, the UE needs to receive the message that the first device sends the identifier information of the first device, so that the UE carries the first device according to the received information. The message of the identification information determines whether the received information of the first resource pool is sent by the base station to the UE or is sent by the cluster head to the UE. If the UE determines that the identity information of the first device is the identity information of the base station, the UE determines that the received information of the first resource pool is sent by the base station to the UE; if the UE determines that the identity information of the first device is the identity information of the cluster head Then, the UE determines that the received information of the first resource pool is sent by the cluster head to the UE.
需要说明的是, 若 UE仅接收到基站发送的第一资源池的信息, 则 UE确定自身接入网络; 若 U E在接收到基站发送的第一资源池的 信息时, 还接收到簇头发送的第一资源池的信息, 则 U E 也可以确 定自身接入网络; 若 UE 仅接收到簇头发送的第一资源池的信息, 则 UE确定自身没有接入网络。  It should be noted that, if the UE only receives the information of the first resource pool sent by the base station, the UE determines that the UE accesses the network; if the UE receives the information of the first resource pool sent by the base station, the UE also receives the cluster head transmission. If the information of the first resource pool is used, the UE may also determine that the UE accesses the network. If the UE only receives the information of the first resource pool sent by the cluster head, the UE determines that it does not access the network.
需要说明的是, 在 UE 确定自身没有接入网络时, U E接收到的 第一资源池的信息中所指示的第一资源池为簇头预先配置好的用 于 D 2 D通信时釆用的资源块; 在 UE确定自身接入网络时, UE接收 到的第一资源池的信息中所指示的第一资源池为基站分配给 UE 的 用于 D 2 D通信时釆用的资源块。  It should be noted that, when the UE determines that it does not access the network, the first resource pool indicated by the information of the first resource pool received by the UE is used by the cluster head for pre-configured D 2 D communication. The resource block is used when the UE determines to access the network, and the first resource pool indicated by the information of the first resource pool received by the UE is a resource block allocated by the base station to the UE for D 2 D communication.
4 0 2、 所述 UE确定所述至少一个资源块的状态信息。  4 0. The UE determines status information of the at least one resource block.
具体的, UE确定第一资源池中包括的至少一个资源块的状态信 息的方法有两种, 具体方法如下:  Specifically, there are two methods for the UE to determine status information of at least one resource block included in the first resource pool, and the specific method is as follows:
第一种方法, 所述 UE获取所述至少一个资源块上的功率信息; 并确定获取的所述功率信息是否大于第一门限值。  The first method, the UE acquires power information on the at least one resource block, and determines whether the acquired power information is greater than a first threshold.
若所述 UE确定获取的所述功率信息不大于所述第一门限值,则 所述 UE确定所述至少一个资源块的状态信息为空闲状态信息。  And if the UE determines that the acquired power information is not greater than the first threshold, the UE determines that state information of the at least one resource block is idle state information.
若所述 UE确定获取的所述功率信息大于所述第一门限值,则所 述 U E确定所述至少一个资源块的状态信息为忙状态信息。 If the UE determines that the acquired power information is greater than the first threshold, then The UE determines that the status information of the at least one resource block is busy status information.
也就是说,UE在获知自身进行 D 2 D通信时釆用的第一资源池后, 需要对第一资源池中包括的至少一个资源块的每个资源块上的状 态信息进行确定, 即 UE 获取第一资源池中包括的至少一个资源块 的每个资源块上的接收功率信息, 并将获取的每个资源块上的接收 功率信息分别与预先设置好的第一门限值进行比较, 若 UE 确定获 取的资源块上的接收功率信息不大于预先设置好的第一门限值, 则 UE 将接收功率信息不大于预先设置好的第一门限值的资源块的状 态信息确定为空闲状态信息; 若 UE 确定获取的资源块上的接收功 率信息大于预先设置好的第一门限值, 则 UE 将接收功率信息大于 预先设置好的第一门限值的资源块的状态信息确定为忙状态信息。  That is, after the UE learns the first resource pool that is used for the D 2 D communication, the UE needs to determine the state information on each resource block of the at least one resource block included in the first resource pool, that is, the UE. Obtaining received power information on each resource block of the at least one resource block included in the first resource pool, and comparing the received power information on each resource block to a preset first threshold value, If the UE determines that the received power information on the obtained resource block is not greater than the preset first threshold, the UE determines that the status information of the resource block whose received power information is not greater than the preset first threshold is determined to be idle. If the UE determines that the received power information on the obtained resource block is greater than a preset first threshold, the UE determines that the status information of the resource block whose received power information is greater than the preset first threshold is determined as Busy status information.
第二种方法,所述 UE确定所述至少一个资源块上是否携带有导 频信号。  In a second method, the UE determines whether a pilot signal is carried on the at least one resource block.
若所述 UE确定所述至少一个资源块上没有携带所述导频信号, 则所述 UE确定所述至少一个资源块的状态信息为空闲状态信息。  And if the UE determines that the pilot signal is not carried on the at least one resource block, the UE determines that state information of the at least one resource block is idle state information.
若所述 UE确定所述至少一个资源块上携带有所述导频信号,则 所述 UE确定所述至少一个资源块的状态信息为忙状态信息。  And if the UE determines that the pilot signal is carried on the at least one resource block, the UE determines that status information of the at least one resource block is busy status information.
也就是说,UE在获知自身进行 D 2 D通信时釆用的第一资源池后, 解析第一资源池中包括的至少一个资源块的每个资源块上是否携 带有导频信息, 若 U E确定在资源块上没有携带导频信息, 则 U E将 没有携带导频信, I.所对应的资源块的状态信息确定为空闲状态信 息; 若 UE确定在资源块上携带有导频信息, 则 UE将携带有导频信 息所对应的资源块的状态信息确定为忙状态信息。  That is, after the UE learns the first resource pool that is used for the D 2 D communication, the UE analyzes whether each resource block of the at least one resource block included in the first resource pool carries the pilot information, if the UE Determining that the pilot information is not carried on the resource block, the UE will not carry the pilot information, and the state information of the resource block corresponding to I. is determined as idle state information; if the UE determines that the pilot information is carried on the resource block, The UE determines the state information carrying the resource block corresponding to the pilot information as the busy state information.
4 0 3、 所述 UE向所述第一设备发送资源申请消息。  4: The UE sends a resource application message to the first device.
其中, 所述资源申请消息中携带有申请资源的业务类型、 至少 一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息。  The resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
具体的, 在 U E 确定自身接入网络时, UE 可以向基站或簇头发 送携带有申请资源的业务类型、 至少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息的资源申请消息。 在 UE 确定自身没有接入网络时, UE 只向簇头发送携带有申请 资源的业务类型、 至少一个资源块的空闲状态信息和 /或至少一个 资源块的忙状态信息的资源申请消息。 Specifically, when the UE determines that the UE accesses the network, the UE may send, to the base station or the cluster head, a resource application that carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block. Message. When the UE determines that it does not have access to the network, the UE sends only the resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block to the cluster head.
进一步的, UE向基站发送携带有申请资源的业务类型、 至少一 个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息的资 源申请消息的方法有两种, 具体如下:  Further, the UE sends the resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block to the base station, as follows:
第一种方法,所述 UE向所述基站发送携带有所述资源申请消息 的 RRC消息。  In a first method, the UE sends an RRC message carrying the resource application message to the base station.
示例性的, UE可以在 RRC消息中釆用业务类型的字段来携带申 请资源的业务类型, 釆用资源状态字段来携带至少一个资源块的空 闲状态信息和 /或至少一个资源块的忙状态信息, 从而在 UE釆用基 站分配给 UE的用于发送 RRC消息的资源, 向基站发送 RRC消息时, 就可以将申请资源的业务类型, 至少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息发送至基站。  Exemplarily, the UE may use a service type field in the RRC message to carry the service type of the application resource, and use the resource status field to carry the idle state information of the at least one resource block and/or the busy status information of the at least one resource block. Therefore, when the UE uses the resource allocated for the RRC message allocated by the base station to send the RRC message to the base station, the service type of the application resource, the idle state information of the at least one resource block, and/or the at least one resource block may be used. The busy status information is sent to the base station.
需要说明的是, UE可以在 RRC消息中釆用其他字段来携带申请 资源的业务类型及至少一个资源块的空闲状态信息和 /或至少一个 资源块的忙状态信息, 本发明对此不做限制。  It should be noted that the UE may use other fields in the RRC message to carry the service type of the application resource and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block, which is not limited by the present invention. .
第二种方法,所述 UE向所述基站发送携带有所述资源申请消息 的 MAC CE消息。  In a second method, the UE sends a MAC CE message carrying the resource application message to the base station.
示例性的, UE可以在 MAC CE消息中携带申请资源的业务类型, 及至少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态 信息。 即根据 MAC CE消息的格式, 在 MAC CE消息的第一个字节的 前四位中携带申请资源的业务类型, 在第一个字节的后四位中携带 至少一个资源块的空闲状态信息, 在第二字节中携带资源块的状态 信息为空闲状态信息的所有资源块; 在第三个字节的前四位中携带 申请资源的业务类型, 在第三个字节的后四位中携带至少一个资源 块的忙状态信息, 在第四字节中携带资源块的状态信息为忙状态信 息的所有资源块, 从而在 UE釆用基站分配给 UE的用于发送 RRC消 息的资源, 向基站发送 MAC CE 消息时, 就可以将申请资源的业务 类型, 至少一个资源块的空闲状态信息和 /或至少一个资源块的忙 状态信息发送至基站。 Exemplarily, the UE may carry the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block in the MAC CE message. That is, according to the format of the MAC CE message, the service type of the application resource is carried in the first four bits of the first byte of the MAC CE message, and the idle state information of at least one resource block is carried in the last four bits of the first byte. The state information carrying the resource block in the second byte is all resource blocks of the idle state information; the service type of the application resource is carried in the first four bits of the third byte, and the last four digits of the third byte Carrying the busy state information of the at least one resource block, and the state information of the resource block in the fourth byte is all the resource blocks of the busy state information, so that the UE allocates resources for transmitting the RRC message to the UE by using the base station, When a MAC CE message is sent to the base station, the service for requesting the resource can be Type, the idle state information of the at least one resource block and/or the busy state information of the at least one resource block are sent to the base station.
需要说明的是, UE在 MA C C E消息中携带申请资源的业务类型, 及至少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态 信息, 还可以是其他方法, 本发明对此不做限制。  It should be noted that the UE carries the service type of the application resource in the MA CCE message, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block, and may be other methods. Make restrictions.
进一步的,所述 U E向所述簇头发送携带有所述资源申请消息的 MA C C E消息。  Further, the U E sends an MA C C E message carrying the resource request message to the cluster head.
具体的, UE向所述簇头发送携带有所述资源申请消息的 MAC C E 消息的方法, 可参考上述 UE 向所述基站发送携带有所述资源申请 消息的 MAC C E消息的方法类似, 本发明在此不再赘述。  Specifically, the method for the UE to send the MAC CE message carrying the resource application message to the cluster head may be similar to the method for the UE to send the MAC CE message carrying the resource application message to the base station, and the present invention is similar to the present invention. I will not repeat them here.
4 04、所述 UE接收所述第一设备分配给所述 UE的空闲资源块的 信息。  4: The UE receives information about an idle resource block allocated by the first device to the UE.
其中,所述空闲资源块的信息用于指示所述 UE釆用所述空闲资 源块与第二 UE 进行数据传输; 所述空闲资源块为所述至少一个资 源块。  The information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE; the idle resource block is the at least one resource block.
具体的, U E在向第一设备发送携带有申请资源的业务类型, 至 少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息 的资源申请消息后,使得第一设备根据接收到的资源申请消息给 UE 分配空闲资源块, 并将分配空闲资源块的消息发送至 UE , 则 UE接 收第一设备分配给 UE 的空闲资源块的信息, 并根据空闲资源块的 信息获知向第二 UE 发送数据时釆用的空闲资源块, 从而釆用此空 闲资源块与第二 U E进行数据传输, 完成此 UE与第二 UE 间的通信。  Specifically, after transmitting, by the UE, the service type carrying the application resource, the idle state information of the at least one resource block, and/or the resource application message of the busy state information of the at least one resource block, the first device sends the first device according to the received The resource request message is used to allocate the idle resource block to the UE, and the message for allocating the idle resource block is sent to the UE, and the UE receives the information of the idle resource block allocated by the first device to the UE, and learns the second information according to the information of the idle resource block. The idle resource block used by the UE when transmitting data, so that the idle resource block is used for data transmission with the second UE, and communication between the UE and the second UE is completed.
需要说明的是, 在 UE 确定自身接入网络时, U E 可以接收到基 站或簇头分配给 U E的空闲资源块的信息; 在 UE确定自身没有接入 网络时, UE只能接收到簇头分配给 UE的空闲资源块的信息。  It should be noted that, when the UE determines that the UE accesses the network, the UE may receive information about the idle resource block allocated by the base station or the cluster head to the UE; when the UE determines that it does not access the network, the UE can only receive the cluster head allocation. Information for the idle resource block of the UE.
本发明实施例提供了一种资源申请的方法,用户设备 UE在接收 到第一设备发送的第一资源池的信息后, 确定第一资源池中包括的 至少一个资源块的状态信息, 并向第一设备发送携带有申请资源的 业务类型、 至少一个资源块的空闲状态信息和 /或至少一个资源块 的忙状态信息的资源申请消息, 以使得第一设备根据接收到的资源 申请消息向 UE发送分配给 UE的空闲资源块的信息, 此时, UE接收 第一设备发送的分配给 UE的空闲资源块的信息, 从而使得 UE釆用 此空闲资源块与第二 UE 进行数据传输。 这样, 在两个第一设备管 理的小区有相同的资源时, 两个第一设备均可以根据自身所管理的 UE上报的第一资源池的状态信息, 为 自身所管理的 UE分配不同的 空闲资源块, 即自身所管理的 UE釆用不同的空闲资源块向第二 UE 发送数据, 从而在 D2D数据传输时降低了数据传输的干扰, 提高了 数据传输的正确率。 The embodiment of the present invention provides a method for requesting a resource. After receiving the information of the first resource pool sent by the first device, the user equipment UE determines state information of at least one resource block included in the first resource pool, and Transmitting, by the first device, a service type carrying the application resource, idle state information of the at least one resource block, and/or at least one resource block The resource request message of the busy state information, so that the first device sends the information of the idle resource block allocated to the UE to the UE according to the received resource request message. At this time, the UE receives the idle resource allocated by the first device and allocated to the UE. The information of the block, so that the UE uses the idle resource block to perform data transmission with the second UE. In this way, when the cells managed by the two first devices have the same resource, the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE. The resource block, that is, the UE managed by itself, uses different idle resource blocks to send data to the second UE, thereby reducing interference of data transmission during D2D data transmission, and improving the accuracy of data transmission.
本发明实施例提供了一种资源申请的方法, 应用于 D2D通信系 统中, 如图 5所示, 包括:  The embodiment of the present invention provides a method for applying for a resource, which is applied to a D2D communication system, as shown in FIG. 5, and includes:
501、 第一设备向 UE发送第一资源池的信息。  501. The first device sends information about the first resource pool to the UE.
其中 ,所述第一资源池是所述第一设备为所述 UE进行 D2D通信 时分配的资源; 所述第一资源池的信息, 用于指示所述第一设备为 所述 UE 进行所述 D2D通信时分配的资源的相关信息; 所述第一资 源池包括: 至少一个资源块; 所述簇头为釆用 D2D链路进行通信的 由多个 UE组成的簇中的一个 UE, 用于管理所述簇中的其他 UE。  The first resource pool is a resource that is allocated when the first device performs D2D communication for the UE, and the information of the first resource pool is used to indicate that the first device performs the foregoing for the UE. Information related to resources allocated during D2D communication; the first resource pool includes: at least one resource block; the cluster head is one UE of a cluster consisting of multiple UEs that communicates with a D2D link, and is used for Manage other UEs in the cluster.
具体的, 若第一设备包括基站, 基站以广播的形式向 UE发送第 一资源池的信息, 即向 UE发送进行 D2D通信时釆用的资源块的信 息。  Specifically, if the first device includes the base station, the base station sends the information of the first resource pool to the UE in the form of a broadcast, that is, the information about the resource block used for performing the D2D communication is sent to the UE.
若第一设备包括簇头,簇头以广播的形式向 U E发送预先配置好 的用于 D2D通信时釆用的资源块的信息; 或簇头接收基站发送的用 于 D2D通信时釆用的资源块的信息, 再将此信息发送至 UE。  If the first device includes a cluster head, the cluster head transmits, in a broadcast form, pre-configured information of the resource block used for D2D communication to the UE; or the cluster head receives the resource used by the base station for D2D communication The information of the block is sent to the UE.
需要说明的是,基站或簇头还可以根据其他方式向 UE发送第一 资源池的消息, 例如基站或簇头以专用信令的方式向 UE 发送第一 资源池的消息, 本发明对此不做限制。  It should be noted that the base station or the cluster head may also send the message of the first resource pool to the UE according to other manners, for example, the base station or the cluster head sends the message of the first resource pool to the UE in a dedicated signaling manner, which is not Make restrictions.
502、 所述第一设备接收所述 UE发送的资源申请消息。  502. The first device receives a resource application message sent by the UE.
其中, 所述资源申请消息中携带有申请资源的业务类型、 至少 一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息。 具体的, 在第一设备包括基站或簇头时, 基站或簇头均可以接 收到 UE 发送的携带有申请资源的业务类型、 至少一个资源块的空 闲状态信息和 /或至少一个资源块的忙状态信 , 的资源申请消 , ¾。 The resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block. Specifically, when the first device includes the base station or the cluster head, the base station or the cluster head may receive the service type of the application resource, the idle state information of the at least one resource block, and/or the busy of the at least one resource block sent by the UE. The status letter, the resource application cancellation, 3⁄4.
若第一设备包括簇头,则仅簇头可以接收到 UE发送的携带有申 请资源的业务类型、 至少一个资源块的空闲状态信息和 /或至少一 个资源块的忙状态信息的资源申请消息。  If the first device includes a cluster head, only the cluster head may receive a resource application message sent by the UE carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
进一步的, 若第一设备包括基站, 所述基站接收所述 UE发送的 携带有所述资源申请消息的 RRC消息。  Further, if the first device includes a base station, the base station receives an RRC message that is sent by the UE and carries the resource application message.
具体的, 若第一设备包括基站, 基站在 UE向基站发送 RRC消息 时釆用的资源上接收 UE发送的携带有所述资源申请消息的 RRC 消 息, 并在接收到的 RRC消息中解析出携带的资源申请消息, 进一步 在资源申请消息中解析出申请资源的业务类型、 至少一个资源块的 空闲状态信息和 /或至少一个资源块的忙状态信息。  Specifically, if the first device includes the base station, the base station receives the RRC message that is sent by the UE and carries the resource application message, and parses the carried in the received RRC message, when the UE sends the RRC message to the base station. The resource request message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
或者,所述基站接收所述 UE发送的携带有所述资源申请消息的 所述 MAC CE消息。  Or the base station receives the MAC CE message that is sent by the UE and carries the resource application message.
具体的, 若第一设备包括基站, 基站在 UE 向基站发送 MAC CE 消息时釆用的资源上接收 UE 发送的携带有所述资源申请消息的所 述 MAC CE消息, 并在 MAC CE消息中解析出携带的资源申请消息, 进一步在资源申请消息中解析出申请资源的业务类型、 至少一个资 源块的空闲状态信息和 /或至少一个资源块的忙状态信息。  Specifically, if the first device includes the base station, the base station receives the MAC CE message that is sent by the UE and carries the resource application message, and parses the MAC CE message in the MAC CE message when the UE sends the MAC CE message to the base station. The carried resource application message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
若第一设备包括簇头, 所述簇头通过空闲资源子块接收所述 UE 发送的携带有所述资源申请消息的媒体接入控制层控制单元 M A C C E 消息。  And if the first device includes a cluster head, the cluster head receives, by the idle resource sub-block, a media access control layer control unit M A C C E message that is sent by the UE and carries the resource application message.
其中,所述空闲资源子块为所述 UE向所述簇头发送所述资源申 请消息时釆用的资源子块。  The idle resource sub-block is a resource sub-block used when the UE sends the resource request message to the cluster head.
具体的, 若第一设备包括簇头, 簇头所述 UE向所述簇头发送所 述资源申请消息时釆用的资源子块接收 UE 发送的携带有所述资源 申请消息的所述 MAC CE消息, 并在 MAC CE消息中解析出携带的资 源申请消息, 进一步在资源申请消息中解析出申请资源的业务类 型、 至少一个资源块的空闲状态信息和 /或至少一个资源块的忙状 态信息。 Specifically, if the first device includes a cluster head, the resource sub-block used by the UE to send the resource request message to the cluster head receives the MAC CE that is sent by the UE and carries the resource application message. And parsing the carried resource application message in the MAC CE message, and further parsing the service class of the application resource in the resource application message Type, idle state information of at least one resource block and/or busy state information of at least one resource block.
5 0 3、 所述第一设备根据接收到的所述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息。  The first device sends, according to the received resource application message, information about an idle resource block allocated to the UE to the UE.
其中, 所述空闲资源块为所述至少一个资源块。  The idle resource block is the at least one resource block.
具体的, 若第一设备包括基站或簇头, 基站或簇头均可以根据 解析出的申请资源的业务类型、 至少一个资源块的空闲状态信 , ¾和 /或至少一个资源块的忙状态信息, 获知进行 D 2 D 通信的第一资源 池中的资源块状态信息为忙状态信息或空闲状态信息, 并在资源块 的状态信息为空闲状态信息的资源块中为 UE 分配至少一个空闲资 源块, 并将分配给 UE的至少一个空闲资源块的信息发送至 UE。  Specifically, if the first device includes a base station or a cluster head, the base station or the cluster head may be based on the parsed service type of the application resource, the idle status information of the at least one resource block, and/or the busy status information of the at least one resource block. Obtaining that the resource block state information in the first resource pool for performing D 2 D communication is busy state information or idle state information, and allocating at least one idle resource block to the UE in the resource block in which the state information of the resource block is the idle state information And transmitting information of at least one idle resource block allocated to the UE to the UE.
若第一设备包括簇头, 仅簇头可以根据解析出的申请资源的业 务类型、 至少一个资源块的空闲状态信息和 /或至少一个资源块的 忙状态信息, 获知进行 D 2 D通信的第一资源池中的资源块状态信 , 为忙状态信息或空闲状态信息, 并在资源块的状态信息为空闲状态 信息的资源块中为 UE分配至少一个空闲资源块, 并将分配给 UE的 至少一个空闲资源块的信息发送至 U E。  If the first device includes a cluster head, only the cluster head can learn the D 2 D communication according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block. a resource block status message in a resource pool, which is busy status information or idle status information, and allocates at least one idle resource block to the UE in a resource block whose status information of the resource block is idle status information, and allocates at least one allocated to the UE Information of one idle resource block is sent to the UE.
需要说明的是, 在第一设备为基站的情况下, 基站可以将分配 给 U E的至少一个空闲资源块的信息携带在 P DC C H 中发送至 UE ; 也 可以将分配给 UE的至少一个空闲资源块的信息携带在 MAC C E消息 中发送至 UE。  It should be noted that, in a case where the first device is a base station, the base station may carry the information of the at least one idle resource block allocated to the UE in the P DC CH and send the information to the UE; or may allocate at least one idle resource allocated to the UE. The information of the block is carried in the MAC CE message and sent to the UE.
本发明实施例提供了一种资源申请的方法, 在第一设备向用户 设备 UE发送第一资源池的消息后, 以使得 U E在接收到第一设备发 送的第一资源池的信息后, 确定第一资源池中包括的至少一个资源 块的状态信息, 并向第一设备发送携带有申请资源的业务类型、 至 少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息 的资源申请消息, 此时第一设备根据接收到的资源申请消息向 UE 发送分配给 UE的空闲资源块的信息, 从而使得 UE釆用此空闲资源 块与第二 U E 进行数据传输。 这样, 在两个第一设备管理的小区有 相同的资源时, 两个第一设备均可以根据自身所管理的 UE 上报的 第一资源池的状态信息, 为 自身所管理的 UE 分配不同的空闲资源 块,即自身所管理的 UE釆用不同的空闲资源块向第二 UE发送数据, 从而在 D2D数据传输时降低了数据传输的干扰, 提高了数据传输的 正确率。 An embodiment of the present invention provides a method for requesting a resource, after the first device sends a message of the first resource pool to the user equipment UE, so that the UE determines, after receiving the information of the first resource pool sent by the first device, The status information of the at least one resource block included in the first resource pool, and sending, to the first device, a resource carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block The application message, the first device sends the information of the idle resource block allocated to the UE to the UE according to the received resource application message, so that the UE uses the idle resource block to perform data transmission with the second UE. In this way, the cells managed by the two first devices have When the same resource is used, the two first devices can allocate different idle resource blocks to the UEs managed by the UEs according to the state information of the first resource pool that the UE manages, that is, the UEs managed by the UEs are different. The idle resource block sends data to the second UE, thereby reducing interference of data transmission during D2D data transmission, and improving the accuracy of data transmission.
本发明实施例提供了一种资源申请的方法, 应用于 D2D通信系 统中, 如图 6所示, 包括:  The embodiment of the present invention provides a method for applying for a resource, which is applied to a D2D communication system, as shown in FIG. 6, and includes:
601、 若第一设备包括簇头, 所述簇头将第一资源池中的至少一 个资源块的每个资源块划分为至少一个资源子块。  601. If the first device includes a cluster head, the cluster head divides each resource block of at least one resource block in the first resource pool into at least one resource sub-block.
其中 ,所述第一资源池是所述第一设备为所述 UE进行 D2D通信 时分配的资源; 所述第一资源池包括: 至少一个资源块; 所述簇头 为釆用 D2D链路进行通信的由多个 UE组成的簇中的一个 UE, 用于 管理所述簇中的其他 UE。  The first resource pool is a resource allocated by the first device when performing D2D communication for the UE; the first resource pool includes: at least one resource block; and the cluster head is performed by using a D2D link. One of the clusters of communication consisting of multiple UEs for managing other UEs in the cluster.
具体的, 若第一设备包括簇头, 簇头在向 UE发送第一资源池的 信息之前, 需要将第一资源池中的至少一个资源块的每个资源块的 可用带宽划分为相等的资源子块。  Specifically, if the first device includes a cluster head, the cluster head needs to divide the available bandwidth of each resource block of the at least one resource block in the first resource pool into equal resources before sending the information of the first resource pool to the UE. Subblock.
示例性的, 假设第一资源池中的至少一个资源块的每个资源块 的可用带宽为 5M, 则簇头可以将此 5M的可用带宽划分为相等的 25 个资源子块, 则每个资源子块的可用带宽为 180KHZ。  Exemplarily, if the available bandwidth of each resource block of at least one resource block in the first resource pool is 5M, the cluster head may divide the available bandwidth of the 5M into equal 25 resource sub-blocks, and then each resource The available bandwidth of the sub-block is 180KHZ.
需要说明的是, 若第一设备包括簇头, 执行步骤 601; 若第一 设备包括基站, 则直接执行步骤 602。  It should be noted that, if the first device includes a cluster head, step 601 is performed; if the first device includes the base station, step 602 is directly performed.
602、 所述第一设备向 UE发送所述第一资源池的信息; 所述 UE 接收第一设备发送的第一资源池的信息。  602. The first device sends information about the first resource pool to the UE. The UE receives information about the first resource pool sent by the first device.
其中, 所述第一资源池的信息, 用于指示所述第一设备为所述 UE进行所述 D2D通信时分配的资源的相关信息。  The information of the first resource pool is used to indicate information about resources allocated by the first device when the D2D communication is performed by the UE.
具体的, 可参考步骤 401及步骤 501 , 本发明在此不再赘述。 需要说明的是, 第一设备包括的内容不同, 下述执行的步骤也 不同, 在第一设备包括簇头的情况下, 则执行步骤 603-607; 在第 一设备包括基站的情况下, 则执行步骤 604, 606-607。 6 0 3、 所述簇头向所述 UE发送第一资源分配信息; 所述 UE接收 所述簇头发送的第一资源分配信息。 For details, refer to step 401 and step 501, and the present invention is not described herein again. It should be noted that, the content of the first device is different, and the steps performed are different. In the case that the first device includes a cluster head, steps 603-607 are performed; in the case where the first device includes a base station, Steps 604, 606-607 are performed. The cluster head sends the first resource allocation information to the UE; the UE receives the first resource allocation information sent by the cluster head.
其中, 所述第一资源分配信息用于指示所述簇头分配给所述 UE 的用于发送资源申请消息时釆用的空闲资源子块。  The first resource allocation information is used to indicate an idle resource sub-block that is used by the cluster head to allocate a resource request message to the UE.
具体的, 若所述第一设备包括簇头, 则簇头在将第一资源池中 的至少一个资源块的每个资源块划分为至少一个资源子块之后, 可 以向 UE发送用于指示所述簇头分配给所述 U E的用于发送资源申请 消息时釆用的空闲资源子块的第一资源分配信息, 此时, UE接收簇 头发送的第一资源分配信息。 以使得 UE 根据第一资源分配信息中 指示的空闲资源子块向簇头发送资源申请消息。  Specifically, if the first device includes a cluster head, the cluster head may send the indication to the UE after each resource block of the at least one resource block in the first resource pool is divided into at least one resource sub-block. The first resource allocation information of the idle resource sub-block used by the cluster head is allocated to the UE when the resource request message is sent. At this time, the UE receives the first resource allocation information sent by the cluster head. And causing the UE to send a resource request message to the cluster head according to the idle resource sub-block indicated in the first resource allocation information.
6 04、 所述 UE确定所述至少一个资源块的状态信息。  6 04. The UE determines status information of the at least one resource block.
具体的, 可参考步骤 4 0 2 , 本发明在此不再赘述。  For details, refer to step 4 0 2, and the present invention is not described herein again.
6 0 5、 若第一设备包括所述簇头, 所述簇头以超帧的时间长度为 周期, 在超帧划分信息的第一时间帧内向所述 UE 发送超帧划分信 息; 所述 U E 以超帧的时间长度为周期, 在超帧划分信息的第一时 间帧内接收所述簇头发送的超帧划分信息。  If the first device includes the cluster head, the cluster head sends a superframe splitting information to the UE in a first time frame of the superframe splitting information in a period of a superframe; The superframe division information sent by the cluster head is received in a first time frame of the superframe division information in a period of a superframe.
其中, 所述超帧划分信息包括: 第一时间帧, 第二时间帧, 第 三时间帧, 第四时间帧及第五时间帧; 如图 7所示, 其中, 所述第 一时间帧为所述簇头发送第一资源池的信息, 所述超帧划分信息及 第一资源分配信息的帧; 所述第二时间帧为所述 U E 向所述簇头发 送所述申请资源消息的帧; 所述第三时间帧及所述第五时间帧为所 述 UE向第二 UE发送数据的帧; 所述第四时间帧为所述簇头向所述 UE发送簇头分配给所述 UE的空闲资源块的信息的帧。  The superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; as shown in FIG. 7, where the first time frame is The cluster head sends information of the first resource pool, the superframe division information and the frame of the first resource allocation information; the second time frame is a frame in which the UE sends the application resource message to the cluster head The third time frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame is that the cluster head sends a cluster head to the UE and allocates to the UE. The frame of information for the idle resource block.
具体的, 若第一设备包括簇头, 簇头以超帧的时间长度为周期, 周期性的向 UE 发送包括第一时间帧, 第二时间帧, 第三时间帧, 第四时间帧及第五时间帧的超帧划分信息, 此时, UE接收簇头发送 的包括第一时间帧, 第二时间帧, 第三时间帧, 第四时间帧及第五 时间帧的超帧划分信息。  Specifically, if the first device includes a cluster head, the cluster head periodically transmits to the UE, including the first time frame, the second time frame, the third time frame, the fourth time frame, and the The superframe division information of the five time frames. At this time, the UE receives the superframe division information that is sent by the cluster head, including the first time frame, the second time frame, the third time frame, the fourth time frame, and the fifth time frame.
进一步的,所述 U E以超帧的时间长度为周期在超帧划分信息的 第一时间帧内, 在接收簇头发送的超帧划分信息时, 并接收所述第 一资源池的信息。 Further, the UE divides information in a superframe by using a time period of a superframe as a period In the first time frame, when receiving the superframe division information sent by the cluster head, the information of the first resource pool is received.
6 0 6、 所述 UE向所述第一设备发送资源申请消息; 所述第一设 备接收所述 UE发送的资源申请消息。  The UE sends a resource application message to the first device; the first device receives a resource application message sent by the UE.
其中, 所述资源申请消息中携带有申请资源的业务类型、 至少 一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息。  The resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
具体的, 可参考步骤 4 0 3及步骤 5 0 2 , 本发明在此不再赘述。 需要说明的是, 若第一设备包括簇头, 所述 UE向所述第一设备 发送资源申请消息包括: 所述 UE 根据接收到的所述超帧划分信息 向所述簇头发送资源申请消息。  For details, refer to step 4 0 3 and step 5 0 2 , and the present invention is not described herein again. It should be noted that, if the first device includes a cluster head, the sending, by the UE, the resource request message to the first device includes: sending, by the UE, a resource request message to the cluster head according to the received superframe splitting information. .
具体的, 若第一设备包括簇头, 所述 UE确定空闲资源子块, 并 在所述超帧划分信息中的所述第二时间帧内, 釆用所述空闲资源子 块向所述簇头发送携带有所述资源申请消息的 MAC C E消息。  Specifically, if the first device includes a cluster head, the UE determines an idle resource sub-block, and in the second time frame in the super-frame split information, uses the idle resource sub-block to the cluster The header sends a MAC CE message carrying the resource request message.
其中, 所述空闲资源子块为在所述簇头将所述至少一个资源块 中的每个资源块划分为至少一个资源子块的情况下, 为所述 UE 分 配的, 用于发送所述资源申请消息的资源子块; 或在所述簇头将所 述至少一个资源块中的每个资源块划分为至少一个资源子块的情 况下, 所述 UE在至少一个资源子块中选取的任一个资源子块。  The idle resource sub-block is allocated to the UE in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, and is configured to send the a resource sub-block of the resource request message; or in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, the UE is selected in at least one resource sub-block Any resource sub-block.
进一步的, UE确定空闲资源子块的方法有两种, 具体如下: 第一种方法,所述 UE根据接收到的所述簇头发送的第一资源分 配信息确定所述空闲资源子块。  Further, the method for the UE to determine the idle resource sub-block is as follows: In the first method, the UE determines the idle resource sub-block according to the received first resource allocation information sent by the cluster head.
具体的, UE在接收簇头发送的第一资源分配信息后, 在第一资 源分配信息中解析出分配给 UE 的用于发送资源申请消息时釆用的 资源子块, 从而确定空闲资源子块, 进而使得 UE 在所述超帧划分 信息中的所述第二时间帧内, 釆用此空闲资源子块向簇头发送携带 有资源申请消息的 MAC C E消息。  Specifically, after receiving the first resource allocation information sent by the cluster head, the UE parses the resource sub-block allocated to the UE for transmitting the resource application message in the first resource allocation information, thereby determining the idle resource sub-block. And then, in the second time frame in the superframe splitting information, the UE sends the MAC CE message carrying the resource request message to the cluster head by using the idle resource subblock.
第二种方法, 所述 UE根据所述第一资源池的信息, 确定所述空 闲资源子块。  In a second method, the UE determines the idle resource sub-block according to the information of the first resource pool.
其中, 所述第一资源池的信息, 还用于指示出所述至少一个资 源块的每个资源块划分为至少一个资源子块的相关信息。 The information of the first resource pool is further used to indicate the at least one resource. Each resource block of the source block is divided into related information of at least one resource sub-block.
具体的, UE在接收到第一资源池的信息后, 解析出第一资源池 的信息中指示的至少一个资源块的每个资源块划分为至少一个资 源子块的相关信息, 即获知第一资源池中至少一个资源块的每个资 源块的划分信息, 从而在其中一个资源块中选取一个空闲的资源子 块, 将此空闲的资源子块确定为空闲资源子块, 进而使得 UE 在所 述超帧划分信息中的所述第二时间帧内, 釆用此空闲资源子块向簇 头发送携带有资源申请消息的 MAC C E消息。  Specifically, after receiving the information of the first resource pool, the UE parses the information about each resource block of the at least one resource block indicated by the information in the information of the first resource pool into at least one resource sub-block, that is, the first information is obtained. Decoding information of each resource block of at least one resource block in the resource pool, thereby selecting one idle resource sub-block in one of the resource blocks, and determining the idle resource sub-block as an idle resource sub-block, thereby causing the UE to In the second time frame in the superframe division information, the idle resource sub-block is used to send a MAC CE message carrying the resource application message to the cluster head.
6 0 7、 所述第一设备根据接收到的所述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息;所述 U E接收所述第一 设备分配给所述 UE的空闲资源块的信息。  The first device sends, according to the received resource application message, information about an idle resource block allocated to the UE to the UE; the UE receives the first device and allocates the information to the UE. Information about the free resource block.
具体的, 可参考步骤 5 0 3及步骤 4 04 , 本发明在此不再赘述。 需要说明的是,所述第一设备根据接收到的所述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息包括: 若第一设 备包括簇头, 所述簇头根据所述超帧划分信息及接收到的所述资源 申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息。  For details, refer to Step 5 0 3 and Step 4 04, and the present invention is not described herein again. It is to be noted that the information that the first device sends the idle resource block allocated to the UE to the UE according to the received resource request message includes: if the first device includes a cluster head, the cluster head And transmitting, according to the superframe splitting information and the received resource request message, information about an idle resource block allocated to the UE to the UE.
具体的, 所述簇头根据接收到的所述资源申请消息, 在所述超 帧划分信息中的所述第四时间帧内, 釆用空闲资源子块向所述 UE 发送分配给所述 UE 的所述空闲资源块的信息。  Specifically, the cluster head sends, according to the received resource application message, the allocated resource sub-block to the UE to allocate to the UE in the fourth time frame in the super-frame split information. Information of the free resource block.
也就是说, 簇头根据解析出的申请资源的业务类型、 至少一个 资源块的空闲状态信息和 /或至少一个资源块的忙状态信息, 获知 进行 D 2 D通信的第一资源池中的资源块状态信息为忙状态信息或空 闲状态信息, 并在状态信息为空闲状态信息的资源块中为 UE 分配 至少一个空闲资源块, 并在超帧划分信息中的第四时间帧内, 釆用 UE 向簇头发送资源申请消息时釆用的空闲资源子块, 向 UE发送分 配给 UE的至少一个空闲资源块的信息, 这样, 簇头在釆用与 UE向 簇头发送资源申请消息时相同的空闲资源子块向 U E发送分配给 UE 的至少一个空闲资源块的信息时, 不需要携带 UE 的标识信息, 节 省了 UE的标识信息所占用的资源。 本发明实施例提供了一种资源申请的方法,用户设备 UE在接收 到第一设备发送的第一资源池的信息后, 确定第一资源池中包括的 至少一个资源块的状态信息, 并向第一设备发送携带有申请资源的 业务类型、 至少一个资源块的空闲状态信息和 /或至少一个资源块 的忙状态信息的资源申请消息, 以使得第一设备根据接收到的资源 申请消息向 UE发送分配给 UE的空闲资源块的信息, 此时, UE接收 第一设备发送的分配给 UE的空闲资源块的信息, 从而使得 UE釆用 此空闲资源块与第二 UE 进行数据传输。 这样, 在两个第一设备管 理的小区有相同的资源时, 两个第一设备均可以根据自身所管理的 UE上报的第一资源池的状态信息, 为 自身所管理的 UE分配不同的 空闲资源块, 即自身所管理的 UE釆用不同的空闲资源块向第二 UE 发送数据, 从而在 D2D数据传输时降低了数据传输的干扰, 提高了 数据传输的正确率。 That is, the cluster head learns the resources in the first resource pool for performing D 2 D communication according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block. The block status information is busy status information or idle status information, and at least one idle resource block is allocated to the UE in the resource block whose status information is idle status information, and the UE is used in the fourth time frame in the superframe division information. The idle resource sub-block used when the resource request message is sent to the cluster head, and the information about the at least one idle resource block allocated to the UE is sent to the UE, so that the cluster head is the same as when the UE sends the resource request message to the cluster head. When the idle resource sub-block sends the information of the at least one idle resource block allocated to the UE to the UE, the identifier information of the UE is not required to be carried, and the resources occupied by the identifier information of the UE are saved. The embodiment of the present invention provides a method for requesting a resource. After receiving the information of the first resource pool sent by the first device, the user equipment UE determines state information of at least one resource block included in the first resource pool, and The first device sends a resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block, so that the first device sends the message to the UE according to the received resource request message. The information about the idle resource block allocated to the UE is sent. At this time, the UE receives the information of the idle resource block allocated by the first device and allocated to the UE, so that the UE uses the idle resource block to perform data transmission with the second UE. In this way, when the cells managed by the two first devices have the same resource, the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE. The resource block, that is, the UE managed by itself, uses different idle resource blocks to send data to the second UE, thereby reducing interference of data transmission during D2D data transmission, and improving the accuracy of data transmission.
本发明实施例提供了一种 UE, 应用于 D2D通信系统中, 如图 8 所示, 包括: 接收器 801 , 发送器 802, 存储器 803 以及分别与接 收器 801 , 发送器 802及存储器 803连接的处理器 804。  The embodiment of the present invention provides a UE, which is applied to a D2D communication system. As shown in FIG. 8, the method includes: a receiver 801, a transmitter 802, a memory 803, and a receiver 801, a transmitter 802, and a memory 803, respectively. Processor 804.
其中, 存储器 803 中存储一组程序代码, 且处理器 804用于调 用存储器 803 中存储的程序代码。 接收器 801 , 发送器 802及处理 器 804用于执行以下操作:  A set of program codes is stored in the memory 803, and the processor 804 is used to call the program code stored in the memory 803. Receiver 801, transmitter 802 and processor 804 are used to perform the following operations:
所述接收器 801 , 用于接收第一设备发送的第一资源池的信息。 其中,所述第一资源池是所述第一设备为所述 UE进行设备到设 备 D2D通信时分配的资源; 所述第一资源池的信息, 用于指示所述 第一设备为所述 UE 进行所述 D2D通信时分配的资源的相关信息; 所述第一资源池包括: 至少一个资源块; 所述簇头为釆用 D2D链路 进行通信的由多个 UE组成的簇中的一个 UE, 用于管理所述簇中的 其他 UE。  The receiver 801 is configured to receive information about a first resource pool sent by the first device. The first resource pool is a resource that is allocated when the first device performs device-to-device D2D communication for the UE, and the information of the first resource pool is used to indicate that the first device is the UE. And the related information of the resources allocated when the D2D communication is performed; the first resource pool includes: at least one resource block; the cluster head is one of a cluster of multiple UEs that communicates by using a D2D link Used to manage other UEs in the cluster.
具体的, 所述接收器 801 , 在接收第一设备发送的第一资源池 的信息之前, 需要接收第一设备发送的携带有第一设备的标识信 息, 从而使得所述接收器 801 , 根据接收到的携带有第一设备的标 识信息的消息, 确定接收到的第一资源池的信息是基站发送至 UE 的, 还是簇头发送至 UE 的。 若确定第一设备的标识信息为基站的 标识信息, 则确定接收到的第一资源池的信息是由基站发送至 UE 的; 若确定第一资源池的信息中携带的第一设备的标识信息为簇头 的标识信息,则确定接收到的第一资源池的信息是由簇头发送至 U E 的。 Specifically, the receiver 801, before receiving the information of the first resource pool sent by the first device, needs to receive the identifier information that is sent by the first device and carries the first device, so that the receiver 801 receives the To the standard carrying the first device The message identifying the information determines whether the received information of the first resource pool is sent by the base station to the UE or is sent by the cluster head to the UE. If it is determined that the identifier information of the first device is the identifier information of the base station, determining that the received information of the first resource pool is sent by the base station to the UE; and determining the identifier information of the first device carried in the information of the first resource pool For the identification information of the cluster head, it is determined that the received information of the first resource pool is sent by the cluster head to the UE.
需要说明的是, 所述接收器 801 , 若仅接收到基站发送的第一 资源池的信息, 则确定 UE 自身接入网络; 若在接收到基站发送的 第一资源池的信息时, 还接收到簇头发送的第一资源池的信息, 则 可以确定 UE 自身接入网络; 若仅接收到簇头发送的第一资源池的 信息, 则确定自身没有接入网络。  It should be noted that, if the receiver 801 only receives the information of the first resource pool sent by the base station, it determines that the UE accesses the network itself; if receiving the information of the first resource pool sent by the base station, If the information of the first resource pool sent by the cluster head is received, the UE may determine that the UE accesses the network. If only the information of the first resource pool sent by the cluster head is received, it is determined that the UE does not access the network.
需要说明的是, 所述接收器 801 , 在确定 UE 自身没有接入网络 时, 接收到的第一资源池的信息中所指示的第一资源池为簇头预先 配置好的用于 D2D通信时釆用的资源块; 在确定 UE 自身接入网络 时, 接收到的第一资源池的信息中所指示的第一资源池为基站分配 给 UE的用于 D2D通信时釆用的资源块。  It should be noted that, when the receiver 801 determines that the UE does not access the network, the first resource pool indicated by the information of the received first resource pool is pre-configured for the D2D communication by the cluster head. The first resource pool indicated in the received information of the first resource pool is a resource block allocated by the base station to the UE for D2D communication when determining that the UE itself accesses the network.
所述处理器 804, 用于确定所述至少一个资源块的状态信息。 具体的, 所述处理器 804, 确定第一资源池中包括的至少一个 资源块的状态信息的方法有两种, 具体方法如下:  The processor 804 is configured to determine status information of the at least one resource block. Specifically, the processor 804 has two methods for determining status information of at least one resource block included in the first resource pool, and the specific method is as follows:
第一种方法, 所述处理器 804, 具体用于获取所述至少一个资 源块上的功率信息; 并确定获取的所述功率信息是否大于第一门限 值。  The first method, the processor 804 is specifically configured to acquire power information on the at least one resource block, and determine whether the acquired power information is greater than a first threshold.
若确定获取的所述功率信息不大于所述第一门限值, 则确定所 述至少一个资源块的状态信息为空闲状态信息;  If it is determined that the obtained power information is not greater than the first threshold, determining that state information of the at least one resource block is idle state information;
若确定获取的所述功率信息大于所述第一门限值, 则确定所述 至少一个资源块的状态信息为忙状态信息。  And determining that the obtained power information is greater than the first threshold, determining that the status information of the at least one resource block is busy status information.
也就是说, 所述处理器 804, 在获知 UE 自身进行 D2D通信时釆 用的第一资源池后, 需要对第一资源池中包括的至少一个资源块的 每个资源块上的状态信息进行确定, 即获取第一资源池中包括的至 少一个资源块的每个资源块上的接收功率信息, 并将获取的每个资 源块上的接收功率信息分别与预先设置好的第一门限值进行比较, 若确定获取的资源块上的接收功率信息不大于预先设置好的第一 门限值, 则将接收功率信息不大于预先设置好的第一门限值的资源 块的状态信息确定为空闲状态信息; 若确定获取的资源块上的接收 功率信息大于预先设置好的第一门限值, 则将接收功率信息大于预 先设置好的第一门限值的资源块的状态信息确定为忙状态信息。 That is, the processor 804 needs to perform state information on each resource block of at least one resource block included in the first resource pool after learning the first resource pool used by the UE itself for performing D2D communication. OK, that is, to get to include in the first resource pool Receiving received power information on each resource block of one resource block, and comparing the received power information on each resource block to a preset first threshold value, if it is determined on the acquired resource block If the received power information is not greater than the preset first threshold, the state information of the resource block whose received power information is not greater than the preset first threshold is determined as idle state information; if it is determined that the acquired resource block is The received power information is greater than the preset first threshold, and the status information of the resource block whose received power information is greater than the preset first threshold is determined as the busy status information.
第二种方法, 所述处理器 8 04 , 具体用于确定所述至少一个资 源块上是否携带有导频信号。  The second method, the processor 804 is specifically configured to determine whether a pilot signal is carried on the at least one resource block.
若确定所述至少一个资源块上没有携带所述导频信号, 则确定 所述至少一个资源块的状态信息为空闲状态信息。  If it is determined that the pilot signal is not carried on the at least one resource block, determining that the state information of the at least one resource block is idle state information.
若确定所述至少一个资源块上携带有所述导频信号, 则确定所 述至少一个资源块的状态信息为忙状态信息。  If it is determined that the pilot signal is carried on the at least one resource block, determining that the status information of the at least one resource block is busy status information.
也就是说, 所述处理器 8 04 , 在获知 UE 自身进行 D 2 D通信时釆 用的第一资源池后, 解析第一资源池中包括的至少一个资源块的每 个资源块上是否携带有导频信息, 若确定在资源块上没有携带导频 信息, 则将没有携带导频信息所对应的资源块的状态信息确定为空 闲状态信息; 若确定在资源块上携带有导频信息, 则将携带有导频 信息所对应的资源块的状态信息确定为忙状态信息。  That is, the processor 804, after learning the first resource pool used by the UE itself for D2D communication, parsing whether each resource block of at least one resource block included in the first resource pool carries If there is any pilot information, if it is determined that the pilot information is not carried on the resource block, the state information of the resource block that does not carry the pilot information is determined as idle state information; if it is determined that the pilot information is carried on the resource block, Then, the state information carrying the resource block corresponding to the pilot information is determined as the busy state information.
所述发送器 8 02 , 用于向所述第一设备发送资源申请消息。 其中, 所述资源申请消息中携带有申请资源的业务类型、 至少 一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息。  The transmitter 80 02 is configured to send a resource request message to the first device. The resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
具体的, 在 UE确定自身接入网络时, 所述发送器 8 02 , 可以向 基站或簇头发送携带有申请资源的业务类型、 至少一个资源块的空 闲状态信息和 /或至少一个资源块的忙状态信 , 的资源申请消 , ¾。  Specifically, when the UE determines that the UE accesses the network, the transmitter 802 may send, to the base station or the cluster head, a service type carrying the application resource, idle state information of the at least one resource block, and/or at least one resource block. The busy status letter, the resource application cancellation, 3⁄4.
在 UE确定自身没有接入网络时, 所述发送器 8 02 , 只向簇头发 送携带有申请资源的业务类型、 至少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息的资源申请消息。  When the UE determines that it does not have access to the network, the transmitter 802 sends only the service type carrying the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block to the cluster head. Resource application message.
进一步的, 所述发送器 8 02 向基站发送携带有申请资源的业务 类型、 至少一个资源块的空闲状态信息和 /或至少一个资源块的忙 状态信息的资源申请消息的方法有两种, 具体如下: Further, the transmitter 802 sends a service carrying the application resource to the base station. There are two methods for the type, the idle state information of at least one resource block, and/or the resource request message of the busy state information of at least one resource block, as follows:
第一种方法, 所述发送器 8 02 , 在所述接收器 8 01 接收到所述 基站发送的所述第一资源池的信息时, 用于向所述基站发送携带有 所述资源申请消息的无线资源控制协议 RRC消息。  The first method, the transmitter 802, when the receiver 810 receives the information of the first resource pool sent by the base station, is configured to send, to the base station, the resource request message Radio Resource Control Protocol RRC message.
示例性的, 所述发送器 8 02可以在 RRC消息中釆用业务类型的 字段来携带申请资源的业务类型, 釆用资源状态字段来携带至少一 个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息, 从 而在釆用基站分配给 UE 的用于发送 RRC 消息的资源, 向基站发送 RRC 消息时, 就可以将申请资源的业务类型, 至少一个资源块的空 闲状态信息和 /或至少一个资源块的忙状态信息发送至基站。  Exemplarily, the transmitter 202 may use a service type field in an RRC message to carry a service type of the application resource, and use a resource status field to carry idle state information and/or at least one resource of the at least one resource block. The busy state information of the block, so that when the RRC message is sent to the base station by the base station to allocate the RRC message to the UE, the service type of the application resource, the idle state information of the at least one resource block, and/or The busy status information of at least one resource block is sent to the base station.
需要说明的是, 所述发送器 8 02可以在 RRC消息中釆用其他字 段来携带申请资源的业务类型及至少一个资源块的空闲状态信 , ¾ 和 /或至少一个资源块的忙状态信息, 本发明对此不做限制。  It should be noted that the transmitter 202 may use other fields in the RRC message to carry the service type of the application resource and the idle status information of the at least one resource block, and/or the busy status information of the at least one resource block. The invention is not limited thereto.
第二种方法, 所述发送器 8 02 , 在所述接收器 8 01 接收到所述 基站发送的所述第一资源池的信息时, 用于向所述基站发送携带有 所述资源申请消息的所述 MAC CE消息。  In a second method, the transmitter 802, when the receiver 819 receives the information about the first resource pool sent by the base station, is configured to send, to the base station, the resource request message The MAC CE message.
示例性的, 所述发送器 8 02 , 可以在 MAC CE消息中携带申请资 源的业务类型, 及至少一个资源块的空闲状态信息和 /或至少一个 资源块的忙状态信息。 即根据 MAC CE消息的格式, 在 MAC CE消息 的第一个字节的前四位中携带申请资源的业务类型, 在第一个字节 的后四位中携带至少一个资源块的空闲状态信息, 在第二字节中携 带资源块的状态信息为空闲状态信息的所有资源块; 在第三个字节 的前四位中携带申请资源的业务类型, 在第三个字节的后四位中携 带至少一个资源块的忙状态信息, 在第四字节中携带资源块的状态 信息为忙状态信息的所有资源块, 从而在釆用基站分配给 UE 的用 于发送 RRC 消息的资源, 向基站发送 MAC CE 消息时, 就可以将申 请资源的业务类型, 至少一个资源块的空闲状态信息和 /或至少一 个资源块的忙状态信息发送至基站。 需要说明的是, 所述发送器 802, 在 MAC CE消息中携带申请资 源的业务类型, 及至少一个资源块的空闲状态信息和 /或至少一个 资源块的忙状态信息, 还可以是其他方法, 本发明对此不做限制。 Exemplarily, the sender 802 may carry the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block in the MAC CE message. That is, according to the format of the MAC CE message, the service type of the application resource is carried in the first four bits of the first byte of the MAC CE message, and the idle state information of at least one resource block is carried in the last four bits of the first byte. The state information carrying the resource block in the second byte is all resource blocks of the idle state information; the service type of the application resource is carried in the first four bits of the third byte, and the last four digits of the third byte Carrying the busy state information of the at least one resource block, and carrying the state information of the resource block in the fourth byte as all the resource blocks of the busy state information, so as to allocate resources to the UE for transmitting the RRC message in the base station, When the base station sends the MAC CE message, the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block may be sent to the base station. It should be noted that, the transmitter 802, in the MAC CE message, carries the service type of the application resource, and the idle state information of the at least one resource block and/or the busy state information of the at least one resource block, and may be other methods. The invention is not limited thereto.
进一步的, 所述发送器 802, 用于向所述簇头发送携带有所述 资源申请消息的 MAC CE消息。  Further, the transmitter 802 is configured to send, to the cluster head, a MAC CE message carrying the resource application message.
具体的, 所述发送器 802 向所述簇头发送携带有所述资源申请 消息的 MAC CE 消息的方法, 可参考上述向所述基站发送携带有所 述资源申请消息的 MAC CE消息的方法类似, 本发明在此不再赘述。  Specifically, the method for the sender 802 to send the MAC CE message carrying the resource request message to the cluster head may be similar to the method for sending the MAC CE message carrying the resource application message to the base station. The present invention will not be described again herein.
所述接收器 801 , 还用于接收所述第一设备分配给所述 UE的空 闲资源块的信息。  The receiver 801 is further configured to receive information about an idle resource block allocated by the first device to the UE.
其中,所述空闲资源块的信息用于指示所述 UE釆用所述空闲资 源块与第二 UE 进行数据传输; 所述空闲资源块为所述至少一个资 源块。  The information of the idle resource block is used to indicate that the UE uses the idle resource block to perform data transmission with the second UE; the idle resource block is the at least one resource block.
具体的, 所述接收器 801 , 在所述发送器 802 向第一设备发送 携带有申请资源的业务类型, 至少一个资源块的空闲状态信息和 / 或至少一个资源块的忙状态信 , 的资源申请消息后, 接收第一设备 分配给 UE 的空闲资源块的信息, 并根据空闲资源块的信息获知向 第二 UE 发送数据时釆用的空闲资源块, 从而釆用此空闲资源块与 第二 UE进行数据传输, 完成此 UE与第二 UE间的通信。  Specifically, the receiver 801 sends, to the first device, the resource that carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy status information of the at least one resource block. After the application message, the information about the idle resource block allocated by the first device to the UE is received, and the idle resource block used when sending data to the second UE is learned according to the information of the idle resource block, thereby using the idle resource block and the second The UE performs data transmission to complete communication between the UE and the second UE.
需要说明的是, 所述接收器 801 , 在确定 UE 自身接入网络时, 可以接收到基站或簇头分配给 UE 的空闲资源块的信息; 在确定自 身没有接入网络时, 只能接收到簇头分配给 UE 的空闲资源块的信 息。  It should be noted that, when determining that the UE itself accesses the network, the receiver 801 may receive information about an idle resource block allocated by the base station or the cluster head to the UE; when it is determined that the network does not access the network, it can only receive The information that the cluster head allocates to the idle resource block of the UE.
进一步的, 所述接收器 801 , 还用于以超帧的时间长度为周期, 在超帧划分信息的第一时间帧内接收所述簇头发送的超帧划分信 息。  Further, the receiver 801 is further configured to receive, according to a time length of the superframe, a superframe division information sent by the cluster head in a first time frame of the superframe division information.
其中, 所述超帧划分信息包括: 第一时间帧, 第二时间帧, 第 三时间帧, 第四时间帧及第五时间帧; 其中, 所述第一时间帧为所 述簇头发送第 ―资源池的信息, 所述超帧划分信息及第一资源分配 信息的帧; 所述第二时间帧为所述 UE 向所述簇头发送所述申请资 源消息的帧; 所述第三时间帧及所述第五时间帧为所述 UE 向所述 第二 UE发送数据的帧; 所述第四时间帧为所述簇头向所述 UE发送 簇头分配给所述 UE的空闲资源块的信息的帧。 The superframe splitting information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame; wherein, the first time frame is sent by the cluster head ― resource pool information, the superframe division information and the first resource allocation a frame of information; the second time frame is a frame in which the UE sends the application resource message to the cluster head; the third time frame and the fifth time frame are a frame in which the UE transmits data; the fourth time frame is a frame in which the cluster head sends information of an idle resource block allocated by the cluster head to the UE to the UE.
所述接收器 8 01 用于接收第一设备发送的第一资源池的信息具 体包括:  The information that is used by the receiver 810 to receive the first resource pool sent by the first device includes:
所述接收器 8 01 , 用于以超帧的时间长度为周期在超帧划分信 息的第一时间帧内, 在接收簇头发送的超帧划分信息时, 并接收所 述第一资源池的信息。  The receiver 810 is configured to receive the superframe division information sent by the cluster head in the first time frame of the superframe division information in a period of the duration of the superframe, and receive the first resource pool. information.
所述发送器 802用于向所述第一设备发送资源申请消息具体包括: 进一步的, 所述第一资源池的信息, 还用于指示出所述至少一 个资源块的每个资源块划分为至少一个资源子块的相关信息。  The sending, by the transmitter 802, the resource request message to the first device includes: further, the information of the first resource pool is further used to indicate that each resource block of the at least one resource block is divided into Information about at least one resource sub-block.
进一步的, 所述处理器 8 04 , 还用于确定空闲资源子块。  Further, the processor 804 is further configured to determine an idle resource sub-block.
具体的, 所述处理器 8 04确定空闲资源子块的方法有两种, 具 体如下:  Specifically, the processor 804 determines two methods for the idle resource sub-block, as follows:
第一种方法, 所述处理器 8 04 , 还用于根据所述第一资源池的 信息, 确定空闲资源子块。  The first method, the processor 804 is further configured to determine, according to the information of the first resource pool, an idle resource sub-block.
其中,所述空闲资源子块为所述空闲资源块中的一个资源子块。 具体的, 所述处理器 8 04 , 在接收到第一资源池的信息后, 解 析出第一资源池的信息中指示的至少一个资源块的每个资源块划 分为至少一个资源子块的相关信息, 即获知第一资源池中至少一个 资源块的每个资源块的划分信息, 从而在其中一个资源块中选取一 个空闲的资源子块, 将此空闲的资源子块确定为空闲资源子块, 进 而在所述超帧划分信息中的所述第二时间帧内, 釆用此空闲资源子 块向簇头发送携带有资源申请消息的 MAC CE消息。  The idle resource sub-block is one resource sub-block in the idle resource block. Specifically, the processor 8 04, after receiving the information of the first resource pool, parses out that each resource block of the at least one resource block indicated in the information of the first resource pool is divided into at least one resource sub-block. The information, that is, the partition information of each resource block of at least one resource block in the first resource pool is obtained, so that one idle resource sub-block is selected in one of the resource blocks, and the idle resource sub-block is determined as the idle resource sub-block. And in the second time frame in the superframe splitting information, the idle resource subblock is used to send a MAC CE message carrying the resource request message to the cluster head.
第二种方法, 所述处理器 8 04 , 还用于接收所述簇头发送的第 一资源分配信息, 并根据所述第一资源分配信息确定所述空闲资源 子块。  The second method, the processor 804 is further configured to receive the first resource allocation information sent by the cluster head, and determine the idle resource sub-block according to the first resource allocation information.
其中,第一资源分配信息用于指示簇头分配给 UE的用于发送资 源申请消息时釆用的资源子块。 The first resource allocation information is used to indicate that the cluster head is allocated to the UE for sending the resource. The resource sub-block that is used when the source requests the message.
具体的, 所述处理器 8 04 , 在接收簇头发送的第一资源分配信 息后, 在第一资源分配信息中解析出分配给 U E 的用于发送资源申 请消息时釆用的资源子块, 从而确定空闲资源子块, 进而在所述超 帧划分信息中的所述第二时间帧内, 釆用此空闲资源子块向簇头发 送携带有资源申请消息的 MAC C E消息。  Specifically, the processor 804, after receiving the first resource allocation information sent by the cluster head, parsing, in the first resource allocation information, the resource sub-blocks used for transmitting the resource application message allocated to the UE, Therefore, the idle resource sub-block is determined, and in the second time frame in the super-frame splitting information, the idle resource sub-block is used to send the MAC CE message carrying the resource application message to the cluster head.
所述发送器 8 0 2 , 用于根据所述超帧划分信息向所述簇头发送 资源申请消息具体包括:  And the sending, by the sender, the resource request message to the cluster head according to the superframe splitting information, specifically:
所述发送器 8 0 2 , 用于在所述超帧划分信息中的所述第二时间 帧内, 釆用所述处理器 8 0 4确定的所述空闲资源子块向所述簇头发 送携带有所述资源申请消息的 MAC C E消息。  The transmitter 80 2 is configured to send, in the second time frame in the superframe splitting information, the idle resource sub-block determined by the processor 804 to the cluster head A MAC CE message carrying the resource request message.
其中, 所述空闲资源子块为在所述簇头将所述至少一个资源块 中的每个资源块划分为至少一个资源子块的情况下, 为所述 UE 分 配的, 用于发送所述资源申请消息的资源子块; 或在所述簇头将所 述至少一个资源块中的每个资源块划分为至少一个资源子块的情 况下, 所述 UE在至少一个资源子块中选取的任一个资源子块。  The idle resource sub-block is allocated to the UE in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, and is configured to send the a resource sub-block of the resource request message; or in a case where the cluster head divides each of the at least one resource block into at least one resource sub-block, the UE is selected in at least one resource sub-block Any resource sub-block.
本发明实施例提供了一种用户设备 UE , UE在接收到第一设备发 送的第一资源池的信息后, 确定第一资源池中包括的至少一个资源 块的状态信息, 并向第一设备发送携带有申请资源的业务类型、 至 少一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息 的资源申请消息,以使得第一设备根据接收到的资源申请消息向 UE 发送分配给 UE 的空闲资源块的信息, 此时, UE接收第一设备发送 的分配给 UE的空闲资源块的信息, 从而使得 UE釆用此空闲资源块 与第二 UE 进行数据传输。 这样, 在两个第一设备管理的小区有相 同的资源时, 两个第一设备均可以根据自身所管理的 U E 上报的第 一资源池的状态信息, 为 自身所管理的 U E分配不同的空闲资源块, 即自身所管理的 U E釆用不同的空闲资源块向第二 UE发送数据, 从 而在 D 2 D数据传输时降低了数据传输的干扰, 提高了数据传输的正 确率。 本发明实施例提供了一种设备, 应用于 D2D通信系统中, 如图 9所示, 包括: 发送器 901 , 接收器 902, 存储器 903以及分别与发 送器 901 , 接收器 902及存储器 903连接的处理器 904。 The embodiment of the present invention provides a user equipment (UE), after receiving the information of the first resource pool sent by the first device, the UE determines the state information of the at least one resource block included in the first resource pool, and sends the status information to the first device. Sending a resource request message carrying the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block, so that the first device sends the allocation to the UE according to the received resource request message. The information about the idle resource block of the UE, at this time, the UE receives the information of the idle resource block allocated by the first device and allocated to the UE, so that the UE uses the idle resource block to perform data transmission with the second UE. In this way, when the cells managed by the two first devices have the same resource, the two first devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE. The resource block, that is, the UE managed by itself, uses different idle resource blocks to transmit data to the second UE, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission. The embodiment of the present invention provides a device, which is applied to a D2D communication system. As shown in FIG. 9, the device includes: a transmitter 901, a receiver 902, a memory 903, and a transmitter 901, a receiver 902, and a memory 903, respectively. Processor 904.
其中, 存储器 903 中存储一组程序代码, 且处理器 904用于调 用存储器 903 中存储的程序代码。 发送器 901 , 接收器 902及处理 器 904用于执行以下操作:  A set of program codes is stored in the memory 903, and the processor 904 is used to call the program code stored in the memory 903. Transmitter 901, receiver 902 and processor 904 are used to perform the following operations:
所述发送器 901 , 用于向用户设备 UE发送第一资源池的信息。 其中, 所述第一资源池是所述设备为所述 UE 进行设备到设备 D2D 通信时分配的资源; 所述第一资源池的信息, 用于指示所述设 备为所述 UE 进行所述 D2D通信时分配的资源的相关信息; 所述第 一资源池包括: 至少一个资源块; 所述簇头为釆用 D2D链路进行通 信的由多个 UE组成的簇中的一个 UE,用于管理所述簇中的其他 UE。  The transmitter 901 is configured to send information about the first resource pool to the user equipment UE. The first resource pool is a resource allocated by the device when the device performs device-to-device D2D communication; the information of the first resource pool is used to indicate that the device performs the D2D for the UE Information about resources allocated during communication; the first resource pool includes: at least one resource block; the cluster head is one of a cluster of multiple UEs that communicates with a D2D link, for management Other UEs in the cluster.
具体的, 若第一设备包括基站, 所述发送器 901 , 以广播的形 式向 UE发送第一资源池的信息, 即向 UE发送进行 D2D通信时釆用 的资源块的信息。  Specifically, if the first device includes a base station, the transmitter 901 sends the information of the first resource pool to the UE in a broadcast manner, that is, sends information of the resource block used for performing D2D communication to the UE.
若第一设备包括簇头, 所述发送器 901 , 以广播的形式向 UE发 送预先配置好的用于 D2D通信时釆用的资源块的信息; 或在接收基 站发送的用于 D2D通信时釆用的资源块的信息后, 所述发送器 901 再将此信息发送至 UE。  If the first device includes a cluster head, the transmitter 901 transmits, in a broadcast form, pre-configured information for resource blocks used for D2D communication to the UE; or when receiving the base station for D2D communication. After the information of the used resource block, the transmitter 901 sends the information to the UE.
需要说明的是,所述发送器 901还可以根据其他方式向 UE发送 第一资源池的消息, 例如所述发送器 901 以专用信令的方式向 UE 发送第一资源池的消息, 本发明对此不做限制。  It should be noted that the sender 901 may further send a message of the first resource pool to the UE according to other manners, for example, the sender 901 sends a message of the first resource pool to the UE in a dedicated signaling manner. This is not a limitation.
所述接收器 902, 用于接收所述 UE发送的资源申请消息。  The receiver 902 is configured to receive a resource application message sent by the UE.
其中, 所述资源申请消息中携带有申请资源的业务类型、 至少 一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息。  The resource application message carries the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block.
具体的, 若所述设备包括基站, 所述接收器 902, 可以接收到 UE发送的携带有申请资源的业务类型、至少一个资源块的空闲状态 信息和 /或至少一个资源块的忙状态信息的资源申请消息。  Specifically, if the device includes a base station, the receiver 902 may receive, by the UE, a service type carrying the application resource, idle state information of the at least one resource block, and/or busy state information of the at least one resource block. Resource application message.
若所述设备包括簇头,也可以接收到 UE发送的携带有申请资源 的业务类型、 至少一个资源块的空闲状态信息和 /或至少一个资源 块的忙状态信息的资源申请消息。 If the device includes a cluster head, the device may also receive the application resource sent by the UE. A service request message of a service type, idle state information of at least one resource block, and/or busy state information of at least one resource block.
进一步的, 若所述设备包括基站, 所述接收器 9 02 , 用于接收 所述 UE 发送的携带有所述资源申请消息的无线资源控制协议 RRC 消息。  Further, if the device includes a base station, the receiver 902 is configured to receive a radio resource control protocol RRC message that is sent by the UE and that carries the resource application message.
具体的, 若所述设备包括基站, 所述接收器 9 02 , 在 UE向基站 发送 RRC 消息时釆用的资源上接收 UE发送的携带有所述资源申请 消息的 RRC消息, 并在接收到的 RRC消息中解析出携带的资源申请 消息, 进一步在资源申请消息中解析出申请资源的业务类型、 至少 一个资源块的空闲状态信息和 /或至少一个资源块的忙状态信息。  Specifically, if the device includes a base station, the receiver 902 receives an RRC message that is sent by the UE and carries the resource application message when the UE sends an RRC message to the base station, and receives the RRC message. The resource request message is parsed in the RRC message, and the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block are further parsed in the resource application message.
或者, 所述接收器 9 02 , 用于接收所述 UE发送的携带有所述资 源申请消息的所述 MAC CE消息。  Or the receiver 902 is configured to receive the MAC CE message that is sent by the UE and that carries the resource request message.
具体的, 所述接收器 9 02 , 在 UE 向基站发送 MAC CE 消息时釆 用的资源上接收 UE发送的携带有所述资源申请消息的所述 MAC CE 消息, 并在 MAC CE 消息中解析出携带的资源申请消息, 进一步在 资源申请消息中解析出申请资源的业务类型、 至少一个资源块的空 闲状态信息和 /或至少一个资源块的忙状态信息。  Specifically, the receiver 902 receives the MAC CE message that is sent by the UE and carries the resource request message, and parses the MAC CE message in the MAC CE message when the UE sends the MAC CE message to the base station. The carried resource application message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
若所述设备包括簇头, 所述接收器 9 02 , 用于通过空闲资源子 块接收所述 UE 发送的携带有所述资源申请消息的媒体接入控制层 控制单元 MAC CE消息。  If the device includes a cluster head, the receiver 902 is configured to receive, by using an idle resource sub-block, a media access control layer control unit MAC CE message that is sent by the UE and carries the resource application message.
其中,所述空闲资源子块为所述 UE向所述簇头发送所述资源申 请消息时釆用的资源子块。  The idle resource sub-block is a resource sub-block used when the UE sends the resource request message to the cluster head.
具体的, 若所述设备包括簇头, 所述接收器 9 02 , 通过空闲资 源子块接收 U E发送的携带有所述资源申请消息的所述 M A C C E消 , , 并在 MAC CE 消息中解析出携带的资源申请消息, 进一步在资源申 请消息中解析出申请资源的业务类型、 至少一个资源块的空闲状态 信息和 /或至少一个资源块的忙状态信息。  Specifically, if the device includes a cluster head, the receiver 902 receives, by the idle resource sub-block, the MACCE that is sent by the UE and carries the resource request message, and parses the bearer in the MAC CE message. The resource request message further parses out the service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block in the resource application message.
所述发送器 9 01 , 还用于根据所述资源申请消息, 向所述 UE发 送分配给所述 UE的空闲资源块的信息。 其中, 所述空闲资源块为所述至少一个资源块。 The transmitter 910 is further configured to send information about an idle resource block allocated to the UE to the UE according to the resource request message. The idle resource block is the at least one resource block.
具体的, 若所述设备包括基站, 所述发送器 901 , 可以根据解 析出的申请资源的业务类型、 至少一个资源块的空闲状态信息和 / 或至少一个资源块的忙状态信息, 获知进行 D2D通信的第一资源池 中的资源块状态信息为忙状态信息或空闲状态信息, 并在资源块的 状态信息为空闲状态信息的资源块中为 UE 分配至少一个空闲资源 块, 并将分配给 UE的至少一个空闲资源块的信息发送至 UE。  Specifically, if the device includes a base station, the sender 901 may learn to perform D2D according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block. The resource block state information in the first resource pool of the communication is the busy state information or the idle state information, and the UE is allocated at least one idle resource block in the resource block whose state information of the resource block is the idle state information, and is allocated to the UE. Information of at least one idle resource block is transmitted to the UE.
若所述设备包括簇头, 所述发送器 901 , 在所述设备包括簇头 的情况下, 根据解析出的申请资源的业务类型、 至少一个资源块的 空闲状态信息和 /或至少一个资源块的忙状态信息, 获知进行 D2D 通信的第一资源池中的资源块状态信息为忙状态信息或空闲状态 信息, 并在资源块的状态信息为空闲状态信息的资源块中为 UE 分 配至少一个空闲资源块, 并将分配给 UE 的至少一个空闲资源块的 信息发送至 UE。  If the device includes a cluster head, the transmitter 901, in the case that the device includes a cluster head, according to the parsed service type of the application resource, the idle state information of the at least one resource block, and/or the at least one resource block The busy state information, the resource block state information in the first resource pool for performing D2D communication is the busy state information or the idle state information, and the UE is allocated at least one idle in the resource block whose state information of the resource block is the idle state information. a resource block, and transmitting information of at least one idle resource block allocated to the UE to the UE.
需要说明的是, 若所述设备包括基站, 所述发送器 901 , 可以 将分配给 UE 的至少一个空闲资源块的信息携带在 PDCCH 中发送至 UE;也可以将分配给 UE的至少一个空闲资源块的信息携带在 MAC CE 消息中发送至 UE。  It should be noted that, if the device includes a base station, the transmitter 901 may carry information of at least one idle resource block allocated to the UE in the PDCCH and send the information to the UE; or may allocate at least one idle resource allocated to the UE. The information of the block is carried in the MAC CE message and sent to the UE.
进一步的, 若所述设备包括簇头, 所述发送器 901 , 还用于以 超帧的时间长度为周期, 在超帧划分信息的第一时间帧内, 向所述 UE发送超帧划分信息; 所述超帧划分信息包括: 第一时间帧, 第二 时间帧, 第三时间帧, 第四时间帧及第五时间帧。  Further, if the device includes a cluster head, the transmitter 901 is further configured to send the superframe splitting information to the UE in a first time frame of the superframe splitting information, with a period of a superframe as a period. The superframe division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame, and a fifth time frame.
其中, 所述第一时间帧为所述簇头发送第一资源池的信息, 所 述超帧划分信息及第一资源分配信息的帧; 所述第二时间帧为所述 UE向所述簇头发送所述申请资源消息的帧;所述第三时间帧及所述 第五时间帧为所述 UE向第二 UE发送数据的帧; 所述第四时间帧为 所述簇头向所述 UE发送簇头分配给所述 UE的空闲资源块的信息的 帧。  The first time frame is information that the first resource pool is sent by the cluster head, the superframe division information and the frame of the first resource allocation information, and the second time frame is that the UE is to the cluster. The header sends the frame of the application resource message; the third time frame and the fifth time frame are frames in which the UE sends data to the second UE; the fourth time frame is the cluster head to the The UE transmits a frame of information that the cluster head allocates to the idle resource block of the UE.
所述发送器 901 用于向所述 UE 发送第一资源池的信息具体包 括: The transmitter 901 is configured to send, to the UE, a specific packet of information of the first resource pool. Includes:
所述发送器 901 , 用于以超帧的时间长度为周期在超帧划分信 息的第一时间帧内, 在向所述 UE 发送所述超帧划分信息时, 并发 送所述第一资源池的信息。  The transmitter 901 is configured to send the first resource pool when sending the superframe splitting information to the UE in a first time frame of the superframe splitting information in a period of a superframe. Information.
所述发送器 901用于根据所述资源申请消息,向所述 UE发送分 配给所述 UE的空闲资源块的信息具体包括:  The information that is used by the sender 901 to send the idle resource block allocated to the UE to the UE according to the resource request message includes:
所述发送器 901 , 用于根据所述超帧划分信息及所述资源申请 消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息。  The transmitter 901 is configured to send information about an idle resource block allocated to the UE to the UE according to the superframe split information and the resource request message.
若所述设备包括簇头, 所述处理器 904, 用于将第一资源池中 的至少一个资源块的每个资源块划分为至少一个资源子块。  If the device includes a cluster head, the processor 904 is configured to divide each resource block of at least one resource block in the first resource pool into at least one resource sub-block.
具体的, 若所述设备包括簇头, 所述处理器 904在所述发送器 901 向 UE发送第一资源池的信息之前,需要将第一资源池中的至少 一个资源块的每个资源块的可用带宽划分为相等的资源子块。  Specifically, if the device includes a cluster head, the processor 904 needs to allocate each resource block of at least one resource block in the first resource pool before the transmitter 901 sends the information of the first resource pool to the UE. The available bandwidth is divided into equal resource sub-blocks.
示例性的, 假设第一资源池中的至少一个资源块的每个资源块 的可用带宽为 5M, 则所述处理器 904可以将此 5M的可用带宽划分 为相等的 25个资源子块, 则每个资源子块的可用带宽为 180KHZ。  Exemplarily, if the available bandwidth of each resource block of at least one resource block in the first resource pool is 5M, the processor 904 may divide the 5M available bandwidth into equal 25 resource sub-blocks. The available bandwidth of each resource sub-block is 180KHZ.
所述发送器 901 , 还用于向所述 UE发送第一资源分配信息。 其中, 所述第一资源分配信息用于指示所述发送器 901 分配给 所述 UE的用于发送资源申请消息时釆用的空闲资源子块。  The transmitter 901 is further configured to send the first resource allocation information to the UE. The first resource allocation information is used to indicate an idle resource sub-block that is used by the sender 901 to allocate a resource request message to the UE.
进一步的, 所述发送器 901 用于根据所述超帧划分信息及所述 资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息 具体包括:  Further, the information that is used by the transmitter 901 to send the idle resource block allocated to the UE to the UE according to the superframe split information and the resource request message includes:
所述发送器 901 , 根据所述资源申请消息, 在所述超帧划分信 息中的所述第四时间帧内, 釆用所述空闲资源子块向所述 UE 发送 分配给所述 UE 的所述空闲资源块的信息。  The transmitter 901, according to the resource application message, in the fourth time frame in the superframe split information, send the allocated resource to the UE to the UE in the idle resource sub-block Information about idle resource blocks.
也就是说, 所述发送器 901 , 根据所述接收器 902 解析出的申 请资源的业务类型、 至少一个资源块的空闲状态信息和 /或至少一 个资源块的忙状态信息, 获知进行 D2D通信的第一资源池中的资源 块状态信息为忙状态信息或空闲状态信息, 并在状态信息为空闲状 态信息的资源块中为 UE 分配至少一个空闲资源块, 并在超帧划分 信息中的第四时间帧内, 釆用 UE 向簇头发送资源申请消息时釆用 的空闲资源子块, 向 UE发送分配给 UE的至少一个空闲资源块的信 息, 这样, 在釆用与 UE 向簇头发送资源申请消息时相同的空闲资 源子块向 UE发送分配给 U E的至少一个空闲资源块的信息时, 不需 要携带 UE的标识信息, 节省了 UE的标识信息所占用的资源。 That is, the transmitter 901 is configured to perform D2D communication according to the service type of the application resource parsed by the receiver 902, the idle state information of the at least one resource block, and/or the busy state information of the at least one resource block. The resource block status information in the first resource pool is busy status information or idle status information, and the status information is idle. The resource block of the state information allocates at least one idle resource block to the UE, and in the fourth time frame in the superframe split information, the idle resource sub-block used by the UE to send the resource request message to the cluster head to the UE Transmitting information of at least one idle resource block allocated to the UE, such that when the same idle resource sub-block that is used when the UE sends the resource request message to the cluster head transmits information of the at least one idle resource block allocated to the UE to the UE, The identifier information of the UE is not required to be carried, and the resources occupied by the identifier information of the UE are saved.
本发明实施例提供了一种设备,在所述设备向用户设备 UE发送 第一资源池的消息后, 以使得 UE 在接收到所述设备发送的第一资 源池的信息后, 确定第一资源池中包括的至少一个资源块的状态信 息, 并向所述设备发送携带有申请资源的业务类型、 至少一个资源 块的空闲状态信息和 /或至少一个资源块的忙状态信息的资源申请 消息, 此时所述设备根据接收到的资源申请消息向 UE 发送分配给 UE的空闲资源块的信息, 从而使得 UE釆用此空闲资源块与第二 U E 进行数据传输。 这样, 在两个所述设备管理的小区有相同的资源时, 两个所述设备均可以根据自身所管理的 UE 上报的第一资源池的状 态信息, 为 自身所管理的 UE 分配不同的空闲资源块, 即自身所管 理的 UE釆用不同的空闲资源块向第二 U E发送数据, 从而在 D 2 D数 据传输时降低了数据传输的干扰, 提高了数据传输的正确率。  The embodiment of the present invention provides a device, after the device sends a message of the first resource pool to the user equipment UE, so that the UE determines the first resource after receiving the information of the first resource pool sent by the device. Status information of at least one resource block included in the pool, and sending, to the device, a resource application message carrying a service type of the application resource, idle state information of the at least one resource block, and/or busy status information of the at least one resource block, At this time, the device sends the information of the idle resource block allocated to the UE to the UE according to the received resource request message, so that the UE uses the idle resource block to perform data transmission with the second UE. In this way, when the two cells managed by the device have the same resource, the two devices can allocate different idleness to the UE managed by the UE according to the state information of the first resource pool reported by the UE. The resource block, that is, the UE managed by itself, uses different idle resource blocks to transmit data to the second UE, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission.
本发明实施例提供了一种资源申请的系统,如图 1 0所示,包括: 用户设备 UE 1 0 0 1及第一设备 1 0 0 2。 其中,  An embodiment of the present invention provides a system for resource application, as shown in FIG. 10, including: a user equipment UE 1 0 0 1 and a first device 1 0 0 2 . among them,
所述 UE 1 0 0 1为上述实施例所述的 UE。  The UE 1 0 0 1 is the UE described in the foregoing embodiment.
所述第一设备 1 0 0 2为上述实施例所述的设备。  The first device 1 0 0 2 is the device described in the foregoing embodiment.
本发明实施例提供了一种资源申请的方法、 装置及系统, 在所 述设备向用户设备 UE发送第一资源池的消息后, 以使得 UE在接收 到所述设备发送的第一资源池的信息后, 确定第一资源池中包括的 至少一个资源块的状态信息, 并向所述设备发送携带有申请资源的 业务类型、 至少一个资源块的空闲状态信息和 /或至少一个资源块 的忙状态信息的资源申请消息, 此时所述设备根据接收到的资源申 请消息向 UE发送分配给 U E 的空闲资源块的信息, 从而使得 UE釆 用此空闲资源块与第二 UE 进行数据传输。 这样, 在两个所述设备 管理的小区有相同的资源时, 两个所述设备均可以根据自身所管理 的 UE上报的第一资源池的状态信息, 为 自身所管理的 UE分配不同 的空闲资源块, 即自身所管理的 UE 釆用不同的空闲资源块向第二 UE发送数据, 从而在 D 2 D数据传输时降低了数据传输的干扰, 提高 了数据传输的正确率。 The embodiment of the present invention provides a method, a device, and a system for requesting a resource, after the device sends a message of the first resource pool to the user equipment UE, so that the UE receives the first resource pool sent by the device. After the information, determining status information of the at least one resource block included in the first resource pool, and sending, to the device, the service type carrying the application resource, the idle state information of the at least one resource block, and/or the busy of the at least one resource block The resource request message of the status information, the device sends the information of the idle resource block allocated to the UE to the UE according to the received resource application message, so that the UE The idle resource block is used for data transmission with the second UE. In this way, when the cells managed by the two devices have the same resources, the two devices can allocate different idles to the UEs managed by the UEs according to the state information of the first resource pool reported by the UE. The resource block, that is, the UE managed by itself, transmits data to the second UE by using different idle resource blocks, thereby reducing interference of data transmission during D 2 D data transmission, and improving the accuracy of data transmission.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置 实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑 功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组 件可以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或 不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通 信连接可以是通过一些接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。  In the several embodiments provided by 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 unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the 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 electrical, mechanical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分 开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可 以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实 际的需要选择其中的部分或者全部单元来实现本实施例方案的 目 的。  The units described as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, and may be located in one place or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiment of the present embodiment.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处 理单元中, 也可以是各个单元单独物理包括, 也可以两个或两个以 上单元集成在一个单元中。 上述集成的单元既可以釆用硬件的形式 实现, 也可以釆用硬件加软件功能单元的形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included 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 hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元, 可以存储在一 个计算机可读取存储介质中。 上述软件功能单元存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述方法的部分 步骤。 而前述的存储介质包括: U 盘、 移动硬盘、 只读存储器 ( Re a d- On l y Memo r y , 简称 ROM )、 随机存取存储器 ( Ra n dom A c c e s s Me mo r y ,简称 RAM )、磁碟或者光盘等各种可以存储程序代码的介质。 最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然可以对前述各实施例所记 载的技术方案进行修改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各实 施例技术方案的精神和范围。 The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a removable hard disk, a read only memory (Re a d-Only lyme), a random access memory (Ra n dom A ccess) Me mo ry (referred to as RAM), disk or optical disc, and other media that can store program code. It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 书 claims
1、 一种用户设备 UE , 应用于设备到设备 D 2 D通信系统中, 其特 征在于, 包括: 1. A user equipment UE, applied in a device-to-device D2D communication system, which is characterized by including:
接收单元, 用于接收第一设备发送的第一资源池的信息; 其中, 所述第一资源池包括: 至少一个资源块; A receiving unit, configured to receive information about the first resource pool sent by the first device; wherein the first resource pool includes: at least one resource block;
确定单元, 用于确定所述至少一个资源块的状态信息; Determining unit, configured to determine status information of the at least one resource block;
发送单元, 用于向所述第一设备发送资源申请消息; 其中, 所述 资源申请消息中携带有申请资源的业务类型、 至少一个资源块的空 闲状态信息和 /或至少一个资源块的忙状态信息; A sending unit, configured to send a resource application message to the first device; wherein the resource application message carries the service type of the requested resource, the idle status information of at least one resource block, and/or the busy status of at least one resource block. information;
所述接收单元, 还用于接收所述第一设备分配给所述 UE的空闲 资源块的信息; 其中, 所述空闲资源块的信息用于指示所述 UE釆用 所述空闲资源块与第二 UE进行数据传输; 所述空闲资源块为所述至 少一个资源块。 The receiving unit is further configured to receive information about the idle resource blocks allocated by the first device to the UE; wherein, the information about the idle resource blocks is used to instruct the UE to use the idle resource blocks and the first The second UE performs data transmission; the idle resource block is the at least one resource block.
2、 根据权利要求 1所述的设备, 其特征在于, 2. The device according to claim 1, characterized in that,
所述确定单元用于确定所述至少一个资源块的状态信息具体包 括: The determination unit used to determine the status information of the at least one resource block specifically includes:
所述确定单元, 用于获取所述至少一个资源块上的功率信息; 若确定获取的所述功率信息不大于第一门限值,则确定所述至少 一个资源块的状态信息为空闲状态信息; The determining unit is configured to obtain the power information on the at least one resource block; if it is determined that the obtained power information is not greater than the first threshold value, determine that the status information of the at least one resource block is idle status information. ;
若确定获取的所述功率信息大于所述第一门限值,则确定所述至 少一个资源块的状态信息为忙状态信息; 或者, If it is determined that the obtained power information is greater than the first threshold value, then determine that the status information of the at least one resource block is busy status information; or,
所述确定单元,用于确定所述至少一个资源块上是否携带有导频 信号, 若确定所述至少一个资源块上没有携带所述导频信号, 则确 定所述至少一个资源块的状态信息为空闲状态信息; The determining unit is configured to determine whether the at least one resource block carries a pilot signal, and if it is determined that the at least one resource block does not carry the pilot signal, determine the status information of the at least one resource block. For idle status information;
若确定所述至少一个资源块上携带有所述导频信号,则确定所述 至少一个资源块的状态信息为忙状态信息。 If it is determined that the at least one resource block carries the pilot signal, it is determined that the status information of the at least one resource block is busy status information.
3、 根据权利要求 1或 2所述的设备, 其特征在于, 3. The device according to claim 1 or 2, characterized in that,
所述接收单元, 还用于以超帧的时间长度为周期, 在超帧划分信 息的第一时间帧内接收簇头发送的超帧划分信息; 其中, 所述超帧 划分信息包括: 第一时间帧, 第二时间帧, 第三时间帧, 第四时间 帧及第五时间帧; 其中, 所述第一时间帧为所述簇头发送第一资源 池的信息, 所述超帧划分信息及第一资源分配信息的帧; 所述第二 时间帧为所述 UE向所述簇头发送所述申请资源消息的帧; 所述第三 时间帧及所述第五时间帧为所述 UE 向所述第二 UE发送数据的帧; 所述第四时间帧为所述簇头向所述 UE发送簇头分配给所述 UE 的空 闲资源块的信息的帧; The receiving unit is also configured to receive the superframe division information sent by the cluster head within the first time frame of the superframe division information with the time length of the superframe as a period; wherein, the superframe The division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame and a fifth time frame; wherein, the first time frame is the information for the cluster head to send the first resource pool, The frame of the superframe division information and the first resource allocation information; The second time frame is the frame in which the UE sends the resource application message to the cluster head; The third time frame and the fifth time frame The time frame is a frame in which the UE sends data to the second UE; the fourth time frame is a frame in which the cluster head sends to the UE information about the idle resource blocks allocated by the cluster head to the UE;
所述接收单元用于接收第一设备发送的第一资源池的信息具体 包括: The receiving unit is configured to receive the information about the first resource pool sent by the first device and specifically includes:
所述接收单元,用于以超帧的时间长度为周期在超帧划分信息的 第一时间帧内, 在接收簇头发送的超帧划分信息时, 并接收所述第 一资源池的信息; The receiving unit is configured to receive the information of the first resource pool when receiving the superframe division information sent by the cluster head within the first time frame of the superframe division information with the time length of the superframe as a period;
所述发送单元用于向所述第一设备发送资源申请消息具体包括: 所述发送单元,用于根据所述超帧划分信息向所述簇头发送资源 申请消息。 The sending unit configured to send a resource application message to the first device specifically includes: the sending unit configured to send a resource application message to the cluster head according to the superframe division information.
4、 根据权利要求 3所述的设备, 其特征在于, 所述第一资源池 的信息, 用于指示出所述至少一个资源块的每个资源块划分为至少 一个资源子块的相关信息; 4. The device according to claim 3, characterized in that: the information of the first resource pool is used to indicate relevant information that each resource block of the at least one resource block is divided into at least one resource sub-block;
所述确定单元, 还用于根据所述第一资源池的信息, 确定空闲资 源子块; 其中, 所述空闲资源子块为所述空闲资源块中的一个资源 子块; 或者, The determining unit is further configured to determine an idle resource sub-block according to the information of the first resource pool; wherein the idle resource sub-block is one of the idle resource blocks; or,
所述确定单元, 还用于接收所述簇头发送的第一资源分配信息; 并根据所述第一资源分配信息确定所述空闲资源子块; 其中, 第一 资源分配信息用于指示簇头分配给 UE的用于发送资源申请消息时釆 用的资源子块。 The determining unit is also configured to receive the first resource allocation information sent by the cluster head; and determine the idle resource sub-block according to the first resource allocation information; wherein the first resource allocation information is used to indicate the cluster head. Resource sub-blocks allocated to the UE and used when sending resource application messages.
5、 根据权利要求 4所述的设备, 其特征在于, 5. The device according to claim 4, characterized in that,
所述发送单元,用于根据所述超帧划分信息向所述簇头发送资源 申请消息具体包括: The sending unit is configured to send a resource application message to the cluster head according to the superframe division information, specifically including:
所述发送单元, 用于在所述超帧划分信息中的所述第二时间帧 内, 釆用所述确定单元确定的所述空闲资源子块向所述簇头发送携 带有所述资源申请消息的媒体接入控制层控制单元 MAC C E消息。 The sending unit is used for the second time frame in the superframe division information. Within, the idle resource sub-block determined by the determination unit is used to send a media access control layer control unit MAC CE message carrying the resource application message to the cluster head.
6、 根据权利要求 1或 2所述的设备, 其特征在于, 6. The device according to claim 1 or 2, characterized in that,
所述发送单元用于向所述第一设备发送资源申请消息具体包括: 所述发送单元,用于在所述接收单元接收到所述基站发送的所述 第一资源池的信息时, 向所述基站发送携带有所述资源申请消息的 无线资源控制协议 RRC消息; 或者, The sending unit is configured to send a resource application message to the first device. The sending unit is configured to: when the receiving unit receives the information about the first resource pool sent by the base station, send the resource application message to the first device. The base station sends a radio resource control protocol RRC message carrying the resource application message; or,
向所述基站发送携带有所述资源申请消息的所述 MAC C E消息。 Send the MAC CE message carrying the resource application message to the base station.
7、 一种设备, 应用于所述 D 2 D通信系统中, 其特征在于, 包括: 发送单元, 用于向用户设备 UE发送第一资源池的信息; 其中, 所述第一资源池包括: 至少一个资源块; 7. A device, applied in the D2D communication system, characterized in that it includes: a sending unit, configured to send the information of the first resource pool to the user equipment UE; wherein the first resource pool includes: At least one resource block;
接收单元, 用于接收所述 UE发送的资源申请消息; 其中, 所述 资源申请消息中携带有申请资源的业务类型、 至少一个资源块的空 闲状态信息和 /或至少一个资源块的忙状态信息; A receiving unit configured to receive a resource application message sent by the UE; wherein the resource application message carries the service type of the requested resource, idle status information of at least one resource block, and/or busy status information of at least one resource block. ;
所述发送单元, 还用于根据所述资源申请消息, 向所述 UE发送 分配给所述 UE的空闲资源块的信息; 其中, 所述空闲资源块为所述 至少一个资源块。 The sending unit is further configured to send information about idle resource blocks allocated to the UE to the UE according to the resource application message; wherein the idle resource block is the at least one resource block.
8、 根据权利要求 7所述的设备, 其特征在于, 8. The device according to claim 7, characterized in that,
若所述设备包括簇头, 所述发送单元, 还用于以超帧的时间长度 为周期, 在超帧划分信息的第一时间帧内, 向所述 UE发送超帧划分 信息; 所述超帧划分信息包括: 第一时间帧, 第二时间帧, 第三时 间帧, 第四时间帧及第五时间帧; 其中, 所述第一时间帧为所述簇 头发送第一资源池的信息, 所述超帧划分信息及第一资源分配信息 的帧; 所述第二时间帧为所述 UE向所述簇头发送所述申请资源消息 的帧; 所述第三时间帧及所述第五时间帧为所述 UE 向第二 UE发送 数据的帧; 所述第四时间帧为所述簇头向所述 UE发送簇头分配给所 述 UE的空闲资源块的信息的帧; If the device includes a cluster head, the sending unit is further configured to send the superframe division information to the UE within the first time frame of the superframe division information with the time length of the superframe as a period; the superframe The frame division information includes: a first time frame, a second time frame, a third time frame, a fourth time frame and a fifth time frame; wherein, the first time frame is the information for the cluster head to send the first resource pool. , the frame of the superframe division information and the first resource allocation information; the second time frame is the frame in which the UE sends the resource application message to the cluster head; the third time frame and the third time frame The fifth time frame is the frame in which the UE sends data to the second UE; the fourth time frame is the frame in which the cluster head sends to the UE information about the idle resource blocks allocated by the cluster head to the UE;
所述发送单元用于向所述 UE发送第一资源池的信息具体包括: 所述发送单元,用于以超帧的时间长度为周期在超帧划分信息的 第一时间帧内, 在向所述 UE发送所述超帧划分信息时, 并发送所述 第一资源池的信息; The sending unit is configured to send the information of the first resource pool to the UE and specifically includes: The sending unit is configured to divide the information in the superframe with the time length of the superframe as a period. In the first time frame, when sending the superframe division information to the UE, and sending the information of the first resource pool;
所述发送单元用于根据所述资源申请消息, 向所述 UE发送分配 给所述 UE的空闲资源块的信息具体包括: The sending unit is configured to send information about idle resource blocks allocated to the UE to the UE according to the resource application message, which specifically includes:
所述发送单元, 用于根据所述超帧划分信息及所述资源申请消 息, 向所述 UE发送分配给所述 UE的空闲资源块的信息。 The sending unit is configured to send information about idle resource blocks allocated to the UE to the UE according to the superframe division information and the resource application message.
9、 根据权利要求 7或 8所述的设备, 其特征在于, 还包括: 若所述设备包括簇头, 处理单元, 用于将所述第一资源池中的至 少一个资源块的每个资源块划分为至少一个资源子块; 9. The device according to claim 7 or 8, further comprising: if the device includes a cluster head, a processing unit configured to convert each resource of at least one resource block in the first resource pool to The block is divided into at least one resource sub-block;
所述发送单元, 还用于向所述 UE发送第一资源分配信息; 所述 第一资源分配信息用于指示所述发送单元分配给所述 UE的用于发送 资源申请消息时釆用的空闲资源子块。 The sending unit is further configured to send first resource allocation information to the UE; the first resource allocation information is used to indicate the idle space allocated by the sending unit to the UE for sending a resource application message. Resource sub-block.
1 0、 根据权利要求 9所述的设备, 其特征在于, 所述接收单元用 于接收所述 UE发送的所述资源申请消息具体包括: 10. The device according to claim 9, wherein the receiving unit is configured to receive the resource application message sent by the UE and specifically includes:
若所述设备包括簇头, 所述接收单元, 用于通过空闲资源子块接 收所述 U E发送的携带有所述资源申请消 , 的媒体接入控制层控制单 元 MAC C E 消息; 所述空闲资源子块为所述 UE 向所述簇头发送所述 资源申请消息时釆用的资源子块。 If the device includes a cluster head, the receiving unit is configured to receive the media access control layer control unit MAC CE message sent by the UE carrying the resource application message through the idle resource sub-block; the idle resource The sub-block is a resource sub-block used by the UE when sending the resource application message to the cluster head.
1 1、 根据权利要求 1 0所述的设备, 其特征在于, 所述发送单元 用于根据所述超帧划分信息及所述资源申请消息, 向所述 UE发送分 配给所述 UE的空闲资源块的信息具体包括: 1 1. The device according to claim 10, characterized in that, the sending unit is configured to send the idle resources allocated to the UE to the UE according to the superframe division information and the resource application message. Block information specifically includes:
所述发送单元, 用于根据所述资源申请消息, 在所述超帧划分信 息中的所述第四时间帧内, 釆用所述空闲资源子块向所述 UE发送分 配给所述 UE 的所述空闲资源块的信息。 The sending unit is configured to use the idle resource sub-block to send the resource allocated to the UE to the UE in the fourth time frame in the superframe division information according to the resource application message. Information about the free resource blocks.
1 2、 根据权利要求 7所述的设备, 其特征在于, 所述接收单元用 于接收所述 UE发送的资源申请消息具体包括: 12. The device according to claim 7, wherein the receiving unit is configured to receive the resource application message sent by the UE specifically including:
若所述设备包括基站, 所述接收单元, 用于接收所述 UE发送的 携带有所述资源申请消息的无线资源控制协议 RRC消息; 或者, If the device includes a base station, the receiving unit is configured to receive a radio resource control protocol RRC message sent by the UE and carrying the resource application message; or,
用于接收所述 UE发送的携带有所述资源申请消息的所述 MAC C E 消息。 Used to receive the MAC CE carrying the resource application message sent by the UE information.
1 3、 一种资源申请的方法, 应用于所述 D 2 D通信系统中, 其特征 在于, 包括: 13. A method of resource application, applied in the D2D communication system, characterized by including:
用户设备 UE接收第一设备发送的第一资源池的信息; 其中, 所 述第一资源池包括: 至少一个资源块; The user equipment UE receives the information of the first resource pool sent by the first device; wherein the first resource pool includes: at least one resource block;
所述 UE确定所述至少一个资源块的状态信息; The UE determines status information of the at least one resource block;
所述 UE向所述第一设备发送资源申请消息; 其中, 所述资源申 请消息中携带有申请资源的业务类型、 至少一个资源块的空闲状态 信息和 /或至少一个资源块的忙状态信息; The UE sends a resource application message to the first device; wherein the resource application message carries the service type of the requested resource, idle status information of at least one resource block, and/or busy status information of at least one resource block;
所述 UE接收所述第一设备分配给所述 UE的空闲资源块的信息; 其中, 所述空闲资源块的信息用于指示所述 UE釆用所述空闲资源块 与第二 UE进行数据传输; 所述空闲资源块为所述至少一个资源块。 The UE receives information about the idle resource blocks allocated by the first device to the UE; wherein, the information about the idle resource blocks is used to instruct the UE to use the idle resource blocks to perform data transmission with the second UE. ; The free resource block is the at least one resource block.
1 4、 根据权利要求 1 3所述的方法, 其特征在于, 所述 UE确定所 述至少一个资源块的状态信息包括: 14. The method according to claim 13, wherein the UE determines the status information of the at least one resource block including:
所述 UE获取所述至少一个资源块上的功率信息; The UE obtains power information on the at least one resource block;
若所述 UE确定获取的所述功率信息不大于第一门限值, 则所述 UE确定所述至少一个资源块的状态信息为空闲状态信息; If the UE determines that the obtained power information is not greater than the first threshold value, the UE determines that the status information of the at least one resource block is idle status information;
若所述 UE确定获取的所述功率信息大于所述第一门限值, 则所 述 UE确定所述至少一个资源块的状态信息为忙状态信息; 或者, 所述 UE确定所述至少一个资源块上是否携带有导频信号, 若所 述 UE确定所述至少一个资源块上没有携带所述导频信号,则所述 UE 确定所述至少一个资源块的状态信息为空闲状态信息; If the UE determines that the obtained power information is greater than the first threshold value, the UE determines that the status information of the at least one resource block is busy status information; or, the UE determines that the at least one resource block Whether the pilot signal is carried on the block, if the UE determines that the pilot signal is not carried on the at least one resource block, the UE determines that the status information of the at least one resource block is idle status information;
若所述 UE确定所述至少一个资源块上携带有所述导频信号, 则 所述 U E确定所述至少一个资源块的状态信息为忙状态信息。 If the UE determines that the at least one resource block carries the pilot signal, the UE determines that the status information of the at least one resource block is busy status information.
1 5、 根据权利要求 1 3 或 1 4 所述的方法, 其特征在于, 在所述 UE向所述第一设备发送资源申请消息之前, 还包括: 15. The method according to claim 13 or 14, characterized in that, before the UE sends a resource application message to the first device, it further includes:
所述 UE以超帧的时间长度为周期, 在超帧划分信息的第一时间 帧内接收簇头发送的超帧划分信息; 其中, 所述超帧划分信息包括: 第一时间帧, 第二时间帧, 第三时间帧, 第四时间帧及第五时间帧; 其中, 所述第一时间帧为所述簇头发送第一资源池的信息, 所述超 帧划分信息及第一资源分配信息的帧; 所述第二时间帧为所述 UE向 所述簇头发送所述申请资源消息的帧; 所述第三时间帧及所述第五 时间帧为所述 UE 向所述第二 UE发送数据的帧; 所述第四时间帧为 所述簇头向所述 UE发送簇头分配给所述 UE 的空闲资源块的信息的 帧; The UE takes the time length of the superframe as a period and receives the superframe division information sent by the cluster head within the first time frame of the superframe division information; wherein, the superframe division information includes: the first time frame, the second time frame. Time frame, third time frame, fourth time frame and fifth time frame; Wherein, the first time frame is the frame in which the cluster head sends the information of the first resource pool, the superframe division information and the first resource allocation information; the second time frame is the frame in which the UE transmits information to the cluster The third time frame and the fifth time frame are the frames in which the UE sends data to the second UE; the fourth time frame is the frame in which the cluster head sends data to the second UE; The UE sends a frame of information about the idle resource blocks allocated by the cluster head to the UE;
所述 U E接收第一设备发送的第一资源池的信息包括: The information about the first resource pool sent by the first device that the UE receives includes:
所述 UE以超帧的时间长度为周期在超帧划分信息的第一时间帧 内, 在接收簇头发送的超帧划分信息时, 并接收所述第一资源池的 信息; The UE receives the superframe division information sent by the cluster head within the first time frame of the superframe division information with the time length of the superframe as a period, and receives the information of the first resource pool;
所述 UE向所述第一设备发送资源申请消息包括: The UE sending a resource application message to the first device includes:
所述 UE根据接收到的所述超帧划分信息向所述簇头发送资源申 请消息。 The UE sends a resource application message to the cluster head according to the received superframe division information.
1 6、 根据权利要求 1 5所述的方法, 其特征在于, 所述第一资源 池的信息, 用于指示出所述至少一个资源块的每个资源块划分为至 少一个资源子块的相关信息; 16. The method according to claim 15, characterized in that the information of the first resource pool is used to indicate that each resource block of the at least one resource block is divided into at least one resource sub-block. information;
在所述 UE根据接收到的所述超帧划分信息向所述簇头发送资源 申请消息之前还包括: Before the UE sends a resource application message to the cluster head according to the received superframe division information, it also includes:
所述 UE根据所述第一资源池的信息, 确定空闲资源子块; 其中, 所述空闲资源子块为所述空闲资源块中的一个资源子块; 或者, The UE determines an idle resource sub-block according to the information of the first resource pool; wherein the idle resource sub-block is one of the idle resource blocks; or,
所述 UE接收所述簇头发送的第一资源分配信息; The UE receives the first resource allocation information sent by the cluster head;
所述 UE根据所述第一资源分配信息确定所述空闲资源子块。 The UE determines the idle resource sub-block according to the first resource allocation information.
1 7、 根据权利要求 1 6所述的方法, 其特征在于, 所述 UE根据接 收到的所述超帧划分信息向所述簇头发送资源申请消息包括: 17. The method according to claim 16, wherein the UE sending a resource application message to the cluster head according to the received superframe division information includes:
所述 UE在所述超帧划分信息中的所述第二时间帧内, 釆用所述 空闲资源子块向所述簇头发送携带有所述资源申请消息的媒体接入 控制层控制单元 MAC C E消息。 The UE uses the idle resource sub-block to send the media access control layer control unit MAC carrying the resource application message to the cluster head in the second time frame in the superframe division information. C E message.
1 8、 根据权利要求 1 3或 1 4 所述的方法, 其特征在于, 所述 UE 向所述第一设备发送资源申请消息包括: 所述 UE在接收到所述基站发送的所述第一资源池的信息时, 向 所述基站发送携带有所述资源申请消息的无线资源控制协议 RRC 消 息; 或者, 18. The method according to claim 13 or 14, characterized in that sending the resource application message by the UE to the first device includes: When receiving the information about the first resource pool sent by the base station, the UE sends a radio resource control protocol RRC message carrying the resource application message to the base station; or,
所述 UE向所述基站发送携带有所述资源申请消息的所述 MAC C E 消息。 The UE sends the MAC CE message carrying the resource application message to the base station.
1 9、 一种资源申请的方法, 应用于所述 D 2 D通信系统中, 其特征 在于, 包括: 19. A method of resource application, applied in the D2D communication system, characterized by including:
第一设备向用户设备 UE发送第一资源池的信息; 其中, 所述第 一资源池包括: 至少一个资源块; The first device sends the information of the first resource pool to the user equipment UE; wherein, the first resource pool includes: at least one resource block;
所述第一设备接收所述 UE发送的资源申请消息; 其中, 所述资 源申请消息中携带有申请资源的业务类型、 至少一个资源块的空闲 状态信息和 /或至少一个资源块的忙状态信息; The first device receives the resource application message sent by the UE; wherein the resource application message carries the service type of the requested resource, idle status information of at least one resource block, and/or busy status information of at least one resource block. ;
所述第一设备根据接收到的所述资源申请消息, 向所述 UE发送 分配给所述 UE的空闲资源块的信息; 其中, 所述空闲资源块为所述 至少一个资源块。 The first device sends information about idle resource blocks allocated to the UE to the UE according to the received resource application message; wherein the idle resource block is the at least one resource block.
2 0、 根据权利要求 1 9所述的方法, 其特征在于, 所述第一设备 接收所述 UE发送的资源申请消息之前, 还包括: 20. The method according to claim 19, characterized in that, before the first device receives the resource application message sent by the UE, it further includes:
若所述第一设备包括簇头,所述簇头以超帧的时间长度为周期在 超帧划分信息的第一时间帧内向所述 UE发送超帧划分信息; 所述超 帧划分信息包括: 第一时间帧, 第二时间帧, 第三时间帧, 第四时 间帧及第五时间帧; 其中, 所述第一时间帧为所述簇头发送第一资 源池的信息, 所述超帧划分信息及第一资源分配信息的帧; 所述第 二时间帧为所述 UE向所述簇头发送所述申请资源消息的帧; 所述第 三时间帧及所述第五时间帧为所述 UE 向第二 UE发送数据的帧; 所 述第四时间帧为所述簇头向所述 UE发送簇头分配给所述 UE 的空闲 资源块的信息的帧; If the first device includes a cluster head, the cluster head sends the superframe division information to the UE within the first time frame of the superframe division information with the time length of the superframe as a period; the superframe division information includes: The first time frame, the second time frame, the third time frame, the fourth time frame and the fifth time frame; wherein, the first time frame is for the cluster head to send information about the first resource pool, and the superframe a frame of division information and first resource allocation information; the second time frame is a frame in which the UE sends the resource application message to the cluster head; the third time frame and the fifth time frame are the The frame in which the UE sends data to the second UE; the fourth time frame is the frame in which the cluster head sends to the UE information about the idle resource blocks allocated by the cluster head to the UE;
所述第一设备向所述 UE发送第一资源池的信息包括: The first device sending the first resource pool information to the UE includes:
所述簇头以超帧的时间长度为周期在超帧划分信息的第一时间 帧内, 在向所述 UE发送所述超帧划分信息时, 并发送所述第一资源 池的信息; The cluster head takes the time length of the superframe as a period and sends the first resource when sending the superframe division information to the UE in the first time frame of the superframe division information. Pool information;
所述第一设备根据接收到的所述资源申请消息, 向所述 UE发送 分配给所述 UE的空闲资源块的信息包括: The first device sends the information about the idle resource blocks allocated to the UE to the UE according to the received resource application message, including:
所述簇头根据所述超帧划分信息及接收到的所述资源申请消息, 向所述 UE发送分配给所述 UE的空闲资源块的信息。 The cluster head sends the information of the idle resource blocks allocated to the UE to the UE according to the superframe division information and the received resource application message.
2 1、 根据权利要求 1 9或 2 0所述的方法, 其特征在于, 在所述设 备向 UE发送第一资源池的信息之前, 还包括: 21. The method according to claim 19 or 20, characterized in that, before the device sends the information of the first resource pool to the UE, it further includes:
若所述设备包括簇头,所述簇头将所述第一资源池中的至少一个 资源块的每个资源块划分为至少一个资源子块; If the device includes a cluster head, the cluster head divides each resource block of at least one resource block in the first resource pool into at least one resource sub-block;
在所述设备向 UE发送第一资源池的信息之后, 还包括: 所述簇头向所述 UE发送第一资源分配信息; 所述第一资源分配 信息用于指示所述簇头分配给所述 UE的用于发送资源申请消息时釆 用的空闲资源子块。 After the device sends the information of the first resource pool to the UE, the method further includes: the cluster head sending the first resource allocation information to the UE; the first resource allocation information is used to indicate that the cluster head allocates the resource to the UE. Describes the idle resource sub-blocks used by the UE when sending resource application messages.
2 2、 根据权利要求 2 1 所述的方法, 其特征在于, 所述第一设备 接收所述 UE发送的资源申请消息包括: 22. The method according to claim 21, wherein the first device receiving the resource application message sent by the UE includes:
若所述第一设备包括簇头,所述簇头通过空闲资源子块接收所述 UE 发送的携带有所述资源申请消息的媒体接入控制层控制单元 MAC CE消息; 所述空闲资源子块为所述 UE向所述簇头发送所述资源申请 消息时釆用的资源子块。 If the first device includes a cluster head, the cluster head receives the media access control layer control unit MAC CE message carrying the resource application message sent by the UE through the idle resource sub-block; the idle resource sub-block It is the resource sub-block used when the UE sends the resource application message to the cluster head.
2 3、 根据权利要求 2 2所述的方法, 其特征在于, 所述簇头根据 所述超帧划分信息及接收到的所述资源申请消息, 向所述 UE发送分 配给所述 UE的空闲资源块的信息包括: 23. The method according to claim 22, characterized in that, the cluster head sends the idle time allocated to the UE to the UE according to the superframe division information and the received resource application message. Resource block information includes:
所述簇头根据接收到的所述资源申请消息,在所述超帧划分信息 中的所述第四时间帧内, 釆用所述空闲资源子块向所述 UE发送分配 给所述 UE 的所述空闲资源块的信息。 The cluster head uses the idle resource sub-block to send the resource allocated to the UE to the UE in the fourth time frame in the superframe division information according to the received resource application message. Information about the free resource blocks.
2 4、 根据权利要求 1 9所述的方法, 其特征在于, 所述第一设备 接收所述 UE发送的资源申请消息包括: 24. The method according to claim 19, wherein the first device receiving the resource application message sent by the UE includes:
若所述第一设备包括基站, 所述基站接收所述 UE发送的携带有 所述资源申请消息的无线资源控制协议 RRC消息; 或者, 所述基站接收所述 UE 发送的携带有所述资源申请消息的所述 MAC CE消息。 If the first device includes a base station, the base station receives the Radio Resource Control Protocol RRC message sent by the UE and carrying the resource application message; or, The base station receives the MAC CE message carrying the resource application message sent by the UE.
25、 一种用户设备 UE, 应用于所述 D2D通信系统中, 其特征在 于, 包括: 25. A user equipment UE, applied in the D2D communication system, characterized by including:
接收器, 用于接收第一设备发送的第一资源池的信息; 其中, 所 述第一资源池包括: 至少一个资源块; A receiver, configured to receive information about the first resource pool sent by the first device; wherein the first resource pool includes: at least one resource block;
处理器, 用于确定所述至少一个资源块的状态信息; A processor configured to determine status information of the at least one resource block;
发送器, 用于向所述第一设备发送资源申请消息; 其中, 所述资 源申请消息中携带有申请资源的业务类型、 至少一个资源块的空闲 状态信息和 /或至少一个资源块的忙状态信息; A transmitter configured to send a resource application message to the first device; wherein the resource application message carries the service type of the requested resource, the idle status information of at least one resource block, and/or the busy status of at least one resource block. information;
所述接收器, 还用于接收所述第一设备分配给所述 UE的空闲资 源块的信息; 其中, 所述空闲资源块的信息用于指示所述 UE釆用所 述空闲资源块与第二 UE进行数据传输; 所述空闲资源块为所述至少 一个资源块。 The receiver is further configured to receive information about idle resource blocks allocated by the first device to the UE; wherein, the information about the idle resource blocks is used to instruct the UE to use the idle resource blocks and the first The second UE performs data transmission; the idle resource block is the at least one resource block.
26、 一种设备, 应用于所述 D2D通信系统中, 其特征在于, 包括: 发送器, 用于向用户设备 UE发送第一资源池的信息; 其中, 所 述第一资源池包括: 至少一个资源块; 26. A device, applied in the D2D communication system, characterized in that it includes: a transmitter, configured to send the information of the first resource pool to the user equipment UE; wherein the first resource pool includes: at least one resource block;
接收器, 用于接收所述 UE发送的资源申请消息; 其中, 所述资 源申请消息中携带有申请资源的业务类型、 至少一个资源块的空闲 状态信息和 /或至少一个资源块的忙状态信息; Receiver, configured to receive a resource application message sent by the UE; wherein the resource application message carries the service type of the requested resource, idle status information of at least one resource block, and/or busy status information of at least one resource block. ;
所述发送器, 还用于根据所述接收器接收到的所述资源申请消 息, 向所述 UE发送分配给所述 UE 的空闲资源块的信息; 其中, 所 述空闲资源块为所述至少一个资源块。 The sender is further configured to send information about idle resource blocks allocated to the UE to the UE according to the resource application message received by the receiver; wherein, the idle resource block is the at least A resource block.
27、 一种资源申请的系统, 应用于所述 D2D通信系统中, 其特征 在于, 包括: 用户设备 UE及第一设备; 其中, 27. A system for resource application, applied in the D2D communication system, characterized in that it includes: user equipment UE and the first device; wherein,
所述 UE为权利要求 1-6 中任一项所述的 UE; 或所述 UE为权利 要求 25所述的 UE; The UE is the UE described in any one of claims 1-6; or the UE is the UE described in claim 25;
所述第一设备为权利要求 7-12 中任一项所述的设备; 或所述第 一设备为权利要求 26所述的设备。 The first device is the device described in any one of claims 7-12; or the first device is the device described in claim 26.
PCT/CN2014/071720 2014-01-28 2014-01-28 Resource application method, device and system WO2015113235A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480001161.0A CN105122927B (en) 2014-01-28 2014-01-28 A kind of method, apparatus and system of resource bid
PCT/CN2014/071720 WO2015113235A1 (en) 2014-01-28 2014-01-28 Resource application method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/071720 WO2015113235A1 (en) 2014-01-28 2014-01-28 Resource application method, device and system

Publications (1)

Publication Number Publication Date
WO2015113235A1 true WO2015113235A1 (en) 2015-08-06

Family

ID=53756129

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071720 WO2015113235A1 (en) 2014-01-28 2014-01-28 Resource application method, device and system

Country Status (2)

Country Link
CN (1) CN105122927B (en)
WO (1) WO2015113235A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645735B (en) * 2016-07-21 2020-10-30 普天信息技术有限公司 Resource load measuring method and device for sidelink in V2X network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102090132A (en) * 2008-05-15 2011-06-08 诺基亚公司 Methods, apparatuses and computer program products for providing coordination of device to device communication
WO2012159270A1 (en) * 2011-05-25 2012-11-29 Renesas Mobile Corporation Resource allocation for d2d communication
US20130109301A1 (en) * 2011-11-02 2013-05-02 Renesas Mobile Corporation D2D Discovery Process
CN103179669A (en) * 2013-04-22 2013-06-26 西安电子科技大学 Resource distribution method for door 2 door (D2D) communication in long term evolution system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102090132A (en) * 2008-05-15 2011-06-08 诺基亚公司 Methods, apparatuses and computer program products for providing coordination of device to device communication
WO2012159270A1 (en) * 2011-05-25 2012-11-29 Renesas Mobile Corporation Resource allocation for d2d communication
US20130109301A1 (en) * 2011-11-02 2013-05-02 Renesas Mobile Corporation D2D Discovery Process
CN103179669A (en) * 2013-04-22 2013-06-26 西安电子科技大学 Resource distribution method for door 2 door (D2D) communication in long term evolution system

Also Published As

Publication number Publication date
CN105122927B (en) 2019-04-12
CN105122927A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
US20220272717A1 (en) Signal sending method and device, signal receiving method and device, information feedback method and device, communication node, and medium
US11678212B2 (en) Methods executed by user equipment and user equipment
US11343802B2 (en) Semi-persistent scheduling method and apparatus
WO2020029278A1 (en) Method, apparatus, and system for transmitting feedback information between internet-of-vehicles devices
US9392615B2 (en) Methods and devices for allocating resources in device-to-device communication
JP2023145631A5 (en)
JP4734412B2 (en) MBMS service transmission / reception method in mobile communication system
WO2017128878A1 (en) Resource allocation method, network side device, terminal and computer storage medium
CN106413105B (en) Resource transmission indicating method, device, network side equipment and terminal
WO2018047401A1 (en) Wireless communication device, method and non-transitory computer-readable medium having program therein
WO2016106656A1 (en) Transmission resource request method and apparatus
WO2016049890A1 (en) Data transmission method and device
WO2015043341A1 (en) D2d communication method, device, and system
EP3451774B1 (en) Service data transmission method and user equipment
WO2016155113A1 (en) Group communication method, user equipment, base station device and system
WO2014005446A1 (en) Data transmission method, narrowband terminal, and base station
WO2017197949A1 (en) Control method for data transmission, and relevant device
WO2017133417A1 (en) Data channel subframe indication method and device
US20180192427A1 (en) Dynamic delay scheduling method and base station for voice data
WO2016177177A1 (en) Methods and devices for sending, receiving resource allocation information for short transmission time interval communication
WO2015131316A1 (en) Information transmission method, base station, and user equipment
WO2014180426A1 (en) Transmission method for device-to-device discovery signal and user equipment
WO2017133334A1 (en) Method and device for determining communication resource
EP3363134A1 (en) Method and network node for managing harq attempts parameter for d2d links
WO2015109543A1 (en) Resource indication method, apparatus 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: 14881122

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

Country of ref document: EP

Kind code of ref document: A1