Content of the invention
Embodiments provide a kind of resource selection method and device, in order to select resource every time in node
When, select two resources, one is used for transmission services bag, and another is used for the money that this business packet is transmitted in instruction
Source, so that other nodes can select different resource to enter according to this instruction when receiving this instruction
Row takies, thus avoid resource collision as far as possible, and avoids continually carrying out resource gravity treatment, improves system
Reliability.
A kind of resource selection method provided in an embodiment of the present invention, including:
Determine and need to select the resource for transmission services bag;
Select first resource and Secondary resource, wherein said Secondary resource is used for transmission services bag, described first
Resource needs to take this Secondary resource transmission services bag for instruction, and wherein said resource is time slot or time-frequency
Block.
Need to select the resource for transmission services bag with it, determining;Select first resource and second
Resource, wherein said Secondary resource is used for transmission services bag, and described first resource is used for instruction needs occupancy should
Secondary resource transmission services bag, wherein said resource is time slot or time frequency block, it is achieved thereby that each in node
When selecting resource, select two resources, i.e. first resource and Secondary resource, Secondary resource is used for transmission services
Bag, first resource is used for the Secondary resource that this business packet is transmitted in instruction, so that other nodes are being received
To this first resource instruction when can determine that Secondary resource is occupied according to this instruction, be selected differently from second
The resource of resource is taken, thus avoid resource collision as far as possible, and avoids continually carrying out resource gravity treatment,
Improve the reliability of system.
It is preferred that the method also includes:
Send in described first resource needs to take the instruction letter of this Secondary resource transmission services bag for instruction
Breath;
Send business packet in described Secondary resource.
It is preferred that only before the Secondary resource of occupancy first after this resource selection sends business packet, described
First resource sends to be needed to take the configured information of this Secondary resource transmission services bag for instruction.
It is preferred that after taking Secondary resource transmission business packet success after this resource selection first, discharging institute
State first resource.
Another kind resource selection method provided in an embodiment of the present invention, including:
Receiving external node in first resource needs to take the configured information of Secondary resource transmission services bag;
During the resource selecting to need occupancy, according to described configured information, select or reselect this
Ground node needs the resource taking, and wherein said resource is time slot or time frequency block.
It is preferred that described local node needs the resource taking different from described Secondary resource.
A kind of resource selection device provided in an embodiment of the present invention, including:
Determining unit, needs to select the resource for transmission services bag for determining;
Select unit, for selecting first resource and Secondary resource, wherein said Secondary resource is used for transmitting industry
Business bag, described first resource needs to take this Secondary resource transmission services bag, wherein said resource for instruction
For time slot or time frequency block.
It is preferred that described select unit, it is additionally operable to:
Send in described first resource needs to take the instruction letter of this Secondary resource transmission services bag for instruction
Breath;
Send business packet in described Secondary resource.
It is preferred that the Secondary resource of occupancy first only after this resource selection for the described select unit sends industry
Before business bag, sending in described first resource needs to take the instruction of this Secondary resource transmission services bag for instruction
Information.
It is preferred that described select unit is additionally operable to:Take Secondary resource first to send after this resource selection
After business packet success, discharge described first resource.
Another kind resource selection device provided in an embodiment of the present invention, including:
Receiving unit, needs to take Secondary resource transmission services bag for receiving external node in first resource
Configured information;
Select unit, for during the resource selecting to need occupancy, according to described configured information, selects
Select or reselect the resource that local node needs to take, wherein said resource is time slot or time frequency block.
It is preferred that described local node needs the resource taking different from described Secondary resource.
It is preferred that this device is also included in the first resource selection device provided in an embodiment of the present invention really
Order unit and select unit.
Specific embodiment
Embodiments provide a kind of resource selection method and device, in order to select resource every time in node
When, select two resources, one is used for transmission services bag, and another is used for the money that this business packet is transmitted in instruction
Source, so that other nodes can select different resource to enter according to this instruction when receiving this instruction
Row takies, thus avoid resource collision as far as possible, and avoids continually carrying out resource gravity treatment, improves system
Reliability.
Referring to Fig. 1, a kind of resource selection method provided in an embodiment of the present invention, including:
S101, determination need to select the resource for transmission services bag;
S102, selection first resource and Secondary resource, wherein said Secondary resource is used for transmission services bag, institute
Stating first resource needs to take this Secondary resource transmission services bag for instruction, wherein said resource be time slot or
Time frequency block.
It is preferred that the method also includes:
Send in described first resource needs to take the instruction letter of this Secondary resource transmission services bag for instruction
Breath;
Send business packet in described Secondary resource.
It is preferred that only before the Secondary resource of occupancy first after this resource selection sends business packet, described
First resource sends to be needed to take the configured information of this Secondary resource transmission services bag for instruction.
It is preferred that after taking Secondary resource transmission business packet success after this resource selection first, discharging institute
State first resource.
It should be noted that in the embodiment of the present invention, for resource selection each time, selecting in this resource
Before the Secondary resource of occupancy first after selecting sends business packet, rather than the occupancy first second after node start provides
Before source sends business packet, sending in first resource needs to take this Secondary resource transmission services bag for instruction
Configured information.The resource selection each time that resource collides after gravity treatment all has one and takies the first
Before two resources send business packet, being sent by first resource needs to take this Secondary resource transmission industry for instruction
The configured information of business bag.
From the angle of this node, once this resource selection completes, and after Secondary resource transmission success (
Just be equivalent to node certainly account for resource selection success after), this node would not use first resource, that is,
Also just using a first resource.
Between described first resource and described Secondary resource, interlude is preset value.This preset value can root
Depending on being actually needed, simply from the time, first resource above, Secondary resource later, phase
Away from more as far as possible, but can and do not require, minimum requirement is decoding process time delay, relevant with chip,
Good chip does not need time delay at present, just can solve in present sub-frame, not so good chip may need
The interval of 1 to 2 time slots.
Referring to Fig. 2, another kind resource selection method provided in an embodiment of the present invention, including:
S201, first resource receive external node need take Secondary resource transmission services bag instruction letter
Breath;
S202, during selecting to need the resource that takies, according to described configured information, select or again
Local node is selected to need the resource taking, wherein said resource is time slot or time frequency block.
It is preferred that described local node needs the resource taking different from described Secondary resource.
Resource described in the embodiment of the present invention, for example, can be time slot, and for TDM, that is, resource is
Subsection with regard to a whole time interval resource, for FDM, i.e. multiple one time interval resource of node frequency division multiplexing
, like this, the least unit of resource is not just time slot, but time frequency block.
That is, when gap is specifically described as described resource when employed:
After this node receives the described configured information of external node transmission, need to do one according to this configured information
Internal judgement a bit:If this node also has selected for the second time slot of this external node selection as this section
Second time slot of point, no matter the first time slot of this section point selection whether sent, then carry out the gravity treatment of resource,
Discharge the second time interval resource in advance, if the first time slot has sent, also need to reselect and once weigh
New transmission is once;If the also non-selected resource of node, that is, the first time slot and the second time slot are all also unselected, then originally
First time slot that node selects and the second time slot are required for the second time slot with instruction in described configured information
Different.
In the embodiment of the present invention, node selects (to be initially accessed and field that time slot collides when time slot
Under scape), select 2 time slots, and be internally recorded as the first time slot and the second time slot respectively:Worked as with distance
The length in front moment, to divide, is the first time slot apart from the closer time slot of current time, another one time slot
For the second time slot.
Only send the information characterizing the second slot occupancy information on the first slot;Industry is sent on the second time slot
Business bag.After Slot selection completes, then business packet is only sent on the second time slot, the first time slot no longer enters
Row is safeguarded.
In addition, from the perspective of from node receives, also not characterizing to the first time slot.When receiving
The configured information that one time slot sends, acquiescence is equivalent to and receiving the second Time Slot Occupancy time slot, will first when
Gap to be processed as special time slot.
Not as effective reserving time slots, the first time slot that acquiescence selects every time only can take 1 time first time slot.
By a kind of this mode, do not need to arrange special control channel, time slot is obtained with the expense of single
The reliability selecting and motility.When reducing Slot selection (be initially accessed and collide),
There is the probability of time slot collision.The probability that time slot is collided from:A time slot is selected to collide reduction
All collide to selecting 2 time slots.
Technical scheme provided in an embodiment of the present invention, is all effective for optimizing all scenes, can enter one
Step is specifically:
First time slot collision, the second time slot does not collide;Systematic function is no affected.
First time slot does not collide, the second time slot collision;Time slot collision can be found ahead of time.
All there is time slot collision in the first time slot and the second time slot;Subproblem can be solved.By the difference of node
Alienation receives and feeds back to find time slot collision.
First time slot and the second time slot all do not have generation time slot collision.
Name a specific embodiment.
Assume that node A and node B selects time slot, node C has safeguarded time slot 7.
Node A have selected two time slots, respectively time slot 3 and time slot 6, time slot 3 as the first time slot,
Time slot 6 is as the second time slot;
Node B have selected two time slots:Time slot 4 and time slot 6, time slot 4 is as the first time slot, time slot
6 as the second time slot.
For time slot 3:
Node A in the first time slot, sends configured information on time slot 3, characterizes the occupancy time slot of oneself when being
Gap 6, and intend to be to send specific business information on time slot 6 on the second time slot.
After node C receives the configured information that node A sends on time slot 3, updating time slot 6 is section
Point A takies.Any process is not done to time slot 3.
After the message that Node-B receiver sends to node A it is known that node A select be with oneself when
Gap identical time slot.Just can know that oneself there occurs time slot collision, such that it is able to select other in advance ahead of time
Time slot, it is to avoid the generation of time slot collision.For example reselect time interval resource, business is sent on time slot 8
Bag.
To next cycle, node A and node B is accounting for time slot, certainly that is, respectively in time slot 6 and time slot
The business of oneself is sent on 8.
For time slot 4:
Node B, in the first time slot, sends configured information on time slot 4, characterizes oneself and will take time slot 8.
The nodes records node B receiving this configured information occupies time slot 8.
For time slot 6:
Node A sends business datum on time slot 6.
Receiving node does not do to the internal time slot seizure condition of time slot 6 and updates.
For time slot 8:
Node B sends business datum on time slot 8.
Receiving node does not do to the internal time slot seizure condition of time slot 8 and updates.
Corresponding with said method, referring to Fig. 3, a kind of resource selection device provided in an embodiment of the present invention,
Including:
Determining unit 11, needs to select the resource for transmission services bag for determining;
Select unit 12, for selecting first resource and Secondary resource, wherein said Secondary resource is used for transmitting
Business packet, described first resource needs to take this Secondary resource transmission services bag, wherein said money for instruction
Source is time slot or time frequency block.
It is preferred that described select unit, it is additionally operable to:
Send in described first resource needs to take the instruction letter of this Secondary resource transmission services bag for instruction
Breath;
Send business packet in described Secondary resource.
It is preferred that the Secondary resource of occupancy first only after this resource selection for the described select unit sends industry
Before business bag, sending in described first resource needs to take the instruction of this Secondary resource transmission services bag for instruction
Information.
It is preferred that described select unit is additionally operable to:Take Secondary resource first to send after this resource selection
After business packet success, discharge described first resource.
Referring to Fig. 4, another kind resource selection device provided in an embodiment of the present invention, including:
Receiving unit 21, needs to take Secondary resource transmission services for receiving external node in first resource
The configured information of bag;
Select unit 22, for during the resource selecting to need occupancy, according to described configured information,
Select or reselect the resource that local node needs to take, wherein said resource is time slot or time frequency block.
It is preferred that described local node needs the resource taking different from described Secondary resource.
It is preferred that this device is also included in the first resource selection device provided in an embodiment of the present invention really
Order unit 11 and select unit 12.That is, this device, it is possible to have resource choosing in above-mentioned first
Select the function of device.
Referring to Fig. 5, the third resource selection device provided in an embodiment of the present invention, including:
Processor 600, for reading the program in memorizer 620, executes following process:
Determine and need to select the resource for transmission services bag;
Select first resource and Secondary resource, wherein said Secondary resource is used for transmission services bag, described first
Resource needs to take this Secondary resource transmission services bag for instruction, and wherein said resource is time slot or time-frequency
Block.
It is preferred that processor 600 is additionally operable to:
Being sent in described first resource by transceiver 610 needs to take this Secondary resource transmission industry for instruction
The configured information of business bag;
Business packet is sent in described Secondary resource by transceiver 610.
It is preferred that the Secondary resource of occupancy first only after this resource selection for the processor 600 sends business packet
Before, being sent in described first resource by transceiver 610 needs to take this Secondary resource transmission industry for instruction
The configured information of business bag.
It is preferred that processor 600 is additionally operable to:Take Secondary resource first and send industry after this resource selection
After business is bundled into work(, discharge described first resource.
In addition, processor 600 is additionally operable to:
Receiving external node by transceiver 610 in first resource needs to take Secondary resource transmission services bag
Configured information;
During the resource selecting to need occupancy, according to described configured information, select or reselect this
Ground node needs the resource taking, and wherein said resource is time slot or time frequency block.
It is preferred that described local node needs the resource taking different from described Secondary resource.
Transceiver 610, for receiving and sending data under the control of processor 600.
Wherein, in Figure 5, bus architecture can include bus and the bridge of any number of interconnection, specifically by
One or more processors and the various electrical chains of the memorizer of memorizer 620 representative that processor 600 represents
It is connected together.Bus architecture can also be by such as ancillary equipment, manostat and management circuit or the like
Various other circuit link together, and these are all it is known in the art, therefore, no longer it are entered herein
Row further describes.EBI provides interface.Transceiver 610 can be multiple element, that is, include sending
Machine and receiver, provide the unit for communicating over a transmission medium with various other devices.For different
User equipment, user interface 630 can also be and external interior can connect the interface needing equipment, the equipment of connection
Including but not limited to keypad, display, speaker, mike, stick etc..
Processor 600 is responsible for bus architecture and common process, and memorizer 620 can store processor
600 data being used in execution operation.
In sum, in the embodiment of the present invention, node carries out one time slot of more options when Slot selection and uses
To characterize the reserving time slots of node, this temporary time slot is single use.Therefore, the embodiment of the present invention is not
So that node can know whether time slot collision to occur in advance in the case of introducing excessive expense, thus
Select other resources, it is to avoid the generation of resource collision, improve systematic function.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot
Close the form of the embodiment of software and hardware aspect.And, the present invention can adopt and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (including but not limited to disk memory and
Optical memory etc.) the upper computer program implemented form.
The present invention is to produce with reference to method according to embodiments of the present invention, equipment (system) and computer program
The flow chart of product and/or block diagram are describing.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or the flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embed
The processor of formula datatron or other programmable data processing device is to produce a machine so that passing through to calculate
The instruction of the computing device of machine or other programmable data processing device produces for realizing in flow chart one
The device of the function of specifying in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process and set
So that being stored in this computer-readable memory in the standby computer-readable memory working in a specific way
Instruction produce and include the manufacture of command device, the realization of this command device is in one flow process or multiple of flow chart
The function of specifying in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Obtain and series of operation steps is executed on computer or other programmable devices to produce computer implemented place
Reason, thus the instruction of execution is provided for realizing in flow chart one on computer or other programmable devices
The step of the function of specifying in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this to the present invention
Bright spirit and scope.So, if the present invention these modification and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprise these changes and modification.