WO2014075299A1 - Resource allocation method, base station and d2d device - Google Patents

Resource allocation method, base station and d2d device Download PDF

Info

Publication number
WO2014075299A1
WO2014075299A1 PCT/CN2012/084765 CN2012084765W WO2014075299A1 WO 2014075299 A1 WO2014075299 A1 WO 2014075299A1 CN 2012084765 W CN2012084765 W CN 2012084765W WO 2014075299 A1 WO2014075299 A1 WO 2014075299A1
Authority
WO
WIPO (PCT)
Prior art keywords
allocated
resources
prach
public
resource
Prior art date
Application number
PCT/CN2012/084765
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 CN201280076731.3A priority Critical patent/CN104770029B/en
Priority to PCT/CN2012/084765 priority patent/WO2014075299A1/en
Publication of WO2014075299A1 publication Critical patent/WO2014075299A1/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
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access

Definitions

  • the present invention relates to the field of communications, and in particular, to a resource allocation method, a base station, and a D2D device.
  • a device to device refers to communication between a device and a device, for example, MP3 transmission or picture sharing.
  • the D2D communication method in the prior art includes directly sharing information through a method such as Bluetooth or a wireless network.
  • the D2D function is mainly to discover other devices with D2D functions, such as User Equipment (UE).
  • UE User Equipment
  • resources of the existing network need to be utilized. Therefore, the network needs to have a part of resources allocated to users with D2D functions for device discovery and communication.
  • the embodiments of the present invention provide a resource allocation method, a base station, and a D2D device, to solve the problem of lack of flexibility in allocating resources for a D2D device in the related art.
  • a resource allocation method including: receiving a PRACH request sent by at least one D2D device; and allocating a common resource for a D2D device according to the PRACH request.
  • the PRACH request includes a PRACH sequence, and before the public resource dedicated to the D2D device is allocated according to the PRACH request, determining that the PRACH sequence belongs to the first predetermined set, where the first predetermined set is A collection of sequences dedicated to the use of D2D devices.
  • the common resource is used by the D2D device to detect and/or listen to information transmitted by other D2D devices on the common resource.
  • the allocating the common resource for the D2D device according to the PRACH request includes: allocating the D2D device when the preset condition is met The public resource; the preset condition includes at least one of the following: the PRACH request is a PRACH request received from the D2D device for the first time; no public resource is available when the PRACH request is received; The public resource has not been allocated before the PRACH request; when the PRACH request is received, the last allocated public resource has been released.
  • the public resource allocated for the D2D device according to the PRACH request includes: according to the last allocation The usage of the common resource and the number of D2D devices corresponding to the PRACH request, reallocating the common resources for the D2D device; or, according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the PRACH The number of D2D devices corresponding to the request is redistributed, and the common resources for the D2D device are reallocated.
  • the foregoing method further includes: notifying the D2D device of the information of the allocated common resource.
  • the D2D device notifies the allocated common resource that: the D2D device in the active state is notified of the information of the allocated common resource by using the control signaling; and/or, the information of the allocated common resource is notified to the D2D device in the idle state through the common signaling.
  • the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
  • the PRACH request includes a PRACH sequence
  • the foregoing method further includes: according to the correspondence between the PRACH sequence and the dedicated resource, in the public resource
  • Each D2D device in at least one D2D device allocates a dedicated resource for transmitting information on the dedicated resource by the D2D device.
  • the mapping between the PRACH sequence and the dedicated resource, and allocating dedicated resources for each D2D device in the at least one D2D device in the common resource includes:
  • S is the index of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • SI is an index of the starting position of the allocated dedicated resource
  • M is the sum of the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • the method further includes: sending a random access response message to each D2D device in the at least one D2D device, to facilitate indication The dedicated resource corresponding to at least one D2D device is successfully allocated.
  • the foregoing method further includes:
  • a second aspect provides a resource allocation method, including: a PRACH request sent by a D2D device to a base station, so that the base station allocates a common resource for the D2D device according to the PRACH request; and the D2D device receives the allocated public sent by the base station. Resource information.
  • the PRACH request includes a PRACH sequence.
  • the method further includes: the D2D device selecting the PRACH sequence from the first predetermined set.
  • the first predetermined set is a set of sequences dedicated to the use of the D2D device.
  • the public resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
  • the common resource is allocated by the base station when the preset condition is met;
  • the preset condition includes at least one of the following: the PRACH request is the a PRACH request from a D2D device received by the base station for the first time; no public resource available when the base station receives the PRACH request; no public resource has been allocated before the base station receives the PRACH request; when the base station receives the PRACH request, The public resource allocated once is released.
  • the public resource allocated by the base station according to the PRACH request is:
  • the public resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
  • the information that the D2D device receives the allocated common resource sent by the base station includes: the D2D device receives the control sent by the base station Signaling, where the control signaling includes information of the allocated common resource; and/or, the D2D device receives the common signaling sent by the base station, where the common signaling includes information of the allocated common resource.
  • the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
  • the PRACH request includes a PRACH sequence
  • the PRACH sequence has a correspondence relationship with the dedicated resource allocated for the D2D device, and the dedicated resource is used.
  • the information is sent by the D2D device on a dedicated resource.
  • the foregoing corresponding relationship includes:
  • S is the index of the allocated dedicated resource
  • M is the index of the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • S1 is the index of the starting position of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the public resource
  • mod is the modulo operation
  • the foregoing method further includes:
  • the D2D device receives the random access response message sent by the base station, where the random access response message is used to indicate that the dedicated resource corresponding to the D2D device is successfully allocated.
  • a base station including: a receiving unit, configured to receive a physical random access channel PRACH request sent by the at least one device to the device D2D device; and an allocating unit, connected to the receiving unit, configured to allocate according to the PRACH request Common resources for D2D devices.
  • the PRACH request includes a PRACH sequence
  • the base station further includes: a determining unit, connected to the receiving unit and the allocating unit, configured to allocate the dedicated device to the D2D device according to the PRACH request at the allocating unit Before the public resource, determining that the PRACH sequence belongs to the first predetermined set, the first predetermined set Is a collection of sequences dedicated to the use of D2D devices.
  • the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
  • the allocating unit is configured to allocate a common resource for the D2D device when the preset condition is met; the preset condition includes the following At least one of the following: the PRACH request is the first received PRACH request from the D2D device; the public resource is not available when the PRACH request is received; the public resource has not been allocated before the PRACH request is received; when the PRACH request is received, The public resource allocated once is released.
  • the allocating unit is configured to use, according to the last allocated public resource usage, and the PRACH, if the public resource is currently allocated.
  • the number of D2D devices corresponding to the request reallocating the common resources for the D2D device; or, according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request , reallocate common resources for D2D devices.
  • the base station further includes: a sending unit, connected to the allocating unit, configured to notify the D2D device of the information about the allocated common resource. .
  • the sending unit is configured to notify the D2D device in the active state of the information of the allocated common resource by using control signaling; and/or, The D2D device in the idle state is notified of the information of the allocated common resource by public signaling.
  • the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
  • the PRACH request includes a PRACH sequence
  • the allocation unit is further configured to: in the public resource, according to the correspondence between the PRACH sequence and the dedicated resource
  • Each D2D device in at least one D2D device allocates a dedicated resource for transmitting information on the dedicated resource by the D2D device.
  • the allocation unit is configured to:
  • S is the index of the allocated dedicated resource
  • M is the cable of the PRACH sequence
  • N is the resource of the public resource
  • mod represents the modulo operation
  • S1 is the index of the starting position of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the public resource
  • mod is the modulo operation
  • the base station further includes: a sending unit, connected to the allocating unit, configured to send to each of the at least one D2D device And sending a random access response message, so as to indicate that the dedicated resource allocation corresponding to the at least one D2D device is successfully.
  • the base station further includes: a detecting unit, connected to the allocating unit, configured to detect whether the common resource is used; And connecting to the detecting unit, for releasing the allocated common resource if the detecting unit detects that the common resource is not used within the first predetermined time period.
  • a D2D device including: a sending unit, a physical random access channel PRACH request sent to a base station, so that the base station allocates a common resource for the D2D device according to the PRACH request; Information for receiving the allocated common resource sent by the base station.
  • the PRACH request includes a PRACH sequence
  • the D2D device further includes: a selecting unit, connected to the sending unit, before the PRACH request sent by the sending unit to the base station, A PRACH sequence is selected from a predetermined set, the first predetermined set being a set of sequences dedicated to use by the D2D device.
  • the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
  • the common resource is allocated by the base station when the preset condition is met;
  • the preset condition includes at least one of the following: the PRACH request is the a PRACH request from a D2D device received by the base station for the first time; no public resource available when the base station receives the PRACH request; no public resource has been allocated before the base station receives the PRACH request; when the base station receives the PRACH request, The public resource allocated once is released.
  • the common resource allocated by the base station according to the PRACH request is: a public resource for the D2D device re-allocated according to the usage of the last allocated common resource and the number of D2D devices corresponding to the PRACH request; Or, the public resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
  • the receiving unit is configured to receive control signaling sent by the base station, where the control signaling includes information about the allocated common resource. And/or, the receiving unit is configured to receive the common signaling sent by the base station, where the public signaling includes the information of the allocated common resource.
  • the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
  • the PRACH request includes a PRACH sequence
  • the PRACH sequence has a correspondence relationship with the dedicated resource allocated for the D2D device, and the dedicated resource is used.
  • the information is sent by the D2D device on a dedicated resource.
  • the foregoing corresponding relationship includes:
  • S is the index of the allocated dedicated resource
  • M is the index of the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • S1 is the index of the starting position of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the public resource
  • mod is the modulo operation
  • the receiving unit is configured to receive a random access response message sent by the base station, where the random access response message is used to indicate the The dedicated resource corresponding to the D2D device is successfully assigned.
  • a base station including: a transceiver, configured to send and receive signals; and a processor, configured to: pass The transceiver receives a physical random access channel PRACH request sent by the at least one device to the device D2D device; and allocates a common resource for the D2D device according to the PRACH request.
  • the PRACH request includes a PRACH sequence
  • the processor is configured to: determine that the PRACH sequence belongs to the first predetermined set, before allocating the common resource dedicated to the D2D device according to the PRACH request, the first The predetermined set is a collection of sequences dedicated to the use of the D2D device.
  • the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
  • the processor by using the following manner, allocates a common resource for the D2D device according to the PRACH request: when a preset condition is met, Allocating a common resource for the D2D device; the preset condition includes at least one of the following: the PRACH request is the first received PRACH request from the D2D device; the public resource is not available when the PRACH request is received; the PRACH request is received The public resource has not been allocated before; when the PRACH request is received, the last allocated public resource has been released.
  • the processor implements, according to the PRACH request, allocating the common resource for the D2D device. Re-allocating the common resources for the D2D device according to the usage of the last allocated common resource and the number of D2D devices corresponding to the PRACH request; or, according to the size of the last allocated common resource, the currently accessed D2D The number of devices and the number of D2D devices corresponding to the PRACH request are redistributed for the common resources of the D2D device.
  • the processor is configured to: notify, by the transceiver, information about the allocated common resource to the D2D device.
  • the processor is configured to notify the D2D device of the allocated common resource by: controlling the signaling to the active state D2D device Notifying the information of the allocated common resource; and/or notifying the D2D device in the idle state of the information of the allocated common resource by public signaling.
  • the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
  • the PRACH request includes a PRACH sequence
  • the processor is configured to: according to the correspondence between the PRACH sequence and the dedicated resource, in the public Within the resource, each D2D device in the at least one D2D device is allocated a dedicated resource for transmitting information on the dedicated resource by the D2D device.
  • the processor implements, according to the correspondence between the PRACH sequence and the dedicated resource, in the at least one D2D device in the common resource. Assign dedicated resources to each D2D device:
  • S is the index of the allocated dedicated resource
  • M is the index of the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • S1 is the index of the starting position of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the public resource
  • mod is the modulo operation
  • the processor is configured to: send, by using a transceiver, a random access response message to each D2D device in the at least one D2D device, so that And indicating that the dedicated resource corresponding to the at least one D2D device is successfully allocated.
  • the processor is further configured to: when the public resource is detected to be unused in the first predetermined time period, release Public resources allocated.
  • the sixth aspect provides a D2D device, including: a transceiver, configured to send and receive a signal; and a processor, configured to:: a physical random access channel PRACH request sent by the transceiver to the base station, so that the base station according to the PRACH request, Allocating a common resource for the D2D device; receiving, by the transceiver, information of the allocated common resource sent by the base station.
  • the PRACH request includes a PRACH sequence
  • the processor is configured to: select, before the PR2 request sent by the D2D device to the base station, the PRACH sequence from the first predetermined set, the first predetermined A collection is a collection of sequences that are dedicated to the use of D2D devices.
  • public funds The source is used by the D2D device to detect and/or listen to information sent by other D2D devices on common resources.
  • the common resource is allocated by the base station when the preset condition is met;
  • the preset condition includes at least one of the following: the PRACH request is the a PRACH request from a D2D device received by the base station for the first time; no public resource available when the base station receives the PRACH request; no public resource has been allocated before the base station receives the PRACH request;
  • the common resource allocated by the base station according to the PRACH request is: according to the last allocated public resource. Usage and the number of D2D devices corresponding to the PRACH request, the re-allocated common resources for the D2D device; or, according to the size of the last allocated common resource, the number of currently accessed D2D devices and
  • the number of D2D devices corresponding to the PRACH request, and the re-allocated common resources for the D2D device are the number of D2D devices corresponding to the PRACH request, and the re-allocated common resources for the D2D device.
  • the processor is configured to: receive, by using a transceiver, information about the allocated common resource sent by the base station by using a transceiver, where: Receiving control signaling sent by the base station, where the control signaling includes information of the allocated common resource; and/or receiving, by the transceiver, common signaling sent by the base station, where the public signaling includes the allocated common resource Information.
  • the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
  • the PRACH request includes a PRACH sequence
  • the PRACH sequence has a correspondence relationship with the dedicated resource allocated for the D2D device, and the dedicated resource is used.
  • the information is sent by the D2D device on a dedicated resource.
  • the foregoing corresponding relationship includes:
  • S is the index of the allocated dedicated resource
  • M is the index of the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • SI is the index of the starting position of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the public resource
  • mod is the modulo operation
  • the processor is configured to: receive, by using a receiver, a random access response message sent by the base station, where the random access response message is used by Indicates that the dedicated resource corresponding to the D2D device is successfully allocated.
  • the base station after receiving the physical random access channel (PRACH) sequence sent by the at least one D2D device, the base station allocates a common resource for the D2D device according to the PRACH sequence, thereby enabling the public resource to be used for the D2D device.
  • PRACH physical random access channel
  • FIG. 2 is a flow chart of another resource allocation method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of still another resource allocation method according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a base station according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing a preferred structure of a base station according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a D2D device according to an embodiment of the present invention.
  • FIG. 7 is a block diagram showing a preferred structure of a D2D device according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of another base station according to an embodiment of the present invention.
  • FIG. 9 is a block diagram showing the structure of another D2D device according to an embodiment of the present invention.
  • 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, and not all of them. Example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention. The features of the embodiments of the present invention and the embodiments may be combined with each other without conflict.
  • the D2D device may be a mobile terminal (Mobile Terminal, MT for short), a mobile user device, etc., and may communicate with one or more core networks via a Radio Access Network (RAN), and the D2D device may be a mobile device.
  • a terminal such as a mobile phone (or "cellular" phone) or a computer with a mobile terminal, can also be a portable, pocket, handheld, computer built-in or in-vehicle mobile device.
  • the base station which may be a Base Transceiver Station (BTS) in GSM or CDMA, may be a base station (NodeB) in WCDMA, or may be an Evolved Node B (eNB) in LTE.
  • BTS Base Transceiver Station
  • NodeB base station
  • eNB Evolved Node B
  • the embodiment of the invention provides a resource allocation method, and the execution body of the method may be a base station. As shown in Figure 1, the method includes:
  • Step 101 Receive a PRACH request sent by at least one D2D device.
  • Step 102 Allocate a common resource for the D2D device according to the PRACH request.
  • the base station allocates common resources to the D2D device according to the PRACH request sent by the at least one D2D device, and implements flexible allocation of common resources for the D2D device, thereby improving system efficiency.
  • the foregoing PRACH request includes a PRACH sequence; after determining that the received PRACH sequence belongs to the first predetermined set, the base station allocates a common resource dedicated to the D2D device according to the PRACH sequence, where the first predetermined set is dedicated to the D2D device.
  • the embodiment of the invention provides a resource allocation method, and the execution body of the method may be a D2D device. As shown in Figure 2, the method includes:
  • Step 201 A PRACH request sent by the D2D device to the base station, so that the base station allocates a common resource for the D2D device according to the PRACH request.
  • Step 202 Receive information about the allocated common resource sent by the base station.
  • the base station allocates common resources to the D2D device according to the PRACH request sent by the at least one D2D device, and implements flexible allocation of common resources for the D2D device, thereby improving system efficiency.
  • the foregoing PRACH request includes a PRACH sequence
  • the D2D device selects, from the first predetermined set, a PRACH sequence to be transmitted, the first predetermined set being a set dedicated to the sequence used by the D2D device.
  • the embodiment of the invention provides a resource allocation method. As shown in FIG. 3, the method includes:
  • Step 301 The base station receives a PRACH request sent by at least one D2D device.
  • Step 302 According to the PRACH request, the base station allocates a common resource for the D2D device.
  • the base station allocates common resources to the D2D device according to the PRACH request sent by the at least one D2D device, and implements flexible allocation of common resources for the D2D device, thereby improving system efficiency.
  • the foregoing PRACH request includes a PRACH sequence; before the base station receives the PRACH request sent by the at least one D2D device, the at least one D2D device selects a PRACH sequence from the first predetermined set, and then the base station determines that the received PRACH sequence belongs to After the first predetermined set, a common resource dedicated to the D2D device is allocated according to the PRACH sequence, wherein the first predetermined set is a set of sequences dedicated to use by the D2D device.
  • the embodiment provides a method for determining that a PRACH sequence is from a D2D device, by which the base station can determine that the received PRACH sequence is a sequence from a D2D device, thereby triggering resource allocation. It should be noted that the method of determining that the PRACH sequence is from the D2D device may also include other methods, for example, using an indicator to indicate that the received PRACH sequence is from the D2D device.
  • the D2D device can select a specific PRACH sequence when using the D2D function, and the gp is dedicated to the sequence in the set of sequences used by the D2D device, thereby avoiding the allocation of resources by the D2D device that does not use the D2D function, thereby avoiding Waste of resources.
  • the PRACH sequence of the base station of the LTE network may be reserved for a part of the D2D device access.
  • the number of PRACH sequences supported by the existing LTE base station is 64.
  • the PRACH sequence supported by the base station can be extended to (64+P), and the P2 PRACH sequence is used by the D2D device by default.
  • I the P PRACH sequences are PRACH sequences reserved by the base station to the D2D device.
  • the P PRACH sequences are generated in a manner consistent with the manner in which the first 64 PRACH sequences in the existing LTE system are generated.
  • the number of PRACH sequences available to each cell is 64.
  • the base station broadcasts the logical root sequence index RACH_ROOT_SEQUENCE through the system information, and notifies the cyclic shift interval by higher layer signaling.
  • ( zeroCorrelationZoneConfig ) parameter ie Ncs).
  • the UE continues to use the next logical root sequence. Index, find the corresponding physical root sequence, repeat the above process until 64 PRACH sequences are generated.
  • the sequence numbers of these PRACH sequences are 0 to 63.
  • the logical root sequence index is continuous from 0 to 837.
  • the base station finds a corresponding physical root sequence u according to the logical root sequence I RACH_ROOT_SEQUENCE, according to the formula 0 ⁇ n ⁇ N ze - l generates a PRACH root sequence, and then cyclically shifts the PRACH root sequence according to the Ncs value to obtain different PRACH sequences. If a root sequence cannot generate 64 PRACH sequences according to the received Ncs value, the UE continues to use the next logical root sequence to find its corresponding physical root sequence, and repeats the above process until 64+P PRACHs are generated. Up to the sequence, the sequence numbers of these PRACH sequences are 0 to 63+P. Logical root sequence indexes are consecutive from 0 to 837. The last P PRACH sequences are PRACH sequences reserved by the base station for the D2D device.
  • P PRACH sequence is a PRACH sequence reserved by the base station for the D2D device.
  • the P-PRACH sequence is used for random access.
  • the normal UE also generates 64 PRACH sequences according to the method of the existing LTE system described above, and the 64 PRACH sequences are not PRACH sequences reserved by the base station for the D2D device.
  • the P value can also be determined according to the size of the network to be arranged. For example, P can be 64 or 128. At this time, the P value can be notified by the system information broadcast.
  • the method for requesting access to the LTE network by the D2D device may be the same as the method for requesting access by the LTE UE, since both the normal UE and the D2D device use the PRACH sequence for access. If no D2D device requests access, the time-frequency resource may not be reserved for the D2D user.
  • the common resource in the embodiment of the present invention is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
  • step 302 can be implemented by: when the preset condition is met, the base station allocates a common resource for the D2D device; the preset condition includes at least one of the following: the PRACH request is the first received from the D2D device. PRACH request; no public resources available when receiving the PRACH request; no public resources have been allocated before receiving the PRACH request; when the PRACH request is received, the last allocated public resource has been released.
  • the common resource may be a common time-frequency resource.
  • the public time-frequency resource may be a time-frequency resource that is requested by the LTE network to be allocated to the D2D device during initial access.
  • the D2D device can detect or listen to the information sent by other D2D devices on the common resource.
  • the base station is configured to allocate initial public resources for the D2D.
  • the base station allocates a common resource for the D2D device, thereby avoiding allocating resources for the D2D device when there is no D2D device, thereby improving the efficiency of the system.
  • step 302 can also be implemented in one of the following ways: Method 1: According to the usage of the last allocated common resource and the number of D2D devices corresponding to the PRACH request, the base station reallocates a common resource of the D2D device; for example, if it is determined that the last allocated common resource has been used by the D2D device, and another new D2D device requests access, the common resource for the D2D device is added; If the unused resources in the allocated common resources are insufficient to satisfy the D2D device corresponding to the PRACH request, the common resources for the D2D device are added; if the base station determines that the usage rate of the last allocated common resource is low, and the received The number of D2D devices corresponding to the PRACH request is small, and the common resources for the D2D device are reduced.
  • Method 1 According to the usage of the last allocated common resource and the number of D2D devices corresponding to the PRACH request, the base station reallocates a common resource of the D2D device; for example, if it is determined
  • the base station After the D2D device accesses successfully, the base station allocates dedicated resources from the public resources to the D2D device. If the base station finds that the dedicated resource allocated to a certain D2D device is not used within a predetermined time, the resource is released. Therefore, the base station can obtain the usage of the common resource by means of monitoring.
  • Method 2 according to the size of the last allocated public resource, the number of currently accessed D2D devices, and the
  • the number of D2D devices corresponding to the PRACH request and the base station reallocates the common resources for the D2D device. For example, if the base station determines that the currently accessed D2D device and the D2D device corresponding to the PRACH request require more resources than the last allocated common resource, the common resource for the D2D device may be increased; Common resources for D2D devices.
  • the number of D2D devices corresponding to the PRACH request by the base station and the last time can flexibly allocate common resources to the D2D devices to meet the needs of the currently required D2D devices. Thus, even if there are many D2D devices, each D2D device can obtain corresponding resources.
  • the base station may further dynamically adjust the size of the common resource according to the number of received PRACH sequences, and then the base station may notify the D2D device of the adjusted common resource.
  • the base station may allocate a larger common resource for the D2D device.
  • the base station may allocate a smaller common resource for the D2D device. For example, when receiving the first PRACH sequence from the D2D device, the base station allocates the first common resource to the D2D device, and when the number of received PRACH sequences exceeds the first threshold, the base station allocates the second common resource to the D2D device.
  • the second public resource is larger than the first public resource.
  • the base station dynamically adjusts the size of the common resource according to the number of received PRACH sequences. When the number of received PRACH sequences is large, the resources allocated to the D2D device may be increased, thereby satisfying the resources of the D2D device. demand.
  • the method further includes the step 303, the base station notifying the D2D device of the information about the allocated common resource, for example, the base station periodically notifying the D2D device of the information of the allocated common resource, and the base station periodically broadcasts.
  • This common resource can be shared by all D2D devices and used to search for information about other D2D devices.
  • the D2D device applying for the resource sends its own D2D device code code information on the common time-frequency resource. After obtaining the time-frequency resource location information, the D2D device searches for the time-frequency resource location. If other D2D devices are found, the discovery is successful.
  • the D2D device can learn the allocated common resources, thereby using the common resource to detect and/or listen to information sent by other D2D devices.
  • the location of the notification public resource can be implemented by at least one of the following:
  • the base station can notify the D2D device in the active state of the information of the allocated common resource by using control signaling.
  • control signaling For example, for an active (Active) UE, the default is 10ms, gp, and the location of each notification is a time-frequency resource available in one radio frame (10ms), and the physical downlink control channel is passed every 10ms (Physical Downlink Control). Channel, referred to as PDCCH for short), notifies the time-frequency resource once.
  • the base station notifies the D2D device in the idle state of the information of the allocated common resource through the common signaling.
  • the time-frequency resource location information may be sent by using a common signaling, where the common signaling may be a physical broadcast channel (PBCH) or a cell-specific (Cell).
  • PBCH physical broadcast channel
  • Cell cell-specific
  • Specific physical downlink control channel Physical Downlink Shared Channel, abbreviated as PDSCH.
  • the information of the allocated common resource includes time-frequency resource location information of the allocated common resource, and the allocated At least one of a valid time of the public resource and a period of the allocated common resource.
  • the base station may send only the time-frequency resource location information of the allocated common resource to the D2D device, and the D2D device may detect and/or listen to the information sent by the other D2D device at the position corresponding to the time-frequency resource location information at any time;
  • the base station may further send the time-frequency resource location information of the allocated common resource and the effective time of the allocated common resource to the D2D device, where the D2D device detects and/or listens to other D2Ds at the location corresponding to the time-frequency resource location information.
  • the information sent by the device may further send the time-frequency resource location information and the allocated common resource period to the D2D device, and the D2D device learns the periodic time-frequency resource according to the time-frequency resource location information and the allocated common resource period, and Detecting and/or listening to information sent by other D2D devices on a periodic time-frequency resource; if it is initially starting to allocate resources, the base station may specify a time when a resource starts to take effect, and the time required for the D2D device to apply for access needs to be satisfied. The person can hear the broadcast information once, for example, the time can be 320ms. With this embodiment, the base station can notify the D2D device of the common resource related information, so that the D2D device can use the common resource more accurately.
  • the base station may allocate a dedicated resource to the D2D device that sends the PRACH request.
  • the PRACH request includes a PRACH sequence.
  • the base station allocates a dedicated resource for each D2D device in the at least one D2D device in the common resource, where the dedicated resource is used by the D2D device to send information on the dedicated resource.
  • the dedicated resource may be a dedicated time-frequency resource, which is a time-frequency resource used by the D2D device for discovery or communication. After obtaining the dedicated resource, the D2D device can transmit information on the resource.
  • the correspondence may be a one-to-one correspondence, and may be a one-to-many correspondence, or a many-to-one correspondence, and the correspondence may be represented by a correspondence table, and may also be represented by a certain function relationship.
  • a dedicated resource available for communication can be allocated to a D2D device that transmits a PRACH request.
  • the embodiment for allocating dedicated resources is independent of the embodiment for allocating common resources.
  • the method for allocating common resources may adopt the method shown in FIG. 3 or other methods. Any allocation method, for example, one subframe is fixed as a common resource every 80ms. This embodiment of the present invention does not limit this.
  • the base station For a base station supporting a D2D device to access an LTE network, the base station reserves a part of the PRACH sequence dedicated to the D2D device access, renumbers the PRACH sequence number (gp, Preamble sequence number) used for the D2D device, and allocates the resource and the resource. Location binding.
  • the base station may support (64+128) PRACH sequences; the D2D device uses the last 128 sequences by default, and renumbers the PRACH sequences dedicated to the D2D device to 0, 1, 2, ..., 127; For the N (RB), the PRACH sequence number used by the D2D device is M.
  • the index of the dedicated resource that can be used for a period of time is mod(M, N).
  • the base station determines the size of the allocated dedicated resource according to the correspondence between the PRACH sequence and the size of the dedicated resource; and determines the starting position of the allocated dedicated resource according to the following formula:
  • S1 is the index of the starting position of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the public resource
  • mod is the modulo operation
  • the base station may support (64+128) PRACH sequences; the D2D device uses the last 128 sequences by default, and renumbers the PRACH sequences dedicated to the D2D device to 0, 1, 2, ..., 127;
  • N the PRACH sequence number used by the D2D device is M.
  • the start position of the fixed-time resource that can be used for a period of time is mod(M,N). If M ⁇ 100, the requested resource size is 1 RB; otherwise, the resource requested for allocation is a continuous 2 RB.
  • the unit of the resource may be a resource block (Resource Block, RB for short).
  • Resource Block Resource Block
  • the bandwidth is 10 MHz
  • the number of available RBs is 50
  • the resource index may be from 0 to 49.
  • the base station can conveniently allocate dedicated resources for the D2D device.
  • the base station After allocating dedicated resources for each D2D device in the at least one D2D device, the base station sends a random access response message to each D2D device in the at least one D2D device, so as to indicate the dedicated resource corresponding to the at least one D2D device.
  • the assignment was successful.
  • the D2D device Upon receiving the random access response message, the D2D device can determine that the time-frequency resource indicated by the PRACH sequence is requested, and can use the time-frequency resource to transmit information.
  • the base station can notify the D2D device that it has allocated a dedicated resource, and then the D2D device can transmit the information using the dedicated resource.
  • the base station can correctly detect the PRACH sequence sent by the D2D device, but the PRACH sequence is hidden
  • the time-frequency resource with the request cannot be allocated to the device, and the base station does not feed back any information to the D2D device.
  • the D2D device After receiving the PRACH request, the D2D device does not receive the random access response message of the base station within a predetermined time period, and automatically selects another PRACH sequence to request access again.
  • the base station can listen to the usage status of the common resource. Alternatively, if the base station detects that the common resource is not used within the first predetermined time period, the allocated common resource is released. After receiving the PRACH request from the D2D device next time, the base station can allocate the common resources for the D2D device in the manner of the embodiment of the present invention. In this embodiment, if the base station detects that the common resource is not used within a predetermined time period, the common resource is released, and the public resource may be allocated to other devices for use, for example, the part of the resource is allocated to the common The LTE UE uses to cancel the transmission of the PDCCH and the PBCH or Cell specific PDSCH. Thereby avoiding the waste of resources. Preferably, after the base station reclaims the allocated resources, the D2D device may be notified by broadcast signaling that the resources are released, and the D2D device no longer uses the recycled resources.
  • the base station after the base station allocates the common resource for the D2D device according to the PRACH sequence, the base station notifies the D2D device of the available time period of the common resource, for example, the first available time period, if the D2D device is not using the allocated resource. If the D2D function is to be used after the time exceeds the first available time period, the base station is re-requested to allocate resources.
  • the first available time period may be the same as the first predetermined time period.
  • the resource allocation manner is valid for a certain period of time, and if the set time is exceeded, the allocated resources are automatically invalidated. At this time, if the D2D device has data interaction with the LTE network, the D2D device can re-apply for resources.
  • the embodiment of the present invention further provides a base station, where the base station can be used to implement the foregoing method embodiments. Therefore, related features of the base station in the foregoing method embodiments may be combined in this embodiment.
  • the base station includes: a receiving unit 400, configured to receive a PRACH request sent by at least one D2D device; and an allocating unit 402, connected to the receiving unit 400, configured to allocate a common resource for the D2D device according to the PRACH request. .
  • FIG. 5 is a block diagram of a preferred structure of a base station according to an embodiment of the present invention.
  • the PRACH request includes a PRACH sequence.
  • the base station further includes: a determining unit 404, connected to the receiving unit 400, and The unit 402 is configured to determine, before the allocation unit 402 allocates a common resource dedicated to the D2D device according to the PRACH request, that the PRACH sequence belongs to the first predetermined set, where the first predetermined set is ⁇ A dedicated to the sequence used by the D2D device.
  • the foregoing common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
  • the allocating unit 402 is configured to allocate a common resource for the D2D device when the preset condition is met; the preset condition includes at least one of the following:
  • the PRACH request is the first PRACH request received from the D2D device
  • Public resources have not been allocated before receiving a PRACH request.
  • the last public resource allocated is released.
  • the allocating unit 402 is configured to re-establish the public resource according to the usage of the public resource and the number of D2D devices corresponding to the PRACH request. Allocating a common resource for the D2D device; or, reallocating the common resource for the D2D device according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request .
  • the base station further includes: a sending unit 406, connected to the allocating unit 402, configured to notify the D2D device of the information of the allocated common resource.
  • the sending unit 406 is configured to notify the D2D device in the active state of the information of the allocated common resource by using control signaling; and/or notify the D2D device in the idle state of the information of the allocated common resource by using common signaling.
  • the information of the allocated common resource includes at least one of time-frequency resource location information of the allocated common resource, an effective time of the allocated common resource, and a period of the allocated common resource.
  • the PRACH request includes a PRACH sequence
  • the allocating unit 402 is further configured to allocate, according to the correspondence between the PRACH sequence and the dedicated resource, a dedicated resource for each D2D device in the at least one D2D device in the common resource, where Dedicated resources are used to send information on dedicated resources by D2D devices.
  • the allocation unit 402 is configured to:
  • S is the index of the allocated dedicated resource
  • M is the index of the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • S1 is the index of the starting position of the allocated dedicated resource
  • M is the cable of the PRACH sequence
  • N is public
  • mod represents the modulo operation.
  • the foregoing base station further includes: a sending unit 406, connected to the allocating unit 402, configured to send a random access response message to each D2D device in the at least one D2D device, so as to indicate the dedicated resource allocation corresponding to the at least one D2D device. success.
  • a sending unit 406 connected to the allocating unit 402, configured to send a random access response message to each D2D device in the at least one D2D device, so as to indicate the dedicated resource allocation corresponding to the at least one D2D device. success.
  • the base station includes: a detecting unit 408, connected to the allocating unit 402, configured to detect whether a common resource is used; and a releasing unit 410 connected to the detecting unit 408, configured to be in the detecting unit 408 In the case where it is detected that the common resource is not used within the first predetermined time period, the allocated common resource is released.
  • the base station in FIG. 5 includes the determining unit 404, the sending unit 406, the detecting unit 408, and the releasing unit 410
  • the base station in the embodiment of the present invention is not limited to include the determining unit 404, the sending unit 406,
  • the detecting unit 408 and the releasing unit 410 for example, the base station may include the determining unit 404 and/or the transmitting unit 406 without including the detecting unit 408 and the releasing unit 410; the base station may also include the detecting unit 408 and the releasing unit 410 without including the determination.
  • the embodiment of the present invention further provides a D2D device, which can be used to implement the foregoing method embodiments.
  • the D2D device includes: a sending unit 600, configured to send a PRACH request to a base station, so that the base station allocates a common resource for the D2D device according to the PRACH request, and a receiving unit 602, configured to receive, by the base station, Information about the assigned public resources.
  • FIG. 7 is a block diagram of a preferred structure of a D2D device according to an embodiment of the present invention.
  • the PRACH request preferably includes a PRACH sequence.
  • the D2D device further includes: a selecting unit 604, connected to the sending unit 600, The PRACH sequence is selected from the first predetermined set before the PRACH request sent by the transmitting unit 600 to the base station, and the first predetermined set is a set of sequences dedicated to the D2D device.
  • the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
  • the public resource is allocated by the base station when the preset condition is met;
  • the preset condition includes at least one of the following:
  • the PRACH request is a PRACH request received by the base station from the D2D device for the first time;
  • the public resource has not been allocated before the base station receives the PRACH request.
  • the base station When the base station receives the PRACH request, the last allocated public resource is released.
  • the common resource allocated by the base station according to the PRACH request is:
  • the public resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
  • the receiving unit 602 is configured to receive control signaling sent by the base station, where the control signaling includes information about the allocated common resource; and/or, the receiving unit 602 is configured to receive the common signaling sent by the base station, where The public signaling contains information about the allocated common resources.
  • the information of the allocated common resource includes at least one of time-frequency resource location information of the allocated common resource, an effective time of the allocated common resource, and a period of the allocated common resource.
  • the PRACH request includes a PRACH sequence; the PRACH sequence has a correspondence with a dedicated resource allocated for the D2D device for transmitting information on the dedicated resource by the D2D device.
  • the foregoing correspondence includes:
  • S is the index of the allocated dedicated resource
  • M is the index of the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • S1 is the index of the starting position of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the public resource
  • mod is the modulo operation
  • the receiving unit 602 is configured to receive the random access response message sent by the base station, where the random access response message is used to indicate that the dedicated resource corresponding to the D2D device is successfully allocated.
  • the embodiment of the present invention further provides a base station, where the base station can be used to implement the foregoing method embodiments. Therefore, related features of the base station in the foregoing method embodiments may be combined in this embodiment.
  • the base station includes: a transceiver 800, configured to send and receive signals; a processor 802, configured to: receive, by the transceiver 800, a PRACH request sent by at least one D2D device; and allocate, according to the PRACH request, a D2D device. Public resource.
  • the PRACH request includes a PRACH sequence
  • the processor 802 is configured to: before the public resource dedicated to the D2D device is allocated according to the PRACH request, determine that the PRACH sequence belongs to the first predetermined set, and the first predetermined set is dedicated to use by the D2D device. A collection of sequences.
  • the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
  • the processor 802 allocates a common resource for the D2D device according to the PRACH request by:
  • the common resource for the D2D device is allocated; the preset condition includes at least one of the following.
  • the PRACH request is the first received PRACH request from the D2D device;
  • Public resources have not been allocated before receiving a PRACH request.
  • the last public resource allocated is released.
  • the processor 802 allocates a common resource for the D2D device according to the PRACH request by:
  • the common resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
  • the processor 802 is configured to: notify, by the transceiver 800, information about the allocated common resource to the D2D device.
  • the processor 802 implements the notification to the D2D device of the allocated common resource by: notifying the D2D device in the active state of the information of the allocated common resource by using control signaling; and/or, by public signaling, to the D2D in the idle state. The device notifies the information of the assigned public resource.
  • the information of the allocated common resource includes at least one of time-frequency resource location information of the allocated common resource, an effective time of the allocated common resource, and a period of the allocated common resource.
  • the PRACH request includes a PRACH sequence
  • the processor 802 is configured to: allocate, according to a correspondence between the PRACH sequence and the dedicated resource, a dedicated resource for each D2D device in the at least one D2D device in the common resource, where the dedicated resource is used by the D2D
  • the device sends information on a dedicated resource.
  • the processor 802 allocates a dedicated resource for each D2D device in the at least one D2D device within the common resource according to the correspondence between the PRACH sequence and the dedicated resource in the following manner: Determine the assigned dedicated resources according to the following formula:
  • S is the index of the allocated dedicated resource
  • M is the index of the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • S1 is the index of the starting position of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the public resource
  • mod is the modulo operation
  • the processor 802 is configured to: send, by the transceiver 800, a random access response message to each D2D device in the at least one D2D device, so as to indicate that the dedicated resource allocation corresponding to the at least one D2D device is successfully allocated.
  • the processor 802 is further configured to release the allocated common resource if the common resource is not used within the first predetermined time period.
  • the embodiment of the present invention further provides a D2D device, which can be used to implement the foregoing method embodiments. Therefore, related features of the D2D device in the foregoing method embodiments may be combined in this embodiment.
  • the D2D device includes: a transceiver 900, configured to send and receive signals; and a processor 902, configured to: send, by the transceiver 900, a PRACH request to the base station, so that the base station allocates the D2D device according to the PRACH request. Public resource; receiving, by the transceiver 900, information of the allocated common resource sent by the base station.
  • the PRACH request includes a PRACH sequence
  • the processor 902 is configured to select a PRACH sequence from the first predetermined set before the D2D device sends the PRACH request to the base station, where the first predetermined set is a set dedicated to the sequence used by the D2D device. .
  • the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
  • the public resource is allocated by the base station when the preset condition is met;
  • the preset condition includes at least one of the following:
  • the PRACH request is a PRACH request received by the base station from the D2D device for the first time;
  • the public resource has not been allocated before the base station receives the PRACH request; and When the base station receives the PRACH request, the last allocated public resource is released.
  • the common resource allocated by the base station according to the PRACH request is:
  • the public resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
  • the processor 902 is configured to: receive, by using the transceiver 900, information about the allocated common resource sent by the base station, by: receiving, by the transceiver 900, control signaling sent by the base station, where the control signaling includes the allocated And the public signaling sent by the base station is received by the transceiver 900, where the public signaling includes the information of the allocated common resource.
  • the information of the allocated common resource includes at least one of time-frequency resource location information of the allocated common resource, an effective time of the allocated common resource, and a period of the allocated common resource.
  • the PRACH request includes a PRACH sequence; the PRACH sequence has a correspondence with a dedicated resource allocated for the D2D device for transmitting information on the dedicated resource by the D2D device.
  • the foregoing correspondence includes:
  • S is the index of the allocated dedicated resource
  • M is the index of the PRACH sequence
  • N is the total number of resources in the common resource
  • mod is the modulo operation
  • S1 is the index of the starting position of the allocated dedicated resource
  • M is the PRACH sequence
  • N is the total number of resources in the public resource
  • mod is the modulo operation
  • the processor 902 is configured to receive, by using a receiver, a random access response message sent by the base station, where the random access response message is used to indicate that the dedicated resource allocation corresponding to the D2D device is successful.
  • the processor in the above embodiment of the present invention may be a baseband processor, or an integrated circuit chip, which has signal processing capability, and may also be a hardware processor such as a central processing unit (CPU).
  • CPU central processing unit
  • each step of the above method may be integrated by logic of hardware in the processor.
  • the instructions in the form of a road or software are completed. These instructions can be implemented and controlled by the processor in them.
  • the foregoing processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and an on-site Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA Field Programmable Gate Array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or executed.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor, decoder or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • the computer readable medium may include a random access memory (RAM), read-only memory (ROM), and an electrically erasable programmable read only memory.
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • Any connection may suitably be a computer readable medium.
  • the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave.
  • DSL Digital Subscriber Line
  • a disk and a disc include a compact disc (Compact Disc, CD for short), a laser disc, a compact disc, a digital Versatile Disk (DVD), a floppy disk, and a Blu-ray.
  • Optical discs in which discs are usually magnetically replicated, while discs use lasers to optically replicate data. Combinations of the above should also be included within the scope of the computer readable media.
  • the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

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

Abstract

Disclosed are a resource allocation method, a base station and a D2D device. The method comprises: receiving a PRACH request sent by at least one D2D device and allocating a public resource to be used by the D2D device according to the PRACH request. Through the application, the base station can flexibly allocate a resource to the D2D device so as to meet a requirement of the D2D device on the resource.

Description

资源分配方法、 基站及 D2D设备 技术领域 本申请涉及通信领域, 尤其涉及一种资源分配方法、 基站及 D2D设备。 背景技术 设备到设备 (Device to Device, 简称为 D2D) 主要指设备和设备之间进行的通信, 例如, 进行 MP3传输或图片共享。 现有技术中的 D2D的通信方式包括通过蓝牙或无线网 等方式直接共享信息。  The present invention relates to the field of communications, and in particular, to a resource allocation method, a base station, and a D2D device. A device to device (D2D) refers to communication between a device and a device, for example, MP3 transmission or picture sharing. The D2D communication method in the prior art includes directly sharing information through a method such as Bluetooth or a wireless network.
D2D功能主要是发现其他具有 D2D功能的设备, 例如用户设备 (User Equipment, 简称为 UE) 等。 在这个发现的过程中, 需要借助现有网络的资源, 因此, 网络需要有 一部分资源是分配给具有 D2D功能的用户用于设备发现和通信的。  The D2D function is mainly to discover other devices with D2D functions, such as User Equipment (UE). In the process of this discovery, resources of the existing network need to be utilized. Therefore, the network needs to have a part of resources allocated to users with D2D functions for device discovery and communication.
在与 D2D技术相关的长期演进 (Long Term Evolution, 简称为 LTE) 网络中, 每隔 80ms固定有一个子帧用于 D2D通信。 由此可见, 在相关技术中, 为 D2D设备分配资源时 缺乏灵活性。 发明内容  In the Long Term Evolution (LTE) network related to D2D technology, one subframe is fixed every 80 ms for D2D communication. Thus, in the related art, there is a lack of flexibility in allocating resources for D2D devices. Summary of the invention
本发明实施例提供了一种资源分配方法、 基站及 D2D设备, 以解决相关技术中为 D2D设备分配资源时缺乏灵活性的问题。  The embodiments of the present invention provide a resource allocation method, a base station, and a D2D device, to solve the problem of lack of flexibility in allocating resources for a D2D device in the related art.
第一方面, 提供了一种资源分配方法, 包括: 接收至少一个 D2D设备发送的 PRACH 请求; 根据该 PRACH请求, 分配用于 D2D设备的公共资源。  In a first aspect, a resource allocation method is provided, including: receiving a PRACH request sent by at least one D2D device; and allocating a common resource for a D2D device according to the PRACH request.
在第一方面的第一种可能的实现方式中, PRACH请求包括 PRACH序列; 在根据 PRACH请求, 分配专用于 D2D设备的公共资源之前, 确定 PRACH序列属于第一预定集 合, 该第一预定集合是专用于 D2D设备使用的序列的集合。  In a first possible implementation manner of the first aspect, the PRACH request includes a PRACH sequence, and before the public resource dedicated to the D2D device is allocated according to the PRACH request, determining that the PRACH sequence belongs to the first predetermined set, where the first predetermined set is A collection of sequences dedicated to the use of D2D devices.
结合上述任一种可能的实现方式, 在第一方面的第二种可能的实现方式中, 公共资 源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发送的信息。  In conjunction with any of the possible implementations described above, in a second possible implementation of the first aspect, the common resource is used by the D2D device to detect and/or listen to information transmitted by other D2D devices on the common resource.
结合上述任一种可能的实现方式, 在第一方面的第三种可能的实现方式中, 根据 PRACH请求, 分配用于 D2D设备的公共资源包括: 当满足预设条件时, 分配用于 D2D 设备的公共资源; 预设条件包括以下中的至少一个: PRACH请求是首次接收到的来自 D2D设备的 PRACH请求; 在接收到 PRACH请求时没有可用的公共资源; 在接收到 PRACH请求前尚未分配过公共资源; 在接收到 PRACH请求时, 上一次分配的公共资源 已释放。 In combination with any of the foregoing possible implementation manners, in a third possible implementation manner of the foregoing aspect, the allocating the common resource for the D2D device according to the PRACH request includes: allocating the D2D device when the preset condition is met The public resource; the preset condition includes at least one of the following: the PRACH request is a PRACH request received from the D2D device for the first time; no public resource is available when the PRACH request is received; The public resource has not been allocated before the PRACH request; when the PRACH request is received, the last allocated public resource has been released.
结合上述任一种可能的实现方式, 在第一方面的第四种可能的实现方式中, 如果当 前已分配公共资源, 则根据 PRACH请求, 分配用于 D2D设备的公共资源包括: 根据上一 次分配的公共资源的使用情况和 PRACH请求所对应的 D2D设备的数量, 重新分配用于 D2D设备的公共资源; 或, 根据上一次分配的公共资源的大小、 当前已接入的 D2D设备 的数量和 PRACH请求所对应的 D2D设备的数量, 重新分配用于 D2D设备的公共资源。  In combination with any of the foregoing possible implementation manners, in a fourth possible implementation manner of the foregoing aspect, if the public resource is currently allocated, the public resource allocated for the D2D device according to the PRACH request includes: according to the last allocation The usage of the common resource and the number of D2D devices corresponding to the PRACH request, reallocating the common resources for the D2D device; or, according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the PRACH The number of D2D devices corresponding to the request is redistributed, and the common resources for the D2D device are reallocated.
结合上述任一种可能的实现方式, 在第一方面的第五种可能的实现方式中, 上述方 法还包括: 向该 D2D设备通知分配的公共资源的信息。  In combination with any of the foregoing possible implementation manners, in a fifth possible implementation manner of the foregoing aspect, the foregoing method further includes: notifying the D2D device of the information of the allocated common resource.
结合上述任一种可能的实现方式, 在第一方面的第六种可能的实现方式中, 向该 In combination with any of the foregoing possible implementation manners, in a sixth possible implementation manner of the first aspect,
D2D设备通知分配的公共资源包括: 通过控制信令向激活态的 D2D设备通知分配的公共 资源的信息; 和 /或, 通过公共信令向空闲态的 D2D设备通知分配的公共资源的信息。 The D2D device notifies the allocated common resource that: the D2D device in the active state is notified of the information of the allocated common resource by using the control signaling; and/or, the information of the allocated common resource is notified to the D2D device in the idle state through the common signaling.
结合上述任一种可能的实现方式, 在第一方面的第七种可能的实现方式中, 分配的 公共资源的信息包括分配的公共资源的时频资源位置信息、分配的公共资源的生效时间 和分配的公共资源的周期中的至少一个。  In combination with any of the foregoing possible implementation manners, in a seventh possible implementation manner of the foregoing aspect, the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
结合上述任一种可能的实现方式,在第一方面的第八种可能的实现方式中, PRACH 请求包括 PRACH序列; 上述方法还包括: 根据 PRACH序列和专用资源的对应关系, 在 公共资源内为至少一个 D2D设备中的每个 D2D设备分配专用资源, 专用资源用于由 D2D 设备在专用资源上发送信息。  In combination with any of the foregoing possible implementation manners, in an eighth possible implementation manner of the foregoing aspect, the PRACH request includes a PRACH sequence, and the foregoing method further includes: according to the correspondence between the PRACH sequence and the dedicated resource, in the public resource Each D2D device in at least one D2D device allocates a dedicated resource for transmitting information on the dedicated resource by the D2D device.
结合上述任一种可能的实现方式, 在第一方面的第九种可能的实现方式中, 根据 In combination with any of the above possible implementation manners, in a ninth possible implementation manner of the first aspect,
PRACH序列和专用资源的对应关系, 在公共资源内为至少一个 D2D设备中的每个 D2D 设备分配专用资源包括: The mapping between the PRACH sequence and the dedicated resource, and allocating dedicated resources for each D2D device in the at least one D2D device in the common resource includes:
根据以下公式, 确定分配的专用资源:  Determine the assigned dedicated resources according to the following formula:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索弓 |, N为公共资源中资源 的总数, mod表示取模操作;  Where S is the index of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation;
或者,  Or,
根据 PRACH序列与专用资源的大小之间的对应关系, 确定分配的专用资源的大小; 根据以下公式, 确定分配的专用资源的起始位置:  Determining the size of the allocated dedicated resource according to the correspondence between the PRACH sequence and the size of the dedicated resource; determining the starting position of the allocated dedicated resource according to the following formula:
Sl= mod(M,N), 其中, SI为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。 Sl= mod(M,N), Wherein, SI is an index of the starting position of the allocated dedicated resource, M is the sum of the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation.
结合上述任一种可能的实现方式, 在第一方面的第十种可能的实现方式中, 上述方 法还包括: 向至少一个 D2D设备中的每个 D2D设备发送随机接入响应消息, 以便于指示 至少一个 D2D设备对应的专用资源分配成功。  In combination with any of the foregoing possible implementation manners, in a tenth possible implementation manner of the foregoing aspect, the foregoing method, the method further includes: sending a random access response message to each D2D device in the at least one D2D device, to facilitate indication The dedicated resource corresponding to at least one D2D device is successfully allocated.
结合上述任一种可能的实现方式, 在第一方面的第十一种可能的实现方式中, 上述 方法还包括:  In combination with any of the foregoing possible implementation manners, in the eleventh possible implementation manner of the foregoing aspect, the foregoing method further includes:
如果在第一预定时间段内, 检测到公共资源未被使用, 则释放分配的公共资源。 第二方面, 提供了一种资源分配方法, 包括: D2D设备向基站发送的 PRACH请求, 以便于基站根据 PRACH请求, 分配用于 D2D设备的公共资源; 该 D2D设备接收该基站发 送的分配的公共资源的信息。  If it is detected that the common resource is not used within the first predetermined time period, the allocated common resource is released. A second aspect provides a resource allocation method, including: a PRACH request sent by a D2D device to a base station, so that the base station allocates a common resource for the D2D device according to the PRACH request; and the D2D device receives the allocated public sent by the base station. Resource information.
在第二方面的第一种可能的实现方式中, PRACH请求包括 PRACH序列; 在该 D2D 设备向基站发送的 PRACH请求之前,上述方法还包括:该 D2D设备从第一预定集合中选 出 PRACH序列, 第一预定集合是专用于 D2D设备使用的序列的集合。  In a first possible implementation manner of the second aspect, the PRACH request includes a PRACH sequence. Before the PR2 request sent by the D2D device to the base station, the method further includes: the D2D device selecting the PRACH sequence from the first predetermined set. The first predetermined set is a set of sequences dedicated to the use of the D2D device.
结合上述任一种可能的实现方式, 在第二方面的第二种可能的实现方式中, 公共资 源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发送的信息。  In combination with any of the foregoing possible implementation manners, in a second possible implementation manner of the second aspect, the public resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
结合上述任一种可能的实现方式, 在第二方面的第三种可能的实现方式中, 公共资 源是该基站在满足预设条件时分配的; 预设条件包括以下至少一个: PRACH请求是该 基站首次接收到的来自 D2D设备的 PRACH请求; 在该基站接收到 PRACH请求时没有可 用的公共资源; 在该基站接收到 PRACH请求前尚未分配过公共资源; 在该基站接收到 PRACH请求时, 上一次分配的公共资源已释放。  In combination with any of the foregoing possible implementation manners, in a third possible implementation manner of the foregoing aspect, the common resource is allocated by the base station when the preset condition is met; the preset condition includes at least one of the following: the PRACH request is the a PRACH request from a D2D device received by the base station for the first time; no public resource available when the base station receives the PRACH request; no public resource has been allocated before the base station receives the PRACH request; when the base station receives the PRACH request, The public resource allocated once is released.
结合上述任一种可能的实现方式, 在第二方面的第四种可能的实现方式中, 如果当 前已分配公共资源, 则该基站根据 PRACH请求分配的公共资源是:  In combination with any of the foregoing possible implementation manners, in a fourth possible implementation manner of the second aspect, if the public resource has been allocated, the public resource allocated by the base station according to the PRACH request is:
根据上一次分配的公共资源的使用情况和 PRACH请求所对应的 D2D设备的数量,重 新分配的用于 D2D设备的公共资源; 或  Re-allocating common resources for D2D devices based on the usage of the last allocated public resource and the number of D2D devices corresponding to the PRACH request; or
根据上一次分配的公共资源的大小、当前已接入的 D2D设备的数量和 PRACH请求所 对应的 D2D设备的数量, 重新分配的用于 D2D设备的公共资源。  The public resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
结合上述任一种可能的实现方式, 在第二方面的第五种可能的实现方式中, 该 D2D 设备接收该基站发送的分配的公共资源的信息包括: 该 D2D设备接收该基站发送的控制 信令, 其中, 控制信令中包含分配的公共资源的信息; 和 /或, 该 D2D设备接收该基站发 送的公共信令, 其中, 公共信令中包含分配的公共资源的信息。 With reference to any of the foregoing possible implementation manners, in a fifth possible implementation manner of the foregoing aspect, the information that the D2D device receives the allocated common resource sent by the base station includes: the D2D device receives the control sent by the base station Signaling, where the control signaling includes information of the allocated common resource; and/or, the D2D device receives the common signaling sent by the base station, where the common signaling includes information of the allocated common resource.
结合上述任一种可能的实现方式, 在第二方面的第六种可能的实现方式中, 分配的 公共资源的信息包括分配的公共资源的时频资源位置信息、分配的公共资源的生效时间 和分配的公共资源的周期中的至少一个。  With reference to any of the foregoing possible implementation manners, in a sixth possible implementation manner of the foregoing aspect, the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
结合上述任一种可能的实现方式,在第二方面的第七种可能的实现方式中, PRACH 请求包括 PRACH序列; PRACH序列与为该 D2D设备分配的专用资源之间存在对应关系, 专用资源用于由 D2D设备在专用资源上发送信息。  In combination with any of the foregoing possible implementation manners, in a seventh possible implementation manner of the foregoing aspect, the PRACH request includes a PRACH sequence, and the PRACH sequence has a correspondence relationship with the dedicated resource allocated for the D2D device, and the dedicated resource is used. The information is sent by the D2D device on a dedicated resource.
结合上述任一种可能的实现方式, 在第二方面的第八种可能的实现方式中, 上述对 应关系包括:  In combination with any of the foregoing possible implementation manners, in an eighth possible implementation manner of the second aspect, the foregoing corresponding relationship includes:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索引, N为公共资源中资源 的总数, mod表示取模操作;  Where S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation;
或者,  Or,
PRACH序列与分配的专用资源的大小之间存在的第一对应关系, 以及 PRACH序列 与分配的专用资源的起始位置的索引之间存在的以下函数关系:  The first correspondence between the PRACH sequence and the size of the allocated dedicated resource, and the following functional relationship between the PRACH sequence and the index of the starting location of the allocated dedicated resource:
Sl= mod(M,N),  Sl= mod(M,N),
其中, S1为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。  Where S1 is the index of the starting position of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the public resource, and mod is the modulo operation.
结合上述任一种可能的实现方式, 在第二方面的第九种可能的实现方式中, 上述方 法还包括:  In combination with any of the foregoing possible implementation manners, in a ninth possible implementation manner of the second aspect, the foregoing method further includes:
该 D2D设备接收该基站发送的随机接入响应消息, 其中, 随机接入响应消息用于指 示该 D2D设备对应的专用资源分配成功。 第三方面, 提供了一种基站, 包括: 接收单元, 用于接收至少一个设备到设备 D2D 设备发送的物理随机接入信道 PRACH请求; 分配单元, 连接至接收单元, 用于根据 PRACH请求, 分配用于 D2D设备的公共资源。  The D2D device receives the random access response message sent by the base station, where the random access response message is used to indicate that the dedicated resource corresponding to the D2D device is successfully allocated. In a third aspect, a base station is provided, including: a receiving unit, configured to receive a physical random access channel PRACH request sent by the at least one device to the device D2D device; and an allocating unit, connected to the receiving unit, configured to allocate according to the PRACH request Common resources for D2D devices.
在第三方面的第一种可能的实现方式中, PRACH请求包括 PRACH序列; 该基站还 包括: 确定单元, 连接至接收单元和分配单元, 用于在分配单元根据 PRACH请求, 分 配专用于 D2D设备的公共资源之前,确定 PRACH序列属于第一预定集合,第一预定集合 是专用于 D2D设备使用的序列的集合。 In a first possible implementation manner of the third aspect, the PRACH request includes a PRACH sequence, and the base station further includes: a determining unit, connected to the receiving unit and the allocating unit, configured to allocate the dedicated device to the D2D device according to the PRACH request at the allocating unit Before the public resource, determining that the PRACH sequence belongs to the first predetermined set, the first predetermined set Is a collection of sequences dedicated to the use of D2D devices.
结合上述任一种可能的实现方式, 在第三方面的第二种可能的实现方式中, 公共资 源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发送的信息。  In combination with any of the foregoing possible implementation manners, in a second possible implementation manner of the third aspect, the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
结合上述任一种可能的实现方式, 在第三方面的第三种可能的实现方式中, 分配单 元用于当满足预设条件时, 分配用于 D2D设备的公共资源; 预设条件包括以下中的至少 一个: PRACH请求是首次接收到的来自 D2D设备的 PRACH请求; 在接收到 PRACH请求 时没有可用的公共资源;在接收到 PRACH请求前尚未分配过公共资源;在接收到 PRACH 请求时, 上一次分配的公共资源已释放。  In combination with any of the foregoing possible implementation manners, in a third possible implementation manner of the foregoing aspect, the allocating unit is configured to allocate a common resource for the D2D device when the preset condition is met; the preset condition includes the following At least one of the following: the PRACH request is the first received PRACH request from the D2D device; the public resource is not available when the PRACH request is received; the public resource has not been allocated before the PRACH request is received; when the PRACH request is received, The public resource allocated once is released.
结合上述任一种可能的实现方式, 在第三方面的第四种可能的实现方式中, 分配单 元用于在当前已分配公共资源的情况下, 根据上一次分配的公共资源的使用情况和 PRACH请求所对应的 D2D设备的数量, 重新分配用于 D2D设备的公共资源; 或, 根据上 一次分配的公共资源的大小、当前已接入的 D2D设备的数量和 PRACH请求所对应的 D2D 设备的数量, 重新分配用于 D2D设备的公共资源。  In combination with any of the foregoing possible implementation manners, in a fourth possible implementation manner of the foregoing aspect, the allocating unit is configured to use, according to the last allocated public resource usage, and the PRACH, if the public resource is currently allocated. The number of D2D devices corresponding to the request, reallocating the common resources for the D2D device; or, according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request , reallocate common resources for D2D devices.
结合上述任一种可能的实现方式, 在第三方面的第五种可能的实现方式中, 该基站 还包括: 发送单元, 连接至分配单元, 用于向该 D2D设备通知分配的公共资源的信息。  In a fifth possible implementation manner of the foregoing aspect, the base station further includes: a sending unit, connected to the allocating unit, configured to notify the D2D device of the information about the allocated common resource. .
结合上述任一种可能的实现方式, 在第三方面的第六种可能的实现方式中, 发送单 元用于通过控制信令向激活态的 D2D设备通知分配的公共资源的信息;和 /或,通过公共 信令向空闲态的 D2D设备通知分配的公共资源的信息。  In combination with any of the foregoing possible implementation manners, in a sixth possible implementation manner of the third aspect, the sending unit is configured to notify the D2D device in the active state of the information of the allocated common resource by using control signaling; and/or, The D2D device in the idle state is notified of the information of the allocated common resource by public signaling.
结合上述任一种可能的实现方式, 在第三方面的第七种可能的实现方式中, 分配的 公共资源的信息包括分配的公共资源的时频资源位置信息、分配的公共资源的生效时间 和分配的公共资源的周期中的至少一个。  In combination with any of the foregoing possible implementation manners, in a seventh possible implementation manner of the foregoing aspect, the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
结合上述任一种可能的实现方式,在第三方面的第八种可能的实现方式中, PRACH 请求包括 PRACH序列; 分配单元还用于根据 PRACH序列和专用资源的对应关系, 在公 共资源内为至少一个 D2D设备中的每个 D2D设备分配专用资源, 专用资源用于由 D2D设 备在专用资源上发送信息。  In combination with any of the foregoing possible implementation manners, in an eighth possible implementation manner of the third aspect, the PRACH request includes a PRACH sequence, and the allocation unit is further configured to: in the public resource, according to the correspondence between the PRACH sequence and the dedicated resource Each D2D device in at least one D2D device allocates a dedicated resource for transmitting information on the dedicated resource by the D2D device.
结合上述任一种可能的实现方式, 在第三方面的第九种可能的实现方式中, 分配单 元用于:  In conjunction with any of the possible implementations described above, in a ninth possible implementation of the third aspect, the allocation unit is configured to:
根据以下公式, 确定分配的专用资源:  Determine the assigned dedicated resources according to the following formula:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索弓 |, N为公共资源中资源 的总数, mod表示取模操作; Where S is the index of the allocated dedicated resource, M is the cable of the PRACH sequence|, and N is the resource of the public resource The total number, mod represents the modulo operation;
或者,  Or,
根据 PRACH序列与专用资源的大小之间的对应关系, 确定分配的专用资源的大小; 根据以下公式, 确定分配的专用资源的起始位置:  Determining the size of the allocated dedicated resource according to the correspondence between the PRACH sequence and the size of the dedicated resource; determining the starting position of the allocated dedicated resource according to the following formula:
Sl= mod(M,N),  Sl= mod(M,N),
其中, S1为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。  Where S1 is the index of the starting position of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the public resource, and mod is the modulo operation.
结合上述任一种可能的实现方式, 在第三方面的第十种可能的实现方式中, 该基站 还包括: 发送单元, 连接至分配单元, 用于向至少一个 D2D设备中的每个 D2D设备发送 随机接入响应消息, 以便于指示至少一个 D2D设备对应的专用资源分配成功。  In combination with any of the foregoing possible implementation manners, in a tenth possible implementation manner of the foregoing aspect, the base station further includes: a sending unit, connected to the allocating unit, configured to send to each of the at least one D2D device And sending a random access response message, so as to indicate that the dedicated resource allocation corresponding to the at least one D2D device is successfully.
结合上述任一种可能的实现方式, 在第三方面的第十一种可能的实现方式中, 该基 站还包括: 检测单元, 连接至分配单元, 用于检测到公共资源是否被使用; 释放单元, 连接至检测单元,用于在检测单元在第一预定时间段内检测到公共资源未被使用的情况 下, 释放分配的公共资源。 第四方面, 提供了一种 D2D设备, 包括: 发送单元, 用于向基站发送的物理随机接 入信道 PRACH请求, 以便于该基站根据 PRACH请求, 分配用于 D2D设备的公共资源; 接收单元, 用于接收该基站发送的分配的公共资源的信息。  In combination with any of the foregoing possible implementation manners, in an eleventh possible implementation manner of the foregoing aspect, the base station further includes: a detecting unit, connected to the allocating unit, configured to detect whether the common resource is used; And connecting to the detecting unit, for releasing the allocated common resource if the detecting unit detects that the common resource is not used within the first predetermined time period. In a fourth aspect, a D2D device is provided, including: a sending unit, a physical random access channel PRACH request sent to a base station, so that the base station allocates a common resource for the D2D device according to the PRACH request; Information for receiving the allocated common resource sent by the base station.
在第四方面的第一种可能的实现方式中, PRACH请求包括 PRACH序列; 该 D2D设 备还包括: 选择单元, 连接至上述发送单元, 用于在发送单元向基站发送的 PRACH请 求之前,从第一预定集合中选出 PRACH序列,第一预定集合是专用于 D2D设备使用的序 列的集合。  In a first possible implementation manner of the fourth aspect, the PRACH request includes a PRACH sequence, and the D2D device further includes: a selecting unit, connected to the sending unit, before the PRACH request sent by the sending unit to the base station, A PRACH sequence is selected from a predetermined set, the first predetermined set being a set of sequences dedicated to use by the D2D device.
结合上述任一种可能的实现方式, 在第四方面的第二种可能的实现方式中, 公共资 源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发送的信息。  In combination with any of the foregoing possible implementation manners, in a second possible implementation manner of the fourth aspect, the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
结合上述任一种可能的实现方式, 在第四方面的第三种可能的实现方式中, 公共资 源是该基站在满足预设条件时分配的; 预设条件包括以下至少一个: PRACH请求是该 基站首次接收到的来自 D2D设备的 PRACH请求; 在该基站接收到 PRACH请求时没有可 用的公共资源; 在该基站接收到 PRACH请求前尚未分配过公共资源; 在该基站接收到 PRACH请求时, 上一次分配的公共资源已释放。  In combination with any of the foregoing possible implementation manners, in a third possible implementation manner of the foregoing aspect, the common resource is allocated by the base station when the preset condition is met; the preset condition includes at least one of the following: the PRACH request is the a PRACH request from a D2D device received by the base station for the first time; no public resource available when the base station receives the PRACH request; no public resource has been allocated before the base station receives the PRACH request; when the base station receives the PRACH request, The public resource allocated once is released.
结合上述任一种可能的实现方式, 在第四方面的第四种可能的实现方式中, 如果当 前已分配公共资源, 则该基站根据 PRACH请求分配的公共资源是: 根据上一次分配的 公共资源的使用情况和 PRACH请求所对应的 D2D设备的数量,重新分配的用于 D2D设备 的公共资源; 或, 根据上一次分配的公共资源的大小、 当前已接入的 D2D设备的数量和 PRACH请求所对应的 D2D设备的数量, 重新分配的用于 D2D设备的公共资源。 In combination with any of the above possible implementation manners, in a fourth possible implementation manner of the fourth aspect, The common resource allocated by the base station according to the PRACH request is: a public resource for the D2D device re-allocated according to the usage of the last allocated common resource and the number of D2D devices corresponding to the PRACH request; Or, the public resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
结合上述任一种可能的实现方式, 在第四方面的第五种可能的实现方式中, 接收单 元用于接收该基站发送的控制信令, 其中, 控制信令中包含分配的公共资源的信息; 和 /或, 接收单元用于接收该基站发送的公共信令, 其中, 公共信令中包含分配的公共资源 的信息。  With reference to any of the foregoing possible implementation manners, in a fifth possible implementation manner of the foregoing aspect, the receiving unit is configured to receive control signaling sent by the base station, where the control signaling includes information about the allocated common resource. And/or, the receiving unit is configured to receive the common signaling sent by the base station, where the public signaling includes the information of the allocated common resource.
结合上述任一种可能的实现方式, 在第四方面的第六种可能的实现方式中, 分配的 公共资源的信息包括分配的公共资源的时频资源位置信息、分配的公共资源的生效时间 和分配的公共资源的周期中的至少一个。  With reference to any of the foregoing possible implementation manners, in a sixth possible implementation manner of the foregoing aspect, the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
结合上述任一种可能的实现方式,在第四方面的第七种可能的实现方式中, PRACH 请求包括 PRACH序列; PRACH序列与为该 D2D设备分配的专用资源之间存在对应关系, 专用资源用于由 D2D设备在专用资源上发送信息。  In combination with any of the foregoing possible implementation manners, in a seventh possible implementation manner of the foregoing aspect, the PRACH request includes a PRACH sequence, and the PRACH sequence has a correspondence relationship with the dedicated resource allocated for the D2D device, and the dedicated resource is used. The information is sent by the D2D device on a dedicated resource.
结合上述任一种可能的实现方式, 在第四方面的第八种可能的实现方式中, 上述对 应关系包括:  In combination with any of the foregoing possible implementation manners, in an eighth possible implementation manner of the foregoing aspect, the foregoing corresponding relationship includes:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索引, N为公共资源中资源 的总数, mod表示取模操作;  Where S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation;
或者,  Or,
PRACH序列与分配的专用资源的大小之间存在的第一对应关系, 以及 PRACH序列 与分配的专用资源的起始位置的索引之间存在的以下函数关系:  The first correspondence between the PRACH sequence and the size of the allocated dedicated resource, and the following functional relationship between the PRACH sequence and the index of the starting location of the allocated dedicated resource:
Sl= mod(M,N),  Sl= mod(M,N),
其中, S1为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。  Where S1 is the index of the starting position of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the public resource, and mod is the modulo operation.
结合上述任一种可能的实现方式, 在第四方面的第九种可能的实现方式中, 接收单 元用于接收该基站发送的随机接入响应消息, 其中, 随机接入响应消息用于指示该 D2D 设备对应的专用资源分配成功。 第五方面, 提供了一种基站, 包括: 收发器, 用于收发信号; 处理器, 用于: 通过 收发器接收至少一个设备到设备 D2D设备发送的物理随机接入信道 PRACH请求; 根据 PRACH请求, 分配用于 D2D设备的公共资源。 In a ninth possible implementation manner of the foregoing aspect, the receiving unit is configured to receive a random access response message sent by the base station, where the random access response message is used to indicate the The dedicated resource corresponding to the D2D device is successfully assigned. In a fifth aspect, a base station is provided, including: a transceiver, configured to send and receive signals; and a processor, configured to: pass The transceiver receives a physical random access channel PRACH request sent by the at least one device to the device D2D device; and allocates a common resource for the D2D device according to the PRACH request.
在第五方面的第一种可能的实现方式中, PRACH请求包括 PRACH序列; 处理器用 于: 在根据 PRACH请求, 分配专用于 D2D设备的公共资源之前, 确定 PRACH序列属于 第一预定集合, 第一预定集合是专用于 D2D设备使用的序列的集合。  In a first possible implementation manner of the fifth aspect, the PRACH request includes a PRACH sequence, and the processor is configured to: determine that the PRACH sequence belongs to the first predetermined set, before allocating the common resource dedicated to the D2D device according to the PRACH request, the first The predetermined set is a collection of sequences dedicated to the use of the D2D device.
结合上述任一种可能的实现方式, 在第五方面的第二种可能的实现方式中, 公共资 源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发送的信息。  In combination with any of the foregoing possible implementation manners, in a second possible implementation manner of the fifth aspect, the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
结合上述任一种可能的实现方式, 在第五方面的第三种可能的实现方式中, 处理器 通过以下方式实现根据 PRACH请求,分配用于 D2D设备的公共资源:当满足预设条件时, 分配用于 D2D设备的公共资源;预设条件包括以下中的至少一个: PRACH请求是首次接 收到的来自 D2D设备的 PRACH请求; 在接收到 PRACH请求时没有可用的公共资源; 在 接收到 PRACH请求前尚未分配过公共资源; 在接收到 PRACH请求时, 上一次分配的公 共资源已释放。  In combination with any of the foregoing possible implementation manners, in a third possible implementation manner of the foregoing aspect, the processor, by using the following manner, allocates a common resource for the D2D device according to the PRACH request: when a preset condition is met, Allocating a common resource for the D2D device; the preset condition includes at least one of the following: the PRACH request is the first received PRACH request from the D2D device; the public resource is not available when the PRACH request is received; the PRACH request is received The public resource has not been allocated before; when the PRACH request is received, the last allocated public resource has been released.
结合上述任一种可能的实现方式, 在第五方面的第四种可能的实现方式中, 如果当 前已分配公共资源,则处理器通过以下方式实现根据 PRACH请求,分配用于 D2D设备的 公共资源:根据上一次分配的公共资源的使用情况和 PRACH请求所对应的 D2D设备的数 量, 重新分配用于 D2D设备的公共资源; 或, 根据上一次分配的公共资源的大小、 当前 已接入的 D2D设备的数量和 PRACH请求所对应的 D2D设备的数量, 重新分配用于 D2D 设备的公共资源。  In combination with any of the foregoing possible implementation manners, in a fourth possible implementation manner of the fifth aspect, if the common resource is currently allocated, the processor implements, according to the PRACH request, allocating the common resource for the D2D device. Re-allocating the common resources for the D2D device according to the usage of the last allocated common resource and the number of D2D devices corresponding to the PRACH request; or, according to the size of the last allocated common resource, the currently accessed D2D The number of devices and the number of D2D devices corresponding to the PRACH request are redistributed for the common resources of the D2D device.
结合上述任一种可能的实现方式, 在第五方面的第五种可能的实现方式中, 处理器 用于: 通过收发器向该 D2D设备通知分配的公共资源的信息。  In combination with any of the foregoing possible implementation manners, in a fifth possible implementation manner of the fifth aspect, the processor is configured to: notify, by the transceiver, information about the allocated common resource to the D2D device.
结合上述任一种可能的实现方式, 在第五方面的第六种可能的实现方式中, 处理器 通过以下方式实现向该 D2D设备通知分配的公共资源: 通过控制信令向激活态的 D2D设 备通知分配的公共资源的信息;和 /或,通过公共信令向空闲态的 D2D设备通知分配的公 共资源的信息。  In conjunction with any of the foregoing possible implementation manners, in a sixth possible implementation manner of the foregoing aspect, the processor is configured to notify the D2D device of the allocated common resource by: controlling the signaling to the active state D2D device Notifying the information of the allocated common resource; and/or notifying the D2D device in the idle state of the information of the allocated common resource by public signaling.
结合上述任一种可能的实现方式, 在第五方面的第七种可能的实现方式中, 分配的 公共资源的信息包括分配的公共资源的时频资源位置信息、分配的公共资源的生效时间 和分配的公共资源的周期中的至少一个。  With reference to any of the foregoing possible implementation manners, in a seventh possible implementation manner of the foregoing aspect, the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
结合上述任一种可能的实现方式,在第五方面的第八种可能的实现方式中, PRACH 请求包括 PRACH序列; 处理器用于: 根据 PRACH序列和专用资源的对应关系, 在公共 资源内为至少一个 D2D设备中的每个 D2D设备分配专用资源, 专用资源用于由 D2D设备 在专用资源上发送信息。 In combination with any of the foregoing possible implementation manners, in an eighth possible implementation manner of the fifth aspect, the PRACH request includes a PRACH sequence, and the processor is configured to: according to the correspondence between the PRACH sequence and the dedicated resource, in the public Within the resource, each D2D device in the at least one D2D device is allocated a dedicated resource for transmitting information on the dedicated resource by the D2D device.
结合上述任一种可能的实现方式, 在第五方面的第九种可能的实现方式中, 处理器 通过以下方式实现根据 PRACH序列和专用资源的对应关系, 在公共资源内为至少一个 D2D设备中的每个 D2D设备分配专用资源:  In combination with any of the foregoing possible implementation manners, in a ninth possible implementation manner of the fifth aspect, the processor implements, according to the correspondence between the PRACH sequence and the dedicated resource, in the at least one D2D device in the common resource. Assign dedicated resources to each D2D device:
根据以下公式, 确定分配的专用资源:  Determine the assigned dedicated resources according to the following formula:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索引, N为公共资源中资源 的总数, mod表示取模操作;  Where S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation;
或者,  Or,
根据 PRACH序列与专用资源的大小之间的对应关系, 确定分配的专用资源的大小; 根据以下公式, 确定分配的专用资源的起始位置:  Determining the size of the allocated dedicated resource according to the correspondence between the PRACH sequence and the size of the dedicated resource; determining the starting position of the allocated dedicated resource according to the following formula:
Sl= mod(M,N),  Sl= mod(M,N),
其中, S1为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。  Where S1 is the index of the starting position of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the public resource, and mod is the modulo operation.
结合上述任一种可能的实现方式, 在第五方面的第十种可能的实现方式中, 处理器 用于: 通过收发器向至少一个 D2D设备中的每个 D2D设备发送随机接入响应消息, 以便 于指示至少一个 D2D设备对应的专用资源分配成功。  In combination with any of the foregoing possible implementation manners, in a tenth possible implementation manner of the foregoing aspect, the processor is configured to: send, by using a transceiver, a random access response message to each D2D device in the at least one D2D device, so that And indicating that the dedicated resource corresponding to the at least one D2D device is successfully allocated.
结合上述任一种可能的实现方式, 在第五方面的第十一种可能的实现方式中, 处理 器还用于: 在第一预定时间段内检测到公共资源未被使用的情况下, 释放分配的公共资 源。 第六方面, 提供了一种 D2D设备, 包括: 收发器, 用于收发信号; 处理器, 用于: 通过收发器向基站发送的物理随机接入信道 PRACH请求, 以便于该基站根据 PRACH请 求, 分配用于 D2D设备的公共资源; 通过收发器接收该基站发送的分配的公共资源的信 息。  In combination with any of the foregoing possible implementation manners, in an eleventh possible implementation manner of the foregoing aspect, the processor is further configured to: when the public resource is detected to be unused in the first predetermined time period, release Public resources allocated. The sixth aspect provides a D2D device, including: a transceiver, configured to send and receive a signal; and a processor, configured to:: a physical random access channel PRACH request sent by the transceiver to the base station, so that the base station according to the PRACH request, Allocating a common resource for the D2D device; receiving, by the transceiver, information of the allocated common resource sent by the base station.
在第六方面的第一种可能的实现方式中, PRACH请求包括 PRACH序列; 处理器用 于: 在该 D2D设备向基站发送的 PRACH请求之前, 从第一预定集合中选出 PRACH序列, 第一预定集合是专用于 D2D设备使用的序列的集合。  In a first possible implementation manner of the sixth aspect, the PRACH request includes a PRACH sequence, and the processor is configured to: select, before the PR2 request sent by the D2D device to the base station, the PRACH sequence from the first predetermined set, the first predetermined A collection is a collection of sequences that are dedicated to the use of D2D devices.
结合上述任一种可能的实现方式, 在第六方面的第二种可能的实现方式中, 公共资 源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发送的信息。 In combination with any of the above possible implementation manners, in the second possible implementation manner of the sixth aspect, public funds The source is used by the D2D device to detect and/or listen to information sent by other D2D devices on common resources.
结合上述任一种可能的实现方式, 在第六方面的第三种可能的实现方式中, 公共资 源是该基站在满足预设条件时分配的; 预设条件包括以下至少一个: PRACH请求是该 基站首次接收到的来自 D2D设备的 PRACH请求; 在该基站接收到 PRACH请求时没有可 用的公共资源; 在该基站接收到 PRACH请求前尚未分配过公共资源; 在该基站接收到 In combination with any of the foregoing possible implementation manners, in a third possible implementation manner of the sixth aspect, the common resource is allocated by the base station when the preset condition is met; the preset condition includes at least one of the following: the PRACH request is the a PRACH request from a D2D device received by the base station for the first time; no public resource available when the base station receives the PRACH request; no public resource has been allocated before the base station receives the PRACH request;
PRACH请求时, 上一次分配的公共资源已释放。 When the PRACH request is made, the last public resource allocated is released.
结合上述任一种可能的实现方式, 在第六方面的第四种可能的实现方式中, 如果当 前已分配公共资源, 则该基站根据 PRACH请求分配的公共资源是: 根据上一次分配的 公共资源的使用情况和 PRACH请求所对应的 D2D设备的数量,重新分配的用于 D2D设备 的公共资源; 或, 根据上一次分配的公共资源的大小、 当前已接入的 D2D设备的数量和 In combination with any of the foregoing possible implementation manners, in a fourth possible implementation manner of the sixth aspect, if the public resource is currently allocated, the common resource allocated by the base station according to the PRACH request is: according to the last allocated public resource. Usage and the number of D2D devices corresponding to the PRACH request, the re-allocated common resources for the D2D device; or, according to the size of the last allocated common resource, the number of currently accessed D2D devices and
PRACH请求所对应的 D2D设备的数量, 重新分配的用于 D2D设备的公共资源。 The number of D2D devices corresponding to the PRACH request, and the re-allocated common resources for the D2D device.
结合上述任一种可能的实现方式, 在第六方面的第五种可能的实现方式中, 处理器 用于通过以下方式实现通过收发器接收该基站发送的分配的公共资源的信息包括: 通过 收发器接收该基站发送的控制信令, 其中, 控制信令中包含分配的公共资源的信息; 和 /或, 通过收发器接收该基站发送的公共信令, 其中, 公共信令中包含分配的公共资源的 信息。  With reference to any of the foregoing possible implementation manners, in a fifth possible implementation manner of the foregoing aspect, the processor is configured to: receive, by using a transceiver, information about the allocated common resource sent by the base station by using a transceiver, where: Receiving control signaling sent by the base station, where the control signaling includes information of the allocated common resource; and/or receiving, by the transceiver, common signaling sent by the base station, where the public signaling includes the allocated common resource Information.
结合上述任一种可能的实现方式, 在第六方面的第六种可能的实现方式中, 分配的 公共资源的信息包括分配的公共资源的时频资源位置信息、分配的公共资源的生效时间 和分配的公共资源的周期中的至少一个。  With reference to any of the foregoing possible implementation manners, in a sixth possible implementation manner of the sixth aspect, the information about the allocated common resource includes the time-frequency resource location information of the allocated common resource, the effective time of the allocated common resource, and At least one of the cycles of the allocated common resources.
结合上述任一种可能的实现方式,在第六方面的第七种可能的实现方式中, PRACH 请求包括 PRACH序列; PRACH序列与为该 D2D设备分配的专用资源之间存在对应关系, 专用资源用于由 D2D设备在专用资源上发送信息。  In combination with any of the foregoing possible implementation manners, in a seventh possible implementation manner of the sixth aspect, the PRACH request includes a PRACH sequence, and the PRACH sequence has a correspondence relationship with the dedicated resource allocated for the D2D device, and the dedicated resource is used. The information is sent by the D2D device on a dedicated resource.
结合上述任一种可能的实现方式, 在第六方面的第八种可能的实现方式中, 上述对 应关系包括:  In combination with any of the foregoing possible implementation manners, in the eighth possible implementation manner of the sixth aspect, the foregoing corresponding relationship includes:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索引, N为公共资源中资源 的总数, mod表示取模操作;  Where S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation;
或者,  Or,
PRACH序列与分配的专用资源的大小之间存在的第一对应关系, 以及 PRACH序列 与分配的专用资源的起始位置的索引之间存在的以下函数关系: Sl= mod(M,N), The first correspondence between the PRACH sequence and the size of the allocated dedicated resource, and the following functional relationship between the PRACH sequence and the index of the starting location of the allocated dedicated resource: Sl= mod(M,N),
其中, SI为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。  Where SI is the index of the starting position of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the public resource, and mod is the modulo operation.
结合上述任一种可能的实现方式, 在第六方面的第九种可能的实现方式中, 处理器 用于: 通过接收器接收该基站发送的随机接入响应消息, 其中, 随机接入响应消息用于 指示该 D2D设备对应的专用资源分配成功。 通过本发明实施例, 基站在接收到至少一个 D2D设备发送的物理随机接入信道 (Physical Random Access Channel, 简称为 PRACH) 序列之后, 根据该 PRACH序列, 分配用于 D2D设备的公共资源, 从而能够灵活地为 D2D设备分配资源, 满足 D2D设备对 资源的需求。 附图说明 图 1是根据本发明实施例的一种资源分配方法的流程图;  In combination with any of the foregoing possible implementation manners, in a ninth possible implementation manner of the foregoing aspect, the processor is configured to: receive, by using a receiver, a random access response message sent by the base station, where the random access response message is used by Indicates that the dedicated resource corresponding to the D2D device is successfully allocated. According to the embodiment of the present invention, after receiving the physical random access channel (PRACH) sequence sent by the at least one D2D device, the base station allocates a common resource for the D2D device according to the PRACH sequence, thereby enabling the public resource to be used for the D2D device. Flexible allocation of resources for D2D devices to meet the resource requirements of D2D devices. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a flowchart of a resource allocation method according to an embodiment of the present invention;
图 2是根据本发明实施例的另一种资源分配方法的流程图;  2 is a flow chart of another resource allocation method according to an embodiment of the present invention;
图 3是根据本发明实施例的又一种资源分配方法的流程图;  3 is a flowchart of still another resource allocation method according to an embodiment of the present invention;
图 4是根据本发明实施例的一种基站的结构框图;  4 is a structural block diagram of a base station according to an embodiment of the present invention;
图 5是根据本发明实施例的一种基站的优选的结构框图;  FIG. 5 is a block diagram showing a preferred structure of a base station according to an embodiment of the present invention; FIG.
图 6是根据本发明实施例的一种 D2D设备的结构框图;  6 is a structural block diagram of a D2D device according to an embodiment of the present invention;
图 7是根据本发明实施例的一种 D2D设备的优选的结构框图;  7 is a block diagram showing a preferred structure of a D2D device according to an embodiment of the present invention;
图 8是根据本发明实施例的另一种基站的结构框图;  FIG. 8 is a structural block diagram of another base station according to an embodiment of the present invention; FIG.
图 9是根据本发明实施例的另一种 D2D设备的结构框图。 具体实肺式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整 地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基 于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有 其他实施例, 都属于本发明保护的范围。 在不冲突的情况下, 本发明实施例及各实施例 中的特征可以互相组合。 D2D设备可以是移动终端(Mobile Terminal, 简称为 MT) 、 移动用户设备等, 可以 经无线接入网 (Radio Access Network, 简称为 RAN) 与一个或多个核心网进行通信, D2D设备可以是移动终端, 例如, 移动电话 (或称为"蜂窝"电话) 或具有移动终端的计 算机, 也可以是便携式、 袖珍式、 手持式、 计算机内置的或者车载的移动装置。 9 is a block diagram showing the structure of another D2D device according to an embodiment of the present invention. 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, and not all of them. Example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention. The features of the embodiments of the present invention and the embodiments may be combined with each other without conflict. The D2D device may be a mobile terminal (Mobile Terminal, MT for short), a mobile user device, etc., and may communicate with one or more core networks via a Radio Access Network (RAN), and the D2D device may be a mobile device. A terminal, such as a mobile phone (or "cellular" phone) or a computer with a mobile terminal, can also be a portable, pocket, handheld, computer built-in or in-vehicle mobile device.
基站, 可以是 GSM或 CDMA中的基站 (Base Transceiver Station, 简称为 BTS) , 也 可以是 WCDMA中的基站 (NodeB) , 还可以是 LTE中的演进节点 B ( Evolved Node B, 简称为 eNB) 。 本发明实施例提供了一种资源分配方法, 该方法的执行主体可以是基站。 如图 1所 示, 该方法包括:  The base station, which may be a Base Transceiver Station (BTS) in GSM or CDMA, may be a base station (NodeB) in WCDMA, or may be an Evolved Node B (eNB) in LTE. The embodiment of the invention provides a resource allocation method, and the execution body of the method may be a base station. As shown in Figure 1, the method includes:
步骤 101, 接收至少一个 D2D设备发送的 PRACH请求;  Step 101: Receive a PRACH request sent by at least one D2D device.
步骤 102, 根据该 PRACH请求, 分配用于 D2D设备的公共资源。  Step 102: Allocate a common resource for the D2D device according to the PRACH request.
在相关技术的长期演进 LTE网络中,每隔 80ms固定有一个子帧用于 D2D通信,因此, 相关技术中分配 D2D设备的资源的方式不够灵活, 例如, 如果网络中没有 D2D设备或 D2D设备较少, 则会导致资源浪费; 如果网络中 D2D设备较多, 则资源有可能会不够用。 在本实施例中,基站根据至少一个 D2D设备发送的 PRACH请求, 为 D2D设备分配公共资 源, 实现了灵活为 D2D设备分配公共资源, 提高了***的效率。  In the long-term evolution LTE network of the related art, one subframe is fixed for D2D communication every 80 ms. Therefore, the method of allocating resources of the D2D device in the related art is not flexible enough, for example, if there is no D2D device or D2D device in the network. Less, it will lead to waste of resources; if there are more D2D devices in the network, the resources may not be enough. In this embodiment, the base station allocates common resources to the D2D device according to the PRACH request sent by the at least one D2D device, and implements flexible allocation of common resources for the D2D device, thereby improving system efficiency.
优选地, 上述 PRACH请求包括 PRACH序列; 基站在判断接收到 PRACH序列属于第 一预定集合之后, 根据 PRACH序列, 分配专用于 D2D设备的公共资源, 其中, 该第一预 定集合是专用于 D2D设备使用的序列的集合。 本发明实施例提供了一种资源分配方法, 该方法的执行主体可以是 D2D设备。 如图 2所示, 该方法包括:  Preferably, the foregoing PRACH request includes a PRACH sequence; after determining that the received PRACH sequence belongs to the first predetermined set, the base station allocates a common resource dedicated to the D2D device according to the PRACH sequence, where the first predetermined set is dedicated to the D2D device. A collection of sequences. The embodiment of the invention provides a resource allocation method, and the execution body of the method may be a D2D device. As shown in Figure 2, the method includes:
步骤 201, D2D设备向基站发送的 PRACH请求, 以便于基站根据该 PRACH请求, 分 配用于 D2D设备的公共资源;  Step 201: A PRACH request sent by the D2D device to the base station, so that the base station allocates a common resource for the D2D device according to the PRACH request.
步骤 202, 接收该基站发送的分配的公共资源的信息。  Step 202: Receive information about the allocated common resource sent by the base station.
在相关技术的长期演进 LTE网络中,每隔 80ms固定有一个子帧用于 D2D通信,因此, 相关技术中分配 D2D设备的资源的方式不够灵活, 例如, 如果网络中没有 D2D设备或 D2D设备较少, 则会导致资源浪费; 如果网络中 D2D设备较多, 则资源有可能会不够用。 在本实施例中,基站根据至少一个 D2D设备发送的 PRACH请求, 为 D2D设备分配公共资 源, 实现了灵活为 D2D设备分配公共资源, 提高了***的效率。 优选地, 上述 PRACH请求包括 PRACH序列, 在步骤 201之前, D2D设备从第一预 定集合中选出要发送的 PRACH序列,该第一预定集合是专用于 D2D设备使用的序列的集 In the long-term evolution LTE network of the related art, one subframe is fixed for D2D communication every 80 ms. Therefore, the method of allocating resources of the D2D device in the related art is not flexible enough, for example, if there is no D2D device or D2D device in the network. Less, it will lead to waste of resources; if there are more D2D devices in the network, the resources may not be enough. In this embodiment, the base station allocates common resources to the D2D device according to the PRACH request sent by the at least one D2D device, and implements flexible allocation of common resources for the D2D device, thereby improving system efficiency. Preferably, the foregoing PRACH request includes a PRACH sequence, and before step 201, the D2D device selects, from the first predetermined set, a PRACH sequence to be transmitted, the first predetermined set being a set dedicated to the sequence used by the D2D device.
本发明实施例提供了一种资源分配方法, 如图 3所示, 该方法包括: The embodiment of the invention provides a resource allocation method. As shown in FIG. 3, the method includes:
步骤 301, 基站接收至少一个 D2D设备发送的 PRACH请求;  Step 301: The base station receives a PRACH request sent by at least one D2D device.
步骤 302, 根据所述 PRACH请求, 基站分配用于 D2D设备的公共资源。  Step 302: According to the PRACH request, the base station allocates a common resource for the D2D device.
在相关技术的长期演进 LTE网络中,每隔 80ms固定有一个子帧用于 D2D通信,因此, 相关技术中分配 D2D设备的资源的方式不够灵活, 例如, 如果网络中没有 D2D设备或 D2D设备较少, 则会导致资源浪费; 如果网络中 D2D设备较多, 则资源有可能会不够用。 在本实施例中,基站根据至少一个 D2D设备发送的 PRACH请求, 为 D2D设备分配公共资 源, 实现了灵活为 D2D设备分配公共资源, 提高了***的效率。  In the long-term evolution LTE network of the related art, one subframe is fixed for D2D communication every 80 ms. Therefore, the method of allocating resources of the D2D device in the related art is not flexible enough, for example, if there is no D2D device or D2D device in the network. Less, it will lead to waste of resources; if there are more D2D devices in the network, the resources may not be enough. In this embodiment, the base station allocates common resources to the D2D device according to the PRACH request sent by the at least one D2D device, and implements flexible allocation of common resources for the D2D device, thereby improving system efficiency.
可选地, 上述 PRACH请求包括 PRACH序列; 在基站接收至少一个 D2D设备发送的 PRACH请求之前, 该至少一个 D2D设备从第一预定集合中选择一个 PRACH序列, 然后, 基站在判断接收到 PRACH序列属于第一预定集合之后, 根据 PRACH序列, 分配专用于 D2D设备的公共资源, 其中, 该第一预定集合是专用于 D2D设备使用的序列的集合。 本 实施例提供了一种确定 PRACH序列是来自 D2D设备的方法,通过该方法,基站可以确定 接收到的 PRACH序列是来自 D2D设备的序列, 从而触发资源的分配。需要说明的是, 确 定 PRACH序列是来自 D2D设备的方法还可以包括其他方法,例如,使用一个指示符指示 接收到的 PRACH序列是来自 D2D设备的。  Optionally, the foregoing PRACH request includes a PRACH sequence; before the base station receives the PRACH request sent by the at least one D2D device, the at least one D2D device selects a PRACH sequence from the first predetermined set, and then the base station determines that the received PRACH sequence belongs to After the first predetermined set, a common resource dedicated to the D2D device is allocated according to the PRACH sequence, wherein the first predetermined set is a set of sequences dedicated to use by the D2D device. The embodiment provides a method for determining that a PRACH sequence is from a D2D device, by which the base station can determine that the received PRACH sequence is a sequence from a D2D device, thereby triggering resource allocation. It should be noted that the method of determining that the PRACH sequence is from the D2D device may also include other methods, for example, using an indicator to indicate that the received PRACH sequence is from the D2D device.
另夕卜, D2D设备可以在使用 D2D功能时, 才选择特定的 PRACH序列, gp, 专用于 D2D设备使用的序列的集合中的序列, 从而避免了不使用 D2D功能的 D2D设备分配资 源, 避免了资源的浪费。  In addition, the D2D device can select a specific PRACH sequence when using the D2D function, and the gp is dedicated to the sequence in the set of sequences used by the D2D device, thereby avoiding the allocation of resources by the D2D device that does not use the D2D function, thereby avoiding Waste of resources.
LTE网络的基站的 PRACH序列可以预留一部分, 专用于 D2D设备接入。  The PRACH sequence of the base station of the LTE network may be reserved for a part of the D2D device access.
现有 LTE基站支持的 PRACH序列为 64个, 对于支持具有 D2D功能的设备接入的基 站, 该基站支持的 PRACH序列可以扩展为(64+P)个, D2D设备默认使用后 P个 PRACH 序歹 I」, 这 P个 PRACH序列是基站预留给 D2D设备的 PRACH序列。这 P个 PRACH序列产生 的方式和现有 LTE***中前 64个 PRACH序列产生的方式一致。  The number of PRACH sequences supported by the existing LTE base station is 64. For a base station that supports D2D-enabled devices, the PRACH sequence supported by the base station can be extended to (64+P), and the P2 PRACH sequence is used by the D2D device by default. I", the P PRACH sequences are PRACH sequences reserved by the base station to the D2D device. The P PRACH sequences are generated in a manner consistent with the manner in which the first 64 PRACH sequences in the existing LTE system are generated.
比如, 在现有 LTE***中, 每个小区可用的 PRACH序列是 64个。基站通过***信息 广播逻辑根序列索引 RACH_ROOT_SEQUENCE, 通过高层信令通知循环移位间隔 ( zeroCorrelationZoneConfig )参数(即 Ncs) 。 UE在收到这两个参数后, 先通过逻辑根 序列索引找到对应的物理根序列 u, 根据公式 χ„(η) = ε— J^^, 0≤n≤ Nze - l生成 PRACH 根序列,然后,根据 Ncs值对 PRACH根序列进行不同长度的循环移位得到不同的 PRACH 序列。如果根据收到的 Ncs值, 一个根序列不能产生 64个 PRACH序列, 则 UE继续使用下 一个逻辑根序列索引, 找其对应的物理根序列, 重复上述过程, 直到生成 64个 PRACH 序列为止。 这些 PRACH序列的序列号为 0到 63。 逻辑根序列索引是连续的从 0到 837。 For example, in an existing LTE system, the number of PRACH sequences available to each cell is 64. The base station broadcasts the logical root sequence index RACH_ROOT_SEQUENCE through the system information, and notifies the cyclic shift interval by higher layer signaling. ( zeroCorrelationZoneConfig ) parameter (ie Ncs). After receiving the two parameters, the UE first finds the corresponding physical root sequence u through the logical root sequence index, and generates a PRACH root sequence according to the formula χ„( η ) = ε — J^^, 0≤n≤ N ze - l Then, the PRACH root sequence is cyclically shifted according to the Ncs value to obtain different PRACH sequences. If a root sequence cannot generate 64 PRACH sequences according to the received Ncs value, the UE continues to use the next logical root sequence. Index, find the corresponding physical root sequence, repeat the above process until 64 PRACH sequences are generated. The sequence numbers of these PRACH sequences are 0 to 63. The logical root sequence index is continuous from 0 to 837.
在本发明实施例中, 基站根据逻辑根序列索弓 I RACH_ROOT_SEQUENCE找到对应 的物理根序列 u, 根据公式
Figure imgf000015_0001
0≤n≤ Nze - l生成 PRACH根序列, 然后, 根 据 Ncs值对 PRACH根序列进行不同长度的循环移位得到不同的 PRACH序列。如果根据收 到的 Ncs值, 一个根序列不能产生 64个 PRACH序列, 则 UE继续使用下一个逻辑根序列索 弓 I, 找其对应的物理根序列, 重复上述过程, 直到生成 64+P个 PRACH序列为止, 这些 PRACH序列的序列号为 0到 63+P。 逻辑根序列索引是连续的从 0到 837。 其中, 后 P个 PRACH序列是基站为 D2D设备预留的 PRACH序列。
In the embodiment of the present invention, the base station finds a corresponding physical root sequence u according to the logical root sequence I RACH_ROOT_SEQUENCE, according to the formula
Figure imgf000015_0001
0 ≤ n ≤ N ze - l generates a PRACH root sequence, and then cyclically shifts the PRACH root sequence according to the Ncs value to obtain different PRACH sequences. If a root sequence cannot generate 64 PRACH sequences according to the received Ncs value, the UE continues to use the next logical root sequence to find its corresponding physical root sequence, and repeats the above process until 64+P PRACHs are generated. Up to the sequence, the sequence numbers of these PRACH sequences are 0 to 63+P. Logical root sequence indexes are consecutive from 0 to 837. The last P PRACH sequences are PRACH sequences reserved by the base station for the D2D device.
D2D设备根据基站广播的 RACH_ROOT_SEQUENCE找到对应的物理根序列 u,根据 公式 χ» = ε— J N- , 0≤n≤ Nze -l生成 PRACH根序歹 lj, 然后, 根据 Ncs值对 PRACH根序 列进行不同长度的循环移位得到不同的 PRACH序列, 如果根据收到的 Ncs值, 一个根序 列不能产生 64个 PRACH序列, 则 UE继续使用下一个逻辑根序列索引, 找其对应的物理 根序列, 重复上述过程, 直到生成 64+P个 PRACH序列为止, 这些 PRACH序列的序列号 为 0到 63+P。逻辑根序列索引是连续的从 0到 837。其中,后 P个 PRACH序列是基站为 D2D 设备预留的 PRACH序列。 D2D设备在实现 D2D功能时, 使用后 P个 PRACH序列进行随机 接入。 The D2D device finds the corresponding physical root sequence u according to the RACH_ROOT_SEQUENCE broadcasted by the base station, generates a PRACH root sequence 歹lj according to the formula χ» = ε — J N - , 0 ≤ n ≤ N ze -l, and then, according to the Ncs value, the PRACH root sequence Performing cyclic shifts of different lengths to obtain different PRACH sequences. If a root sequence cannot generate 64 PRACH sequences according to the received Ncs value, the UE continues to use the next logical root sequence index to find its corresponding physical root sequence. The above process is repeated until the 64+P PRACH sequences are generated, and the sequence numbers of these PRACH sequences are 0 to 63+P. Logical root sequence indexes are consecutive from 0 to 837. The latter P PRACH sequence is a PRACH sequence reserved by the base station for the D2D device. When the D2D device implements the D2D function, the P-PRACH sequence is used for random access.
普通 UE还是按照上面描述现有 LTE***的方法, 生成 64个 PRACH序列, 这 64个 PRACH序列不是基站为 D2D设备预留的 PRACH序列。  The normal UE also generates 64 PRACH sequences according to the method of the existing LTE system described above, and the 64 PRACH sequences are not PRACH sequences reserved by the base station for the D2D device.
P值可以是一个约定的固定值, 例如, P=128, 这样无需通过信令通知 P的个数, 从 而节省信令通知开销。也可以根据所布置网络的大小来决定 P值,例如, P可以为 64或 128, 此时, 可以通过***信息广播通知 P值。  The P value can be a fixed value of a convention, for example, P = 128, so that there is no need to signal the number of Ps, thereby saving signaling overhead. The P value can also be determined according to the size of the network to be arranged. For example, P can be 64 or 128. At this time, the P value can be notified by the system information broadcast.
由于普通 UE和 D2D设备都采用 PRACH序列进行接入,因此, D2D设备请求接入 LTE 网络的方法可以和 LTE UE请求接入的方法一致。 如果没有 D2D设备请求接入, 可以不 预留时频资源给 D2D用户。 可选地,本发明实施例中的公共资源用于由 D2D设备在该公共资源上检测和 /或监听 其他 D2D设备发送的信息。 The method for requesting access to the LTE network by the D2D device may be the same as the method for requesting access by the LTE UE, since both the normal UE and the D2D device use the PRACH sequence for access. If no D2D device requests access, the time-frequency resource may not be reserved for the D2D user. Optionally, the common resource in the embodiment of the present invention is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
优选地, 步骤 302可以通过以下方式实现: 当满足预设条件时, 基站分配用于 D2D 设备的公共资源; 该预设条件包括以下中的至少一个: 该 PRACH请求是首次接收到的 来自 D2D设备的 PRACH请求; 在接收到该 PRACH请求时没有可用的公共资源; 在接收 到该 PRACH请求前尚未分配过公共资源; 在接收到该 PRACH请求时, 上一次分配的公 共资源已释放。 该公共资源可以是公共时频资源, 例如, 公共时频资源可以为初始接入 时, 请求 LTE网络分配给 D2D设备周期性的时频资源。 在获得公共资源之后, D2D设备 可以在该公共资源上检测或监听其他 D2D设备发送的信息。 在本实施例中, 实现了基站 为 D2D分配初始的公共资源。  Preferably, step 302 can be implemented by: when the preset condition is met, the base station allocates a common resource for the D2D device; the preset condition includes at least one of the following: the PRACH request is the first received from the D2D device. PRACH request; no public resources available when receiving the PRACH request; no public resources have been allocated before receiving the PRACH request; when the PRACH request is received, the last allocated public resource has been released. The common resource may be a common time-frequency resource. For example, the public time-frequency resource may be a time-frequency resource that is requested by the LTE network to be allocated to the D2D device during initial access. After obtaining the public resource, the D2D device can detect or listen to the information sent by other D2D devices on the common resource. In this embodiment, the base station is configured to allocate initial public resources for the D2D.
另夕卜, 在现有技术中, 当没有 D2D设备或 D2D设备较少时, 仍是每隔 80ms固定有一 个子帧用于 D2D通信, 因此存在资源浪费的问题。 在本实施例中, 可以在满足上述预设 条件时, 基站才为包括 D2D设备分配公共资源, 从而避免了在没有 D2D设备时为 D2D设 备分配资源, 提高了***的效率。  In addition, in the prior art, when there are no D2D devices or D2D devices, there is still one subframe fixed for D2D communication every 80 ms, so there is a problem of waste of resources. In this embodiment, when the preset condition is met, the base station allocates a common resource for the D2D device, thereby avoiding allocating resources for the D2D device when there is no D2D device, thereby improving the efficiency of the system.
优选地, 如果当前已分配公共资源, 则步骤 302还可以通过以下方式之一实现: 方式一、根据上一次分配的公共资源的使用情况和 PRACH请求所对应的 D2D设备的 数量, 基站重新分配用于 D2D设备的公共资源; 例如, 如果判断上一次分配的公共资源 均已被 D2D设备使用,且又有新的 D2D设备请求接入,则增加用于 D2D设备的公共资源; 若基站判断上一次分配的公共资源中未被使用的资源不足以满足 PRACH请求所对应的 D2D设备, 则增加用于 D2D设备的公共资源; 如果基站判断上一次分配的公共资源的使 用率很低,且接收到的 PRACH请求所对应的 D2D设备的数量较小, 则减少用于 D2D设备 的公共资源。当 D2D设备接入成功后,基站会从公共资源中分配专用资源给该 D2D设备。 如果基站发现分配给某个 D2D设备的专用资源在预定时间内未被使用, 则释放该资源。 因此, 基站可以通过监听的方式获得公共资源的使用情况。  Preferably, if the public resource is currently allocated, step 302 can also be implemented in one of the following ways: Method 1: According to the usage of the last allocated common resource and the number of D2D devices corresponding to the PRACH request, the base station reallocates a common resource of the D2D device; for example, if it is determined that the last allocated common resource has been used by the D2D device, and another new D2D device requests access, the common resource for the D2D device is added; If the unused resources in the allocated common resources are insufficient to satisfy the D2D device corresponding to the PRACH request, the common resources for the D2D device are added; if the base station determines that the usage rate of the last allocated common resource is low, and the received The number of D2D devices corresponding to the PRACH request is small, and the common resources for the D2D device are reduced. After the D2D device accesses successfully, the base station allocates dedicated resources from the public resources to the D2D device. If the base station finds that the dedicated resource allocated to a certain D2D device is not used within a predetermined time, the resource is released. Therefore, the base station can obtain the usage of the common resource by means of monitoring.
方式二、 根据上一次分配的公共资源的大小、 当前已接入的 D2D设备的数量和该 Method 2, according to the size of the last allocated public resource, the number of currently accessed D2D devices, and the
PRACH请求所对应的 D2D设备的数量, 基站重新分配用于 D2D设备的公共资源。 例如, 如果基站判断当前已接入的 D2D设备和该 PRACH请求所对应的 D2D设备所需的资源大 于上一次分配的公共资源的大小, 则可以增加用于 D2D设备的公共资源; 反之, 可以减 少用于 D2D设备的公共资源。 The number of D2D devices corresponding to the PRACH request, and the base station reallocates the common resources for the D2D device. For example, if the base station determines that the currently accessed D2D device and the D2D device corresponding to the PRACH request require more resources than the last allocated common resource, the common resource for the D2D device may be increased; Common resources for D2D devices.
通过上述两种方式,基站根据该 PRACH请求所对应的 D2D设备的数量以及上一次分 配的公共资源的使用情况, 可以灵活地为 D2D设备分配公共资源, 以满足当前需要接入 的 D2D设备的需要, 这样, 即便 D2D设备较多, 各个 D2D设备仍可以获得相应的资源。 Through the above two methods, the number of D2D devices corresponding to the PRACH request by the base station and the last time The use of the shared common resources can flexibly allocate common resources to the D2D devices to meet the needs of the currently required D2D devices. Thus, even if there are many D2D devices, each D2D device can obtain corresponding resources.
优选地, 基站还可以根据接收到的 PRACH序列的个数, 动态调整公共资源的大小, 然后, 基站可以将调整后的公共资源通知给 D2D设备。 当接收到的 PRACH序列较多时, 基站可以为 D2D设备分配较大的公共资源, 当接收到的 PRACH序列较少时,基站可以为 D2D设备分配较小的公共资源。例如, 接收到第一来自 D2D设备的 PRACH序列时, 基站 为 D2D设备分配第一公共资源, 当接收到的 PRACH序列的个数超过第一阈值时,基站为 D2D设备分配第二公共资源,第二公共资源比第一公共资源大。在相关技术中,每隔 80ms 固定有一个子帧用于 D2D通信, 如果网络中 D2D设备较多, 则不能满足 D2D设备对资源 的需求。 通过本实施例的方法, 根据接收到的 PRACH序列的个数, 基站动态调整公共 资源的大小, 当接收到的 PRACH序列较多时, 可以增加为 D2D设备分配的资源, 从而满 足 D2D设备对资源的需求。  Preferably, the base station may further dynamically adjust the size of the common resource according to the number of received PRACH sequences, and then the base station may notify the D2D device of the adjusted common resource. When the number of received PRACH sequences is large, the base station may allocate a larger common resource for the D2D device. When the received PRACH sequence is small, the base station may allocate a smaller common resource for the D2D device. For example, when receiving the first PRACH sequence from the D2D device, the base station allocates the first common resource to the D2D device, and when the number of received PRACH sequences exceeds the first threshold, the base station allocates the second common resource to the D2D device. The second public resource is larger than the first public resource. In the related art, one subframe is fixed for D2D communication every 80 ms. If there are many D2D devices in the network, the resource requirements of the D2D device cannot be met. According to the method of the embodiment, the base station dynamically adjusts the size of the common resource according to the number of received PRACH sequences. When the number of received PRACH sequences is large, the resources allocated to the D2D device may be increased, thereby satisfying the resources of the D2D device. demand.
可选地, 在步骤 302之后, 还可以包括步骤 303, 基站向 D2D设备通知分配的公共资 源的信息, 例如, 基站周期性的向 D2D设备通知分配的公共资源的信息, 基站以广播的 方式周期通知其辖区内的 D2D设备分配的公共资源的信息。 该公共资源可以为所有的 D2D设备共用,用于搜索其他 D2D设备的信息。例如, 申请资源的 D2D设备将自己的 D2D 设备码 code信息在该公共时频资源上发送。 D2D设备在获取时频资源位置信息后, 在该 时频资源位置上进行搜索, 如果发现其他 D2D设备, 则发现成功。 通过本实施例, D2D 设备可以获知分配的公共资源,从而使用该公共资源检测和 /或监听其他 D2D设备发送的 信息。  Optionally, after step 302, the method further includes the step 303, the base station notifying the D2D device of the information about the allocated common resource, for example, the base station periodically notifying the D2D device of the information of the allocated common resource, and the base station periodically broadcasts. Notify the public resources allocated by D2D devices in its jurisdiction. This common resource can be shared by all D2D devices and used to search for information about other D2D devices. For example, the D2D device applying for the resource sends its own D2D device code code information on the common time-frequency resource. After obtaining the time-frequency resource location information, the D2D device searches for the time-frequency resource location. If other D2D devices are found, the discovery is successful. With this embodiment, the D2D device can learn the allocated common resources, thereby using the common resource to detect and/or listen to information sent by other D2D devices.
优选地, 通知公共资源的位置可以通过以下方式至少之一实现:  Preferably, the location of the notification public resource can be implemented by at least one of the following:
基站可以通过控制信令向激活态的 D2D设备通知分配的公共资源的信息。 例如, 对 于激活(Active)态的 UE, 可以默认以 10ms为周期, gp, 每次通知的位置是一个无线帧 ( 10ms)内可用的时频资源, 每 10ms通过物理下行控制信道(Physical Downlink Control Channel, 简称为 PDCCH) 通知一次时频资源。  The base station can notify the D2D device in the active state of the information of the allocated common resource by using control signaling. For example, for an active (Active) UE, the default is 10ms, gp, and the location of each notification is a time-frequency resource available in one radio frame (10ms), and the physical downlink control channel is passed every 10ms (Physical Downlink Control). Channel, referred to as PDCCH for short), notifies the time-frequency resource once.
基站通过公共信令向空闲态的 D2D设备通知分配的公共资源的信息。 例如, 对于空 闲 (idle) 态的 UE, 可以通过公共信令下发该时频资源位置信息, 其中, 该公共信令可 以是物理广播信道(Physical Broadcast Channel,简称为 PBCH)或小区特定(Cell specific) 的物理下行控制信道 (Physical Downlink Shared Channel, 简称为 PDSCH) 。  The base station notifies the D2D device in the idle state of the information of the allocated common resource through the common signaling. For example, for a UE in an idle state, the time-frequency resource location information may be sent by using a common signaling, where the common signaling may be a physical broadcast channel (PBCH) or a cell-specific (Cell). Specific physical downlink control channel (Physical Downlink Shared Channel, abbreviated as PDSCH).
优选地, 分配的公共资源的信息包括分配的公共资源的时频资源位置信息、 分配的 公共资源的生效时间和分配的公共资源的周期中的至少一个。 例如, 基站可以仅将分配 的公共资源的时频资源位置信息发送给 D2D设备, D2D设备在任意时刻均可在该时频资 源位置信息对应的位置检测和 /或监听其他 D2D设备发送的信息;基站还可以将分配的公 共资源的时频资源位置信息和分配的公共资源的生效时间发送给 D2D设备, D2D设备在 该生效时间在该时频资源位置信息对应的位置检测和 /或监听其他 D2D设备发送的信息; 基站还可以将时频资源位置信息和分配的公共资源的周期发送给 D2D设备, D2D设备根 据该时频资源位置信息和分配的公共资源的周期获知周期的时频资源, 并在周期的时频 资源上检测和 /或监听其他 D2D设备发送的信息; 如果是初始开始分配资源, 该基站可以 规定一个资源开始生效的时间, 该时间距离 D2D设备申请接入的时间需要满足接收者能 够听到一次广播信息, 例如, 该时间可以是 320ms。 通过该实施例, 基站可以通知 D2D 设备公共资源的相关信息, 以便 D2D设备能够更准确地使用该公共资源。 Preferably, the information of the allocated common resource includes time-frequency resource location information of the allocated common resource, and the allocated At least one of a valid time of the public resource and a period of the allocated common resource. For example, the base station may send only the time-frequency resource location information of the allocated common resource to the D2D device, and the D2D device may detect and/or listen to the information sent by the other D2D device at the position corresponding to the time-frequency resource location information at any time; The base station may further send the time-frequency resource location information of the allocated common resource and the effective time of the allocated common resource to the D2D device, where the D2D device detects and/or listens to other D2Ds at the location corresponding to the time-frequency resource location information. The information sent by the device; the base station may further send the time-frequency resource location information and the allocated common resource period to the D2D device, and the D2D device learns the periodic time-frequency resource according to the time-frequency resource location information and the allocated common resource period, and Detecting and/or listening to information sent by other D2D devices on a periodic time-frequency resource; if it is initially starting to allocate resources, the base station may specify a time when a resource starts to take effect, and the time required for the D2D device to apply for access needs to be satisfied. The person can hear the broadcast information once, for example, the time can be 320ms. With this embodiment, the base station can notify the D2D device of the common resource related information, so that the D2D device can use the common resource more accurately.
优选地,在分配公共资源之后,基站可以为发送 PRACH请求的 D2D设备分配专用资 源。 该 PRACH请求包括 PRACH序列, 根据 PRACH序列和专用资源的对应关系, 基站在 公共资源内为至少一个 D2D设备中的每个 D2D设备分配专用资源, 专用资源用于由 D2D 设备在专用资源上发送信息。 该专用资源可以是专用时频资源, 该专用时频资源即为 D2D设备用于发现或者通信的时频资源。 在获得专用资源之后, D2D设备可以在该资源 上传输信息。  Preferably, after allocating the common resource, the base station may allocate a dedicated resource to the D2D device that sends the PRACH request. The PRACH request includes a PRACH sequence. According to the correspondence between the PRACH sequence and the dedicated resource, the base station allocates a dedicated resource for each D2D device in the at least one D2D device in the common resource, where the dedicated resource is used by the D2D device to send information on the dedicated resource. . The dedicated resource may be a dedicated time-frequency resource, which is a time-frequency resource used by the D2D device for discovery or communication. After obtaining the dedicated resource, the D2D device can transmit information on the resource.
该对应关系可以是一对一的对应关系, 可以是一对多的对应关系, 也可以是多对一 的对应关系, 该对应关系可以通过对应关系表体现, 还可以通过一定的函数关系体现。 通过本实施例, 可以为发送 PRACH请求的 D2D设备分配可用于通信的专用资源。  The correspondence may be a one-to-one correspondence, and may be a one-to-many correspondence, or a many-to-one correspondence, and the correspondence may be represented by a correspondence table, and may also be represented by a certain function relationship. With this embodiment, a dedicated resource available for communication can be allocated to a D2D device that transmits a PRACH request.
需要说明的是, 分配专用资源的实施例与分配公共资源的实施例是相互独立的, 在 分配专用资源的实施例中, 公共资源的分配方式可以采用图 3所示的方法, 也可以是其 他任意的分配方式, 例如, 每 80ms有一个子帧固定用作公共资源。本发明实施例对此不 作限定。  It should be noted that the embodiment for allocating dedicated resources is independent of the embodiment for allocating common resources. In the embodiment for allocating dedicated resources, the method for allocating common resources may adopt the method shown in FIG. 3 or other methods. Any allocation method, for example, one subframe is fixed as a common resource every 80ms. This embodiment of the present invention does not limit this.
对于支持 D2D设备接入 LTE网络的基站,该基站预留一部分 PRACH序列专用于 D2D 设备接入, 将用于 D2D设备的 PRACH序列号 (gp, Preamble序列号) 重新编号, 并将其 和资源分配位置绑定。  For a base station supporting a D2D device to access an LTE network, the base station reserves a part of the PRACH sequence dedicated to the D2D device access, renumbers the PRACH sequence number (gp, Preamble sequence number) used for the D2D device, and allocates the resource and the resource. Location binding.
在本发明实施例的一个优选实现方式中, 根据 PRACH序列和专用资源的对应关系, 在公共资源内为至少一个 D2D设备中的每个 D2D设备分配专用资源可以通过以下方式 之一实现: 方式一、 根据以下公式, 基站确定分配的专用资源: S= mod(M,N), 其中, S为分配的专用资源的索引, M为 PRACH序列的索引, N为公共资源中资源 的总数, mod表示取模操作; In a preferred implementation manner of the embodiment of the present invention, allocating dedicated resources for each D2D device in the at least one D2D device in the common resource may be implemented in one of the following manners according to the correspondence between the PRACH sequence and the dedicated resource: Method 1: According to the following formula, the base station determines the allocated dedicated resource: S= mod(M, N), where S is an index of the allocated dedicated resource, M is an index of the PRACH sequence, and N is the total number of resources in the public resource. Mod represents the modulo operation;
例如, 该基站支持的 PRACH序列可以为 (64+128) 个; D2D设备默认使用后 128个 序列, 将专用于 D2D设备的 PRACH序列重新编号为 0,1,2, …, 127 ; 如果***带宽为 N (RB), D2D设备使用的 PRACH序列号为 M, 当该 D2D设备成功接入 LTE网络后, 则可以 在一段时间内使用的专用资源的索引为 mod(M,N)。  For example, the base station may support (64+128) PRACH sequences; the D2D device uses the last 128 sequences by default, and renumbers the PRACH sequences dedicated to the D2D device to 0, 1, 2, ..., 127; For the N (RB), the PRACH sequence number used by the D2D device is M. When the D2D device successfully accesses the LTE network, the index of the dedicated resource that can be used for a period of time is mod(M, N).
方式二、 根据 PRACH序列与专用资源的大小之间的对应关系, 基站确定分配的专 用资源的大小; 根据以下公式, 确定分配的专用资源的起始位置:  Manner 2: The base station determines the size of the allocated dedicated resource according to the correspondence between the PRACH sequence and the size of the dedicated resource; and determines the starting position of the allocated dedicated resource according to the following formula:
Sl= mod(M,N),  Sl= mod(M,N),
其中, S1为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。  Where S1 is the index of the starting position of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the public resource, and mod is the modulo operation.
例如, 该基站支持的 PRACH序列可以为 (64+128) 个; D2D设备默认使用后 128个 序列, 将专用于 D2D设备的 PRACH序列重新编号为 0,1,2, …, 127 ; 如果***带宽为 N (RB), D2D设备使用的 PRACH序列号为 M, 当该 D2D设备成功接入 LTE网络后, 则可以 在一段时间内固定使用的时频资源的起始位置为 mod(M,N);如果 M<100,则请求分配的 资源大小为 1RB; 否则, 请求分配的资源为连续的 2RB。 例如, 在 10MHz带宽情况下, 如果 D2D设备请求接入的 PRACH序列重新编号后为 78, 则在 D2D设备成功接入后, mod(78,50)=28, 可以使用的资源位置为第 28个 RB; 如果其请求接入的 Preamble为 115, mod(115,50)=15, 则其可以使用的资源位置为第 15和第 16个 RB。  For example, the base station may support (64+128) PRACH sequences; the D2D device uses the last 128 sequences by default, and renumbers the PRACH sequences dedicated to the D2D device to 0, 1, 2, ..., 127; For the N (RB), the PRACH sequence number used by the D2D device is M. When the D2D device successfully accesses the LTE network, the start position of the fixed-time resource that can be used for a period of time is mod(M,N). If M<100, the requested resource size is 1 RB; otherwise, the resource requested for allocation is a continuous 2 RB. For example, in the case of a 10 MHz bandwidth, if the PRACH sequence requested by the D2D device is renumbered to 78, then after the D2D device successfully accesses, mod(78, 50)=28, and the available resource location is the 28th. RB; If the Preamble to which it requests access is 115, mod(115, 50)=15, the resource locations that it can use are the 15th and 16th RBs.
在上述两种方式中, 资源的单位可以是资源块 (Resource Block, 简称为 RB) , 例 如, 如果带宽为 10MHz, 可用的 RB数是 50个, 资源索引就可以是从 0到 49。  In the above two modes, the unit of the resource may be a resource block (Resource Block, RB for short). For example, if the bandwidth is 10 MHz, the number of available RBs is 50, and the resource index may be from 0 to 49.
通过上述两种方式, 基站可以方便的为 D2D设备分配专用资源。  Through the above two methods, the base station can conveniently allocate dedicated resources for the D2D device.
优选地, 在为至少一个 D2D设备中的每个 D2D设备分配专用资源之后, 基站向至少 一个 D2D设备中的每个 D2D设备发送随机接入响应消息, 以便于指示至少一个 D2D设备 对应的专用资源分配成功。 一旦接受到该随机接入响应消息, D2D设备就可以确定请求 到了该 PRACH序列指示的时频资源, 并可以使用该时频资源传输信息。 通过本实施例, 基站能够通知 D2D设备已为其分配专用资源, 然后, D2D设备能够使用专用资源发送信 息。  Preferably, after allocating dedicated resources for each D2D device in the at least one D2D device, the base station sends a random access response message to each D2D device in the at least one D2D device, so as to indicate the dedicated resource corresponding to the at least one D2D device. The assignment was successful. Upon receiving the random access response message, the D2D device can determine that the time-frequency resource indicated by the PRACH sequence is requested, and can use the time-frequency resource to transmit information. With this embodiment, the base station can notify the D2D device that it has allocated a dedicated resource, and then the D2D device can transmit the information using the dedicated resource.
可选地, 如果基站能正确检测 D2D设备发送的 PRACH序列, 但是该 PRACH序列隐 含请求的时频资源不能分配给该设备, 则基站不向该 D2D设备反馈任何信息。 D2D设备 在发送 PRACH请求之后, 在预定时间段内, 没有收到基站的随机接入响应消息, 则自 动选择另一个 PRACH序列重新请求接入。 Optionally, if the base station can correctly detect the PRACH sequence sent by the D2D device, but the PRACH sequence is hidden The time-frequency resource with the request cannot be allocated to the device, and the base station does not feed back any information to the D2D device. After receiving the PRACH request, the D2D device does not receive the random access response message of the base station within a predetermined time period, and automatically selects another PRACH sequence to request access again.
如前所述,基站可以监听公共资源的使用状况,可选地,如果在第一预定时间段内, 基站检测到公共资源未被使用, 则释放分配的公共资源。 在下一次接收到来自 D2D设备 的 PRACH请求之后, 基站可以通过本发明实施例的方式分配用于 D2D设备的公共资源。 在本实施例中,如果基站在预定时间段内,检测到公共资源未被使用,则释放公共资源, 此时可以将该公共资源分配给其他设备使用,例如,将这部分资源分配给普通的 LTE UE 使用,取消 PDCCH以及 PBCH 或 Cell specific的 PDSCH的发送。从而避免了资源的浪费。 优选地,基站回收分配的资源之后,可以通过广播信令通知 D2D设备该资源已释放, D2D 设备不再使用回收的资源。  As described above, the base station can listen to the usage status of the common resource. Alternatively, if the base station detects that the common resource is not used within the first predetermined time period, the allocated common resource is released. After receiving the PRACH request from the D2D device next time, the base station can allocate the common resources for the D2D device in the manner of the embodiment of the present invention. In this embodiment, if the base station detects that the common resource is not used within a predetermined time period, the common resource is released, and the public resource may be allocated to other devices for use, for example, the part of the resource is allocated to the common The LTE UE uses to cancel the transmission of the PDCCH and the PBCH or Cell specific PDSCH. Thereby avoiding the waste of resources. Preferably, after the base station reclaims the allocated resources, the D2D device may be notified by broadcast signaling that the resources are released, and the D2D device no longer uses the recycled resources.
可选地, 在根据 PRACH序列, 基站分配用于 D2D设备的公共资源之后, 基站通知 D2D设备该公共资源的可用时间段, 例如, 第一可用时间段, 如果 D2D设备在未使用分 配的资源的时间超过第一可用时间段之后要使用 D2D功能, 则重新请求基站分配资源。 其中, 第一可用时间段可以和第一预定时间段相同。  Optionally, after the base station allocates the common resource for the D2D device according to the PRACH sequence, the base station notifies the D2D device of the available time period of the common resource, for example, the first available time period, if the D2D device is not using the allocated resource. If the D2D function is to be used after the time exceeds the first available time period, the base station is re-requested to allocate resources. Wherein, the first available time period may be the same as the first predetermined time period.
优选地, 上述资源分配方式在一定时间内有效, 如果超出设定时间, 则分配的资源 自动失效。 此时, 如果 D2D设备还有和 LTE网络的数据交互, D2D设备可以重新申请资 源。 本发明实施例还提供了一种基站, 该基站可以用于实现上述的方法实施例, 因此, 上述方法实施例中基站的相关特征可以结合在本实施例中。 如图 4所示, 该基站包括: 接收单元 400, 用于接收至少一个 D2D设备发送的 PRACH请求; 分配单元 402, 连接至接 收单元 400, 用于根据 PRACH请求, 分配用于 D2D设备的公共资源。  Preferably, the resource allocation manner is valid for a certain period of time, and if the set time is exceeded, the allocated resources are automatically invalidated. At this time, if the D2D device has data interaction with the LTE network, the D2D device can re-apply for resources. The embodiment of the present invention further provides a base station, where the base station can be used to implement the foregoing method embodiments. Therefore, related features of the base station in the foregoing method embodiments may be combined in this embodiment. As shown in FIG. 4, the base station includes: a receiving unit 400, configured to receive a PRACH request sent by at least one D2D device; and an allocating unit 402, connected to the receiving unit 400, configured to allocate a common resource for the D2D device according to the PRACH request. .
图 5是根据本发明实施例的一种基站的优选的结构框图, 如图 5所示, 优选地, 上述 PRACH请求包括 PRACH序列; 上述基站还包括: 确定单元 404, 连接至接收单元 400和 分配单元 402,用于在分配单元 402根据 PRACH请求,分配专用于 D2D设备的公共资源之 前,确定 PRACH序列属于第一预定集合,第一预定集合是专用于 D2D设备使用的序列的 璧 A  FIG. 5 is a block diagram of a preferred structure of a base station according to an embodiment of the present invention. As shown in FIG. 5, the PRACH request includes a PRACH sequence. The base station further includes: a determining unit 404, connected to the receiving unit 400, and The unit 402 is configured to determine, before the allocation unit 402 allocates a common resource dedicated to the D2D device according to the PRACH request, that the PRACH sequence belongs to the first predetermined set, where the first predetermined set is 璧A dedicated to the sequence used by the D2D device.
Zhu
可选地,上述公共资源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发 送的信息。 在本发明实施例的一个优选实现方式中, 分配单元 402用于当满足预设条件时, 分 配用于 D2D设备的公共资源; 预设条件包括以下中的至少一个: Optionally, the foregoing common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource. In a preferred implementation manner of the embodiment of the present invention, the allocating unit 402 is configured to allocate a common resource for the D2D device when the preset condition is met; the preset condition includes at least one of the following:
PRACH请求是首次接收到的来自 D2D设备的 PRACH请求;  The PRACH request is the first PRACH request received from the D2D device;
在接收到 PRACH请求时没有可用的公共资源;  There are no public resources available when receiving a PRACH request;
在接收到 PRACH请求前尚未分配过公共资源; 和  Public resources have not been allocated before receiving a PRACH request; and
在接收到 PRACH请求时, 上一次分配的公共资源已释放。  When the PRACH request is received, the last public resource allocated is released.
在本发明实施例的另一个优选实现方式中, 分配单元 402用于在当前已分配公共资 源的情况下,根据上一次分配的公共资源的使用情况和 PRACH请求所对应的 D2D设备的 数量, 重新分配用于 D2D设备的公共资源; 或, 根据上一次分配的公共资源的大小、 当 前已接入的 D2D设备的数量和 PRACH请求所对应的 D2D设备的数量,重新分配用于 D2D 设备的公共资源。  In another preferred implementation manner of the embodiment of the present invention, the allocating unit 402 is configured to re-establish the public resource according to the usage of the public resource and the number of D2D devices corresponding to the PRACH request. Allocating a common resource for the D2D device; or, reallocating the common resource for the D2D device according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request .
如图 5所示, 优选地, 该基站还包括: 发送单元 406, 连接至分配单元 402, 用于向 D2D设备通知分配的公共资源的信息。  As shown in FIG. 5, the base station further includes: a sending unit 406, connected to the allocating unit 402, configured to notify the D2D device of the information of the allocated common resource.
优选地, 发送单元 406用于通过控制信令向激活态的 D2D设备通知分配的公共资源 的信息; 和 /或, 通过公共信令向空闲态的 D2D设备通知分配的公共资源的信息。  Preferably, the sending unit 406 is configured to notify the D2D device in the active state of the information of the allocated common resource by using control signaling; and/or notify the D2D device in the idle state of the information of the allocated common resource by using common signaling.
可选地, 分配的公共资源的信息包括分配的公共资源的时频资源位置信息、 分配的 公共资源的生效时间和分配的公共资源的周期中的至少一个。  Optionally, the information of the allocated common resource includes at least one of time-frequency resource location information of the allocated common resource, an effective time of the allocated common resource, and a period of the allocated common resource.
在本发明的一个实施例中, PRACH请求包括 PRACH序列; 分配单元 402还用于根据 PRACH序列和专用资源的对应关系, 在公共资源内为至少一个 D2D设备中的每个 D2D 设备分配专用资源, 专用资源用于由 D2D设备在专用资源上发送信息。  In an embodiment of the present invention, the PRACH request includes a PRACH sequence, and the allocating unit 402 is further configured to allocate, according to the correspondence between the PRACH sequence and the dedicated resource, a dedicated resource for each D2D device in the at least one D2D device in the common resource, where Dedicated resources are used to send information on dedicated resources by D2D devices.
可选地, 分配单元 402用于:  Optionally, the allocation unit 402 is configured to:
根据以下公式, 确定分配的专用资源:  Determine the assigned dedicated resources according to the following formula:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索引, N为公共资源中资源 的总数, mod表示取模操作;  Where S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation;
或者,  Or,
根据 PRACH序列与专用资源的大小之间的对应关系, 确定分配的专用资源的大小; 根据以下公式, 确定分配的专用资源的起始位置:  Determining the size of the allocated dedicated resource according to the correspondence between the PRACH sequence and the size of the dedicated resource; determining the starting position of the allocated dedicated resource according to the following formula:
Sl= mod(M,N),  Sl= mod(M,N),
其中, S1为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。 Where S1 is the index of the starting position of the allocated dedicated resource, M is the cable of the PRACH sequence |, N is public The total number of resources in the resource, mod represents the modulo operation.
优选地,上述基站还包括:发送单元 406,连接至分配单元 402,用于向至少一个 D2D 设备中的每个 D2D设备发送随机接入响应消息, 以便于指示至少一个 D2D设备对应的专 用资源分配成功。  Preferably, the foregoing base station further includes: a sending unit 406, connected to the allocating unit 402, configured to send a random access response message to each D2D device in the at least one D2D device, so as to indicate the dedicated resource allocation corresponding to the at least one D2D device. success.
如图 5所示, 优选地, 该基站包括: 检测单元 408, 连接至分配单元 402, 用于检测 到公共资源是否被使用; 释放单元 410, 连接至检测单元 408, 用于在检测单元 408在第 一预定时间段内检测到公共资源未被使用的情况下, 释放分配的公共资源。  As shown in FIG. 5, the base station includes: a detecting unit 408, connected to the allocating unit 402, configured to detect whether a common resource is used; and a releasing unit 410 connected to the detecting unit 408, configured to be in the detecting unit 408 In the case where it is detected that the common resource is not used within the first predetermined time period, the allocated common resource is released.
需要说明的是, 虽然图 5中的基站同时包括确定单元 404、 发送单元 406、 检测单元 408和释放单元 410, 但是本发明实施例中的基站并不限于同时包括确定单元 404、 发送 单元 406、检测单元 408和释放单元 410, 例如, 基站可以包括确定单元 404和 /或发送单元 406, 而不包括检测单元 408和释放单元 410; 基站也可以包括检测单元 408和释放单元 410, 而不包括确定单元 404和 /或发送单元 406。 本发明实施例还提供了一种 D2D设备, 该 D2D设备可以用于实现上述的方法实施 例, 因此, 上述方法实施例中该 D2D设备的相关特征可以结合在本实施例中。 如图 6所 示, 该 D2D设备包括: 发送单元 600, 用于向基站发送的 PRACH请求, 以便于基站根据 PRACH请求, 分配用于 D2D设备的公共资源; 接收单元 602, 用于接收基站发送的分配 的公共资源的信息。  It should be noted that, although the base station in FIG. 5 includes the determining unit 404, the sending unit 406, the detecting unit 408, and the releasing unit 410, the base station in the embodiment of the present invention is not limited to include the determining unit 404, the sending unit 406, The detecting unit 408 and the releasing unit 410, for example, the base station may include the determining unit 404 and/or the transmitting unit 406 without including the detecting unit 408 and the releasing unit 410; the base station may also include the detecting unit 408 and the releasing unit 410 without including the determination. Unit 404 and/or transmitting unit 406. The embodiment of the present invention further provides a D2D device, which can be used to implement the foregoing method embodiments. Therefore, related features of the D2D device in the foregoing method embodiments may be combined in this embodiment. As shown in FIG. 6, the D2D device includes: a sending unit 600, configured to send a PRACH request to a base station, so that the base station allocates a common resource for the D2D device according to the PRACH request, and a receiving unit 602, configured to receive, by the base station, Information about the assigned public resources.
图 7是根据本发明实施例的一种 D2D设备的优选的结构框图, 如图 7所示, 优选地, PRACH请求包括 PRACH序列; 该 D2D设备还包括: 选择单元 604, 连接至发送单元 600, 用于在发送单元 600向基站发送的 PRACH请求之前, 从第一预定集合中选出 PRACH序 列, 第一预定集合是专用于 D2D设备使用的序列的集合。  FIG. 7 is a block diagram of a preferred structure of a D2D device according to an embodiment of the present invention. As shown in FIG. 7, the PRACH request preferably includes a PRACH sequence. The D2D device further includes: a selecting unit 604, connected to the sending unit 600, The PRACH sequence is selected from the first predetermined set before the PRACH request sent by the transmitting unit 600 to the base station, and the first predetermined set is a set of sequences dedicated to the D2D device.
可选地,公共资源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发送的 信息。  Optionally, the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
在本发明实施例的一个优选实现方式中, 公共资源是基站在满足预设条件时分配 的; 预设条件包括以下至少一个:  In a preferred implementation manner of the embodiment of the present invention, the public resource is allocated by the base station when the preset condition is met; the preset condition includes at least one of the following:
PRACH请求是基站首次接收到的来自 D2D设备的 PRACH请求;  The PRACH request is a PRACH request received by the base station from the D2D device for the first time;
在基站接收到 PRACH请求时没有可用的公共资源;  There is no public resource available when the base station receives the PRACH request;
在基站接收到 PRACH请求前尚未分配过公共资源; 和  The public resource has not been allocated before the base station receives the PRACH request; and
在基站接收到 PRACH请求时, 上一次分配的公共资源已释放。 在本发明实施例的另一个优选实现方式中, 如果当前已分配公共资源, 则基站根据 PRACH请求分配的公共资源是: When the base station receives the PRACH request, the last allocated public resource is released. In another preferred implementation manner of the embodiment of the present invention, if the public resource is currently allocated, the common resource allocated by the base station according to the PRACH request is:
根据上一次分配的公共资源的使用情况和 PRACH请求所对应的 D2D设备的数量,重 新分配的用于 D2D设备的公共资源; 或  Re-allocating common resources for D2D devices based on the usage of the last allocated public resource and the number of D2D devices corresponding to the PRACH request; or
根据上一次分配的公共资源的大小、当前已接入的 D2D设备的数量和 PRACH请求所 对应的 D2D设备的数量, 重新分配的用于 D2D设备的公共资源。  The public resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
可选地, 接收单元 602用于接收基站发送的控制信令, 其中, 控制信令中包含分配 的公共资源的信息; 和 /或, 接收单元 602用于接收基站发送的公共信令, 其中, 公共信 令中包含分配的公共资源的信息。  Optionally, the receiving unit 602 is configured to receive control signaling sent by the base station, where the control signaling includes information about the allocated common resource; and/or, the receiving unit 602 is configured to receive the common signaling sent by the base station, where The public signaling contains information about the allocated common resources.
优选地, 分配的公共资源的信息包括分配的公共资源的时频资源位置信息、 分配的 公共资源的生效时间和分配的公共资源的周期中的至少一个。  Preferably, the information of the allocated common resource includes at least one of time-frequency resource location information of the allocated common resource, an effective time of the allocated common resource, and a period of the allocated common resource.
在一个优选实施例中, PRACH请求包括 PRACH序列; PRACH序列与为 D2D设备分 配的专用资源之间存在对应关系, 专用资源用于由 D2D设备在专用资源上发送信息。  In a preferred embodiment, the PRACH request includes a PRACH sequence; the PRACH sequence has a correspondence with a dedicated resource allocated for the D2D device for transmitting information on the dedicated resource by the D2D device.
可选地, 上述对应关系包括:  Optionally, the foregoing correspondence includes:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索引, N为公共资源中资源 的总数, mod表示取模操作;  Where S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation;
或者,  Or,
PRACH序列与分配的专用资源的大小之间存在的第一对应关系, 以及 PRACH序列 与分配的专用资源的起始位置的索引之间存在的以下函数关系:  The first correspondence between the PRACH sequence and the size of the allocated dedicated resource, and the following functional relationship between the PRACH sequence and the index of the starting location of the allocated dedicated resource:
Sl= mod(M,N),  Sl= mod(M,N),
其中, S1为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。  Where S1 is the index of the starting position of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the public resource, and mod is the modulo operation.
可选地, 接收单元 602用于接收所述基站发送的随机接入响应消息, 其中, 所述随 机接入响应消息用于指示所述 D2D设备对应的专用资源分配成功。 本发明实施例还提供了一种基站, 该基站可以用于实现上述的方法实施例, 因此, 上述方法实施例中基站的相关特征可以结合在本实施例中。 如图 8所示, 该基站包括: 收发器 800, 用于收发信号; 处理器 802, 用于: 通过收发器 800接收至少一个 D2D设备 发送的 PRACH请求; 根据 PRACH请求, 分配用于 D2D设备的公共资源。 优选地, PRACH请求包括 PRACH序列; 处理器 802用于: 在根据 PRACH请求, 分 配专用于 D2D设备的公共资源之前,确定 PRACH序列属于第一预定集合,第一预定集合 是专用于 D2D设备使用的序列的集合。 Optionally, the receiving unit 602 is configured to receive the random access response message sent by the base station, where the random access response message is used to indicate that the dedicated resource corresponding to the D2D device is successfully allocated. The embodiment of the present invention further provides a base station, where the base station can be used to implement the foregoing method embodiments. Therefore, related features of the base station in the foregoing method embodiments may be combined in this embodiment. As shown in FIG. 8, the base station includes: a transceiver 800, configured to send and receive signals; a processor 802, configured to: receive, by the transceiver 800, a PRACH request sent by at least one D2D device; and allocate, according to the PRACH request, a D2D device. Public resource. Preferably, the PRACH request includes a PRACH sequence; the processor 802 is configured to: before the public resource dedicated to the D2D device is allocated according to the PRACH request, determine that the PRACH sequence belongs to the first predetermined set, and the first predetermined set is dedicated to use by the D2D device. A collection of sequences.
可选地,公共资源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发送的 信息。  Optionally, the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
在本发明实施例的一个优选实现方式中, 处理器 802通过以下方式实现根据 PRACH 请求, 分配用于 D2D设备的公共资源:  In a preferred implementation of the embodiment of the present invention, the processor 802 allocates a common resource for the D2D device according to the PRACH request by:
当满足预设条件时, 分配用于 D2D设备的公共资源; 预设条件包括以下中的至少一 个. PRACH请求是首次接收到的来自 D2D设备的 PRACH请求;  When the preset condition is met, the common resource for the D2D device is allocated; the preset condition includes at least one of the following. The PRACH request is the first received PRACH request from the D2D device;
在接收到 PRACH请求时没有可用的公共资源;  There are no public resources available when receiving a PRACH request;
在接收到 PRACH请求前尚未分配过公共资源; 和  Public resources have not been allocated before receiving a PRACH request; and
在接收到 PRACH请求时, 上一次分配的公共资源已释放。  When the PRACH request is received, the last public resource allocated is released.
在本发明实施例的另一个优选实现方式中,如果当前已分配公共资源,则处理器 802 通过以下方式实现根据 PRACH请求, 分配用于 D2D设备的公共资源:  In another preferred implementation of the embodiment of the present invention, if the common resource is currently allocated, the processor 802 allocates a common resource for the D2D device according to the PRACH request by:
根据上一次分配的公共资源的使用情况和 PRACH请求所对应的 D2D设备的数量,重 新分配用于 D2D设备的公共资源; 或  Re-allocating common resources for D2D devices based on the usage of the last allocated public resource and the number of D2D devices corresponding to the PRACH request; or
根据上一次分配的公共资源的大小、当前已接入的 D2D设备的数量和 PRACH请求所 对应的 D2D设备的数量, 重新分配用于 D2D设备的公共资源。  The common resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
可选地, 处理器 802用于: 通过收发器 800向 D2D设备通知分配的公共资源的信息。 优选地, 处理器 802通过以下方式实现向 D2D设备通知分配的公共资源: 通过控制 信令向激活态的 D2D设备通知分配的公共资源的信息;和 /或,通过公共信令向空闲态的 D2D设备通知分配的公共资源的信息。  Optionally, the processor 802 is configured to: notify, by the transceiver 800, information about the allocated common resource to the D2D device. Preferably, the processor 802 implements the notification to the D2D device of the allocated common resource by: notifying the D2D device in the active state of the information of the allocated common resource by using control signaling; and/or, by public signaling, to the D2D in the idle state. The device notifies the information of the assigned public resource.
可选地, 分配的公共资源的信息包括分配的公共资源的时频资源位置信息、 分配的 公共资源的生效时间和分配的公共资源的周期中的至少一个。  Optionally, the information of the allocated common resource includes at least one of time-frequency resource location information of the allocated common resource, an effective time of the allocated common resource, and a period of the allocated common resource.
优选地, PRACH请求包括 PRACH序列; 处理器 802用于: 根据 PRACH序列和专用 资源的对应关系, 在公共资源内为至少一个 D2D设备中的每个 D2D设备分配专用资源, 专用资源用于由 D2D设备在专用资源上发送信息。  Preferably, the PRACH request includes a PRACH sequence; the processor 802 is configured to: allocate, according to a correspondence between the PRACH sequence and the dedicated resource, a dedicated resource for each D2D device in the at least one D2D device in the common resource, where the dedicated resource is used by the D2D The device sends information on a dedicated resource.
在一个优选的实施例中, 处理器 802通过以下方式实现根据 PRACH序列和专用资源 的对应关系, 在公共资源内为至少一个 D2D设备中的每个 D2D设备分配专用资源: 根据以下公式, 确定分配的专用资源: In a preferred embodiment, the processor 802 allocates a dedicated resource for each D2D device in the at least one D2D device within the common resource according to the correspondence between the PRACH sequence and the dedicated resource in the following manner: Determine the assigned dedicated resources according to the following formula:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索引, N为公共资源中资源 的总数, mod表示取模操作;  Where S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation;
或者,  Or,
根据 PRACH序列与专用资源的大小之间的对应关系, 确定分配的专用资源的大小; 根据以下公式, 确定分配的专用资源的起始位置:  Determining the size of the allocated dedicated resource according to the correspondence between the PRACH sequence and the size of the dedicated resource; determining the starting position of the allocated dedicated resource according to the following formula:
Sl= mod(M,N),  Sl= mod(M,N),
其中, S1为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。  Where S1 is the index of the starting position of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the public resource, and mod is the modulo operation.
可选地, 处理器 802用于: 通过收发器 800向至少一个 D2D设备中的每个 D2D设备发 送随机接入响应消息, 以便于指示至少一个 D2D设备对应的专用资源分配成功。  Optionally, the processor 802 is configured to: send, by the transceiver 800, a random access response message to each D2D device in the at least one D2D device, so as to indicate that the dedicated resource allocation corresponding to the at least one D2D device is successfully allocated.
可选地, 处理器 802还用于在第一预定时间段内检测到公共资源未被使用的情况下, 释放分配的公共资源。 本发明实施例还提供了一种 D2D设备, 该 D2D设备可以用于实现上述的方法实施 例, 因此, 上述方法实施例中 D2D设备的相关特征可以结合在本实施例中。 如图 9所示, 该 D2D设备包括: 收发器 900, 用于收发信号; 处理器 902, 用于: 通过收发器 900向基 站发送的 PRACH请求, 以便于基站根据 PRACH请求, 分配用于 D2D设备的公共资源; 通过收发器 900接收基站发送的分配的公共资源的信息。  Optionally, the processor 802 is further configured to release the allocated common resource if the common resource is not used within the first predetermined time period. The embodiment of the present invention further provides a D2D device, which can be used to implement the foregoing method embodiments. Therefore, related features of the D2D device in the foregoing method embodiments may be combined in this embodiment. As shown in FIG. 9, the D2D device includes: a transceiver 900, configured to send and receive signals; and a processor 902, configured to: send, by the transceiver 900, a PRACH request to the base station, so that the base station allocates the D2D device according to the PRACH request. Public resource; receiving, by the transceiver 900, information of the allocated common resource sent by the base station.
优选地, PRACH请求包括 PRACH序列; 处理器 902用于在 D2D设备向基站发送的 PRACH请求之前, 从第一预定集合中选出 PRACH序列, 第一预定集合是专用于 D2D设 备使用的序列的集合。  Preferably, the PRACH request includes a PRACH sequence; the processor 902 is configured to select a PRACH sequence from the first predetermined set before the D2D device sends the PRACH request to the base station, where the first predetermined set is a set dedicated to the sequence used by the D2D device. .
可选地,公共资源用于由 D2D设备在公共资源上检测和 /或监听其他 D2D设备发送的 信息。  Optionally, the common resource is used by the D2D device to detect and/or listen to information sent by other D2D devices on the common resource.
在本发明实施例的一个优选实现方式中, 公共资源是基站在满足预设条件时分配 的; 预设条件包括以下至少一个:  In a preferred implementation manner of the embodiment of the present invention, the public resource is allocated by the base station when the preset condition is met; the preset condition includes at least one of the following:
PRACH请求是基站首次接收到的来自 D2D设备的 PRACH请求;  The PRACH request is a PRACH request received by the base station from the D2D device for the first time;
在基站接收到 PRACH请求时没有可用的公共资源;  There is no public resource available when the base station receives the PRACH request;
在基站接收到 PRACH请求前尚未分配过公共资源; 和 在基站接收到 PRACH请求时, 上一次分配的公共资源已释放。 The public resource has not been allocated before the base station receives the PRACH request; and When the base station receives the PRACH request, the last allocated public resource is released.
在本发明实施例的另一个优选实现方式中, 如果当前已分配公共资源, 则基站根据 PRACH请求分配的公共资源是:  In another preferred implementation manner of the embodiment of the present invention, if the public resource is currently allocated, the common resource allocated by the base station according to the PRACH request is:
根据上一次分配的公共资源的使用情况和 PRACH请求所对应的 D2D设备的数量,重 新分配的用于 D2D设备的公共资源; 或  Re-allocating common resources for D2D devices based on the usage of the last allocated public resource and the number of D2D devices corresponding to the PRACH request; or
根据上一次分配的公共资源的大小、当前已接入的 D2D设备的数量和 PRACH请求所 对应的 D2D设备的数量, 重新分配的用于 D2D设备的公共资源。  The public resources for the D2D device are reallocated according to the size of the last allocated common resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
可选地, 处理器 902用于通过以下方式实现通过收发器 900接收基站发送的分配的公 共资源的信息包括: 通过收发器 900接收基站发送的控制信令, 其中, 控制信令中包含 分配的公共资源的信息; 和 /或, 通过收发器 900接收基站发送的公共信令, 其中, 公共 信令中包含分配的公共资源的信息。  Optionally, the processor 902 is configured to: receive, by using the transceiver 900, information about the allocated common resource sent by the base station, by: receiving, by the transceiver 900, control signaling sent by the base station, where the control signaling includes the allocated And the public signaling sent by the base station is received by the transceiver 900, where the public signaling includes the information of the allocated common resource.
优选地, 分配的公共资源的信息包括分配的公共资源的时频资源位置信息、 分配的 公共资源的生效时间和分配的公共资源的周期中的至少一个。  Preferably, the information of the allocated common resource includes at least one of time-frequency resource location information of the allocated common resource, an effective time of the allocated common resource, and a period of the allocated common resource.
在一个优选实施例中, PRACH请求包括 PRACH序列; PRACH序列与为 D2D设备分 配的专用资源之间存在对应关系, 专用资源用于由 D2D设备在专用资源上发送信息。  In a preferred embodiment, the PRACH request includes a PRACH sequence; the PRACH sequence has a correspondence with a dedicated resource allocated for the D2D device for transmitting information on the dedicated resource by the D2D device.
优选地, 上述对应关系包括:  Preferably, the foregoing correspondence includes:
S= mod(M,N),  S= mod(M,N),
其中, S为分配的专用资源的索引, M为 PRACH序列的索引, N为公共资源中资源 的总数, mod表示取模操作;  Where S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the common resource, and mod is the modulo operation;
或者,  Or,
PRACH序列与分配的专用资源的大小之间存在的第一对应关系, 以及 PRACH序列 与分配的专用资源的起始位置的索引之间存在的以下函数关系:  The first correspondence between the PRACH sequence and the size of the allocated dedicated resource, and the following functional relationship between the PRACH sequence and the index of the starting location of the allocated dedicated resource:
Sl= mod(M,N),  Sl= mod(M,N),
其中, S1为分配的专用资源的起始位置的索引, M为 PRACH序列的索弓 |, N为公共 资源中资源的总数, mod表示取模操作。  Where S1 is the index of the starting position of the allocated dedicated resource, M is the PRACH sequence, N is the total number of resources in the public resource, and mod is the modulo operation.
可选地, 处理器 902用于通过接收器接收基站发送的随机接入响应消息, 其中, 随 机接入响应消息用于指示 D2D设备对应的专用资源分配成功。 上述本发明实施例中的处理器可能是基带处理器, 也可能是一种集成电路芯片, 具有信号的处理能力, 还可能是中央处理器 (Central Processing Unit, 简称为 CPU) 等 硬件处理器。 在实现过程中, 上述方法的各步骤可以通过处理器中的硬件的集成逻辑电 路或者软件形式的指令完成。 这些指令可以通过其中 的处理器以配合实现及控制。 用 于执行本发明实施例揭示的方法, 上述的处理器可以是通用处理器、 数字信号处理器 (Digital Signal Processor, 简称为 DSP)、 专用集成电路 (Application Specific Integrated Circuit,简称为 ASIC)、现场可编程门阵歹 lJ(Field Programmable Gate Array,简称为 FPGA) 或者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 可以实现或者 执行本发明实施例中的公开的各方法、 步骤及逻辑框图。 通用处理器可以是微处理器或 者该处理器也可以是任何常规的处理器, 解码器等。 结合本发明实施例所公开的方法的 步骤可以直接体现为硬件处理器执行完成, 或者用处理器中的硬件及软件模块组合执 行完成。 软件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电 可擦写可编程存储器、 寄存器等本领域成熟的存储介质中。 Optionally, the processor 902 is configured to receive, by using a receiver, a random access response message sent by the base station, where the random access response message is used to indicate that the dedicated resource allocation corresponding to the D2D device is successful. The processor in the above embodiment of the present invention may be a baseband processor, or an integrated circuit chip, which has signal processing capability, and may also be a hardware processor such as a central processing unit (CPU). In the implementation process, each step of the above method may be integrated by logic of hardware in the processor. The instructions in the form of a road or software are completed. These instructions can be implemented and controlled by the processor in them. For performing the method disclosed in the embodiments of the present invention, the foregoing processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and an on-site Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general purpose processor may be a microprocessor or the processor or any conventional processor, decoder or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到本发明可以 用硬件实现, 或固件实现, 或它们的组合方式来实现。 当使用软件实现时, 可以将上述 功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行 传输。 计算机可读介质包括计算机存储介质和通信介质, 其中通信介质包括便于从一个 地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何 可用介质。 以此为例但不限于: 计算机可读介质可以包括随机存取存储器 (Random Access Memory, 简称为 RAM)、 只读内存 (Read- Only Memory, 简称为 ROM)、 电可 擦可编程只读存储器 (Electrically Erasable Programmable Read-Only Memory, 简称为 EEPROM)、 只读光盘 (Compact Disc Read-Only Memory, 简称为 CD-ROM) 或其他光 盘存储、 磁盘存储介质或者其他磁存储设备、 或者能够用于携带或存储具有指令或数据 结构形式的期望的程序代码并能够由计算机存取的任何其他介质。 此外。 任何连接可以 适当的成为计算机可读介质。 例如, 如果软件是使用同轴电缆、 光纤光缆、 双绞线、 数 字用户线 (Digital Subscriber Line, 简称为 DSL) 或者诸如红外线、 无线电和微波之类 的无线技术从网站、服务器或者其他远程源传输的, 那么同轴电缆、光纤光缆、双绞线、 DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明 所使用的, 盘 (Disk) 和碟 (disc) 包括压縮光碟 (Compact Disc, 简称为 CD)、 激光 碟、 光碟、 数字通用光碟 (Digital Versatile Disk, 简称为 DVD)、 软盘和蓝光光碟, 其 中盘通常磁性的复制数据, 而碟则用激光来光学的复制数据。 上面的组合也应当包括在 计算机可读介质的保护范围之内。 总之, 以上所述仅为本发明技术方案的较佳实施例而已, 并非用于限定本发明的保 护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包 含在本发明的保护范围之内。 Through the description of the above embodiments, it will be apparent to those skilled in the art that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. For example, but not limited to: the computer readable medium may include a random access memory (RAM), read-only memory (ROM), and an electrically erasable programmable read only memory. (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, disk storage media or other magnetic storage devices, or can be used for carrying Or any other medium that has the desired program code in the form of an instruction or data structure and that can be accessed by a computer. Also. Any connection may suitably be a computer readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave. Then, coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fixing of the associated medium. As used in the present invention, a disk and a disc include a compact disc (Compact Disc, CD for short), a laser disc, a compact disc, a digital Versatile Disk (DVD), a floppy disk, and a Blu-ray. Optical discs, in which discs are usually magnetically replicated, while discs use lasers to optically replicate data. Combinations of the above should also be included within the scope of the computer readable media. In summary, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求 Rights request
1. 一种资源分配方法, 其特征在于, 包括: 1. A resource allocation method, characterized by including:
接收至少一个设备到设备 D2D设备发送的物理随机接入信道 PRACH请求; 和 根据所述 PRACH请求, 分配用于 D2D设备的公共资源。 Receive a physical random access channel PRACH request sent by at least one device-to-device D2D device; and allocate public resources for the D2D device according to the PRACH request.
2. 根据权利要求 1所述的方法, 其特征在于, 所述 PRACH请求包括 PRACH序列; 在所述根据所述 PRACH请求,分配专用于 D2D设备的公共资源之前,所述方法还包 括: 2. The method according to claim 1, wherein the PRACH request includes a PRACH sequence; before allocating public resources dedicated to D2D devices according to the PRACH request, the method further includes:
确定所述 PRACH序列属于第一预定集合,所述第一预定集合是专用于 D2D设备使用 的序列的集合。 It is determined that the PRACH sequence belongs to a first predetermined set, and the first predetermined set is a set of sequences dedicated to use by the D2D device.
3. 根据权利要求 1或 2所述的方法, 其特征在于, 所述公共资源用于由 D2D设备在 所述公共资源上检测和 /或监听其他 D2D设备发送的信息。 3. The method according to claim 1 or 2, characterized in that the public resources are used by D2D devices to detect and/or monitor information sent by other D2D devices on the public resources.
4. 根据权利要求 1至 3中任意一项所述的方法, 其特征在于, 根据所述 PRACH请求, 分配用于 D2D设备的公共资源包括: 4. The method according to any one of claims 1 to 3, characterized in that, according to the PRACH request, allocating public resources for D2D devices includes:
当满足预设条件时, 分配用于 D2D设备的公共资源; 所述预设条件包括以下中的至 少一个: When the preset conditions are met, public resources for D2D devices are allocated; the preset conditions include at least one of the following:
所述 PRACH请求是首次接收到的来自 D2D设备的 PRACH请求; The PRACH request is the first received PRACH request from the D2D device;
在接收到所述 PRACH请求时没有可用的公共资源; No public resources were available when the PRACH request was received;
在接收到所述 PRACH请求前尚未分配过公共资源; 和 No public resources have been allocated prior to receipt of said PRACH request; and
在接收到所述 PRACH请求时, 上一次分配的公共资源已释放。 When the PRACH request is received, the last allocated public resources have been released.
5. 根据权利要求 1至 3中任意一项所述的方法, 其特征在于, 如果当前已分配公共 资源, 则所述根据所述 PRACH请求, 分配用于 D2D设备的公共资源包括: 5. The method according to any one of claims 1 to 3, characterized in that, if public resources are currently allocated, the allocation of public resources for D2D devices according to the PRACH request includes:
根据上一次分配的公共资源的使用情况和所述 PRACH请求所对应的 D2D设备的数 量, 重新分配用于 D2D设备的公共资源; 或 Reallocate public resources for D2D devices based on the usage of the last allocated public resources and the number of D2D devices corresponding to the PRACH request; or
根据上一次分配的公共资源的大小、 当前已接入的 D2D设备的数量和所述 PRACH 请求所对应的 D2D设备的数量, 重新分配用于 D2D设备的公共资源。 The public resources for D2D devices are reallocated according to the size of the last allocated public resources, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
6. 根据权利要求 1至 5中任意一项所述的方法, 其特征在于, 所述方法还包括: 向所述 D2D设备通知所述分配的公共资源的信息。 6. The method according to any one of claims 1 to 5, characterized in that the method further includes: notifying the D2D device of the information of the allocated public resources.
7. 根据权利要求 6所述的方法, 其特征在于, 所述向所述 D2D设备通知所述分配的 公共资源包括: 通过控制信令向激活态的 D2D设备通知所述分配的公共资源的信息; 和 /或 通过公共信令向空闲态的 D2D设备通知所述分配的公共资源的信息。 7. The method according to claim 6, wherein the notifying the D2D device of the allocated public resources includes: The information of the allocated public resources is notified to the D2D device in the active state through control signaling; and/or the information of the allocated public resources is notified to the D2D device in the idle state through public signaling.
8. 根据权利要求 6或 7所述的方法, 其特征在于, 所述分配的公共资源的信息包括 所述分配的公共资源的时频资源位置信息、所述分配的公共资源的生效时间和所述分配 的公共资源的周期中的至少一个。 8. The method according to claim 6 or 7, characterized in that, the information about the allocated public resources includes the time-frequency resource location information of the allocated public resources, the effective time of the allocated public resources and the information about the allocated public resources. at least one of the periods of the allocated public resources.
9. 根据权利要求 1至 8中任意一项所述的方法, 其特征在于, 所述 PRACH请求包括 PRACH序列; 所述方法还包括: 9. The method according to any one of claims 1 to 8, characterized in that the PRACH request includes a PRACH sequence; the method further includes:
根据所述 PRACH序列和专用资源的对应关系, 在所述公共资源内为所述至少一个 D2D设备中的每个 D2D设备分配专用资源, 所述专用资源用于由 D2D设备在所述专用资 源上发送信息。 According to the corresponding relationship between the PRACH sequence and the dedicated resource, a dedicated resource is allocated to each D2D device in the at least one D2D device within the common resource, and the dedicated resource is used by the D2D device on the dedicated resource. send Message.
10. 根据权利要求 9所述的方法, 其特征在于, 所述根据所述 PRACH序列和专用资 源的对应关系, 在所述公共资源内为所述至少一个 D2D设备中的每个 D2D设备分配专用 资源包括: 10. The method according to claim 9, characterized in that, according to the corresponding relationship between the PRACH sequence and the dedicated resource, a dedicated resource is allocated to each D2D device in the at least one D2D device within the common resource. Resources include:
根据以下公式, 确定所述分配的专用资源: The allocated dedicated resources are determined according to the following formula:
S= mod(M,N), S= mod(M,N),
其中, S为所述分配的专用资源的索引, M为所述 PRACH序列的索引, N为所述公 共资源中资源的总数, mod表示取模操作; Wherein, S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the public resource, and mod represents the modulo operation;
或者, or,
根据所述 PRACH序列与专用资源的大小之间的对应关系, 确定所述分配的专用资 源的大小; 根据以下公式, 确定所述分配的专用资源的起始位置: Determine the size of the allocated dedicated resources according to the corresponding relationship between the PRACH sequence and the size of the dedicated resources; Determine the starting position of the allocated dedicated resources according to the following formula:
Sl= mod(M,N), Sl= mod(M,N),
其中, S1为所述分配的专用资源的起始位置的索引, M为所述 PRACH序列的索引, N为所述公共资源中资源的总数, mod表示取模操作。 Wherein, S1 is the index of the starting position of the allocated dedicated resources, M is the index of the PRACH sequence, N is the total number of resources in the public resources, and mod represents the modulo operation.
11. 根据权利要求 9或 10所述的方法, 其特征在于, 所述方法还包括: 11. The method according to claim 9 or 10, characterized in that, the method further includes:
向所述至少一个 D2D设备中的每个 D2D设备发送随机接入响应消息, 以便于指示所 述至少一个 D2D设备对应的专用资源分配成功。 Send a random access response message to each D2D device in the at least one D2D device to indicate that the dedicated resource corresponding to the at least one D2D device is successfully allocated.
12. 根据权利要求 1至 11中任意一项所述的方法, 其特征在于, 所述方法还包括: 如果在第一预定时间段内, 检测到所述公共资源未被使用, 则释放所述分配的公共 资源。 12. The method according to any one of claims 1 to 11, characterized in that, the method further includes: if it is detected that the public resource is not used within a first predetermined time period, releasing the allocated public resources.
13. 一种资源分配方法, 其特征在于, 包括: 13. A resource allocation method, characterized by including:
设备到设备 D2D设备向基站发送的物理随机接入信道 PRACH请求,以便于所述基站 根据所述 PRACH请求, 分配用于 D2D设备的公共资源; Device to device: The physical random access channel PRACH request sent by the D2D device to the base station, so that the base station can allocate public resources for the D2D device according to the PRACH request;
所述 D2D设备接收所述基站发送的所述分配的公共资源的信息。 The D2D device receives the information about the allocated public resources sent by the base station.
14. 根据权利要求 13所述的方法, 其特征在于, 所述 PRACH请求包括 PRACH序列; 在所述 D2D设备向基站发送的所述 PRACH请求之前, 所述方法还包括: 14. The method according to claim 13, wherein the PRACH request includes a PRACH sequence; before the D2D device sends the PRACH request to the base station, the method further includes:
所述 D2D设备从第一预定集合中选出所述 PRACH序列,所述第一预定集合是专用于 D2D设备使用的序列的集合。 The D2D device selects the PRACH sequence from a first predetermined set, which is a set of sequences dedicated to use by the D2D device.
15. 根据权利要求 13或 14所述的方法, 其特征在于, 所述公共资源用于由 D2D设备 在所述公共资源上检测和 /或监听其他 D2D设备发送的信息。 15. The method according to claim 13 or 14, characterized in that the public resource is used by the D2D device to detect and/or monitor information sent by other D2D devices on the public resource.
16. 根据权利要求 13至 15中任意一项所述的方法, 其特征在于, 16. The method according to any one of claims 13 to 15, characterized in that,
所述公共资源是所述基站在满足预设条件时分配的; 所述预设条件包括以下至少一 个. 所述 PRACH请求是所述基站首次接收到的来自 D2D设备的 PRACH请求; 在所述基站接收到所述 PRACH请求时没有可用的公共资源; The public resources are allocated by the base station when preset conditions are met; the preset conditions include at least one of the following. The PRACH request is the PRACH request from the D2D device received by the base station for the first time; at the base station There are no public resources available when the PRACH request is received;
在所述基站接收到所述 PRACH请求前尚未分配过公共资源; 和 No common resources have been allocated before the base station receives the PRACH request; and
在所述基站接收到所述 PRACH请求时, 上一次分配的公共资源已释放。 When the base station receives the PRACH request, the last allocated public resources have been released.
17. 根据权利要求 13至 15中任意一项所述的方法, 其特征在于, 如果当前已分配公 共资源, 则所述基站根据所述 PRACH请求分配的公共资源是: 17. The method according to any one of claims 13 to 15, characterized in that, if public resources are currently allocated, the public resources allocated by the base station according to the PRACH request are:
根据上一次分配的公共资源的使用情况和所述 PRACH请求所对应的 D2D设备的数 量, 重新分配的用于 D2D设备的公共资源; 或 The public resources for D2D devices are reallocated according to the usage of the last allocated public resources and the number of D2D devices corresponding to the PRACH request; or
根据上一次分配的公共资源的大小、 当前已接入的 D2D设备的数量和所述 PRACH 请求所对应的 D2D设备的数量, 重新分配的用于 D2D设备的公共资源。 The public resources for D2D devices are reallocated according to the size of the last allocated public resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
18. 根据权利要求 13至 17中任意一项所述的方法, 其特征在于, 所述 D2D设备接收 所述基站发送的所述分配的公共资源的信息包括: 18. The method according to any one of claims 13 to 17, wherein the D2D device receiving the information about the allocated public resources sent by the base station includes:
所述 D2D设备接收所述基站发送的控制信令, 其中, 所述控制信令中包含所述分配 的公共资源的信息; 和 /或 The D2D device receives the control signaling sent by the base station, wherein the control signaling contains information about the allocated public resources; and/or
所述 D2D设备接收所述基站发送的公共信令, 其中, 所述公共信令中包含所述分配 的公共资源的信息。 The D2D device receives public signaling sent by the base station, where the public signaling includes information about the allocated public resources.
19. 根据权利要求 13至 18中任意一项所述的方法, 其特征在于, 所述分配的公共资 源的信息包括所述分配的公共资源的时频资源位置信息、所述分配的公共资源的生效时 间和所述分配的公共资源的周期中的至少一个。 19. The method according to any one of claims 13 to 18, characterized in that the allocated public resources The source information includes at least one of the time-frequency resource location information of the allocated public resources, the effective time of the allocated public resources, and the period of the allocated public resources.
20. 根据权利要求 13至 19中任意一项所述的方法, 其特征在于, 所述 PRACH请求 包括 PRACH序列; 所述 PRACH序列与为所述 D2D设备分配的专用资源之间存在对应关 系, 所述专用资源用于由 D2D设备在所述专用资源上发送信息。 20. The method according to any one of claims 13 to 19, characterized in that, the PRACH request includes a PRACH sequence; there is a corresponding relationship between the PRACH sequence and the dedicated resources allocated for the D2D device, so The dedicated resources are used for the D2D device to send information on the dedicated resources.
21. 根据权利要求 20所述的方法, 其特征在于, 所述对应关系包括: 21. The method according to claim 20, characterized in that the corresponding relationship includes:
S= mod(M,N), S= mod(M,N),
其中, S为所述分配的专用资源的索引, M为所述 PRACH序列的索引, N为所述公 共资源中资源的总数, mod表示取模操作; Wherein, S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the public resource, and mod represents the modulo operation;
或者, or,
所述 PRACH序列与所述分配的专用资源的大小之间存在的第一对应关系, 以及所 述 PRACH序列与所述分配的专用资源的起始位置的索引之间存在的以下函数关系: Sl= mod(M,N), The first corresponding relationship between the PRACH sequence and the size of the allocated dedicated resource, and the following functional relationship between the PRACH sequence and the index of the starting position of the allocated dedicated resource: S1= mod(M,N),
其中, S1为所述分配的专用资源的起始位置的索引, M为所述 PRACH序列的索引, N为所述公共资源中资源的总数, mod表示取模操作。 Wherein, S1 is the index of the starting position of the allocated dedicated resources, M is the index of the PRACH sequence, N is the total number of resources in the public resources, and mod represents the modulo operation.
22. 根据权利要求 20或 21所述的方法, 其特征在于, 所述方法还包括: 22. The method according to claim 20 or 21, characterized in that, the method further includes:
所述 D2D设备接收所述基站发送的随机接入响应消息, 其中, 所述随机接入响应消 息用于指示所述 D2D设备对应的专用资源分配成功。 The D2D device receives a random access response message sent by the base station, where the random access response message is used to indicate that the dedicated resource corresponding to the D2D device is successfully allocated.
23. 一种基站, 其特征在于, 包括: 23. A base station, characterized by: including:
接收单元,用于接收至少一个设备到设备 D2D设备发送的物理随机接入信道 PRACH 请求; 和 A receiving unit configured to receive a physical random access channel PRACH request sent by at least one device-to-device D2D device; and
分配单元, 连接至所述接收单元, 用于根据所述 PRACH请求, 分配用于 D2D设备的 公共资源。 An allocation unit, connected to the receiving unit, configured to allocate public resources for D2D devices according to the PRACH request.
24. 根据权利要求 23所述的基站, 其特征在于, 所述 PRACH请求包括 PRACH序列; 所述基站还包括: 24. The base station according to claim 23, wherein the PRACH request includes a PRACH sequence; the base station further includes:
确定单元, 连接至所述接收单元和所述分配单元, 用于在所述分配单元根据所述 PRACH请求, 分配专用于 D2D设备的公共资源之前, 确定所述 PRACH序列属于第一预 定集合, 所述第一预定集合是专用于 D2D设备使用的序列的集合。 a determining unit, connected to the receiving unit and the allocating unit, configured to determine that the PRACH sequence belongs to the first predetermined set before the allocating unit allocates public resources dedicated to D2D devices according to the PRACH request, so The first predetermined set is a set of sequences dedicated to use by the D2D device.
25. 根据权利要求 23或 24所述的基站, 其特征在于, 所述公共资源用于由 D2D设备 在所述公共资源上检测和 /或监听其他 D2D设备发送的信息。 25. The base station according to claim 23 or 24, characterized in that, the public resources are used by D2D devices Detect and/or listen to information sent by other D2D devices on the public resource.
26. 根据权利要求 23至 25中任意一项所述的基站, 其特征在于, 26. The base station according to any one of claims 23 to 25, characterized in that,
所述分配单元用于当满足预设条件时, 分配用于 D2D设备的公共资源; 所述预设条 件包括以下中的至少一个: The allocation unit is used to allocate public resources for D2D devices when preset conditions are met; the preset conditions include at least one of the following:
所述 PRACH请求是首次接收到的来自 D2D设备的 PRACH请求; The PRACH request is the first received PRACH request from the D2D device;
在接收到所述 PRACH请求时没有可用的公共资源; There are no public resources available when the PRACH request is received;
在接收到所述 PRACH请求前尚未分配过公共资源; 和 No public resources have been allocated prior to receipt of said PRACH request; and
在接收到所述 PRACH请求时, 上一次分配的公共资源已释放。 When the PRACH request is received, the last allocated public resources have been released.
27. 根据权利要求 23至 25中任意一项所述的基站, 其特征在于, 所述分配单元用于 在当前已分配公共资源的情况下, 根据上一次分配的公共资源的使用情况和所述 27. The base station according to any one of claims 23 to 25, characterized in that the allocation unit is configured to, when public resources are currently allocated, based on the usage of the last allocated public resources and the
PRACH请求所对应的 D2D设备的数量, 重新分配用于 D2D设备的公共资源; 或, 根据上 一次分配的公共资源的大小、当前已接入的 D2D设备的数量和所述 PRACH请求所对应的 D2D设备的数量, 重新分配用于 D2D设备的公共资源。 The number of D2D devices corresponding to the PRACH request, re-allocate public resources for D2D devices; or, based on the size of the last allocated public resource, the number of currently accessed D2D devices and the number of D2D devices corresponding to the PRACH request The number of devices, reallocates common resources for D2D devices.
28. 根据权利要求 23至 27中任意一项所述的基站, 其特征在于, 所述基站还包括: 发送单元, 连接至所述分配单元, 用于向所述 D2D设备通知所述分配的公共资源的 信息。 28. The base station according to any one of claims 23 to 27, characterized in that, the base station further includes: a sending unit, connected to the allocation unit, configured to notify the D2D device of the allocated public Resource information.
29. 根据权利要求 28所述的基站, 其特征在于, 所述发送单元用于通过控制信令向 激活态的 D2D设备通知所述分配的公共资源的信息; 和 /或, 通过公共信令向空闲态的 D2D设备通知所述分配的公共资源的信息。 29. The base station according to claim 28, characterized in that, the sending unit is configured to notify the active D2D device of the information of the allocated public resources through control signaling; and/or, through public signaling to The idle D2D device notifies the information of the allocated public resources.
30. 根据权利要求 28或 29所述的基站, 其特征在于, 所述分配的公共资源的信息包 括所述分配的公共资源的时频资源位置信息、所述分配的公共资源的生效时间和所述分 配的公共资源的周期中的至少一个。 30. The base station according to claim 28 or 29, characterized in that: the information about the allocated public resources includes time-frequency resource location information of the allocated public resources, the effective time of the allocated public resources and the at least one of the periods of the allocated public resources.
31. 根据权利要求 23至 30中任意一项所述的基站, 其特征在于, 所述 PRACH请求 包括 PRACH序列; 所述分配单元还用于根据所述 PRACH序列和专用资源的对应关系, 在所述公共资源内为所述至少一个 D2D设备中的每个 D2D设备分配专用资源, 所述专用 资源用于由 D2D设备在所述专用资源上发送信息。 31. The base station according to any one of claims 23 to 30, characterized in that, the PRACH request includes a PRACH sequence; the allocation unit is also configured to, according to the corresponding relationship between the PRACH sequence and dedicated resources, Each D2D device in the at least one D2D device is allocated a dedicated resource within the public resource, and the dedicated resource is used for the D2D device to send information on the dedicated resource.
32. 根据权利要求 31所述的基站, 其特征在于, 所述分配单元用于: 32. The base station according to claim 31, characterized in that the allocation unit is used for:
根据以下公式, 确定所述分配的专用资源: The allocated dedicated resources are determined according to the following formula:
S= mod(M,N), S= mod(M,N),
其中, S为所述分配的专用资源的索引, M为所述 PRACH序列的索弓 |, N为所述公 共资源中资源的总数, mod表示取模操作; Wherein, S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the public The total number of resources in the total resources, mod represents the modulo operation;
或者, or,
根据所述 PRACH序列与专用资源的大小之间的对应关系, 确定所述分配的专用资 源的大小; 根据以下公式, 确定所述分配的专用资源的起始位置: Determine the size of the allocated dedicated resources according to the corresponding relationship between the PRACH sequence and the size of the dedicated resources; Determine the starting position of the allocated dedicated resources according to the following formula:
Sl= mod(M,N), Sl= mod(M,N),
其中, S1为所述分配的专用资源的起始位置的索引, M为所述 PRACH序列的索引, N为所述公共资源中资源的总数, mod表示取模操作。 Wherein, S1 is the index of the starting position of the allocated dedicated resources, M is the index of the PRACH sequence, N is the total number of resources in the public resources, and mod represents the modulo operation.
33. 根据权利要求 31或 32所述的基站, 其特征在于, 所述基站还包括: 33. The base station according to claim 31 or 32, characterized in that, the base station further includes:
发送单元, 连接至所述分配单元, 用于向所述至少一个 D2D设备中的每个 D2D设备 发送随机接入响应消息, 以便于指示所述至少一个 D2D设备对应的专用资源分配成功。 A sending unit, connected to the allocation unit, configured to send a random access response message to each D2D device in the at least one D2D device, so as to indicate that the dedicated resource corresponding to the at least one D2D device is successfully allocated.
34. 根据权利要求 23至 33中任意一项所述的基站, 其特征在于, 所述基站还包括: 检测单元, 连接至所述分配单元, 用于检测到所述公共资源是否被使用; 释放单元, 连接至所述检测单元, 用于在所述检测单元在第一预定时间段内检测到 所述公共资源未被使用的情况下, 释放所述分配的公共资源。 34. The base station according to any one of claims 23 to 33, characterized in that, the base station further includes: a detection unit, connected to the allocation unit, used to detect whether the public resource is used; release A unit, connected to the detection unit, configured to release the allocated public resources if the detection unit detects that the public resources are not used within a first predetermined time period.
35. 一种设备到设备 D2D设备, 其特征在于, 包括: 35. A device-to-device D2D device, characterized by including:
发送单元, 用于向基站发送的物理随机接入信道 PRACH请求, 以便于所述基站根 据所述 PRACH请求, 分配用于 D2D设备的公共资源; A sending unit, configured to send a physical random access channel PRACH request to the base station, so that the base station allocates public resources for D2D devices according to the PRACH request;
接收单元, 用于接收所述基站发送的所述分配的公共资源的信息。 A receiving unit, configured to receive the information about the allocated public resources sent by the base station.
36. 根据权利要求 35所述的 D2D设备, 其特征在于, 所述 PRACH请求包括 PRACH 序列; 36. The D2D device according to claim 35, characterized in that the PRACH request includes a PRACH sequence;
所述 D2D设备还包括: 选择单元, 连接至上述发送单元, 用于在所述发送单元向基 站发送的所述 PRACH请求之前, 从第一预定集合中选出所述 PRACH序列, 所述第一预 定集合是专用于 D2D设备使用的序列的集合。 The D2D device further includes: a selection unit connected to the above-mentioned sending unit, configured to select the PRACH sequence from a first predetermined set before the sending unit sends the PRACH request to the base station, the first A predetermined set is a set of sequences dedicated to use by D2D devices.
37. 根据权利要求 35或 36所述的 D2D设备, 其特征在于, 所述公共资源用于由 D2D 设备在所述公共资源上检测和 /或监听其他 D2D设备发送的信息。 37. The D2D device according to claim 35 or 36, characterized in that the public resource is used by the D2D device to detect and/or monitor information sent by other D2D devices on the public resource.
38. 根据权利要求 35至 37中任意一项所述的 D2D设备, 其特征在于, 38. The D2D device according to any one of claims 35 to 37, characterized in that,
所述公共资源是所述基站在满足预设条件时分配的; 所述预设条件包括以下至少一 个. 所述 PRACH请求是所述基站首次接收到的来自 D2D设备的 PRACH请求; 在所述基站接收到所述 PRACH请求时没有可用的公共资源; The public resources are allocated by the base station when preset conditions are met; the preset conditions include at least one of the following. The PRACH request is a PRACH request from a D2D device received by the base station for the first time; There are no public resources available when the base station receives the PRACH request;
在所述基站接收到所述 PRACH请求前尚未分配过公共资源; 和 No common resources have been allocated before the base station receives the PRACH request; and
在所述基站接收到所述 PRACH请求时, 上一次分配的公共资源已释放。 When the base station receives the PRACH request, the last allocated public resources have been released.
39. 根据权利要求 35至 37中任意一项所述的 D2D设备, 其特征在于, 如果当前已分 配公共资源, 则所述基站根据所述 PRACH请求分配的公共资源是: 39. The D2D device according to any one of claims 35 to 37, characterized in that, if public resources are currently allocated, the public resources allocated by the base station according to the PRACH request are:
根据上一次分配的公共资源的使用情况和所述 PRACH请求所对应的 D2D设备的数 量, 重新分配的用于 D2D设备的公共资源; 或 The public resources for D2D devices are reallocated according to the usage of the last allocated public resources and the number of D2D devices corresponding to the PRACH request; or
根据上一次分配的公共资源的大小、 当前已接入的 D2D设备的数量和所述 PRACH 请求所对应的 D2D设备的数量, 重新分配的用于 D2D设备的公共资源。 The public resources for D2D devices are reallocated according to the size of the last allocated public resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
40. 根据权利要求 35至 39中任意一项所述的 D2D设备, 其特征在于, 40. The D2D device according to any one of claims 35 to 39, characterized in that,
所述接收单元用于接收所述基站发送的控制信令, 其中, 所述控制信令中包含所述 分配的公共资源的信息; 和 /或 The receiving unit is configured to receive control signaling sent by the base station, wherein the control signaling contains information about the allocated public resources; and/or
所述接收单元用于接收所述基站发送的公共信令, 其中, 所述公共信令中包含所述 分配的公共资源的信息。 The receiving unit is configured to receive public signaling sent by the base station, where the public signaling contains information about the allocated public resources.
41. 根据权利要求 35至 40中任意一项所述的 D2D设备, 其特征在于, 所述分配的公 共资源的信息包括所述分配的公共资源的时频资源位置信息、所述分配的公共资源的生 效时间和所述分配的公共资源的周期中的至少一个。 41. The D2D device according to any one of claims 35 to 40, characterized in that, the information of the allocated public resources includes time-frequency resource location information of the allocated public resources, the allocated public resources At least one of the effective time and the period of the allocated public resources.
42. 根据权利要求 35至 41中任意一项所述的 D2D设备, 其特征在于, 所述 PRACH 请求包括 PRACH序列; 所述 PRACH序列与为所述 D2D设备分配的专用资源之间存在对 应关系, 所述专用资源用于由 D2D设备在所述专用资源上发送信息。 42. The D2D device according to any one of claims 35 to 41, wherein the PRACH request includes a PRACH sequence; there is a correspondence between the PRACH sequence and the dedicated resources allocated for the D2D device, The dedicated resources are used for the D2D device to send information on the dedicated resources.
43. 根据权利要求 41所述的 D2D设备, 其特征在于, 所述对应关系包括: 43. The D2D device according to claim 41, characterized in that the corresponding relationship includes:
S= mod(M,N), S= mod(M,N),
其中, S为所述分配的专用资源的索引, M为所述 PRACH序列的索引, N为所述公 共资源中资源的总数, mod表示取模操作; Wherein, S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the public resource, and mod represents the modulo operation;
或者, or,
所述 PRACH序列与所述分配的专用资源的大小之间存在的第一对应关系, 以及所 述 PRACH序列与所述分配的专用资源的起始位置的索引之间存在的以下函数关系: Sl= mod(M,N), The first corresponding relationship between the PRACH sequence and the size of the allocated dedicated resource, and the following functional relationship between the PRACH sequence and the index of the starting position of the allocated dedicated resource: S1= mod(M,N),
其中, S1为所述分配的专用资源的起始位置的索引, M为所述 PRACH序列的索引, N为所述公共资源中资源的总数, mod表示取模操作。 Wherein, S1 is the index of the starting position of the allocated dedicated resources, M is the index of the PRACH sequence, N is the total number of resources in the public resources, and mod represents a modulo operation.
44. 根据权利要求 42或 43所述的 D2D设备, 其特征在于, 44. The D2D device according to claim 42 or 43, characterized in that,
所述接收单元用于接收所述基站发送的随机接入响应消息, 其中, 所述随机接入响 应消息用于指示所述 D2D设备对应的专用资源分配成功。 The receiving unit is configured to receive a random access response message sent by the base station, where the random access response message is used to indicate that the dedicated resource corresponding to the D2D device is successfully allocated.
45. 一种基站, 其特征在于, 包括: 45. A base station, characterized by: including:
收发器, 用于收发信号; Transceiver, used to send and receive signals;
处理器, 用于: Processor for:
通过所述收发器接收至少一个设备到设备 D2D设备发送的物理随机接入信道 PRACH请求; 禾口 Receive at least one physical random access channel PRACH request sent by a device-to-device D2D device through the transceiver;
根据所述 PRACH请求, 分配用于 D2D设备的公共资源。 According to the PRACH request, public resources for D2D devices are allocated.
46. 根据权利要求 45所述的基站, 其特征在于, 所述 PRACH请求包括 PRACH序列; 所述处理器用于: 46. The base station according to claim 45, characterized in that the PRACH request includes a PRACH sequence; the processor is configured to:
在所述根据所述 PRACH请求, 分配专用于 D2D设备的公共资源之前, 确定所述 PRACH序列属于第一预定集合, 所述第一预定集合是专用于 D2D设备使用的序列的集 合。 Before allocating public resources dedicated to D2D devices according to the PRACH request, it is determined that the PRACH sequence belongs to a first predetermined set, and the first predetermined set is a set of sequences dedicated to use by D2D devices.
47. 根据权利要求 45或 46所述的基站, 其特征在于, 所述公共资源用于由 D2D设备 在所述公共资源上检测和 /或监听其他 D2D设备发送的信息。 47. The base station according to claim 45 or 46, characterized in that the public resources are used by D2D devices to detect and/or monitor information sent by other D2D devices on the public resources.
48. 根据权利要求 45至 47中任意一项所述的基站, 其特征在于, 所述处理器通过以 下方式实现根据所述 PRACH请求, 分配用于 D2D设备的公共资源: 48. The base station according to any one of claims 45 to 47, characterized in that the processor allocates public resources for D2D devices according to the PRACH request in the following manner:
当满足预设条件时, 分配用于 D2D设备的公共资源; 所述预设条件包括以下中的至 少一个: When the preset conditions are met, public resources for D2D devices are allocated; the preset conditions include at least one of the following:
所述 PRACH请求是首次接收到的来自 D2D设备的 PRACH请求; The PRACH request is the first received PRACH request from the D2D device;
在接收到所述 PRACH请求时没有可用的公共资源; There are no public resources available when the PRACH request is received;
在接收到所述 PRACH请求前尚未分配过公共资源; 和 No public resources have been allocated prior to receipt of said PRACH request; and
在接收到所述 PRACH请求时, 上一次分配的公共资源已释放。 When the PRACH request is received, the last allocated public resources have been released.
49. 根据权利要求 45至 47中任意一项所述的基站, 其特征在于, 如果当前已分配公 共资源,则所述处理器通过以下方式实现根据所述 PRACH请求,分配用于 D2D设备的公 共资源: 49. The base station according to any one of claims 45 to 47, characterized in that, if public resources are currently allocated, the processor allocates public resources for D2D devices according to the PRACH request in the following manner: resource:
根据上一次分配的公共资源的使用情况和所述 PRACH请求所对应的 D2D设备的数 量, 重新分配用于 D2D设备的公共资源; 或 根据上一次分配的公共资源的大小、 当前已接入的 D2D设备的数量和所述 PRACH 请求所对应的 D2D设备的数量, 重新分配用于 D2D设备的公共资源。 Reallocate public resources for D2D devices according to the usage of the last allocated public resources and the number of D2D devices corresponding to the PRACH request; or The public resources for D2D devices are reallocated according to the size of the last allocated public resources, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
50. 根据权利要求 45至 49中任意一项所述的基站, 其特征在于, 所述处理器用于: 通过所述收发器向所述 D2D设备通知所述分配的公共资源的信息。 50. The base station according to any one of claims 45 to 49, characterized in that the processor is configured to: notify the D2D device of the information of the allocated public resources through the transceiver.
51. 根据权利要求 50所述的基站, 其特征在于, 所述处理器通过以下方式实现向所 述 D2D设备通知所述分配的公共资源: 51. The base station according to claim 50, characterized in that the processor notifies the D2D device of the allocated public resources in the following manner:
通过控制信令向激活态的 D2D设备通知所述分配的公共资源的信息; 和 /或 通过公共信令向空闲态的 D2D设备通知所述分配的公共资源的信息。 Notify the D2D device in the active state of the information of the allocated public resources through control signaling; and/or notify the D2D device in the idle state of the information of the allocated public resources through public signaling.
52. 根据权利要求 50或 51所述的基站, 其特征在于, 所述分配的公共资源的信息包 括所述分配的公共资源的时频资源位置信息、所述分配的公共资源的生效时间和所述分 配的公共资源的周期中的至少一个。 52. The base station according to claim 50 or 51, characterized in that, the information about the allocated public resources includes time-frequency resource location information of the allocated public resources, the effective time of the allocated public resources and the at least one of the periods of the allocated public resources.
53. 根据权利要求 45至 52中任意一项所述的基站, 其特征在于, 所述 PRACH请求 包括 PRACH序列; 所述处理器用于: 53. The base station according to any one of claims 45 to 52, characterized in that the PRACH request includes a PRACH sequence; the processor is configured to:
根据所述 PRACH序列和专用资源的对应关系, 在所述公共资源内为所述至少一个 D2D设备中的每个 D2D设备分配专用资源, 所述专用资源用于由 D2D设备在所述专用资 源上发送信息。 According to the corresponding relationship between the PRACH sequence and the dedicated resource, a dedicated resource is allocated to each D2D device in the at least one D2D device within the common resource, and the dedicated resource is used by the D2D device on the dedicated resource. send Message.
54. 根据权利要求 53所述的基站, 其特征在于, 所述处理器通过以下方式实现根据 所述 PRACH序列和专用资源的对应关系,在所述公共资源内为所述至少一个 D2D设备中 的每个 D2D设备分配专用资源: 54. The base station according to claim 53, characterized in that, the processor realizes the corresponding relationship between the PRACH sequence and the dedicated resource in the following manner, and in the public resource is the at least one D2D device. Each D2D device is allocated dedicated resources:
根据以下公式, 确定所述分配的专用资源: The allocated dedicated resources are determined according to the following formula:
S= mod(M,N), S= mod(M,N),
其中, S为所述分配的专用资源的索引, M为所述 PRACH序列的索引, N为所述公 共资源中资源的总数, mod表示取模操作; Wherein, S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the public resource, and mod represents the modulo operation;
或者, or,
根据所述 PRACH序列与专用资源的大小之间的对应关系, 确定所述分配的专用资 源的大小; 根据以下公式, 确定所述分配的专用资源的起始位置: Determine the size of the allocated dedicated resources according to the corresponding relationship between the PRACH sequence and the size of the dedicated resources; Determine the starting position of the allocated dedicated resources according to the following formula:
Sl= mod(M,N), Sl= mod(M,N),
其中, S1为所述分配的专用资源的起始位置的索引, M为所述 PRACH序列的索引, N为所述公共资源中资源的总数, mod表示取模操作。 Wherein, S1 is the index of the starting position of the allocated dedicated resources, M is the index of the PRACH sequence, N is the total number of resources in the public resources, and mod represents the modulo operation.
55. 根据权利要求 53或 54所述的基站, 其特征在于, 所述处理器用于: 通过所述收发器向所述至少一个 D2D设备中的每个 D2D设备发送随机接入响应消 息, 以便于指示所述至少一个 D2D设备对应的专用资源分配成功。 55. The base station according to claim 53 or 54, characterized in that, the processor is configured to: A random access response message is sent to each D2D device in the at least one D2D device through the transceiver, so as to indicate that the dedicated resource corresponding to the at least one D2D device is successfully allocated.
56.根据权利要求 45至 55中任意一项所述的基站,其特征在于,所述处理器还用于: 在第一预定时间段内检测到所述公共资源未被使用的情况下,释放所述分配的公共 资源。 56. The base station according to any one of claims 45 to 55, characterized in that the processor is further configured to: release the public resource when it is detected that the public resource is not used within a first predetermined time period. The allocated public resources.
57. 一种设备到设备 D2D设备, 其特征在于, 包括: 57. A device-to-device D2D device, characterized by: including:
收发器, 用于收发信号; Transceiver, used to send and receive signals;
处理器, 用于: Processor for:
通过所述收发器向基站发送的物理随机接入信道 PRACH请求, 以便于所述基站根 据所述 PRACH请求, 分配用于 D2D设备的公共资源; The physical random access channel PRACH request is sent to the base station through the transceiver, so that the base station allocates public resources for D2D devices according to the PRACH request;
通过所述收发器接收所述基站发送的所述分配的公共资源的信息。 The information on the allocated public resources sent by the base station is received through the transceiver.
58. 根据权利要求 57所述的 D2D设备, 其特征在于, 所述 PRACH请求包括 PRACH 序列; 58. The D2D device according to claim 57, characterized in that the PRACH request includes a PRACH sequence;
所述处理器用于: The processor is used for:
在所述 D2D设备向基站发送的所述 PRACH请求之前, 从第一预定集合中选出所述 PRACH序列, 所述第一预定集合是专用于 D2D设备使用的序列的集合。 Before the D2D device sends the PRACH request to the base station, the PRACH sequence is selected from a first predetermined set, where the first predetermined set is a set of sequences dedicated to use by the D2D device.
59. 根据权利要求 57或 58所述的 D2D设备, 其特征在于, 所述公共资源用于由 D2D 设备在所述公共资源上检测和 /或监听其他 D2D设备发送的信息。 59. The D2D device according to claim 57 or 58, characterized in that the public resource is used by the D2D device to detect and/or monitor information sent by other D2D devices on the public resource.
60. 根据权利要求 57至 59中任意一项所述的 D2D设备, 其特征在于, 60. The D2D device according to any one of claims 57 to 59, characterized in that,
所述公共资源是所述基站在满足预设条件时分配的; 所述预设条件包括以下至少一 个. 所述 PRACH请求是所述基站首次接收到的来自 D2D设备的 PRACH请求; 在所述基站接收到所述 PRACH请求时没有可用的公共资源; The public resources are allocated by the base station when preset conditions are met; the preset conditions include at least one of the following. The PRACH request is the PRACH request from the D2D device received by the base station for the first time; at the base station There are no public resources available when the PRACH request is received;
在所述基站接收到所述 PRACH请求前尚未分配过公共资源; 和 No common resources have been allocated before the base station receives the PRACH request; and
在所述基站接收到所述 PRACH请求时, 上一次分配的公共资源已释放。 When the base station receives the PRACH request, the last allocated public resources have been released.
61. 根据权利要求 57至 59中任意一项所述的 D2D设备, 其特征在于, 如果当前已分 配公共资源, 则所述基站根据所述 PRACH请求分配的公共资源是: 61. The D2D device according to any one of claims 57 to 59, characterized in that, if public resources are currently allocated, the public resources allocated by the base station according to the PRACH request are:
根据上一次分配的公共资源的使用情况和所述 PRACH请求所对应的 D2D设备的数 量, 重新分配的用于 D2D设备的公共资源; 或 根据上一次分配的公共资源的大小、 当前已接入的 D2D设备的数量和所述 PRACH 请求所对应的 D2D设备的数量, 重新分配的用于 D2D设备的公共资源。 The public resources for D2D devices are reallocated according to the usage of the last allocated public resources and the number of D2D devices corresponding to the PRACH request; or The public resources for D2D devices are reallocated according to the size of the last allocated public resource, the number of currently accessed D2D devices, and the number of D2D devices corresponding to the PRACH request.
62. 根据权利要求 57至 61中任意一项所述的 D2D设备, 其特征在于, 所述处理器用 于通过以下方式实现通过所述收发器接收所述基站发送的所述分配的公共资源的信息 包括: 62. The D2D device according to any one of claims 57 to 61, characterized in that, the processor is configured to receive the information of the allocated public resources sent by the base station through the transceiver in the following manner: include:
通过所述收发器接收所述基站发送的控制信令, 其中, 所述控制信令中包含所述分 配的公共资源的信息; 和 /或 Receive control signaling sent by the base station through the transceiver, wherein the control signaling contains information about the allocated public resources; and/or
通过所述收发器接收所述基站发送的公共信令, 其中, 所述公共信令中包含所述分 配的公共资源的信息。 Public signaling sent by the base station is received through the transceiver, where the public signaling includes information about the allocated public resources.
63. 根据权利要求 57至 62中任意一项所述的 D2D设备, 其特征在于, 所述分配的公 共资源的信息包括所述分配的公共资源的时频资源位置信息、所述分配的公共资源的生 效时间和所述分配的公共资源的周期中的至少一个。 63. The D2D device according to any one of claims 57 to 62, characterized in that, the information of the allocated public resources includes time-frequency resource location information of the allocated public resources, the allocated public resources At least one of the effective time and the period of the allocated public resources.
64. 根据权利要求 57至 63中任意一项所述的 D2D设备, 其特征在于, 所述 PRACH 请求包括 PRACH序列; 所述 PRACH序列与为所述 D2D设备分配的专用资源之间存在对 应关系, 所述专用资源用于由 D2D设备在所述专用资源上发送信息。 64. The D2D device according to any one of claims 57 to 63, wherein the PRACH request includes a PRACH sequence; there is a correspondence between the PRACH sequence and the dedicated resources allocated for the D2D device, The dedicated resources are used for the D2D device to send information on the dedicated resources.
65. 根据权利要求 64所述的 D2D设备, 其特征在于, 所述对应关系包括: 65. The D2D device according to claim 64, characterized in that the corresponding relationship includes:
S= mod(M,N), S= mod(M,N),
其中, S为所述分配的专用资源的索引, M为所述 PRACH序列的索引, N为所述公 共资源中资源的总数, mod表示取模操作; Wherein, S is the index of the allocated dedicated resource, M is the index of the PRACH sequence, N is the total number of resources in the public resource, and mod represents the modulo operation;
或者, or,
所述 PRACH序列与所述分配的专用资源的大小之间存在的第一对应关系, 以及所 述 PRACH序列与所述分配的专用资源的起始位置的索引之间存在的以下函数关系: Sl= mod(M,N), The first corresponding relationship between the PRACH sequence and the size of the allocated dedicated resource, and the following functional relationship between the PRACH sequence and the index of the starting position of the allocated dedicated resource: S1= mod(M,N),
其中, S1为所述分配的专用资源的起始位置的索引, M为所述 PRACH序列的索引, N为所述公共资源中资源的总数, mod表示取模操作。 Wherein, S1 is the index of the starting position of the allocated dedicated resources, M is the index of the PRACH sequence, N is the total number of resources in the public resources, and mod represents the modulo operation.
66. 根据权利要求 64或 65所述的 D2D设备, 其特征在于, 所述处理器用于: 通过所述接收器接收所述基站发送的随机接入响应消息, 其中, 所述随机接入响应 消息用于指示所述 D2D设备对应的专用资源分配成功。 66. The D2D device according to claim 64 or 65, wherein the processor is configured to: receive a random access response message sent by the base station through the receiver, wherein the random access response message Used to indicate that the dedicated resources corresponding to the D2D device are successfully allocated.
PCT/CN2012/084765 2012-11-16 2012-11-16 Resource allocation method, base station and d2d device WO2014075299A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280076731.3A CN104770029B (en) 2012-11-16 2012-11-16 Resource allocation methods, base station and D2D equipment
PCT/CN2012/084765 WO2014075299A1 (en) 2012-11-16 2012-11-16 Resource allocation method, base station and d2d device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/084765 WO2014075299A1 (en) 2012-11-16 2012-11-16 Resource allocation method, base station and d2d device

Publications (1)

Publication Number Publication Date
WO2014075299A1 true WO2014075299A1 (en) 2014-05-22

Family

ID=50730517

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/084765 WO2014075299A1 (en) 2012-11-16 2012-11-16 Resource allocation method, base station and d2d device

Country Status (2)

Country Link
CN (1) CN104770029B (en)
WO (1) WO2014075299A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016048003A1 (en) * 2014-09-22 2016-03-31 엘지전자 주식회사 Method and apparatus for transceiving d2d signal of prach resource
CN106408930A (en) * 2015-07-31 2017-02-15 中国联合网络通信集团有限公司 Method and apparatus for creating driving fleet
CN106797637A (en) * 2014-10-07 2017-05-31 日本电气株式会社 For the control device and method of direct communication between terminals
CN107710844A (en) * 2015-07-17 2018-02-16 华为技术有限公司 A kind of signal transmission, the method received and relevant device

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
WO2011109941A1 (en) * 2010-03-11 2011-09-15 Nokia Corporation Method and apparatus for device-to-device communication setup
CN102334370A (en) * 2009-01-16 2012-01-25 诺基亚公司 Apparatus and method ofscheduling resources for device-to-device communications
WO2012144941A1 (en) * 2011-04-19 2012-10-26 Telefonaktiebolaget L M Ericsson (Publ) Radio base stations and methods therein for handling interference and scheduling radio resources accordingly

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2534885A1 (en) * 2010-02-12 2012-12-19 InterDigital Patent Holdings, Inc. Access control and congestion control in machine-to-machine communication
CN102291845B (en) * 2010-06-21 2016-03-30 中兴通讯股份有限公司 Accidental access method and system
CN102238730A (en) * 2011-07-25 2011-11-09 电信科学技术研究院 Radio resource management method and device

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
CN102334370A (en) * 2009-01-16 2012-01-25 诺基亚公司 Apparatus and method ofscheduling resources for device-to-device communications
WO2011109941A1 (en) * 2010-03-11 2011-09-15 Nokia Corporation Method and apparatus for device-to-device communication setup
WO2012144941A1 (en) * 2011-04-19 2012-10-26 Telefonaktiebolaget L M Ericsson (Publ) Radio base stations and methods therein for handling interference and scheduling radio resources accordingly

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016048003A1 (en) * 2014-09-22 2016-03-31 엘지전자 주식회사 Method and apparatus for transceiving d2d signal of prach resource
US10034311B2 (en) 2014-09-22 2018-07-24 Lg Electronics Inc. Method and apparatus for transceiving D2D signal of PRACH resource
CN106797637A (en) * 2014-10-07 2017-05-31 日本电气株式会社 For the control device and method of direct communication between terminals
US10687232B2 (en) 2014-10-07 2020-06-16 Nec Corporation Control apparatus and method for inter-terminal direct communication
CN107710844A (en) * 2015-07-17 2018-02-16 华为技术有限公司 A kind of signal transmission, the method received and relevant device
US10624097B2 (en) 2015-07-17 2020-04-14 Huawei Technologies Co., Ltd. Signal sending and receiving method and related device
CN107710844B (en) * 2015-07-17 2020-06-26 华为技术有限公司 Method for sending and receiving signal and related equipment
CN106408930A (en) * 2015-07-31 2017-02-15 中国联合网络通信集团有限公司 Method and apparatus for creating driving fleet

Also Published As

Publication number Publication date
CN104770029A (en) 2015-07-08
CN104770029B (en) 2019-03-05

Similar Documents

Publication Publication Date Title
JP6368819B2 (en) Method and apparatus for monitoring and processing component carriers
ES2861548T3 (en) Service transmission method and apparatus
CN115604822B (en) Data transmission and information determination method, device and storage medium
WO2014067048A1 (en) Method for determining resources, base station and user equipment
WO2013139278A1 (en) Resource allocation indication method, resource allocation method, and device
WO2015051614A1 (en) Paging method and apparatus
WO2016155113A1 (en) Group communication method, user equipment, base station device and system
WO2013026414A1 (en) Communication system access method, downlink information transmission method, terminal and base station
US10028293B2 (en) Method and apparatus for controlling data transmission on radio communication network
WO2014086204A1 (en) Method, device and system for establishing device-to-device communication channel
WO2014047878A1 (en) Method, base station and ue for resources reallocation
JP2010512102A5 (en)
CN107113700B (en) Random access method, user equipment and base station
WO2014005446A1 (en) Data transmission method, narrowband terminal, and base station
US10813147B2 (en) Data transmission method, terminal, and base station
WO2018132988A1 (en) Data packet transmission method and terminal
WO2014205681A1 (en) Connection establishment method, device and system
WO2015169004A1 (en) Method and device for monitoring device-to-device communication and computer storage medium
WO2015058401A1 (en) Data scheduling method, device, base station and terminal
WO2014075299A1 (en) Resource allocation method, base station and d2d device
CN111919465A (en) Transport block size selection for early transmission of data
WO2012110008A1 (en) Communication method and device for common control channel
WO2012072027A1 (en) Method, device and terminal for allocating channel resources
WO2015196452A1 (en) Terminal device and d2d resource management method
WO2015180017A1 (en) Method for transmitting signal in device to device proximity service, base station and user equipment

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

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

Country of ref document: EP

Kind code of ref document: A1