CN104770029B - Resource allocation methods, base station and D2D equipment - Google Patents

Resource allocation methods, base station and D2D equipment Download PDF

Info

Publication number
CN104770029B
CN104770029B CN201280076731.3A CN201280076731A CN104770029B CN 104770029 B CN104770029 B CN 104770029B CN 201280076731 A CN201280076731 A CN 201280076731A CN 104770029 B CN104770029 B CN 104770029B
Authority
CN
China
Prior art keywords
equipment
resource
distribution
prach
public
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201280076731.3A
Other languages
Chinese (zh)
Other versions
CN104770029A (en
Inventor
吴作敏
马洁
程型清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104770029A publication Critical patent/CN104770029A/en
Application granted granted Critical
Publication of CN104770029B publication Critical patent/CN104770029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

This application discloses a kind of resource allocation methods, base station and D2D equipment, this method comprises: receiving the PRACH request of at least one D2D equipment transmission;With, according to the PRACH request, distribution be used for D2D equipment public resource.By the application, base station neatly can distribute resource for D2D equipment, to meet the needs of D2D equipment is to resource.

Description

Resource allocation methods, base station and D2D equipment
Technical field
This application involves the communications field more particularly to a kind of resource allocation methods, base station and D2D equipment.
Background technique
Device-to-device (Device to Device, referred to as D2D) refers mainly to the communication carried out between equipment and equipment, For example, progress MP3 transmission or picture are shared.The communication mode of D2D in the prior art includes by the side such as bluetooth or wireless network The direct shared information of formula.
D2D function mainly finds other equipment with D2D function, such as user equipment (User Equipment, letter Referred to as UE) etc..During this discovery, the resource by existing network is needed, therefore, network needs some resource It is allocated to what the user with D2D function had found and communicated for equipment.
In long term evolution relevant to D2D technology (Long Term Evolution, referred to as LTE) network, every 80ms is fixed with a subframe and communicates for D2D.It can be seen that in the related art, lacking spirit when distributing resource for D2D equipment Activity.
Summary of the invention
The embodiment of the invention provides a kind of resource allocation methods, base station and D2D equipment, to solve to be in the related technology The problem of D2D equipment lacks flexibility when distributing resource.
In a first aspect, providing a kind of resource allocation methods, comprising: the PRACH for receiving the transmission of at least one D2D equipment is asked It asks;It is requested according to the PRACH, distribution is used for the public resource of D2D equipment.
In the first possible implementation of the first aspect, PRACH request includes PRACH sequence;According to PRACH Request, distribution are exclusively used in front of the public resource of D2D equipment, determine that PRACH sequence belongs to the first predetermined set, this is first predetermined Set is to be exclusively used in the set for the sequence that D2D equipment uses.
It is in the second possible implementation of the first aspect, public in conjunction with any of the above-described kind of possible implementation Resource is used to be detected and/or be monitored on public resource by D2D equipment the information of other D2D equipment transmission.
In conjunction with any of the above-described kind of possible implementation, in a third possible implementation of the first aspect, according to PRACH request, distribution include: when meeting preset condition for the public resource of D2D equipment, and distribution is used for the public affairs of D2D equipment Resource altogether;Preset condition includes at least one of the following: PRACH request is the PRACH from D2D equipment received for the first time Request;There is no available public resource when receiving PRACH request;It was not yet distributed before receiving PRACH request public Resource;When receiving PRACH request, the last time public resource of distribution has discharged.
In conjunction with any of the above-described kind of possible implementation, in a fourth possible implementation of the first aspect, if Currently allocated public resource, then request according to PRACH, and distribution includes: according to the last time point for the public resource of D2D equipment The quantity of the corresponding D2D equipment of service condition and the PRACH request for the public resource matched, is redistributed for D2D equipment Public resource;Or, the quantity and PRACH of the D2D equipment according to the size of the public resource of last time distribution, currently accessed are asked The quantity for seeking corresponding D2D equipment, redistributes the public resource for D2D equipment.
It is in the fifth possible implementation of the first aspect, above-mentioned in conjunction with any of the above-described kind of possible implementation Method further include: to the information of the public resource of D2D equipment notice distribution.
In conjunction with any of the above-described kind of possible implementation, in the sixth possible implementation of the first aspect, to this The public resource of D2D equipment notice distribution includes: the public resource by control signaling to the notice distribution of the D2D equipment of activated state Information;And/or the information of the public resource distributed by common signaling to the D2D equipment of Idle state notice.
In conjunction with any of the above-described kind of possible implementation, in a seventh possible implementation of the first aspect, distribution Public resource information include the running time-frequency resource location information of public resource of distribution, distribution public resource entry-into-force time At least one of with the period of public resource of distribution.
In conjunction with any of the above-described kind of possible implementation, in the 8th kind of possible implementation of first aspect, PRACH Request includes PRACH sequence;The above method further include: according to the corresponding relationship of PRACH sequence and private resource, in public resource Interior each D2D equipment at least one D2D equipment distributes private resource, and private resource is used for by D2D equipment in dedicated money Information is sent on source.
In conjunction with any of the above-described kind of possible implementation, in the 9th kind of possible implementation of first aspect, according to The corresponding relationship of PRACH sequence and private resource is each D2D equipment point at least one D2D equipment in public resource Include: with private resource
According to the following formula, the private resource of distribution is determined:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
According to the corresponding relationship between PRACH sequence and the size of private resource, the size of the private resource of distribution is determined; According to the following formula, the initial position of the private resource of distribution is determined:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
It is above-mentioned in the tenth kind of possible implementation of first aspect in conjunction with any of the above-described kind of possible implementation Method further include: each D2D equipment at least one D2D equipment sends accidental access response message, in order to indicate to Few corresponding private resource of a D2D equipment is allocated successfully.
In conjunction with any of the above-described kind of possible implementation, in a kind of the tenth possible implementation of first aspect, on State method further include:
If detecting that public resource is not used by the first predetermined amount of time, then the public resource of distribution is discharged.
Second aspect provides a kind of resource allocation methods, comprising: the PRACH request that D2D equipment is sent to base station, with It is requested convenient for base station according to PRACH, distribution is used for the public resource of D2D equipment;The D2D equipment receives the distribution of base station transmission Public resource information.
In the first possible implementation of the second aspect, PRACH request includes PRACH sequence;In the D2D equipment Before the PRACH request sent to base station, the above method further include: the D2D equipment selects PRACH sequence from the first predetermined set Column, the first predetermined set is the set for being exclusively used in the sequence that D2D equipment uses.
It is in a second possible implementation of the second aspect, public in conjunction with any of the above-described kind of possible implementation Resource is used to be detected and/or be monitored on public resource by D2D equipment the information of other D2D equipment transmission.
It is in the third possible implementation of the second aspect, public in conjunction with any of the above-described kind of possible implementation Resource is that the base station is distributed when meeting preset condition;Preset condition include it is following at least one: PRACH request be the base station The PRACH request from D2D equipment received for the first time;There is no available public money when the base station receives PRACH request Source;Public resource was not yet distributed before the base station receives PRACH request;When the base station receives PRACH request, upper one The public resource of sub-distribution has discharged.
In conjunction with any of the above-described kind of possible implementation, in the fourth possible implementation of the second aspect, if Currently allocated public resource, then the base station according to PRACH request distribution public resource be:
According to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request, weight The newly assigned public resource for D2D equipment;Or
According to the size of the public resource of last time distribution, currently the quantity of the D2D equipment accessed and PRACH request institute The quantity of corresponding D2D equipment, the public resource for D2D equipment redistributed.
In conjunction with any of the above-described kind of possible implementation, in a fifth possible implementation of the second aspect, the D2D The information that equipment receives the public resource of the distribution of base station transmission includes: that the D2D equipment receives the control letter that the base station is sent It enables, wherein the information of the public resource comprising distribution in control signaling;And/or the D2D equipment receives the public affairs of base station transmission Signaling altogether, wherein the information of the public resource comprising distribution in common signaling.
In conjunction with any of the above-described kind of possible implementation, in the sixth possible implementation of the second aspect, distribution Public resource information include the running time-frequency resource location information of public resource of distribution, distribution public resource entry-into-force time At least one of with the period of public resource of distribution.
In conjunction with any of the above-described kind of possible implementation, in the 7th kind of possible implementation of second aspect, PRACH Request includes PRACH sequence;There are corresponding relationship, dedicated moneys between PRACH sequence and the private resource distributed for the D2D equipment Source is used to send information on private resource by D2D equipment.
It is above-mentioned in the 8th kind of possible implementation of second aspect in conjunction with any of the above-described kind of possible implementation Corresponding relationship includes:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
Between PRACH sequence and the size of the private resource of distribution existing first corresponding relationship and PRACH sequence with Existing following functional relation between the index of the initial position of the private resource of distribution:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
It is above-mentioned in the 9th kind of possible implementation of second aspect in conjunction with any of the above-described kind of possible implementation Method further include:
The D2D equipment receives the accidental access response message of base station transmission, wherein accidental access response message is for referring to Show that the corresponding private resource of D2D equipment is allocated successfully.
The third aspect provides a kind of base station, comprising: receiving unit is set for receiving at least one device-to-device D2D The Physical Random Access Channel PRACH request that preparation is sent;Allocation unit is connected to receiving unit, for being requested according to PRACH, Distribution is used for the public resource of D2D equipment.
In the first possible implementation of the third aspect, PRACH request includes PRACH sequence;It also wraps the base station Include: determination unit is connected to receiving unit and allocation unit, and for being requested in allocation unit according to PRACH, distribution is exclusively used in Before the public resource of D2D equipment, determine that PRACH sequence belongs to the first predetermined set, the first predetermined set is to be exclusively used in D2D to set The set of the standby sequence used.
It is in the second possible implementation of the third aspect, public in conjunction with any of the above-described kind of possible implementation Resource is used to be detected and/or be monitored on public resource by D2D equipment the information of other D2D equipment transmission.
In conjunction with any of the above-described kind of possible implementation, in the third possible implementation of the third aspect, distribution Unit is used for when meeting preset condition, and distribution is used for the public resource of D2D equipment;Preset condition includes at least one in following A: PRACH request is the PRACH request from D2D equipment received for the first time;It not can be used when receiving PRACH request Public resource;Public resource was not yet distributed before receiving PRACH request;When receiving PRACH request, the last time point The public resource matched has discharged.
In conjunction with any of the above-described kind of possible implementation, in the fourth possible implementation of the third aspect, distribution Unit be used in the case where currently allocated public resource, according to last time distribution public resource service condition and The quantity of the corresponding D2D equipment of PRACH request, redistributes the public resource for D2D equipment;Or, according to the last time point The quantity of D2D equipment corresponding to the size for the public resource matched, the quantity of the D2D equipment currently accessed and PRACH request, Redistribute the public resource for D2D equipment.
In conjunction with any of the above-described kind of possible implementation, in the 5th kind of possible implementation of the third aspect, the base It stands further include: transmission unit is connected to allocation unit, the information for the public resource to D2D equipment notice distribution.
In conjunction with any of the above-described kind of possible implementation, in the 6th kind of possible implementation of the third aspect, send The information for the public resource that unit is used to distribute by control signaling to the D2D equipment of activated state notice;And/or by public The information for the public resource that signaling is distributed to the D2D equipment of Idle state notice.
In conjunction with any of the above-described kind of possible implementation, in the 7th kind of possible implementation of the third aspect, distribution Public resource information include the running time-frequency resource location information of public resource of distribution, distribution public resource entry-into-force time At least one of with the period of public resource of distribution.
In conjunction with any of the above-described kind of possible implementation, in the 8th kind of possible implementation of the third aspect, PRACH Request includes PRACH sequence;Allocation unit is also used to the corresponding relationship according to PRACH sequence and private resource, in public resource Interior each D2D equipment at least one D2D equipment distributes private resource, and private resource is used for by D2D equipment in dedicated money Information is sent on source.
In conjunction with any of the above-described kind of possible implementation, in the 9th kind of possible implementation of the third aspect, distribution Unit is used for:
According to the following formula, the private resource of distribution is determined:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
According to the corresponding relationship between PRACH sequence and the size of private resource, the size of the private resource of distribution is determined; According to the following formula, the initial position of the private resource of distribution is determined:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
In conjunction with any of the above-described kind of possible implementation, in the tenth kind of possible implementation of the third aspect, the base It stands further include: transmission unit is connected to allocation unit, sends for each D2D equipment at least one D2D equipment random Response message is accessed, in order to indicate that at least one corresponding private resource of D2D equipment is allocated successfully.
It, should in a kind of the tenth possible implementation of the third aspect in conjunction with any of the above-described kind of possible implementation Base station further include: detection unit is connected to allocation unit, for detecting whether public resource is used;Releasing unit, connection To detection unit, for releasing in the case where detection unit detects that public resource is not used by the first predetermined amount of time Put the public resource of distribution.
Fourth aspect provides a kind of D2D equipment, comprising: transmission unit, the physical accidental access for sending to base station Channel PRACH request, in order to which the base station is requested according to PRACH, distribution is used for the public resource of D2D equipment;Receiving unit is used In the information for the public resource for receiving the distribution that the base station is sent.
In the first possible implementation of the fourth aspect, PRACH request includes PRACH sequence;The D2D equipment is also Include: selecting unit, be connected to above-mentioned transmission unit, for before PRACH that transmission unit is sent to base station request, from the PRACH sequence is selected in one predetermined set, the first predetermined set is the set for being exclusively used in the sequence that D2D equipment uses.
It is in the second possible implementation of the fourth aspect, public in conjunction with any of the above-described kind of possible implementation Resource is used to be detected and/or be monitored on public resource by D2D equipment the information of other D2D equipment transmission.
It is in the third possible implementation of the fourth aspect, public in conjunction with any of the above-described kind of possible implementation Resource is that the base station is distributed when meeting preset condition;Preset condition include it is following at least one: PRACH request be the base station The PRACH request from D2D equipment received for the first time;There is no available public money when the base station receives PRACH request Source;Public resource was not yet distributed before the base station receives PRACH request;When the base station receives PRACH request, upper one The public resource of sub-distribution has discharged.
In conjunction with any of the above-described kind of possible implementation, in the fourth possible implementation of the fourth aspect, if Currently allocated public resource, then the base station according to PRACH request distribution public resource be: according to last time distribution it is public The quantity of the corresponding D2D equipment of service condition and the PRACH request of resource, the public money for D2D equipment redistributed Source;Or, the quantity of the D2D equipment according to the size of the public resource of last time distribution, currently accessed and PRACH request institute are right The quantity for the D2D equipment answered, the public resource for D2D equipment redistributed.
In conjunction with any of the above-described kind of possible implementation, in the 5th kind of possible implementation of fourth aspect, receive Unit is used to receive the control signaling of base station transmission, wherein the information of the public resource comprising distribution in control signaling;With/ Or, receiving unit is used to receive the common signaling of base station transmission, wherein the letter of the public resource comprising distribution in common signaling Breath.
In conjunction with any of the above-described kind of possible implementation, in the 6th kind of possible implementation of fourth aspect, distribution Public resource information include the running time-frequency resource location information of public resource of distribution, distribution public resource entry-into-force time At least one of with the period of public resource of distribution.
In conjunction with any of the above-described kind of possible implementation, in the 7th kind of possible implementation of fourth aspect, PRACH Request includes PRACH sequence;There are corresponding relationship, dedicated moneys between PRACH sequence and the private resource distributed for the D2D equipment Source is used to send information on private resource by D2D equipment.
It is above-mentioned in the 8th kind of possible implementation of fourth aspect in conjunction with any of the above-described kind of possible implementation Corresponding relationship includes:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
Between PRACH sequence and the size of the private resource of distribution existing first corresponding relationship and PRACH sequence with Existing following functional relation between the index of the initial position of the private resource of distribution:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
In conjunction with any of the above-described kind of possible implementation, in the 9th kind of possible implementation of fourth aspect, receive Unit is used to receive the accidental access response message of base station transmission, wherein accidental access response message is used to indicate the D2D and sets Standby corresponding private resource is allocated successfully.
5th aspect, provides a kind of base station, comprising: transceiver is used for receiving and transmitting signal;Processor is used for: passing through transmitting-receiving Device receives the Physical Random Access Channel PRACH request of at least one device-to-device D2D equipment transmission;It is requested according to PRACH, Distribution is used for the public resource of D2D equipment.
In the first possible implementation of the 5th aspect, PRACH request includes PRACH sequence;Processor is used for: It is requested according to PRACH, distribution is exclusively used in front of the public resource of D2D equipment, determines that PRACH sequence belongs to the first predetermined collection It closes, the first predetermined set is the set for being exclusively used in the sequence that D2D equipment uses.
It is public in second of possible implementation of the 5th aspect in conjunction with any of the above-described kind of possible implementation Resource is used to be detected and/or be monitored on public resource by D2D equipment the information of other D2D equipment transmission.
In conjunction with any of the above-described kind of possible implementation, in the third possible implementation of the 5th aspect, processing Device is accomplished by the following way requests according to PRACH, and distribution is used for the public resource of D2D equipment: when meeting preset condition, point It is used in the public resource of D2D equipment;Preset condition includes at least one of the following: PRACH request receives for the first time PRACH request from D2D equipment;There is no available public resource when receiving PRACH request;It is asked receiving PRACH Public resource was not yet distributed before asking;When receiving PRACH request, the last time public resource of distribution has discharged.
In conjunction with any of the above-described kind of possible implementation, in the 4th kind of possible implementation of the 5th aspect, if Currently allocated public resource, then processor is accomplished by the following way requests according to PRACH, and distribution is used for the public affairs of D2D equipment Total resource: heavy according to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request New distribution is used for the public resource of D2D equipment;Or, the D2D according to the size of the public resource of last time distribution, currently accessed The quantity of the corresponding D2D equipment of quantity and the PRACH request of equipment, redistributes the public resource for D2D equipment.
In conjunction with any of the above-described kind of possible implementation, in the 5th kind of possible implementation of the 5th aspect, processing Device is used for: passing through the information for the public resource that transceiver is distributed to D2D equipment notice.
In conjunction with any of the above-described kind of possible implementation, in the 6th kind of possible implementation of the 5th aspect, processing The public resource to D2D equipment notice distribution: the D2D equipment by control signaling to activated state is accomplished by the following way in device Notify the information of the public resource of distribution;And/or the public money distributed by common signaling to the D2D equipment of Idle state notice The information in source.
In conjunction with any of the above-described kind of possible implementation, in the 7th kind of possible implementation of the 5th aspect, distribution Public resource information include the running time-frequency resource location information of public resource of distribution, distribution public resource entry-into-force time At least one of with the period of public resource of distribution.
In conjunction with any of the above-described kind of possible implementation, in the 8th kind of possible implementation of the 5th aspect, PRACH Request includes PRACH sequence;Processor is used for: according to the corresponding relationship of PRACH sequence and private resource, being in public resource Each D2D equipment at least one D2D equipment distributes private resource, and private resource is used for by D2D equipment in private resource Send information.
In conjunction with any of the above-described kind of possible implementation, in the 9th kind of possible implementation of the 5th aspect, processing The corresponding relationship according to PRACH sequence and private resource is accomplished by the following way in device, is at least one D2D in public resource Each D2D equipment in equipment distributes private resource:
According to the following formula, the private resource of distribution is determined:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
According to the corresponding relationship between PRACH sequence and the size of private resource, the size of the private resource of distribution is determined; According to the following formula, the initial position of the private resource of distribution is determined:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
In conjunction with any of the above-described kind of possible implementation, in the tenth kind of possible implementation of the 5th aspect, processing Device is used for: accidental access response message is sent by each D2D equipment of the transceiver at least one D2D equipment, in order to Indicate that at least one corresponding private resource of D2D equipment is allocated successfully.
In conjunction with any of the above-described kind of possible implementation, in a kind of the tenth possible implementation of the 5th aspect, place Reason device is also used to: in the case where detecting that public resource is not used by the first predetermined amount of time, discharging the public money of distribution Source.
6th aspect, provides a kind of D2D equipment, comprising: transceiver is used for receiving and transmitting signal;Processor is used for: being passed through The Physical Random Access Channel PRACH request that transceiver is sent to base station, in order to which the base station is requested according to PRACH, distribution is used In the public resource of D2D equipment;The information of the public resource of the distribution of base station transmission is received by transceiver.
In the first possible implementation of the 6th aspect, PRACH request includes PRACH sequence;Processor is used for: Before the PRACH request that the D2D equipment is sent to base station, PRACH sequence, the first predetermined collection are selected from the first predetermined set Conjunction is to be exclusively used in the set for the sequence that D2D equipment uses.
It is public in second of possible implementation of the 6th aspect in conjunction with any of the above-described kind of possible implementation Resource is used to be detected and/or be monitored on public resource by D2D equipment the information of other D2D equipment transmission.
It is public in the third possible implementation of the 6th aspect in conjunction with any of the above-described kind of possible implementation Resource is that the base station is distributed when meeting preset condition;Preset condition include it is following at least one: PRACH request be the base station The PRACH request from D2D equipment received for the first time;There is no available public money when the base station receives PRACH request Source;Public resource was not yet distributed before the base station receives PRACH request;When the base station receives PRACH request, upper one The public resource of sub-distribution has discharged.
In conjunction with any of the above-described kind of possible implementation, in the 4th kind of possible implementation of the 6th aspect, if Currently allocated public resource, then the base station according to PRACH request distribution public resource be: according to last time distribution it is public The quantity of the corresponding D2D equipment of service condition and the PRACH request of resource, the public money for D2D equipment redistributed Source;Or, the quantity of the D2D equipment according to the size of the public resource of last time distribution, currently accessed and PRACH request institute are right The quantity for the D2D equipment answered, the public resource for D2D equipment redistributed.
In conjunction with any of the above-described kind of possible implementation, in the 5th kind of possible implementation of the 6th aspect, processing Device is used to be accomplished by the following way that receive the information of public resource of the distribution of base station transmission by transceiver to include: to pass through Transceiver receives the control signaling of base station transmission, wherein the information of the public resource comprising distribution in control signaling;And/or The common signaling of base station transmission is received by transceiver, wherein the information of the public resource comprising distribution in common signaling.
In conjunction with any of the above-described kind of possible implementation, in the 6th kind of possible implementation of the 6th aspect, distribution Public resource information include the running time-frequency resource location information of public resource of distribution, distribution public resource entry-into-force time At least one of with the period of public resource of distribution.
In conjunction with any of the above-described kind of possible implementation, in the 7th kind of possible implementation of the 6th aspect, PRACH Request includes PRACH sequence;There are corresponding relationship, dedicated moneys between PRACH sequence and the private resource distributed for the D2D equipment Source is used to send information on private resource by D2D equipment.
It is above-mentioned in the 8th kind of possible implementation of the 6th aspect in conjunction with any of the above-described kind of possible implementation Corresponding relationship includes:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
Between PRACH sequence and the size of the private resource of distribution existing first corresponding relationship and PRACH sequence with Existing following functional relation between the index of the initial position of the private resource of distribution:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
In conjunction with any of the above-described kind of possible implementation, in the 9th kind of possible implementation of the 6th aspect, processing Device is used for: the accidental access response message of base station transmission is received by receiver, wherein accidental access response message is for referring to Show that the corresponding private resource of D2D equipment is allocated successfully.
Through the embodiment of the present invention, base station is in the Physical Random Access Channel for receiving the transmission of at least one D2D equipment After (Physical Random Access Channel, referred to as PRACH) sequence, according to the PRACH sequence, distribution is used for The public resource of D2D equipment meets the needs of D2D equipment is to resource so as to neatly be that D2D equipment distributes resource.
Detailed description of the invention
Fig. 1 is a kind of flow chart of resource allocation methods according to an embodiment of the present invention;
Fig. 2 is the flow chart of another resource allocation methods according to an embodiment of the present invention;
Fig. 3 is the flow chart of another resource allocation methods according to an embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of base station according to an embodiment of the present invention;
Fig. 5 is a kind of preferred structural block diagram of base station according to an embodiment of the present invention;
Fig. 6 is a kind of structural block diagram of D2D equipment according to an embodiment of the present invention;
Fig. 7 is a kind of preferred structural block diagram of D2D equipment according to an embodiment of the present invention;
Fig. 8 is the structural block diagram of another base station according to an embodiment of the present invention;
Fig. 9 is the structural block diagram of another kind D2D equipment according to an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.In the absence of conflict, the feature in the embodiment of the present invention and each embodiment It can be combined with each other.
D2D equipment can be mobile terminal (Mobile Terminal, referred to as MT), mobile subscriber equipment etc., Ke Yijing Wireless access network (Radio Access Network, referred to as RAN) is communicated with one or more core nets, D2D equipment It can be mobile terminal, for example, mobile phone (or being " honeycomb " phone) or the computer with mobile terminal, are also possible to Portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device.
Base station can be the base station (Base Transceiver Station, referred to as BTS) in GSM or CDMA, can also To be the base station (NodeB) in WCDMA, the evolution node B (Evolved Node B, referred to as eNB) in LTE can also be.
The embodiment of the invention provides a kind of resource allocation methods, the executing subject of this method can be base station.Such as Fig. 1 institute Show, this method comprises:
Step 101, the PRACH request of at least one D2D equipment transmission is received;
Step 102, it is requested according to the PRACH, distribution is used for the public resource of D2D equipment.
In the long term evolution LTE network of the relevant technologies, a subframe is fixed with every 80ms and is communicated for D2D, therefore, The mode for distributing the resource of D2D equipment in the related technology is inflexible, for example, if not having D2D equipment or D2D equipment in network It is less, then it will lead to the wasting of resources;If D2D equipment is more in network, resource is possible to can be not enough.In the present embodiment In, the PRACH that base station is sent according at least one D2D equipment is requested, and distributes public resource for D2D equipment, is realized and is flexibly D2D equipment distributes public resource, improves the efficiency of system.
Preferably, above-mentioned PRACH request includes PRACH sequence;Base station receives PRACH sequence in judgement and belongs to first in advance After fixed set, according to PRACH sequence, distribution is exclusively used in the public resource of D2D equipment, wherein first predetermined set is special Set for the sequence that D2D equipment uses.
The embodiment of the invention provides a kind of resource allocation methods, the executing subject of this method can be D2D equipment.Such as figure Shown in 2, this method comprises:
Step 201, the PRACH request that D2D equipment is sent to base station, in order to which base station is requested according to the PRACH, distribution is used In the public resource of D2D equipment;
Step 202, the information of the public resource of the distribution of base station transmission is received.
In the long term evolution LTE network of the relevant technologies, a subframe is fixed with every 80ms and is communicated for D2D, therefore, The mode for distributing the resource of D2D equipment in the related technology is inflexible, for example, if not having D2D equipment or D2D equipment in network It is less, then it will lead to the wasting of resources;If D2D equipment is more in network, resource is possible to can be not enough.In the present embodiment In, the PRACH that base station is sent according at least one D2D equipment is requested, and distributes public resource for D2D equipment, is realized and is flexibly D2D equipment distributes public resource, improves the efficiency of system.
Preferably, above-mentioned PRACH request includes PRACH sequence, and before step 201, D2D equipment is from the first predetermined set In select the PRACH sequence to be sent, which is the set for being exclusively used in the sequence that D2D equipment uses.
The embodiment of the invention provides a kind of resource allocation methods, as shown in figure 3, this method comprises:
Step 301, base station receives the PRACH request of at least one D2D equipment transmission;
Step 302, it is requested according to the PRACH, base station distribution is used for the public resource of D2D equipment.
In the long term evolution LTE network of the relevant technologies, a subframe is fixed with every 80ms and is communicated for D2D, therefore, The mode for distributing the resource of D2D equipment in the related technology is inflexible, for example, if not having D2D equipment or D2D equipment in network It is less, then it will lead to the wasting of resources;If D2D equipment is more in network, resource is possible to can be not enough.In the present embodiment In, the PRACH that base station is sent according at least one D2D equipment is requested, and distributes public resource for D2D equipment, is realized and is flexibly D2D equipment distributes public resource, improves the efficiency of system.
Optionally, above-mentioned PRACH request includes PRACH sequence;The transmission of at least one D2D equipment is received in base station Before PRACH request, which selects a PRACH sequence from the first predetermined set, and then, base station exists Judgement receives PRACH sequence and belongs to after the first predetermined set, and according to PRACH sequence, distribution is exclusively used in the public of D2D equipment Resource, wherein first predetermined set is the set for being exclusively used in the sequence that D2D equipment uses.It present embodiments provides a kind of true Determining PRACH sequence is the method from D2D equipment, in this way, base station can determine that the PRACH sequence received is to come from The sequence of D2D equipment, to trigger the distribution of resource.It should be noted that determining that PRACH sequence is the side from D2D equipment Method can also include other methods, for example, the use of the PRACH sequence that an indicator instruction receives being from D2D equipment.
In addition, D2D equipment can just select specific PRACH sequence, that is, be exclusively used in D2D and set when using D2D function Sequence in the set of the standby sequence used distributes resource so as to avoid without using the D2D equipment of D2D function, avoids money The waste in source.
The PRACH sequence of the base station of LTE network can reserve a part, be exclusively used in the access of D2D equipment.
The PRACH sequence that existing LTE base station is supported is 64, for supporting the base station of the equipment access with D2D function, The PRACH sequence that the base station is supported can be extended to that (64+P) is a, and D2D equipment default uses rear P PRACH sequence, this P is a PRACH sequence is the PRACH sequence that D2D equipment is kept in base station.The mode and existing LTE system that this P PRACH sequence generates In the mode that generates of preceding 64 PRACH sequences it is consistent.
For example, each available PRACH sequence of cell is 64 in existing LTE system.Base station is wide by system information Logical root sequence index RACH_ROOT_SEQUENCE is broadcast, cyclic shift interval is notified by high-level signaling (zeroCorrelationZoneConfig) parameter (i.e. Ncs).UE first passes through logical root sequence after receiving the two parameters Index finds corresponding physics root sequence u, according to formula0≤n≤NZC- 1 generates PRACH root sequence, so Afterwards, different PRACH sequences is obtained according to the cyclic shift that Ncs value carries out different length to PRACH root sequence.If according to receipts The Ncs value arrived, a root sequence cannot generate 64 PRACH sequences, then UE continues to use next logical root sequence index, look for Its corresponding physics root sequence, repeats the above process, until generating 64 PRACH sequences.The sequence of these PRACH sequences Number be 0 to 63.Logical root sequence index is continuously from 0 to 837.
In embodiments of the present invention, corresponding object is found according to logical root sequence index RACH_ROOT_SEQUENCE in base station Root sequence u is managed, according to formula0≤n≤NZC- 1 generates PRACH root sequence, then, according to Ncs value pair The cyclic shift that PRACH root sequence carries out different length obtains different PRACH sequences.If according to the Ncs value received, one Root sequence cannot generate 64 PRACH sequences, then UE continues to use next logical root sequence index, look for its corresponding physics root Sequence repeats the above process, and until generating 64+P PRACH sequence, the Serial No. 0 of these PRACH sequences arrives 63+P. Logical root sequence index is continuously from 0 to 837.Wherein, it is the PRACH that D2D equipment is reserved that rear P PRACH sequence, which is base station, Sequence.
D2D equipment finds corresponding physics root sequence u according to the RACH_ROOT_SEQUENCE of base station broadcast, according to formula0≤n≤NZC- 1 generates PRACH root sequence, then, carries out different length to PRACH root sequence according to Ncs value The cyclic shift of degree obtains different PRACH sequences, if one root sequence cannot generate 64 according to the Ncs value received PRACH sequence, then UE continues to use next logical root sequence index, looks for its corresponding physics root sequence, repeats the above process, Until generating 64+P PRACH sequence, the Serial No. 0 of these PRACH sequences arrives 63+P.Logical root sequence index is to connect It is continuous from 0 to 837.Wherein, it is the PRACH sequence that D2D equipment is reserved that rear P PRACH sequence, which is base station,.D2D equipment is being realized When D2D function, random access is carried out using rear P PRACH sequence.
Common UE generates 64 PRACH sequences, this 64 PRACH also according to the method that existing LTE system is described above Sequence is not that base station is the PRACH sequence that D2D equipment is reserved.
P value can be the fixed value of an agreement, for example, P=128, is not necessarily to the number by signaling P in this way, from And it saves and signals expense.P value can also be determined according to the size of arranged network, for example, P can be 64 or 128, this When, notice P value can be broadcasted by system information.
Since common UE and D2D equipment all uses PRACH sequence to be accessed, D2D device request accesses LTE net The method of network can request the method for access consistent with LTE UE.If accessed without D2D device request, time-frequency can not be reserved Resource is to D2D user.
Optionally, the public resource in the embodiment of the present invention is for being detected and/or being supervised on the public resource by D2D equipment The information for listening other D2D equipment to send.
Preferably, step 302 can be accomplished by the following way: when meeting preset condition, base station distribution is set for D2D Standby public resource;The preset condition includes at least one of the following: PRACH request is received for the first time from D2D The PRACH of equipment is requested;There is no available public resource when receiving PRACH request;Before receiving PRACH request Not yet distributed public resource;When receiving PRACH request, the last time public resource of distribution has discharged.The public money Source can be public running time-frequency resource, for example, request LTE network is distributed to D2D and set when public running time-frequency resource can be to be initially accessed Standby periodic running time-frequency resource.After obtaining public resource, D2D equipment can detect on the public resource or monitor other The information that D2D equipment is sent.In the present embodiment, realizing base station is that D2D distributes initial public resource.
In addition, being still to be fixed with one every 80ms when there is no D2D equipment or D2D equipment is less in the prior art Subframe is communicated for D2D, therefore there are problems that the wasting of resources.In the present embodiment, can when meeting above-mentioned preset condition, Base station be just include D2D equipment distribution public resource, so as to avoid in no D2D equipment be D2D equipment distribute resource, mention The high efficiency of system.
Preferably, if currently allocated public resource, step 302 can also be realized one of in the following manner:
D2D equipment corresponding to mode one, service condition and PRACH request according to the public resource of last time distribution The public resource for D2D equipment is redistributed in quantity, base station;For example, if it is determined that the public resource of last distribution It is used by D2D equipment, and has new D2D device request access again, then increase the public resource for being used for D2D equipment;If base station is sentenced The inadequate resource being not used by the public resource of disconnected last distribution is then increased with meeting the corresponding D2D equipment of PRACH request Add the public resource for D2D equipment;If the utilization rate of the public resource of the last distribution of base station judgement is very low, and receives The corresponding D2D equipment of PRACH request quantity it is smaller, then reduce the public resource for being used for D2D equipment.When D2D equipment connects After entering successfully, base station can distribute private resource to the D2D equipment from public resource.If the base station find that distributing to some D2D The private resource of equipment is not used by the given time, then discharges the resource.Therefore, base station can be obtained by way of monitoring Obtain the service condition of public resource.
Mode two, the quantity of D2D equipment according to the size of the public resource of last time distribution, currently accessed and should The quantity of the corresponding D2D equipment of PRACH request, the public resource for D2D equipment is redistributed in base station.For example, if base Resource needed for D2D equipment corresponding to the D2D equipment and PRACH request that judgement has currently accessed of standing is greater than last distribution Public resource size, then can increase the public resource for D2D equipment;It is on the contrary, it is possible to reduce the public affairs for D2D equipment Resource altogether.
By above two mode, base station is according to the quantity of the corresponding D2D equipment of PRACH request and last point The service condition for the public resource matched neatly can distribute public resource for D2D equipment, be accessed with the current needs of satisfaction The needs of D2D equipment, even if each D2D equipment can still obtain corresponding resource in this way, D2D equipment is more.
Preferably, base station can also be according to the number of the PRACH sequence received, and dynamic adjusts the size of public resource, Then, base station can notify public resource adjusted to give D2D equipment.When the PRACH sequence received is more, base station can Think that D2D equipment distributes biggish public resource, when the PRACH sequence received is less, base station can be distributed for D2D equipment Lesser public resource.For example, base station is D2D equipment distribution first when receiving the first PRACH sequence from D2D equipment Public resource, when the number of the PRACH sequence received is more than first threshold, base station is that D2D equipment distributes the second public money Source, the second public resource are bigger than the first public resource.In the related art, a subframe is fixed with every 80ms to lead to for D2D Letter, if D2D equipment is more in network, is not able to satisfy demand of the D2D equipment to resource.Method through this embodiment, root According to the number of the PRACH sequence received, base station dynamic adjusts the size of public resource, when the PRACH sequence received is more When, the resource for the distribution of D2D equipment can be increased, to meet the needs of D2D equipment is to resource.
It optionally, after step 302, can also include step 303, public money of the base station to the notice distribution of D2D equipment The information in source, for example, base station is periodically to the information of the public resource of D2D equipment notice distribution, base station is in a broadcast manner The information of the public resource of its local D2D equipment distribution of periodic notification.The public resource can be total for all D2D equipment With for searching for the information of other D2D equipment.For example, the D2D equipment of application resource is by the D2D device code code information of oneself It is sent on the public running time-frequency resource.D2D equipment carries out on the running time-frequency resource position after obtaining running time-frequency resource location information Search, if it find that other D2D equipment, then find success.Through this embodiment, D2D equipment can know the public money of distribution Source, to detect and/or monitor the information of other D2D equipment transmission using the public resource.
Preferably, notify the position of public resource that can realize at least one in the following manner:
The information for the public resource that base station can be distributed by control signaling to the D2D equipment of activated state notice.For example, right In the UE of activation (Active) state, it can default using 10ms as the period, that is, the position notified every time is a radio frames (10ms) Interior available running time-frequency resource, every 10ms pass through Physical Downlink Control Channel (Physical Downlink Control Channel, referred to as PDCCH) notify a running time-frequency resource.
The information for the public resource that base station is distributed by common signaling to the D2D equipment of Idle state notice.For example, for sky The UE of not busy (idle) state, can issue the running time-frequency resource location information, wherein the common signaling can be object by common signaling Manage broadcast channel (Physical Broadcast Channel, referred to as PBCH) or cell specific (Cell specific) Physical Downlink Control Channel (Physical Downlink Shared Channel, referred to as PDSCH).
Preferably, the information of the public resource of distribution includes the running time-frequency resource location information of the public resource of distribution, distribution Public resource entry-into-force time and at least one of period of public resource of distribution.For example, base station can be only by distribution The running time-frequency resource location information of public resource be sent to D2D equipment, D2D equipment at any time can be in the running time-frequency resource position Confidence ceases corresponding position detection and/or monitors the information of other D2D equipment transmission;It base station can also be by the public resource of distribution Running time-frequency resource location information and entry-into-force time of public resource of distribution be sent to D2D equipment, D2D equipment is in the entry-into-force time The corresponding position detection of running time-frequency resource location information and/or monitor other D2D equipment transmission information;Base station can also incite somebody to action The period of running time-frequency resource location information and the public resource of distribution is sent to D2D equipment, and D2D equipment is according to the running time-frequency resource position The period of information and the public resource of distribution knows the running time-frequency resource in period, and detects and/or supervise on the running time-frequency resource in period The information for listening other D2D equipment to send;If it is distribution resource is initially started, which can specify that a resource comes into effect Time, the time of time gap D2D equipment application access needs to meet recipient and can hear a broadcast message, example Such as, which can be 320ms.By the embodiment, base station can notify the relevant information of D2D equipment public resource, so as to D2D equipment can more accurately use the public resource.
Preferably, after distributing public resource, base station can distribute dedicated money to send the D2D equipment of PRACH request Source.PRACH request includes PRACH sequence, and according to the corresponding relationship of PRACH sequence and private resource, base station is in public resource Interior each D2D equipment at least one D2D equipment distributes private resource, and private resource is used for by D2D equipment in dedicated money Information is sent on source.The private resource can be dedicated running time-frequency resource, the dedicated running time-frequency resource be D2D equipment for finding or The running time-frequency resource of person's communication.After obtaining private resource, D2D equipment can transmit information on the resource.
The corresponding relationship can be one-to-one corresponding relationship, can be one-to-many corresponding relationship, be also possible to multipair One corresponding relationship, the corresponding relationship can be embodied by mapping table, can also be embodied by certain functional relation.It is logical The present embodiment is crossed, the private resource that can be used for communicating to send the D2D equipment distribution of PRACH request.
It should be noted that the embodiment of distribution private resource and the embodiment of distribution public resource are independent from each other, In the embodiment of distribution private resource, the method for salary distribution of public resource can use method shown in Fig. 3, be also possible to other The arbitrary method of salary distribution, for example, every 80ms has a subframe is fixed to be used as public resource.The embodiment of the present invention does not limit this It is fixed.
For supporting the base station of D2D equipment access LTE network, which, which reserves a part of PRACH sequence and be exclusively used in D2D, is set Standby access, the PRACH sequence number for being used for D2D equipment (that is, Preamble sequence number) is renumberd, and by itself and resource allocation Binding positions.
In a preferred implementation of the embodiment of the present invention, according to the corresponding relationship of PRACH sequence and private resource, Distributing private resource in public resource for each D2D equipment at least one D2D equipment can one of in the following manner It realizes:
Mode one, according to the following formula, base station determine the private resource of distribution: S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
For example, the PRACH sequence that the base station is supported can be a for (64+128);D2D equipment defaults 128 sequences after use Column, the PRACH sequence that will be specific to D2D equipment are renumbered as 0,1,2 ..., and 127;If system bandwidth is N (RB), D2D is set The standby PRACH Serial No. M used can then be used whithin a period of time after the D2D equipment is successfully accessed LTE network The index of private resource is mod (M, N).
Mode two, according to the corresponding relationship between PRACH sequence and the size of private resource, base station determines the dedicated of distribution The size of resource;According to the following formula, the initial position of the private resource of distribution is determined:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
For example, the PRACH sequence that the base station is supported can be a for (64+128);D2D equipment defaults 128 sequences after use Column, the PRACH sequence that will be specific to D2D equipment are renumbered as 0,1,2 ..., and 127;If system bandwidth is N (RB), D2D is set The standby PRACH Serial No. M used, after the D2D equipment is successfully accessed LTE network, then can fix whithin a period of time makes The initial position of running time-frequency resource is mod (M, N);If M < 100, requesting the resource size of distribution is 1RB;Otherwise, it asks The resource for asking distribution is continuous 2RB.For example, under 10MHz bandwidth situation, if the PRACH sequence of D2D device request access It is 78 after renumbeing, then after D2D equipment is successfully accessed, mod (78,50)=28, the resource location that can be used is the 28th A RB;If the Preamble of its request access is 115, mod (115,50)=15, then its resource location that can be used is the 15 and the 16th RB.
In above two mode, the unit of resource can be resource block (Resource Block, referred to as RB), example Such as, if bandwidth is 10MHz, available RB number is 50, and resource index can be from 0 to 49.
By above two mode, it is D2D equipment distribution private resource that base station, which can be convenient,.
Preferably, after distributing private resource for each D2D equipment at least one D2D equipment, base station is at least Each D2D equipment in one D2D equipment sends accidental access response message, in order to indicate that at least one D2D equipment is corresponding Private resource be allocated successfully.Once receiving the accidental access response message, D2D equipment is assured that request has arrived this The running time-frequency resource of PRACH sequence instruction, and running time-frequency resource transmission information can be used.Through this embodiment, base station can lead to Know that D2D equipment distributes private resource for it, then, D2D equipment is able to use private resource and sends information.
Optionally, if base station can correctly detect the PRACH sequence of D2D equipment transmission, but the PRACH sequence is implicit to ask The running time-frequency resource asked cannot distribute to the equipment, then any information is not fed back to the D2D equipment in base station.D2D equipment is being sent After PRACH request, within a predetermined period of time, the accidental access response message of base station is not received, then automatically selects another PRACH sequence re-requests access.
As previously mentioned, base station can monitor the behaviour in service of public resource, optionally, if in the first predetermined amount of time Interior, base station detects that public resource is not used by, then discharges the public resource of distribution.It is being received next time from D2D equipment PRACH request after, base station can mode through the embodiment of the present invention distribute the public resource for D2D equipment.At this In embodiment, if base station within a predetermined period of time, detects that public resource is not used by, then public resource is discharged, at this time may be used It is used so that the public resource is distributed to other equipment, uses, cancel for example, this part resource is distributed to common LTE UE The transmission of the PDSCH of PDCCH and PBCH or Cell specific.So as to avoid the waste of resource.Preferably, base station is returned After the resource that contracture is matched, the D2D equipment resource can be notified to have discharged by broadcast signaling, D2D equipment does not use recycling Resource.
Optionally, according to PRACH sequence, after base station distribution is for the public resource of D2D equipment, base station notifies D2D The pot life section of the equipment public resource, for example, the first pot life section, if D2D equipment is in the resource that distribution is not used Time be more than that D2D function is used after the first pot life section, then re-request base station distribution resource.It wherein, first can It can be identical with the first predetermined amount of time with the period.
Preferably, above-mentioned resource distribution mode is effective within a certain period of time, if exceeding setting time, the resource distributed It ceases to be in force automatically.At this point, if D2D equipment there are also and LTE network data interaction, D2D equipment can apply for resource again.
The embodiment of the invention also provides a kind of base station, which can be used to implement above-mentioned embodiment of the method, therefore, The correlated characteristic of base station can be in conjunction in the present embodiment in above method embodiment.As shown in figure 4, the base station includes: to receive Unit 400, for receiving the PRACH request of at least one D2D equipment transmission;Allocation unit 402 is connected to receiving unit 400, For being requested according to PRACH, distribution is used for the public resource of D2D equipment.
Fig. 5 is a kind of preferred structural block diagram of base station according to an embodiment of the present invention, as shown in Figure 5, it is preferable that above-mentioned PRACH request includes PRACH sequence;Above-mentioned base station further include: determination unit 404 is connected to receiving unit 400 and allocation unit 402, for being requested in allocation unit 402 according to PRACH, distribution is exclusively used in front of the public resource of D2D equipment, determines PRACH Sequence belongs to the first predetermined set, and the first predetermined set is the set for being exclusively used in the sequence that D2D equipment uses.
Optionally, above-mentioned public resource on public resource for detecting and/or monitoring other D2D equipment by D2D equipment The information of transmission.
In a preferred implementation of the embodiment of the present invention, allocation unit 402 is used for when meeting preset condition, point It is used in the public resource of D2D equipment;Preset condition includes at least one of the following:
PRACH request is the PRACH request from D2D equipment received for the first time;
There is no available public resource when receiving PRACH request;
Public resource was not yet distributed before receiving PRACH request;With
When receiving PRACH request, the last time public resource of distribution has discharged.
In another preferred implementation of the embodiment of the present invention, allocation unit 402 is used for currently allocated public In the case where resource, according to the number of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request Amount, redistributes the public resource for D2D equipment;Or, according to the size of the public resource of last time distribution, currently having accessed D2D equipment quantity and the corresponding D2D equipment of PRACH request quantity, redistribute the public money for D2D equipment Source.
As shown in Figure 5, it is preferable that the base station further include: transmission unit 406 is connected to allocation unit 402, is used for D2D The information of the public resource of equipment notice distribution.
Preferably, transmission unit 406 is used for the public resource by control signaling to the notice distribution of the D2D equipment of activated state Information;And/or the information of the public resource distributed by common signaling to the D2D equipment of Idle state notice.
Optionally, the information of the public resource of distribution includes the running time-frequency resource location information of the public resource of distribution, distribution Public resource entry-into-force time and at least one of period of public resource of distribution.
In one embodiment of the invention, PRACH request includes PRACH sequence;Allocation unit 402 is also used to basis The corresponding relationship of PRACH sequence and private resource is each D2D equipment point at least one D2D equipment in public resource With private resource, private resource is used to send information on private resource by D2D equipment.
Optionally, allocation unit 402 is used for:
According to the following formula, the private resource of distribution is determined:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
According to the corresponding relationship between PRACH sequence and the size of private resource, the size of the private resource of distribution is determined; According to the following formula, the initial position of the private resource of distribution is determined:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
Preferably, above-mentioned base station further include: transmission unit 406 is connected to allocation unit 402, is used for at least one D2D Each D2D equipment in equipment sends accidental access response message, in order to indicate the corresponding dedicated money of at least one D2D equipment Source is allocated successfully.
As shown in Figure 5, it is preferable that the base station includes: detection unit 408, allocation unit 402 is connected to, for detecting Whether public resource is used;Releasing unit 410 is connected to detection unit 408, for predetermined first in detection unit 408 In the case where detecting that public resource is not used by period, the public resource of distribution is discharged.
It should be noted that, although the base station in Fig. 5 includes simultaneously determination unit 404, transmission unit 406, detection unit 408 and releasing unit 410, but the base station in the embodiment of the present invention is not limited to simultaneously include determination unit 404, transmission unit 406, detection unit 408 and releasing unit 410, for example, base station can include determining that unit 404 and/or transmission unit 406, and It does not include detection unit 408 and releasing unit 410;Base station also may include detection unit 408 and releasing unit 410, without wrapping Include determination unit 404 and/or transmission unit 406.
The embodiment of the invention also provides a kind of D2D equipment, which can be used to implement above-mentioned method and implements Example, therefore, the correlated characteristic of the D2D equipment can be in conjunction in the present embodiment in above method embodiment.As shown in fig. 6, should D2D equipment includes: transmission unit 600, the PRACH request for sending to base station, in order to which base station is requested according to PRACH, point It is used in the public resource of D2D equipment;Receiving unit 602, the information of the public resource of the distribution for receiving base station transmission.
Fig. 7 is a kind of preferred structural block diagram of D2D equipment according to an embodiment of the present invention, as shown in Figure 7, it is preferable that PRACH request includes PRACH sequence;The D2D equipment further include: selecting unit 604 is connected to transmission unit 600, for sending out Before the PRACH request for sending unit 600 to send to base station, PRACH sequence, the first predetermined set are selected from the first predetermined set It is the set for being exclusively used in the sequence that D2D equipment uses.
Optionally, public resource on public resource for detecting and/or monitoring the transmission of other D2D equipment by D2D equipment Information.
In a preferred implementation of the embodiment of the present invention, public resource is base station distribution when meeting preset condition 's;Preset condition include it is following at least one:
PRACH request is the PRACH request from D2D equipment that base station receives for the first time;
There is no available public resource when base station receives PRACH request;
Public resource was not yet distributed before base station receives PRACH request;With
When base station receives PRACH request, the last time public resource of distribution has discharged.
In another preferred implementation of the embodiment of the present invention, if currently allocated public resource, base station root Public resource according to PRACH request distribution is:
According to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request, weight The newly assigned public resource for D2D equipment;Or
According to the size of the public resource of last time distribution, currently the quantity of the D2D equipment accessed and PRACH request institute The quantity of corresponding D2D equipment, the public resource for D2D equipment redistributed.
Optionally, receiving unit 602 is used to receive the control signaling of base station transmission, wherein includes distribution in control signaling Public resource information;And/or receiving unit 602 is used to receive the common signaling of base station transmission, wherein in common signaling The information of public resource comprising distribution.
Preferably, the information of the public resource of distribution includes the running time-frequency resource location information of the public resource of distribution, distribution Public resource entry-into-force time and at least one of period of public resource of distribution.
In a preferred embodiment, PRACH request includes PRACH sequence;PRACH sequence with for D2D equipment distribution There are corresponding relationship between private resource, private resource is used to send information on private resource by D2D equipment.
Optionally, above-mentioned corresponding relationship includes:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
Between PRACH sequence and the size of the private resource of distribution existing first corresponding relationship and PRACH sequence with Existing following functional relation between the index of the initial position of the private resource of distribution:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
Optionally, receiving unit 602 is used to receive the accidental access response message that the base station is sent, wherein it is described with Machine access response message is used to indicate the corresponding private resource of the D2D equipment and is allocated successfully.
The embodiment of the invention also provides a kind of base station, which can be used to implement above-mentioned embodiment of the method, therefore, The correlated characteristic of base station can be in conjunction in the present embodiment in above method embodiment.As shown in figure 8, the base station includes: transmitting-receiving Device 800 is used for receiving and transmitting signal;Processor 802, is used for: receiving the PRACH that at least one D2D equipment is sent by transceiver 800 Request;It is requested according to PRACH, distribution is used for the public resource of D2D equipment.
Preferably, PRACH request includes PRACH sequence;Processor 802 is used for: being requested, is distributed dedicated according to PRACH Before the public resource of D2D equipment, determine that PRACH sequence belongs to the first predetermined set, the first predetermined set is to be exclusively used in D2D The set for the sequence that equipment uses.
Optionally, public resource on public resource for detecting and/or monitoring the transmission of other D2D equipment by D2D equipment Information.
In a preferred implementation of the embodiment of the present invention, processor 802 is accomplished by the following way according to PRACH Request, distribution are used for the public resource of D2D equipment:
When meeting preset condition, distribution is used for the public resource of D2D equipment;Preset condition includes at least one in following It is a:
PRACH request is the PRACH request from D2D equipment received for the first time;
There is no available public resource when receiving PRACH request;
Public resource was not yet distributed before receiving PRACH request;With
When receiving PRACH request, the last time public resource of distribution has discharged.
In another preferred implementation of the embodiment of the present invention, if currently allocated public resource, processor 802 are accomplished by the following way and are requested according to PRACH, and distribution is used for the public resource of D2D equipment:
According to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request, weight New distribution is used for the public resource of D2D equipment;Or
According to the size of the public resource of last time distribution, currently the quantity of the D2D equipment accessed and PRACH request institute The quantity of corresponding D2D equipment, redistributes the public resource for D2D equipment.
Optionally, processor 802 is used for: passing through the information for the public resource that transceiver 800 is distributed to D2D equipment notice.
Preferably, the public resource to the notice distribution of D2D equipment is accomplished by the following way in processor 802: passing through control The information for the public resource that signaling is distributed to the D2D equipment of activated state notice;And/or by common signaling to the D2D of Idle state The information of the public resource of equipment notice distribution.
Optionally, the information of the public resource of distribution includes the running time-frequency resource location information of the public resource of distribution, distribution Public resource entry-into-force time and at least one of period of public resource of distribution.
Preferably, PRACH request includes PRACH sequence;Processor 802 is used for: according to PRACH sequence and private resource Corresponding relationship, distributes private resource in public resource for each D2D equipment at least one D2D equipment, and private resource is used In sending information on private resource by D2D equipment.
In a preferred embodiment, processor 802 is accomplished by the following way according to PRACH sequence and private resource Corresponding relationship, distribute private resource in public resource for each D2D equipment at least one D2D equipment:
According to the following formula, the private resource of distribution is determined:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
According to the corresponding relationship between PRACH sequence and the size of private resource, the size of the private resource of distribution is determined; According to the following formula, the initial position of the private resource of distribution is determined:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
Optionally, processor 802 is used for: being sent out by each D2D equipment of the transceiver 800 at least one D2D equipment Accidental access response message is sent, in order to indicate that at least one corresponding private resource of D2D equipment is allocated successfully.
Optionally, processor 802 is also used to detect the case where public resource is not used by the first predetermined amount of time Under, discharge the public resource of distribution.
The embodiment of the invention also provides a kind of D2D equipment, which can be used to implement above-mentioned method and implements Example, therefore, the correlated characteristic of D2D equipment can be in conjunction in the present embodiment in above method embodiment.As shown in figure 9, the D2D Equipment includes: transceiver 900, is used for receiving and transmitting signal;Processor 902, is used for: the PRACH sent by transceiver 900 to base station Request, in order to which base station is requested according to PRACH, distribution is used for the public resource of D2D equipment;Base station is received by transceiver 900 The information of the public resource of the distribution of transmission.
Preferably, PRACH request includes PRACH sequence;Processor 902 is used for the PRACH sent in D2D equipment to base station Before request, PRACH sequence is selected from the first predetermined set, the first predetermined set is the sequence for being exclusively used in D2D equipment and using Set.
Optionally, public resource on public resource for detecting and/or monitoring the transmission of other D2D equipment by D2D equipment Information.
In a preferred implementation of the embodiment of the present invention, public resource is base station distribution when meeting preset condition 's;Preset condition include it is following at least one:
PRACH request is the PRACH request from D2D equipment that base station receives for the first time;
There is no available public resource when base station receives PRACH request;
Public resource was not yet distributed before base station receives PRACH request;With
When base station receives PRACH request, the last time public resource of distribution has discharged.
In another preferred implementation of the embodiment of the present invention, if currently allocated public resource, base station root Public resource according to PRACH request distribution is:
According to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request, weight The newly assigned public resource for D2D equipment;Or
According to the size of the public resource of last time distribution, currently the quantity of the D2D equipment accessed and PRACH request institute The quantity of corresponding D2D equipment, the public resource for D2D equipment redistributed.
Optionally, processor 902 is used to be accomplished by the following way the distribution sent by the reception of transceiver 900 base station The information of public resource includes: to receive the control signaling that base station is sent by transceiver 900, wherein comprising dividing in control signaling The information for the public resource matched;And/or the common signaling that base station is sent is received by transceiver 900, wherein in common signaling The information of public resource comprising distribution.
Preferably, the information of the public resource of distribution includes the running time-frequency resource location information of the public resource of distribution, distribution Public resource entry-into-force time and at least one of period of public resource of distribution.
In a preferred embodiment, PRACH request includes PRACH sequence;PRACH sequence with for D2D equipment distribution There are corresponding relationship between private resource, private resource is used to send information on private resource by D2D equipment.
Preferably, above-mentioned corresponding relationship includes:
S=mod (M, N),
Wherein, S is the index of the private resource of distribution, and M is the index of PRACH sequence, and N is the total of resource in public resource Number, mod indicate modulo operation;
Alternatively,
Between PRACH sequence and the size of the private resource of distribution existing first corresponding relationship and PRACH sequence with Existing following functional relation between the index of the initial position of the private resource of distribution:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of distribution, and M is the index of PRACH sequence, and N is public money The sum of resource in source, mod indicate modulo operation.
Optionally, processor 902 is used to receive the accidental access response message that base station is sent by receiver, wherein with Machine access response message is used to indicate the corresponding private resource of D2D equipment and is allocated successfully.
Processor in the embodiments of the present invention may be baseband processor, it is also possible to a kind of IC chip, Processing capacity with signal, it is also possible to which central processing unit (Central Processing Unit, referred to as CPU) etc. is hard Part processor.During realization, each step of the above method can by the integrated logic circuit of the hardware in processor or The instruction of person's software form is completed.These instructions can cooperate realization and control by processor therein.For executing sheet The method that inventive embodiments disclose, above-mentioned processor can be general processor, digital signal processor (Digital Signal Processor, referred to as DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), field programmable gate array (Field Programmable Gate Array, referred to as FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.May be implemented or Person executes disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be microprocessor or Person's processor is also possible to any conventional processor, decoder etc..The step of the method in conjunction with disclosed in the embodiment of the present invention Suddenly hardware processor can be embodied directly in and execute completion, or in processor hardware and software module combination executed At.Software module can be located at random access memory, and flash memory, read-only memory, programmable read only memory or electrically-erasable can In the storage medium of this fields such as programmable memory, register maturation.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with It is realized with hardware realization or firmware realization or their combination mode.It when implemented in software, can be by above-mentioned function Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.Meter Calculation machine readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another Any medium of a place transmission computer program.Storage medium can be any usable medium that computer can access.With For this but be not limited to: computer-readable medium may include random access memory (Random Access Memory, abbreviation For RAM), read-only memory (Read-Only Memory, referred to as ROM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), CD-ROM (Compact Disc Read-Only Memory, referred to as CD-ROM) or other optical disc storages, magnetic disk storage medium or its His magnetic storage apparatus or it can be used in carrying or storing the desired program code and energy with instruction or data structure form Enough any other media by computer access.Furthermore.Any connection appropriate can become computer-readable medium.For example, If software is using coaxial cable, optical fiber cable, twisted pair, Digital Subscriber Line (Digital Subscriber Line, letter Referred to as DSL) either such as infrared ray, radio and microwave etc wireless technology from website, server or other remote sources Transmission, then the wireless skill of coaxial cable, optical fiber cable, twisted pair, DSL or such as infrared ray, wireless and microwave etc Art includes in the fixing of affiliated medium.As used in the present invention, disk (Disk) and dish (disc) include compression optical disc (Compact Disc, referred to as CD), laser disc, optical disc, Digital Versatile Disc (Digital Versatile Disk, abbreviation For DVD), floppy disk and Blu-ray Disc, the usually magnetic replicate data of which disk, and dish is then with laser come optical replicate data. Combination above should also be as including within the protection scope of computer-readable medium.
In short, being not intended to limit of the invention the foregoing is merely the preferred embodiment of technical solution of the present invention Protection scope.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in Within protection scope of the present invention.

Claims (68)

1. a kind of resource allocation methods characterized by comprising
Receive the Physical Random Access Channel PRACH request of at least one device-to-device D2D equipment transmission;With
It is requested according to the PRACH, distribution is used for the public resource of D2D equipment, wherein the corresponding D2D of the PRACH request The quantity of equipment is more, then the public resource for distributing to the D2D equipment is more.
2. the method according to claim 1, wherein PRACH request includes PRACH sequence;
It is requested described according to the PRACH, distribution is exclusively used in front of the public resource of D2D equipment, the method also includes:
Determine that the PRACH sequence belongs to the first predetermined set, first predetermined set is the sequence for being exclusively used in D2D equipment and using The set of column.
3. method according to claim 1 or 2, which is characterized in that the public resource is used for by D2D equipment in the public affairs The information of other D2D equipment transmission is detected and/or monitored altogether in resource.
4. the method according to claim 1, which is characterized in that requested according to the PRACH, distribution Public resource for D2D equipment includes:
When meeting preset condition, distribution is used for the public resource of D2D equipment;The preset condition includes at least one in following It is a:
The PRACH request is the PRACH request from D2D equipment received for the first time;
There is no available public resource when receiving PRACH request;
Public resource was not yet distributed before receiving the PRACH request;With
When receiving PRACH request, the last time public resource of distribution has discharged.
5. the method according to claim 1, which is characterized in that if currently allocated public resource, Then described to be requested according to the PRACH, public resource of the distribution for D2D equipment includes:
According to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request, weight New distribution is used for the public resource of D2D equipment;Or
According to the size of the public resource of last time distribution, currently the quantity of the D2D equipment accessed and PRACH request institute The quantity of corresponding D2D equipment, redistributes the public resource for D2D equipment.
6. method as claimed in any of claims 1 to 5, which is characterized in that the method also includes:
The information of the public resource of the distribution is notified to the D2D equipment.
7. according to the method described in claim 6, it is characterized in that, described notify the public of the distribution to the D2D equipment Resource includes:
The information of the public resource of the distribution is notified to the D2D equipment of activated state by control signaling;And/or
The information of the public resource of the distribution is notified to the D2D equipment of Idle state by common signaling.
8. method according to claim 6 or 7, which is characterized in that the information of the public resource of the distribution includes described The running time-frequency resource location information of the public resource of distribution, the entry-into-force time of the public resource of the distribution and the distribution it is public At least one of period of resource.
9. method as claimed in any of claims 1 to 8, which is characterized in that the PRACH request includes PRACH Sequence;The method also includes:
It is that at least one described D2D is set in the public resource according to the corresponding relationship of the PRACH sequence and private resource Each D2D equipment in standby distributes private resource, and the private resource on the private resource for being sent letter by D2D equipment Breath.
10. according to the method described in claim 9, it is characterized in that, pair according to the PRACH sequence and private resource It should be related to, be that each D2D equipment distribution private resource at least one described D2D equipment includes: in the public resource
According to the following formula, the private resource of the distribution is determined:
S=mod (M, N),
Wherein, S is the index of the private resource of the distribution, and M is the index of the PRACH sequence, and N is in the public resource The sum of resource, mod indicate modulo operation;
Alternatively,
According to the corresponding relationship between the PRACH sequence and the size of private resource, the private resource of the distribution is determined Size;According to the following formula, the initial position of the private resource of the distribution is determined:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of the distribution, and M is the index of the PRACH sequence, and N is institute The sum of resource in public resource is stated, mod indicates modulo operation.
11. method according to claim 9 or 10, which is characterized in that the method also includes:
Each D2D equipment at least one described D2D equipment sends accidental access response message, in order to indicate it is described extremely Few corresponding private resource of a D2D equipment is allocated successfully.
12. according to claim 1 to method described in any one of 11, which is characterized in that the method also includes:
If detecting that the public resource is not used by the first predetermined amount of time, then the public money of the distribution is discharged Source.
13. a kind of resource allocation methods characterized by comprising
Physical Random Access Channel PRACH that device-to-device D2D equipment is sent to base station request, in order to the base station according to The PRACH request, distribution are used for the public resource of D2D equipment;
The D2D equipment receives the information of the public resource for the distribution that the base station is sent, wherein the PRACH request The quantity of corresponding D2D equipment is more, then the public resource for distributing to the D2D equipment is more.
14. according to the method for claim 13, which is characterized in that the PRACH request includes PRACH sequence;
Before the PRACH request that the D2D equipment is sent to base station, the method also includes:
The D2D equipment selects the PRACH sequence from the first predetermined set, and first predetermined set is to be exclusively used in D2D The set for the sequence that equipment uses.
15. method described in 3 or 14 according to claim 1, which is characterized in that the public resource is used for by D2D equipment in institute State the information that the transmission of other D2D equipment is detected and/or monitored on public resource.
16. method described in any one of 3 to 15 according to claim 1, which is characterized in that
The public resource is that the base station is distributed when meeting preset condition;The preset condition includes following at least one It is a:
The PRACH request is the PRACH request from D2D equipment that the base station receives for the first time;
There is no available public resource when the base station receives PRACH request;
Public resource was not yet distributed before the base station receives the PRACH request;With
When the base station receives PRACH request, the last time public resource of distribution has discharged.
17. method described in any one of 3 to 15 according to claim 1, which is characterized in that if currently allocated public money Source, then the base station according to the PRACH request distribution public resource be:
According to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request, weight The newly assigned public resource for D2D equipment;Or
According to the size of the public resource of last time distribution, currently the quantity of the D2D equipment accessed and PRACH request institute The quantity of corresponding D2D equipment, the public resource for D2D equipment redistributed.
18. method described in any one of 3 to 17 according to claim 1, which is characterized in that described in the D2D equipment receives The information of public resource for the distribution that base station is sent includes:
The D2D equipment receives the control signaling that the base station is sent, wherein includes the public affairs of the distribution in the control signaling The information of resource altogether;And/or
The D2D equipment receives the common signaling that the base station is sent, wherein includes the public affairs of the distribution in the common signaling The information of resource altogether.
19. method described in any one of 3 to 18 according to claim 1, which is characterized in that the public resource of the distribution Information include the running time-frequency resource location information of the public resource of the distribution, the distribution public resource entry-into-force time and institute State at least one of the period of public resource of distribution.
20. method described in any one of 3 to 19 according to claim 1, which is characterized in that the PRACH, which is requested, includes PRACH sequence;There are corresponding relationships between the PRACH sequence and the private resource distributed for the D2D equipment, described dedicated Resource is used to send information on the private resource by D2D equipment.
21. according to the method for claim 20, which is characterized in that the corresponding relationship includes:
S=mod (M, N),
Wherein, S is the index of the private resource of the distribution, and M is the index of the PRACH sequence, and N is in the public resource The sum of resource, mod indicate modulo operation;
Alternatively,
Existing first corresponding relationship and described between the PRACH sequence and the size of the private resource of the distribution Existing following functional relation between the index of the initial position of PRACH sequence and the private resource of the distribution:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of the distribution, and M is the index of the PRACH sequence, and N is institute The sum of resource in public resource is stated, mod indicates modulo operation.
22. the method according to claim 20 or 21, which is characterized in that the method also includes:
The D2D equipment receives the accidental access response message that the base station is sent, wherein the accidental access response message is used It is allocated successfully in the corresponding private resource of the instruction D2D equipment.
23. a kind of base station characterized by comprising
Receiving unit, the Physical Random Access Channel PRACH for receiving the transmission of at least one device-to-device D2D equipment are asked It asks;With
Allocation unit is connected to the receiving unit, and for being requested according to the PRACH, distribution is used for the public money of D2D equipment Source, wherein the quantity of the corresponding D2D equipment of the PRACH request is more, then distributes to the public resource of the D2D equipment It is more.
24. base station according to claim 23, which is characterized in that the PRACH request includes PRACH sequence;
The base station further include:
Determination unit is connected to the receiving unit and the allocation unit, is used in the allocation unit according to the PRACH Request, distribution are exclusively used in front of the public resource of D2D equipment, determine that the PRACH sequence belongs to the first predetermined set, and described the One predetermined set is the set for being exclusively used in the sequence that D2D equipment uses.
25. the base station according to claim 23 or 24, which is characterized in that the public resource is used for by D2D equipment in institute State the information that the transmission of other D2D equipment is detected and/or monitored on public resource.
26. the base station according to any one of claim 23 to 25, which is characterized in that
The allocation unit is used for when meeting preset condition, and distribution is used for the public resource of D2D equipment;The preset condition packet Include at least one of the following:
The PRACH request is the PRACH request from D2D equipment received for the first time;
There is no available public resource when receiving PRACH request;
Public resource was not yet distributed before receiving the PRACH request;With
When receiving PRACH request, the last time public resource of distribution has discharged.
27. the base station according to any one of claim 23 to 25, which is characterized in that the allocation unit is for working as It is preceding distributed public resource in the case where, according to last time distribution public resource service condition and the PRACH request institute The quantity of corresponding D2D equipment, redistributes the public resource for D2D equipment;Or, according to the public resource of last time distribution Size, the quantity of the quantity of D2D equipment that has currently accessed and the corresponding D2D equipment of PRACH request, redistribute Public resource for D2D equipment.
28. the base station according to any one of claim 23 to 27, which is characterized in that the base station further include:
Transmission unit is connected to the allocation unit, the letter of the public resource for notifying the distribution to the D2D equipment Breath.
29. base station according to claim 28, which is characterized in that the transmission unit is used to pass through control signaling to activation The D2D equipment of state notifies the information of the public resource of the distribution;And/or it is logical to the D2D equipment of Idle state by common signaling Know the information of the public resource of the distribution.
30. the base station according to claim 28 or 29, which is characterized in that the information of the public resource of the distribution includes institute State the public affairs of the running time-frequency resource location information of the public resource of distribution, the entry-into-force time of the public resource of the distribution and the distribution At least one of the period of resource altogether.
31. the base station according to any one of claim 23 to 30, which is characterized in that the PRACH, which is requested, includes PRACH sequence;The allocation unit is also used to the corresponding relationship according to the PRACH sequence and private resource, described public Private resource is distributed for each D2D equipment at least one described D2D equipment in resource, the private resource is used for by D2D Equipment sends information on the private resource.
32. base station according to claim 31, which is characterized in that the allocation unit is used for:
According to the following formula, the private resource of the distribution is determined:
S=mod (M, N),
Wherein, S is the index of the private resource of the distribution, and M is the index of the PRACH sequence, and N is in the public resource The sum of resource, mod indicate modulo operation;
Alternatively,
According to the corresponding relationship between the PRACH sequence and the size of private resource, the private resource of the distribution is determined Size;According to the following formula, the initial position of the private resource of the distribution is determined:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of the distribution, and M is the index of the PRACH sequence, and N is institute The sum of resource in public resource is stated, mod indicates modulo operation.
33. the base station according to claim 31 or 32, which is characterized in that the base station further include:
Transmission unit is connected to the allocation unit, sends for each D2D equipment at least one described D2D equipment Accidental access response message, in order to indicate that at least one described corresponding private resource of D2D equipment is allocated successfully.
34. the base station according to any one of claim 23 to 33, which is characterized in that the base station further include:
Detection unit is connected to the allocation unit, for detecting whether the public resource is used;
Releasing unit is connected to the detection unit, for detecting institute in the first predetermined amount of time in the detection unit It states in the case that public resource is not used by, discharges the public resource of the distribution.
35. a kind of device-to-device D2D equipment characterized by comprising
Transmission unit, the Physical Random Access Channel PRACH request for being sent to base station, in order to which the base station is according to PRACH request, distribution are used for the public resource of D2D equipment;
Receiving unit, the information of the public resource for receiving the distribution that the base station is sent, wherein the PRACH is asked Ask the quantity of corresponding D2D equipment more, then the public resource for distributing to the D2D equipment is more.
36. D2D equipment according to claim 35, which is characterized in that the PRACH request includes PRACH sequence;
The D2D equipment further include: selecting unit is connected to above-mentioned transmission unit, for sending out in the transmission unit to base station Before the PRACH request sent, the PRACH sequence is selected from the first predetermined set, first predetermined set is special Set for the sequence that D2D equipment uses.
37. the D2D equipment according to claim 35 or 36, which is characterized in that the public resource by D2D equipment for being existed The information of other D2D equipment transmission is detected and/or monitored on the public resource.
38. the D2D equipment according to any one of claim 35 to 37, which is characterized in that
The public resource is that the base station is distributed when meeting preset condition;The preset condition includes following at least one It is a:
The PRACH request is the PRACH request from D2D equipment that the base station receives for the first time;
There is no available public resource when the base station receives PRACH request;
Public resource was not yet distributed before the base station receives the PRACH request;With
When the base station receives PRACH request, the last time public resource of distribution has discharged.
39. the D2D equipment according to any one of claim 35 to 37, which is characterized in that if currently allocated public affairs It is total to resource, then the base station is according to the public resource of PRACH request distribution:
According to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request, weight The newly assigned public resource for D2D equipment;Or
According to the size of the public resource of last time distribution, currently the quantity of the D2D equipment accessed and PRACH request institute The quantity of corresponding D2D equipment, the public resource for D2D equipment redistributed.
40. the D2D equipment according to any one of claim 35 to 39, which is characterized in that
The receiving unit is used to receive the control signaling that the base station is sent, wherein includes described point in the control signaling The information for the public resource matched;And/or
The receiving unit is used to receive the common signaling that the base station is sent, wherein includes described point in the common signaling The information for the public resource matched.
41. the D2D equipment according to any one of claim 35 to 40, which is characterized in that the public money of the distribution The information in source include the running time-frequency resource location information of the public resource of the distribution, the distribution public resource entry-into-force time At least one of with the period of public resource of the distribution.
42. the D2D equipment according to any one of claim 35 to 41, which is characterized in that the PRACH, which is requested, includes PRACH sequence;There are corresponding relationships between the PRACH sequence and the private resource distributed for the D2D equipment, described dedicated Resource is used to send information on the private resource by D2D equipment.
43. D2D equipment according to claim 41, which is characterized in that the corresponding relationship includes:
S=mod (M, N),
Wherein, S is the index of the private resource of the distribution, and M is the index of the PRACH sequence, and N is in the public resource The sum of resource, mod indicate modulo operation;
Alternatively,
Existing first corresponding relationship and described between the PRACH sequence and the size of the private resource of the distribution Existing following functional relation between the index of the initial position of PRACH sequence and the private resource of the distribution:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of the distribution, and M is the index of the PRACH sequence, and N is institute The sum of resource in public resource is stated, mod indicates modulo operation.
44. the D2D equipment according to claim 42 or 43, which is characterized in that
The receiving unit is used to receive the accidental access response message that the base station is sent, wherein the random access response Message is used to indicate the corresponding private resource of the D2D equipment and is allocated successfully.
45. a kind of base station characterized by comprising
Transceiver is used for receiving and transmitting signal;
Processor is used for:
It is asked by the Physical Random Access Channel PRACH that the transceiver receives the transmission of at least one device-to-device D2D equipment It asks;With
It is requested according to the PRACH, distribution is used for the public resource of D2D equipment, wherein the corresponding D2D of the PRACH request The quantity of equipment is more, then the public resource for distributing to the D2D equipment is more.
46. base station according to claim 45, which is characterized in that the PRACH request includes PRACH sequence;
The processor is used for:
It is requested described according to the PRACH, distribution is exclusively used in front of the public resource of D2D equipment, determines the PRACH sequence Belong to the first predetermined set, first predetermined set is the set for being exclusively used in the sequence that D2D equipment uses.
47. the base station according to claim 45 or 46, which is characterized in that the public resource is used for by D2D equipment in institute State the information that the transmission of other D2D equipment is detected and/or monitored on public resource.
48. the base station according to any one of claim 45 to 47, which is characterized in that the processor passes through with lower section Formula is realized requests according to the PRACH, and distribution is used for the public resource of D2D equipment:
When meeting preset condition, distribution is used for the public resource of D2D equipment;The preset condition includes at least one in following It is a:
The PRACH request is the PRACH request from D2D equipment received for the first time;
There is no available public resource when receiving PRACH request;
Public resource was not yet distributed before receiving the PRACH request;With
When receiving PRACH request, the last time public resource of distribution has discharged.
49. the base station according to any one of claim 45 to 47, which is characterized in that if currently allocated public money Source, then the processor is accomplished by the following way requests according to the PRACH, and distribution is used for the public resource of D2D equipment:
According to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request, weight New distribution is used for the public resource of D2D equipment;Or
According to the size of the public resource of last time distribution, currently the quantity of the D2D equipment accessed and PRACH request institute The quantity of corresponding D2D equipment, redistributes the public resource for D2D equipment.
50. the base station according to any one of claim 45 to 49, which is characterized in that the processor is used for:
The information of the public resource of the distribution is notified to the D2D equipment by the transceiver.
51. base station according to claim 50, which is characterized in that the processor is accomplished by the following way to described D2D equipment notifies the public resource of the distribution:
The information of the public resource of the distribution is notified to the D2D equipment of activated state by control signaling;And/or
The information of the public resource of the distribution is notified to the D2D equipment of Idle state by common signaling.
52. the base station according to claim 50 or 51, which is characterized in that the information of the public resource of the distribution includes institute State the public affairs of the running time-frequency resource location information of the public resource of distribution, the entry-into-force time of the public resource of the distribution and the distribution At least one of the period of resource altogether.
53. the base station according to any one of claim 45 to 52, which is characterized in that the PRACH, which is requested, includes PRACH sequence;The processor is used for:
It is that at least one described D2D is set in the public resource according to the corresponding relationship of the PRACH sequence and private resource Each D2D equipment in standby distributes private resource, and the private resource on the private resource for being sent letter by D2D equipment Breath.
54. base station according to claim 53, which is characterized in that the processor is accomplished by the following way according to The corresponding relationship of PRACH sequence and private resource is each of at least one described D2D equipment in the public resource D2D equipment distributes private resource:
According to the following formula, the private resource of the distribution is determined:
S=mod (M, N),
Wherein, S is the index of the private resource of the distribution, and M is the index of the PRACH sequence, and N is in the public resource The sum of resource, mod indicate modulo operation;
Alternatively,
According to the corresponding relationship between the PRACH sequence and the size of private resource, the private resource of the distribution is determined Size;According to the following formula, the initial position of the private resource of the distribution is determined:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of the distribution, and M is the index of the PRACH sequence, and N is institute The sum of resource in public resource is stated, mod indicates modulo operation.
55. the base station according to claim 53 or 54, which is characterized in that the processor is used for:
Accidental access response message is sent by each D2D equipment of the transceiver at least one described D2D equipment, with Convenient for indicating that at least one described corresponding private resource of D2D equipment is allocated successfully.
56. the base station according to any one of claim 45 to 55, which is characterized in that the processor is also used to:
In the case where detecting that the public resource is not used by the first predetermined amount of time, the public money of the distribution is discharged Source.
57. a kind of device-to-device D2D equipment characterized by comprising
Transceiver is used for receiving and transmitting signal;
Processor is used for:
The Physical Random Access Channel PRACH request sent by the transceiver to base station, in order to which the base station is according to institute PRACH request is stated, distribution is used for the public resource of D2D equipment;
The information of the public resource for the distribution that the base station is sent is received by the transceiver, wherein the PRACH is asked Ask the quantity of corresponding D2D equipment more, then the public resource for distributing to the D2D equipment is more.
58. D2D equipment according to claim 57, which is characterized in that the PRACH request includes PRACH sequence;
The processor is used for:
Before the PRACH request that the D2D equipment is sent to base station, the PRACH is selected from the first predetermined set Sequence, first predetermined set are the set for being exclusively used in the sequence that D2D equipment uses.
59. the D2D equipment according to claim 57 or 58, which is characterized in that the public resource by D2D equipment for being existed The information of other D2D equipment transmission is detected and/or monitored on the public resource.
60. the D2D equipment according to any one of claim 57 to 59, which is characterized in that
The public resource is that the base station is distributed when meeting preset condition;The preset condition includes following at least one It is a:
The PRACH request is the PRACH request from D2D equipment that the base station receives for the first time;
There is no available public resource when the base station receives PRACH request;
Public resource was not yet distributed before the base station receives the PRACH request;With
When the base station receives PRACH request, the last time public resource of distribution has discharged.
61. the D2D equipment according to any one of claim 57 to 59, which is characterized in that if currently allocated public affairs It is total to resource, then the base station is according to the public resource of PRACH request distribution:
According to the quantity of the corresponding D2D equipment of the service condition of the public resource of last time distribution and PRACH request, weight The newly assigned public resource for D2D equipment;Or
According to the size of the public resource of last time distribution, currently the quantity of the D2D equipment accessed and PRACH request institute The quantity of corresponding D2D equipment, the public resource for D2D equipment redistributed.
62. the D2D equipment according to any one of claim 57 to 61, which is characterized in that the processor is for leading to It crosses following manner and realizes that the information for receiving the public resource of the distribution of the base station transmission by the transceiver includes:
The control signaling that the base station is sent is received by the transceiver, wherein includes the distribution in the control signaling Public resource information;And/or
The common signaling that the base station is sent is received by the transceiver, wherein includes the distribution in the common signaling Public resource information.
63. the D2D equipment according to any one of claim 57 to 62, which is characterized in that the public money of the distribution The information in source include the running time-frequency resource location information of the public resource of the distribution, the distribution public resource entry-into-force time At least one of with the period of public resource of the distribution.
64. the D2D equipment according to any one of claim 57 to 63, which is characterized in that the PRACH, which is requested, includes PRACH sequence;There are corresponding relationships between the PRACH sequence and the private resource distributed for the D2D equipment, described dedicated Resource is used to send information on the private resource by D2D equipment.
65. D2D equipment according to claim 64, which is characterized in that the corresponding relationship includes:
S=mod (M, N),
Wherein, S is the index of the private resource of the distribution, and M is the index of the PRACH sequence, and N is in the public resource The sum of resource, mod indicate modulo operation;
Alternatively,
Existing first corresponding relationship and described between the PRACH sequence and the size of the private resource of the distribution Existing following functional relation between the index of the initial position of PRACH sequence and the private resource of the distribution:
S1=mod (M, N),
Wherein, S1 is the index of the initial position of the private resource of the distribution, and M is the index of the PRACH sequence, and N is institute The sum of resource in public resource is stated, mod indicates modulo operation.
66. the D2D equipment according to claim 64 or 65, which is characterized in that the processor is used for:
The accidental access response message that the base station is sent is received by the receiver, wherein the random access response disappears Breath is used to indicate the corresponding private resource of the D2D equipment and is allocated successfully.
67. a kind of computer readable storage medium, which is characterized in that including instruction, when described instruction is run on computers, So that the computer executes the method as described in claim 1-12 any one.
68. a kind of computer readable storage medium, which is characterized in that including instruction, when described instruction is run in D2D equipment When, so that the D2D equipment executes the method as described in claim 13-22 any one.
CN201280076731.3A 2012-11-16 2012-11-16 Resource allocation methods, base station and D2D equipment Active CN104770029B (en)

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 (2)

Publication Number Publication Date
CN104770029A CN104770029A (en) 2015-07-08
CN104770029B true CN104770029B (en) 2019-03-05

Family

ID=50730517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280076731.3A Active CN104770029B (en) 2012-11-16 2012-11-16 Resource allocation methods, base station and D2D equipment

Country Status (2)

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

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10034311B2 (en) 2014-09-22 2018-07-24 Lg Electronics Inc. Method and apparatus for transceiving D2D signal of PRACH resource
US10687232B2 (en) 2014-10-07 2020-06-16 Nec Corporation Control apparatus and method for inter-terminal direct communication
WO2017011934A1 (en) 2015-07-17 2017-01-26 华为技术有限公司 Method for sending/receiving signal and related device
CN106408930A (en) * 2015-07-31 2017-02-15 中国联合网络通信集团有限公司 Method and apparatus for creating driving fleet

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011109941A1 (en) * 2010-03-11 2011-09-15 Nokia Corporation Method and apparatus for device-to-device communication setup
CN102238730A (en) * 2011-07-25 2011-11-09 电信科学技术研究院 Radio resource management method and device
CN102291845A (en) * 2010-06-21 2011-12-21 中兴通讯股份有限公司 Random access method and system
CN102754485A (en) * 2010-02-12 2012-10-24 交互数字专利控股公司 Access control and congestion control in machine-to-machine communication

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9107202B2 (en) * 2008-05-15 2015-08-11 Nokia Corporation Methods, apparatuses and computer program products for providing coordination of device to device communication
WO2010082084A1 (en) * 2009-01-16 2010-07-22 Nokia Corporation Apparatus and method ofscheduling resources for device-to-device communications
JP5763835B2 (en) * 2011-04-19 2015-08-12 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Radio base station and method in radio base station for handling interference and scheduling radio resources accordingly

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102754485A (en) * 2010-02-12 2012-10-24 交互数字专利控股公司 Access control and congestion control in machine-to-machine communication
WO2011109941A1 (en) * 2010-03-11 2011-09-15 Nokia Corporation Method and apparatus for device-to-device communication setup
CN102291845A (en) * 2010-06-21 2011-12-21 中兴通讯股份有限公司 Random access method and system
CN102238730A (en) * 2011-07-25 2011-11-09 电信科学技术研究院 Radio resource management method and device

Also Published As

Publication number Publication date
WO2014075299A1 (en) 2014-05-22
CN104770029A (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN111356216B (en) Communication method and related equipment thereof
CN104754524B (en) A kind of method of group communication, user equipment, base station equipment and system
RU2754867C1 (en) Method and device for transmitting machine-to-machine downlink control information, base station and user equipment
CN104796986A (en) Method and equipment for D2D communication
US11064540B2 (en) Data sending method, resource measurement method, apparatus, and device
TW201218836A (en) Channel requests for machine-type devices
CN104770029B (en) Resource allocation methods, base station and D2D equipment
CN108366413B (en) Terminal, network device and communication method
WO2008014708A1 (en) A load control method and corresponding system in the random access procedure
US20140064252A1 (en) Method and device for selecting a channel according to a device&#39;s mobility
CN107926072A (en) Connect the method and apparatus established
US9848398B2 (en) Scheduling method between terminals for search resource allocation in direct device to device communication and device thereof
CN108702790A (en) A kind of data transmission method under unlicensed spectrum and system, terminal device
TW200947963A (en) Wireless communication method and apparatus for managing radio resources using silent measurement periods
CN110177384A (en) Cut-in method, device, wireless access point and readable storage medium storing program for executing
EP3068148A1 (en) Control node resource selection and allocation method and device
CN104427574B (en) A kind of method and device of access control
WO2013121399A1 (en) Method and apparatus for allocating discovery resources for device to device communications
US10979970B2 (en) Network channel allocation method and apparatus
CN111757318B (en) Communication method and device
TWI645728B (en) User equipment and method of controlling discovery signal communication of user equipment
CN105191460B (en) Information transmission method, equipment and system
US20180255475A1 (en) Radio resource determining method and apparatus, and service server
CN115484554B (en) Method and device for reporting user equipment capacity of orthogonal frequency division multiplexing system
CN109756950A (en) Select method, user terminal and the network side equipment of core net

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant