Summary of the invention
The embodiment of the present application provides a kind of resource selection method and device, is multiple passes under multicarrier scene to realize
The business packet of connection carries out resource selection.
In a first aspect, providing a kind of resource selection method, comprising:
Terminal selects one or more candidate carriers from candidate carrier set, obtains transmission carrier set;Wherein, described
Candidate transport carrier set is according to the load of candidate carrier, the candidate carrier set in service attribute, candidate carrier set
Resource occupation in middle candidate carrier excludes the selection of at least one of result;
The terminal needs to occupy for each business packet in multiple associated business packets according to the transmission of corresponding service packet
Frequency domain resource size is corresponding service Bao Xuan from the surplus resources after all carrier resources exclusion of the transmission carrier set
Select resource.
Optionally, according to service attribute, one or more candidate carriers are selected from candidate carrier set, comprising:
According to the type of service of data to be transmitted, the service class with the data to be transmitted is selected from candidate carrier set
The corresponding one or more candidate carriers of type, wherein the candidate carrier in the candidate carrier set is corresponding with type of service
Relationship is to be pre-configured or configured by high level;Alternatively, being selected from candidate carrier set according to the service priority of data to be transmitted
Select one or more candidate carriers corresponding with the service priority of the data to be transmitted, wherein the candidate carrier set
In candidate carrier and service priority corresponding relationship be pre-configured or by high level configure.
Optionally, according to the load of candidate carrier in service attribute and candidate carrier set, from the candidate carrier set
The one or more candidate carriers of middle selection, comprising: according to the service priority of data to be transmitted and service priority and carrier wave
Corresponding relationship between load determines first carrier load corresponding with the service priority of the data to be transmitted;According to institute
State first carrier load and the candidate carrier set in candidate carrier load, from the candidate carrier set selection with
The first carrier loads corresponding one or more candidate carriers.
Optionally, it is remaining candidate resource ratio of the carrier wave after resource exclusion that the resource occupation of a carrier wave, which excludes result,
Example, the remaining candidate resource ratio of a candidate carrier are that the carrier wave meets first in the remaining candidate resource after resource exclusion
The candidate resource quantity and the carrier wave that business packet frequency domain resource requires meet the first business in the candidate resource before resource exclusion
The ratio for the candidate resource quantity that packet frequency domain resource requires, wherein the first business packet is to pass in the multiple associated business packet
It is defeated to need to occupy the maximum business packet of frequency domain resource;Alternatively, the surplus resources of a carrier wave, which occupy, excludes result as on the carrier wave
The average value of the corresponding remaining candidate resource ratio of each business packet in the multiple associated business packet, one on a carrier wave
The corresponding remaining candidate resource ratio of business packet is that the carrier wave meets the business packet in the remaining candidate resource after resource exclusion
The candidate resource quantity and the carrier wave that frequency domain resource requires meet business packet frequency domain money in the candidate resource before resource exclusion
The ratio for the candidate resource quantity that source requires.
Optionally, the resource occupation according in the candidate carrier set in candidate carrier excludes as a result, from described
One or more candidate carriers are selected in candidate carrier set, comprising:
Carry out resource exclusion;The resource exclusion includes: time domain where sending data for the terminal in perception window
On all frequency domain resources, determine all possible reserve resource of the terminal, if in the candidate carrier set exist conflict
Resource, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding carriers in the candidate carrier set, wherein institute
Stating conflicted resource is there is partly or entirely overlapping candidate resource with the reserve resource;And according in perception window
The SA information that other terminals listened to are sent determines all possible reserve resource of other described terminals;If the candidate load
The reference signal for leading directly to link shared channels there are physics indicated by conflicted resource and the SA information in wave set receives function
The RSRP of rate PSSCH is higher than PSSCH-RSRP threshold value, then accordingly waits the conflicted resource from the candidate carrier set
It selects and is excluded in the corresponding candidate resource of carrier wave;
Each candidate carrier after excluding for resource transmits needs according to the first business packet in multiple associated services packets
The quantity of the sets of sub-channels sub-channels of occupancy determines that candidate carrier meets institute in the remaining candidate resource after resource exclusion
It states the quantity for the candidate sub-channel set that the number of sub-channels that the transmission of the first business packet needs to occupy requires and is excluded in resource
Meet the candidate sub-channel set that the number of sub-channels that the first business packet transmission needs to occupy requires in preceding candidate resource
Quantity, according to candidate carrier in the candidate sub-channel collective number after resource exclusion and the candidate sub-channel before resource exclusion
Collective number determines the remaining candidate resource ratio of candidate carrier;
According to the remaining candidate resource ratio of each candidate carrier in the candidate carrier set, from the candidate carrier collection
One or more candidate carriers are selected in conjunction.
Optionally, the resource occupation according in the candidate carrier set in candidate carrier excludes as a result, from described
One or more candidate carriers are selected in candidate carrier set, comprising:
Carry out resource exclusion;The resource exclusion includes: time domain where sending data for the terminal in perception window
On all frequency domain resources, determine all possible reserve resource of the terminal, if in the candidate carrier set exist conflict
Resource, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding carriers in the candidate carrier set, wherein institute
Stating conflicted resource is there is partly or entirely overlapping candidate resource with the reserve resource;And for each candidate carrier,
According to the SA information that other terminals listened in perception window are sent, all possible reservation money of other described terminals is determined
Source, if there are the RSRP of PSSCH indicated by conflicted resource and the SA information to be higher than PSSCH-RSRP in the candidate carrier
Limit value then excludes the conflicted resource from the corresponding candidate resource of the candidate carrier, wherein the conflicted resource for institute
It states reserve resource and there is partly or entirely overlapping candidate sub-channel;
Each candidate carrier after being excluded for resource, the number of subchannels for needing to occupy according to the transmission of each business packet respectively
The corresponding remaining candidate resource ratio of corresponding service packet in the candidate carrier that determines is measured, a business packet is corresponding on a carrier wave
Remaining candidate resource ratio is that the carrier wave meets business packet frequency domain resource requirement in the remaining candidate resource after resource exclusion
Candidate resource quantity and the carrier wave resource exclusion before candidate resource in meet the business packet frequency domain resource requirement candidate
The ratio of resource quantity;
Each candidate carrier after excluding for resource, should according to the corresponding remaining candidate resource ratio-dependent of each business packet
The arithmetic average or weighted average of the remaining candidate resource ratio of candidate carrier, according to the multiple in each candidate carrier
The arithmetic average or weighted average of the corresponding remaining candidate resource ratio of associated business packet, from the candidate carrier
One or more candidate carriers are selected in set.
Optionally, the resource occupation according in the candidate carrier set in candidate carrier excludes as a result, from described
One or more candidate carriers are selected in candidate carrier set, comprising:
Carry out resource exclusion;The resource exclusion includes: time domain where sending data for the terminal in perception window
On all frequency domain resources, determine all possible reserve resource of the terminal, if in the candidate carrier set exist conflict
Resource, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding carriers in the candidate carrier set, wherein institute
Stating conflicted resource is there is partly or entirely overlapping candidate resource with the reserve resource;And for each candidate carrier,
According to the SA information that other terminals listened in perception window are sent, all possible reservation money of other described terminals is determined
Source, if there are the RSRP of PSSCH indicated by conflicted resource and the SA information to be higher than PSSCH-RSRP in the candidate carrier
Limit value then excludes the conflicted resource from the corresponding candidate resource of the candidate carrier, wherein the conflicted resource for institute
It states reserve resource and there is partly or entirely overlapping candidate resource;
The remaining candidate resource ratio for determining each candidate carrier, according to the surplus resources ratio of each candidate carrier, from
One or more candidate carriers are selected in the candidate carrier set.
Optionally, the candidate resource is candidate sub-channel, and the residue candidate resource ratio is surplus after resource excludes
The ratio of candidate sub-channel quantity before remaining the latter's number of sub-channels and resource exclusion;Alternatively, the candidate resource is candidate
Resource block PRB is managed, the remaining candidate resource ratio is the time before remaining candidate's PRB quantity and resource exclusion after resource excludes
Select the ratio of PRB quantity.
Optionally, it for each business packet in multiple associated business packets, needs to occupy according to the transmission of corresponding service packet
Frequency domain resource size is corresponding service packet from the surplus resources after all carrier resources exclusion of the transmission carrier set
Select resource, comprising:
For each carrier wave in the transmission carrier set, respectively according to each industry in the multiple associated business packet
Business packet transmission needs the frequency domain resource size occupied to determine the corresponding remaining candidate resource ratio of corresponding service packet;
There is the corresponding remaining candidate resource ratio of business packet lower than given threshold if having on first carrier, for described the
One carrier wave promotes the corresponding PSSCH-RSRP threshold value of the first carrier according to the step-length of setting, and for this first
Carrier wave re-starts the resource according to the PSSCH-RSRP threshold value after promotion and excludes, until all business on first carrier
Corresponding remaining candidate resource ratio is wrapped to reach or higher than until the given threshold;Wherein, first carrier is the biography
A carrier wave in defeated carrier set;
If the corresponding remaining candidate resource ratio of all business packets is impartial on all carrier waves in the transmission carrier set
In or be higher than the given threshold, then for each business packet in associated multiple business packets, respectively to the transmission
Meet the frequency that the transmission of corresponding service packet needs to occupy in the remaining candidate resource after the exclusion of all carrier resources in carrier set
The candidate resource of domain resource size is ranked up, from the time after sequence according to straight-through link received signals intensity instruction S-RSSI
It selects and selects the low one group of candidate resource of S-RSSI in resource, be corresponding service in one group of candidate resource low from the S-RSSI
Packet selection resource;The S-RSSI is the linear mean value of RSSI of all subchannels on candidate resource.
Optionally, it for each business packet in multiple associated business packets, needs to occupy according to the transmission of corresponding service packet
Frequency domain resource size is corresponding service Bao Xuan from the surplus resources after all carrier resources exclusion of the transmission carrier set
Select resource, comprising:
For whole carrier waves in the transmission carrier set, respectively according to each industry in the multiple associated business packet
Whether the frequency domain resource size that business packet transmission needs occupy, which determines to have in each time domain resource, transmits the multiple association
Frequency domain resource needed for business packet, if frequency domain needed for having the multiple business packet of transmission in a time domain resource provides
The time domain resource is then denoted as available by source;
If available time domain resource quantity is lower than available units time-domain resource threshold value, it is directed to the transmission carrier set
Whole carrier waves in conjunction respectively promote the corresponding PSSCH-RSRP threshold value of each carrier wave according to the step-length of setting, root
It re-starts the resource according to the PSSCH-RSRP threshold value after promotion to exclude, until whole loads in the transmission carrier set
Available time domain resource quantity reaches or is higher than the available units time-domain resource threshold value on wave;
If available time domain resource quantity reaches or be higher than available units time-domain resource threshold value, each list is calculated
The linear mean value of S-RSSI of all available subchannels in the time-domain resource of position, when according to the linear mean value of the S-RSSI to available units
Domain resource is ranked up, and the low one group of time domain resource of S-RSSI is selected from the time domain resource after sequence, from described
In one group of S-RSSI low time domain resource, the time domain resource for meeting the number of transmissions is selected;It is transmitted in each satisfaction
It is each business packet selection resource in the multiple associated services packet in the time domain resource of number.
Optionally, it for each business packet in multiple associated business packets, needs to occupy according to the transmission of corresponding service packet
Frequency domain resource size is corresponding service packet from the surplus resources after all carrier resources exclusion of the transmission carrier set
Select resource, comprising:
Step A: carrying out resource exclusion, and the resource exclusion includes: to send data institute for the terminal in perception window
All frequency domain resources in the time domain determine all possible reserve resource of the terminal;If being deposited in the transmission carrier set
In conflicted resource, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding carriers in the transmission carrier set;
Wherein, the conflicted resource is there is partly or entirely overlapping candidate resource with the reserve resource;And
According to the SA information that other terminals listened in perception window are sent, all possibility of other described terminals are determined
Reserve resource;If in the transmission carrier set, there are the RSRP high of PSSCH indicated by conflicted resource and the SA information
In PSSCH-RSRP threshold value, then by the conflicted resource from the transmission carrier set the corresponding candidate of corresponding candidate carrier wave
It is excluded in resource;
Step B: for each carrier wave in the transmission carrier set, respectively according in the multiple associated business packet
Each business packet transmission needs the frequency domain resource size occupied to determine the corresponding remaining candidate resource ratio of corresponding service packet, if having
The remaining candidate resource ratio of first carrier is lower than given threshold, then is transferred to step C;If the remaining candidate resource ratio of each carrier wave
Example is equal to or higher than the given threshold, then is transferred to step D;Wherein, first carrier is one in the transmission carrier set
Carrier wave;
Step C: being directed to the first carrier, according to the step-length of setting by the corresponding PSSCH-RSRP thresholding of the first carrier
Value is promoted, and re-executes the step A for the first carrier;
Step D: for each business packet in associated multiple business packets, own in the transmission carrier set
Meet the time for the frequency domain resource size that the transmission of corresponding service packet needs to occupy in remaining candidate resource after resource excludes on carrier wave
Resource is selected, is ranked up according to S-RSSI, one group of candidate resource for selecting S-RSSI low from the candidate resource after sequence, from institute
It states in one group of low candidate resource of S-RSSI, selects resource for corresponding service packet;The S-RSSI of one candidate resource is the candidate
The linear mean value of the RSSI of all subchannels in resource.
Optionally, it for each business packet in multiple associated business packets, needs to occupy according to the transmission of corresponding service packet
Frequency domain resource size is corresponding service Bao Xuan from the surplus resources after all carrier resources exclusion of the transmission carrier set
Select resource, comprising:
Step A: carrying out resource exclusion, and the resource exclusion includes: to send data institute for the terminal in perception window
All frequency domain resources in the time domain determine all possible reserve resource of the terminal;If being deposited in the transmission carrier set
In conflicted resource, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding carriers in the transmission carrier set;
Wherein, the conflicted resource is there is partly or entirely overlapping candidate resource with the reserve resource;And
According to the SA information that other terminals listened in perception window are sent, all possibility of other described terminals are determined
Reserve resource;If in the transmission carrier set, there are the RSRP high of PSSCH indicated by conflicted resource and the SA information
In PSSCH-RSRP threshold value, then by the conflicted resource from the transmission carrier set the corresponding candidate of corresponding candidate carrier wave
It is excluded in resource;
Step B: for whole carrier waves in the transmission carrier set, respectively according in the multiple associated business packet
Whether each business packet transmission needs the frequency domain resource size occupied to determine in each time domain resource has transmission described more
Frequency domain resource needed for a associated services packet, if having needed for transmitting the multiple associated services packet in a time domain resource
Frequency domain resource, then the time domain resource is denoted as available;
If available time domain resource quantity is lower than available units time-domain resource threshold value, it is transferred to step C;If the biography
Available time domain resource quantity reaches or is higher than the available units time domain and provides on whole carrier waves in defeated carrier set
Source threshold value is then transferred to step D;
Step C: according to the step-length of setting that each carrier wave is corresponding for each carrier wave in the transmission carrier set
PSSCH-RSRP threshold value is promoted, according to the PSSCH-RSRP threshold value after promotion, in the transmission carrier set
Each carrier wave re-execute the steps A;
Step D: the linear mean value of S-RSSI of all available subchannels in each time domain resource is calculated, according to the S-
The linear mean value of RSSI is ranked up available units time-domain resource, selects S-RSSI low from the time domain resource after sequence
One group of time domain resource in one group of time domain resource low from the S-RSSI, selects the unit for meeting the number of transmissions
Time-domain resource;From being each business in the multiple associated business packet in each time domain resource for meeting the number of transmissions
Packet selection resource.
Optionally, from one group of low candidate resource of the S-RSSI, when selecting resource for business packet:
If a candidate resource in the one group of S-RSSI low candidate resource has been selected as the money of a business packet
Source, the then candidate resource selected are no longer selected as the resource of other business packets;Alternatively,
If a candidate resource in the one group of S-RSSI low candidate resource has been selected as the money of a business packet
Source, then other candidate resources in the time domain resource where selected resource are no longer selected as the money of other business packets
Source.
Second aspect provides a kind of resource selection device, comprising:
Carrier selection module obtains transmission carrier wave for selecting one or more candidate carriers from candidate carrier set
Set;Wherein, the candidate transport carrier set is according to the load of candidate carrier, institute in service attribute, candidate carrier set
It states the resource occupation in candidate carrier set in candidate carrier and excludes the selection of at least one of result;
Resource selection module, for being transmitted according to corresponding service packet for each business packet in multiple associated business packets
The frequency domain resource size for needing to occupy is phase from the surplus resources after all carrier resources exclusion of the transmission carrier set
Business packet is answered to select resource.
The third aspect provides a kind of communication device, comprising: processor, memory, transceiver and bus interface;It is described
Processor executes the method that any possible scheme provides in above-mentioned first aspect for reading the program in memory.
Fourth aspect, provides a kind of computer storage medium, and the computer-readable recording medium storage has computer can
It executes instruction, the computer executable instructions are for making the computer execute any possible scheme in above-mentioned first aspect
The method.
In above-described embodiment, terminal can be according to the load of candidate carrier, the candidate in service attribute, candidate carrier set
Resource occupation in carrier set in candidate carrier excludes at least one of result, selected from candidate carrier set one or
Multiple candidate carriers obtain transmission carrier set, and the terminal is directed to each business packet in multiple associated business packets, according to
The frequency domain resource size that the transmission of corresponding service packet needs to occupy, after all carrier resources exclusion of the transmission carrier set
In surplus resources, resource is selected for corresponding service packet, so that can realize under multicarrier scene is that multiple associated business packets carry out
Resource selection.
Specific embodiment
Referring to Fig. 1, the network architecture being applicable in for the embodiment of the present application.As shown in Figure 1, resource of the terminal based on spontaneous selection
It is communicated using straight-through link with other terminals.Wherein, terminal can pass through perception in the resource pool for configuring or being pre-configured
Method, obtain the position of idling-resource, resource used in oneself transmission data selected in idle resource.Terminal can also
To randomly choose resource used in oneself transmission data in the resource pool for configuring or being pre-configured.The above-mentioned network architecture can be with
It is car networking framework, terminal therein can be V2X terminal.
Above-mentioned base station is specifically including but not limited to: evolved node B (evolved Node B, eNB), wireless network control
Device (radio network controller, RNC), node B (Node B, NB), base station controller (Base Station
Controller, BSC), base transceiver station (Base Transceiver Station, BTS), Home eNodeB is (for example, Home
Evolved NodeB or Home Node B, HNB), Base Band Unit (Base Band Unit, BBU), newly eat dishes without rice or wine base station (g
NodeB, gNB), transfer point (Transmitting and receiving point, TRP), launch point (Transmitting
Point, TP), mobile switching centre etc..Certain above-mentioned base station can also be substituted by other access point apparatus.
In existing LTE V2X technology, V2X terminal carries out resource selection on single carrier for business packet and goes forward side by side industry business
Transmission does not support to be that multiple associated business packets carry out carrier wave selection under multi-carrier case.Meanwhile in the multiple carrier case,
If supporting carrier wave selection, the behavior for carrying out carrier wave selection may influence the behavior of resource selection on determining carrier wave, for this purpose,
The embodiment of the present application proposes a kind of resource selection method and device, to realize under multi-carrier case being multiple associated business packets
Carry out resource selection.
Wherein, the multiple associated business packet can be multiple fragments an of business packet, be also possible to have association
Multiple business packets of relationship.
The embodiment of the present application is described in detail with reference to the accompanying drawing.
It referring to fig. 2, is resource selection flow diagram provided by the embodiments of the present application, as shown, the process may include
Following steps:
S201: terminal selects one or more candidate carriers from candidate carrier set, obtains transmission carrier set;Its
In, the candidate transport carrier set is according to the load of candidate carrier, the candidate load in service attribute, candidate carrier set
Resource occupation in wave set in candidate carrier excludes the selection of at least one of result.Wherein, the resource occupation excludes
As a result it can be indicated with remaining candidate resource ratio.The resource occupation excludes result can be according to certain in multiple associated services packets
The frequency domain resource size that a or each business packet transmission needs to occupy determines, can also transmit not based on associated services packet and need to account for
Frequency domain resource size determines.The terminal can be the V2X terminal in framework shown in Fig. 1.
Wherein, the candidate carrier set can be preset.By taking the terminal is V2X terminal as an example, when it is implemented, can
All or part of carrier wave on the working frequency range that V2X terminal is supported is as the candidate carrier in candidate carrier set.It needs
The quantity for the candidate carrier selected from candidate carrier set can be pre-configured with or be configured by high level, and the embodiment of the present application is to this
With no restriction.
In candidate carrier set, each candidate carrier is corresponding with respective resource.The corresponding resource of one candidate carrier,
On frequency domain be the carrier wave frequency, in the time domain can with Transmission Time Interval (transmission time interval,
TTI) or subframe is unit, naturally it is also possible to which as unit of the time quantum of other length, the embodiment of the present application does not limit this
System.In the embodiment of the present application, optionally, a resource includes but is not limited to: being in the time domain TTI or subframe or one
A short TTI, is below described the embodiment of the present application by taking subframe as an example.For example, for candidate carrier 1 and candidate carrier 2
Say, include: in the corresponding resource of candidate carrier 1 frequency domain be candidate carrier 1, in time domain be subframe 0, subframe 1 resource, candidate carries
Include: in the corresponding resource of wave 2 frequency domain be candidate carrier 2, in time domain be subframe 1 and subframe 2 resource.
S202: terminal needs to occupy for each business packet in multiple associated business packets according to the transmission of corresponding service packet
Frequency domain resource size, from it is described transmission carrier set all carrier resources exclude after surplus resources in, be corresponding service
Packet selection resource.
In S201, terminal can be according to the load of candidate carrier, candidate carrier set in service attribute, candidate carrier set
Resource occupation in middle candidate carrier excludes at least one of result, selects from candidate carrier set one or more candidate
Carrier wave, selected candidate carrier out form transmission carrier set.Give to following exemplary several selection candidate carriers
Method:
Candidate carrier selection method 1: candidate carrier is selected according to service attribute.
Service attribute may include type of service.Corresponding relationship between configurable type of service and candidate carrier, for example match
Mapping table is set, may include type of service mark and candidate carrier mark (or number) in the mapping table.The correspondence
Relationship can be pre-configured with (for example making an appointment) or be configured by high level.One type of service can correspond to one or more candidates
Carrier wave, a candidate carrier can also correspond to one or more types of service.Terminal can according to the type of service of data to be transmitted,
One or more candidate carriers corresponding with the type of service of the data to be transmitted are selected from candidate carrier set.
Service attribute may also comprise service priority.Corresponding relationship between configurable service priority and candidate carrier,
Such as configuration mapping table, it may include that service priority mark and candidate carrier mark (or are compiled in the mapping table
Number).The corresponding relationship can be pre-configured with (for example making an appointment) or be configured by high level.One service priority can correspond to one
A or multiple candidate carriers, a candidate carrier can also correspond to one or more service priority.Terminal can be according to be transmitted
The service priority of data selects one or more corresponding with the service priority of the data to be transmitted from candidate carrier set
A candidate carrier.
Candidate carrier selection method 2: candidate carrier is selected according to carrier load.
Terminal can carry out carrier load measurement to each candidate carrier in candidate carrier set, and according to each candidate load
The load of wave is ranked up candidate carrier, and the one or more of light load is then selected to wait from the candidate carrier after sequence
Select carrier wave.It in practical applications, can be by carrying out channel busy rate (Channel Busy Ratio, CBR) or channel to carrier wave
Occupancy (Channel Occupancy Ratio, CR) is measured to obtain the load of carrier wave.
Candidate carrier selection method 3: candidate carrier is selected according to service priority and carrier load.
Corresponding relationship between configurable service priority and candidate carrier, such as configuration mapping table, the correspondence are closed
The value or value range of service priority mark that be in table may include and carrier load.The corresponding relationship can be pre-configured with
It (for example making an appointment) or is configured by high level.One service priority can correspond to the value or value model of a carrier load
It encloses, a candidate carrier can also correspond to the value or value range of one or more carrier loads.
Terminal can be according to the corresponding pass between the service priority and service priority and carrier load of data to be transmitted
System determines carrier load corresponding with the service priority of data to be transmitted (for convenience of description, here by the industry of data to be transmitted
Carrier load corresponding to business priority is known as first carrier load);Then it can be waited according in the candidate carrier set measured
The load for selecting carrier wave is ranked up the candidate carrier in candidate carrier set, the selection and the from the candidate carrier after sequence
The corresponding one or more candidate carriers of one carrier load.
Candidate carrier selection method 4: need are transmitted according to the maximum business packet of frequency domain resource is occupied in multiple associated services packets
The frequency domain resource size to be occupied determines the remaining candidate resource ratio of each candidate carrier in candidate carrier set, according to institute
There is the respective remaining candidate resource ratio selection candidate carrier of candidate carrier.The following examples are needed with a business packet transmission
The frequency domain resource size of occupancy is described for being indicated with sets of sub-channels, includes one or more in a sub-channels set
Subchannel.
Firstly, all candidate carriers in carrier set are set to available, and all candidate provide candidate carrier is corresponding
Source is set to available.
Then, each candidate carrier is carried out respectively occupying resource exclusion.Occupying resource exclusion may include following two side
Face:
First aspect: for terminal in perception window send data all frequency domain resources in the time domain, determine the end
Hold all possible reserve resource;If there are conflicted resource, (conflicted resource is that there are portions with reserve resource in candidate carrier set
Point or all overlapping candidate resource), then by the conflicted resource from candidate carrier set the corresponding candidate resource of corresponding carriers
Middle exclusion.
For example, the resource that terminal can be sent to data occupancy, which is known as skip subframe, (to be influenced by half-duplex, due to end
Hold the unlisten subframe for being sent and being formed), terminal can be for skip subframe in perception (sensing) window, it is assumed that the son
Other terminals are subscribed to resource next time with all periods of system configuration on frame, then if being directed to a candidate carrier,
Subframe in corresponding candidate's subframes with the presence of candidate's subframes and above-mentioned reservation overlaps, or with the N after the candidate's subframes
Subframe is sent used in secondary transmission in the presence of overlapping, then excludes the candidate's subframes from the corresponding candidate's subframes of the candidate carrier,
Wherein, N=1,2 ..., 10*counter-1, counter are the maximum transmission times of system configuration.
Second aspect: the SA information sent according to other terminals listened in perception window determines other described ends
Hold all possible reserve resource;If there are conflicted resource, (conflicted resource is that there are portions with reserve resource in candidate carrier set
Point or all overlapping candidate resource) and the SA information indicated by PSSCH Reference Signal Received Power (reference
Signal receiving power, RSRP) be higher than PSSCH-RSRP threshold value, then by conflicted resource from candidate carrier set
It is excluded in the corresponding candidate resource of corresponding candidate carrier wave.
For example, terminal can monitor the SA information of other terminals transmission in sensing window, according to the SA listened to
Information knows period and resource reservation information, and the son of other terminals reservation is determined according to the period and resource reservation information
Frame.If being directed to a candidate carrier, there is the subframe of candidate's subframes and above-mentioned reservation in corresponding candidate's subframes and exist and hand over
It is folded, or with transmission subframe used in the n-th transmission after the candidate's subframes in the presence of overlapping and signified according to the SA information
The RSRP initial threshold that the RSRP of the PSSCH shown is higher than then excludes the candidate from the corresponding candidate's subframes of the candidate carrier
Subframe.Wherein, the corresponding RSRP initial threshold possibility of different candidate carriers is identical may also be different, each to wait if identical
Select the RSRP initial threshold of carrier wave consistent;If it is different, then it is corresponding that the candidate carrier is respectively adopted to each candidate carrier
RSRP initial threshold carries out above-mentioned processing.
Finally, each candidate carrier after excluding for resource, occupies frequency domain resource most according in multiple associated services packets
Big business packet transmission needs the quantity of the sets of sub-channels sub-channels occupied (below for convenience of description, by multiple association industry
The maximum business packet of frequency domain resource, which is occupied, in business packet is known as the first business packet), determine residue of the candidate carrier after resource exclusion
Meet the quantity of the candidate sub-channel set of the number of sub-channels requirement of first business packet occupancy in candidate resource, and determining should
Candidate's that the number of sub-channels that candidate carrier meets first business packet occupancy in the candidate resource before resource exclusion requires
The quantity of channel set;According to the candidate carrier determined resource exclusion before candidate sub-channel collective number and be
Candidate sub-channel collective number after exclusion determines remaining candidate resource ratio (the remaining candidate resource ratio of the candidate carrier
The candidate sub-channel collective number before candidate sub-channel collective number/resource exclusion after the exclusion of=resource), in this way, available
The remaining candidate resource ratio of each candidate carrier in candidate carrier set.According to candidate load each in the candidate carrier set
The remaining candidate resource ratio of wave selects one or more candidate carriers from the candidate carrier set.For example, can be according to every
The sequence of the remaining candidate resource ratio of a candidate carrier from big to small, is ranked up candidate carrier, from the candidate after sequence
The forward one or more candidate carriers of selected and sorted in carrier wave.Selected candidate carrier quantity, can be pre-configured with or appoint in advance
It is fixed.
Candidate carrier selection method 5: it needs to occupy frequency domain resource according to business packet each in multiple associated services packets transmission
Size determines the remaining candidate resource ratio of each candidate carrier in candidate carrier set, respective according to all candidate carriers
Remaining candidate resource ratio selects candidate carrier.The following examples are big with the frequency domain resource that a business packet transmission needs to occupy
It is small indicated with sets of sub-channels for be described, include one or more subchannels in a sub-channels set.
Firstly, all candidate carriers in carrier set are set to available, and all candidate provide candidate carrier is corresponding
Source is set to available.
Then, each candidate carrier is carried out respectively occupying resource exclusion.Occupying resource exclusion may include following two side
Face:
First aspect: for terminal in perception window send data all frequency domain resources in the time domain, determine the end
Hold all possible reserve resource;If there are conflicted resource, (conflicted resource is that there are portions with reserve resource in candidate carrier set
Point or all overlapping candidate resource), then by the conflicted resource from candidate carrier set the corresponding candidate resource of corresponding carriers
Middle exclusion.Specific implementation process is similar with previous embodiment.
Second aspect: being directed to each candidate carrier, is believed according to the SA that other terminals listened in perception window are sent
Breath determines all possible reserve resource of other described terminals;If in the candidate carrier there are conflicted resource (conflicted resource be with
There is partly or entirely overlapping candidate resource in reserve resource) and the SA information indicated by the RSRP of PSSCH be higher than
PSSCH-RSRP threshold value then excludes conflicted resource from the candidate resource in the candidate carrier.Wherein, the candidate resource
It can be as unit of subchannel with the conflicted resource.Specific implementation process is similar with previous embodiment.
Then, each candidate carrier after being excluded for resource, respectively (i.e. according to the number of sub-channels of each business occupancy
Number of sub-channels needed for each business packet transmission) determine that the candidate carrier meets in the remaining candidate resource after resource exclusion
The candidate sub-channel collective number for the number of sub-channels requirement that corresponding service packet occupies and the candidate carrier are before resource exclusion
Candidate resource in meet the business packet occupancy number of sub-channels require candidate sub-channel collective number, according to above-mentioned determination
Candidate sub-channel collective number out calculates the corresponding remaining candidate resource ratio (surplus resources of the business packet in the candidate carrier
The candidate sub-channel collective number before candidate sub-channel collective number/resource exclusion after ratio=resource exclusion), in this way, can
Obtain N number of remaining candidate resource ratio for a candidate carrier, N is the quantity of associated business packet, the value of N be greater than etc.
In 1 integer, corresponding one remaining candidate resource ratio of a business packet.
Each candidate carrier after excluding for resource, should according to the corresponding remaining candidate resource ratio-dependent of each business packet
The arithmetic average or weighted average of the remaining candidate resource ratio of candidate carrier, according to the multiple in each candidate carrier
The arithmetic average or weighted average of the corresponding remaining candidate resource ratio of associated business packet, from the candidate carrier
One or more candidate carriers are selected in set.
It include business packet 1, business packet 2 and business packet 3 with associated business packet, candidate carrier includes candidate carrier 1, candidate
For carrier wave 2 and candidate carrier 3, and business packet 1 occupies 3 sub-channels, and business packet 2 occupies 2 sub-channels, and business packet 3 occupies 4
Sub-channels.
For candidate carrier 1, the candidate money of residue for needing the frequency domain resource size occupied to determine according to the transmission of business packet 1
Source ratio is 40%, is according to the remaining candidate resource ratio that the transmission of business packet 2 needs the frequency domain resource size occupied to determine
45%, it is 25% according to the remaining candidate resource ratio that the transmission of business packet 3 needs the frequency domain resource size occupied to determine;
For candidate carrier 2, the candidate money of residue for needing the frequency domain resource size occupied to determine according to the transmission of business packet 1
Source ratio is 30%, is according to the remaining candidate resource ratio that the transmission of business packet 2 needs the frequency domain resource size occupied to determine
30%, it is 20% according to the remaining candidate resource ratio that the transmission of business packet 3 needs the frequency domain resource size occupied to determine;
For candidate carrier 3, the candidate money of residue for needing the frequency domain resource size occupied to determine according to the transmission of business packet 1
Source ratio is 20%, is according to the remaining candidate resource ratio that the transmission of business packet 2 needs the frequency domain resource size occupied to determine
25%, it is 10% according to the remaining candidate resource ratio that the transmission of business packet 3 needs the frequency domain resource size occupied to determine.
According to arithmetic mean algorithm, then the corresponding remaining candidate resource ratio of 3 business packets in candidate carrier 1
Arithmetic average are as follows: (40%+45%+25%) // 3=36.7%;The corresponding remaining time of 3 business packets in candidate carrier 2
Select the arithmetic average of resource ratio are as follows: (30%+30%+20%)/3=26.7%;3 business packets are respectively in candidate carrier 2
The arithmetic average of corresponding residue candidate resource ratio are as follows: 20%+25%+10%)/3=18.3%.Carrying out resource selection
When, if requiring to select 1 candidate carrier (the candidate carrier quantity of required selection is configurable or makes an appointment), select to wait
Select carrier wave 1;If it is required that 2 candidate carriers of selection, select candidate carrier 1 and candidate carrier 2.
In an example using Weighted Average Algorithm, the corresponding weight of business packet 1 is 3, the corresponding weight of business packet
Be 2, the corresponding weight of business packet 3 is 4, then in candidate carrier 1 the corresponding remaining candidate resource ratio of 3 business packets calculation
Number average value are as follows: (40%*3+45%*2+25%*4)/(3+2+4)=34.4%;3 business packets are respectively right in candidate carrier 2
The arithmetic average for the remaining candidate resource ratio answered are as follows: (30%*3+30%*2+20%*4)/(3+2+4)=25.5%;It waits
Select the arithmetic average of the corresponding remaining candidate resource ratio of 3 business packets on carrier wave 2 are as follows: (20%*3+25%*2+
10%*4)/(3+2+4)=16.7%.When carrying out resource selection, if require to select 1 candidate carrier (required selection
Candidate carrier quantity is configurable or makes an appointment), then select candidate carrier 1;If it is required that 2 candidate carriers of selection, select
Candidate carrier 1 and candidate carrier 2.
In another example using Weighted Average Algorithm, the corresponding weight of business packet 1 is 1/3, and business packet is corresponding
Weight is 1/2, and the corresponding weight of business packet 3 is 1/4, then the corresponding remaining candidate resource of 3 business packets in candidate carrier 1
The arithmetic average of ratio are as follows: 40%* (1/3)+45%* (1/2)+25%* (1/4)=42.1%;3 industry in candidate carrier 2
The arithmetic average of the corresponding remaining candidate resource ratio of business packet are as follows: 30%* (1/3)+30%* (1/2)+20%* (1/4)
=25%;The arithmetic average of the corresponding remaining candidate resource ratio of 3 business packets in candidate carrier 2 are as follows: 20%* (1/
3)+25%* (1/2)+10%* (1/4)=21.6%.When carrying out resource selection, if requiring 1 candidate carrier (institute of selection
It is required that the candidate carrier quantity of selection is configurable or makes an appointment), then select candidate carrier 1;If it is required that selection 2 candidate loads
Wave then selects candidate carrier 1 and candidate carrier 2.
Candidate carrier selection method 6: result is excluded according to the resource occupation in candidate carrier and selects candidate carrier, and one
Candidate resource in candidate carrier when carrying out resource exclusion, is excluded as unit of subchannel as unit of subchannel.
Firstly, all candidate carriers in carrier set are set to available, and all candidate provide candidate carrier is corresponding
Source is set to available.
Then, each candidate carrier is carried out respectively occupying resource exclusion.Occupying resource exclusion may include following two side
Face:
First aspect: for terminal in perception window send data all frequency domain resources in the time domain, determine the end
Hold all possible reserve resource;If there are conflicted resource, (conflicted resource is that there are portions with reserve resource in candidate carrier set
Point or all overlapping candidate's subframes), then by the conflicted resource from candidate carrier set the corresponding candidate's subframes of corresponding carriers
Middle exclusion.Specific implementation process can be found in previous embodiment.
Second aspect: being directed to each candidate carrier, is believed according to the SA that other terminals listened in perception window are sent
Breath determines all possible reserve resource of other described terminals;If in the candidate carrier there are conflicted resource (conflicted resource be with
There is partly or entirely overlapping candidate sub-channel in reserve resource) and the SA information indicated by the RSRP of PSSCH be higher than
PSSCH-RSRP threshold value then excludes conflicted resource from the candidate sub-channel in the candidate carrier.Specific implementation process can
Referring to previous embodiment.
Finally, the remaining candidate resource ratio of each candidate carrier is determined, according to the surplus resources of each candidate carrier ratio
Example selects one or more candidate carriers from the candidate carrier set.For example, after executing above-mentioned resource exclusion processing,
Remaining candidate resource ratio (candidate's son letter after remaining candidate resource ratio=resource exclusion can be calculated for each candidate carrier
Candidate sub-channel quantity before road quantity/resource exclusion), more than the remaining candidate sub-channel of remaining candidate resource ratio selection
One or more candidate carriers.
Candidate carrier selection method 7: result is excluded according to the resource occupation in candidate carrier and selects candidate carrier, and one
Candidate resource in candidate carrier for unit, carries out resource with Physical Resource Block (physical Resource block, PRB)
When exclusion, excluded as unit of PRB.
Firstly, all candidate carriers in carrier set are set to available, and all candidate provide candidate carrier is corresponding
Source is set to available.
Then, each candidate carrier is carried out respectively occupying resource exclusion.Occupying resource exclusion may include following two side
Face:
First aspect: for terminal in perception window send data all frequency domain resources in the time domain, determine the end
Hold all possible reserve resource;If there are conflicted resource, (conflicted resource is that there are portions with reserve resource in candidate carrier set
Point or all overlapping candidate's subframes), then by the conflicted resource from candidate carrier set the corresponding candidate's subframes of corresponding carriers
Middle exclusion.
Second aspect: being directed to each candidate carrier, is believed according to the SA that other terminals listened in perception window are sent
Breath determines all possible reserve resource of other described terminals;If in the candidate carrier there are conflicted resource (conflicted resource be with
There is partly or entirely overlapping candidate PRB in reserve resource) and the SA information indicated by the RSRP of PSSCH be higher than PSSCH-
RSRP threshold value then excludes conflicted resource from the candidate PRB in the candidate carrier.
Finally, the remaining candidate resource ratio of each candidate carrier is determined, according to the surplus resources of each candidate carrier ratio
Example selects one or more candidate carriers from the candidate carrier set.For example, after executing above-mentioned resource exclusion processing,
Remaining candidate resource ratio (the candidate PRB after remaining candidate resource ratio=resource exclusion can be calculated for each candidate carrier
Candidate PRB quantity before quantity/resource exclusion), according to one or more more than the remaining candidate PRB of remaining candidate resource ratio selection
A candidate carrier.
Above-mentioned candidate carrier selection method 1 is to candidate carrier selection method 7, only some examples, the embodiment of the present application institute
The candidate carrier selection method of offer is not limited to that, according to the load of candidate carrier in service attribute, candidate carrier set,
The method that any combination of resource in candidate carrier set in candidate carrier carries out candidate carrier selection, is all contained in the application
Protection scope in.
It, can when terminal is used for the resource of data transmission based on the candidate carrier selection selected in the S202 of Fig. 2 process
Using resource method for removing.The example provided by the embodiments of the present application that resource selection is carried out using resource method for removing is shown below
Son.
Resource selection method 1:
(son that carrier set is candidate carrier set will be transmitted by transmission carrier set determined by S201 first
Collection, wherein may include one or more carrier waves) in all candidate resources corresponding to each candidate carrier be set to available, then may be used
Resource selection is carried out according to process shown in Fig. 3.
As shown in figure 3, the process can include:
S301: resource exclusion is carried out for each carrier wave in transmission carrier set.The resource exclusion may include following
Two aspects:
First aspect: for terminal in perception window send data all frequency domain resources in the time domain, determine the end
Hold all possible reserve resource;If transmitting in carrier set, there are conflicted resource, (conflicted resource is that there are portions with reserve resource
Point or all overlapping candidate's subframes), then by conflicted resource from transmission carrier set in the corresponding candidate's subframes of corresponding carriers
It excludes.
Second aspect: the SA information sent according to other terminals listened in perception window determines other described ends
Hold all possible reserve resource;If transmitting in carrier set, there are conflicted resource, (conflicted resource is that there are portions with reserve resource
Point or all overlapping candidate's subframes) and the SA information indicated by the RSRP of PSSCH be higher than PSSCH-RSRP threshold value, then
The conflicted resource is excluded in the corresponding candidate's subframes of corresponding candidate carrier wave from transmission carrier set.
Resource exclusion side described in the specific implementation process and previous embodiment of resource method for removing provided by S301
Related content in method 1 or resource method for removing 2 is similar.
S302: for each carrier wave in transmission carrier set, the frequency domain resource for needing to occupy according to the transmission of each business packet
Size determines the corresponding remaining candidate resource ratio of each business packet (if the frequency domain resource of business packet is combined into list using set of sub-channels
Position, then the corresponding remaining candidate resource ratio=carrier wave of a business packet on a carrier wave meets the industry after resource exclusion
Sets of sub-channels quantity/carrier wave that business packet frequency domain resource requires meets business packet frequency domain resource requirement before resource exclusion
Sets of sub-channels quantity).If the corresponding remaining candidate resource ratio of each business packet is below given threshold for a carrier wave,
It is then transferred to S303, is otherwise transferred to S304.
S303: if in S302, for the first carrier in transmission carrier set, the corresponding remaining candidate money of each business packet
There is the corresponding remaining candidate resource ratio of part or all of business packet lower than given threshold in the ratio of source, is then mentioned according to setting thresholding
It rises step-length to promote the corresponding PSSCH-RSRP threshold value of first carrier, and re-executes S301 for first carrier, with
Resource exclusion is carried out to the first carrier again according to the PSSCH-RSRP threshold value after promotion.
Wherein, if in transmission carrier set, the corresponding PSSCH-RSRP threshold value of different carrier waves (such as initial p SSCH-
RSRP threshold value) it is different, then thresholding is carried out on the basis of corresponding PSSCH-RSRP threshold value respectively to different carrier waves
It is promoted.
S304: surplus on all carrier waves after being excluded to resource for each business packet in associated multiple business packets
The candidate resource for meeting the frequency domain resource size that the transmission of corresponding service packet needs to occupy in remaining candidate resource, connects according to straight-through link
Signal strength instruction (sidelink-received signal strength indication, S-RSSI) is received to be ranked up,
One group of low candidate resource of S-RSSI, the one group candidate resource low from the S-RSSI are selected from the candidate resource after sequence
In, resource is selected for corresponding service packet.It specifically, can be by all or part of candidate in the one group of S-RSSI low candidate resource
Resource is as the resource for data transmission, can be from low one group of the S-RSSI for example, when selecting resource for business packet
Resource is randomly choosed in candidate resource, and S-RSSI low candidate resource can also be selected from this group of candidate resource.
Since the resource of multiple business packets is selected from one group of low candidate resource of the S-RSSI, in order to keep away
Exempt from resource contention, if a candidate resource in the one group of S-RSSI low candidate resource has been selected as the money of a business packet
Source, the then candidate resource selected are no longer selected as the resource of other business packets, to guarantee that a resource can only be multiple
A business packet in associated services packet uses, and cannot distribute to two or more business packets simultaneously and use.
Further, in order to reduce interference, if a candidate resource in the one group of S-RSSI low candidate resource is
It is selected as the resource of a business packet, then other candidate resources in the time domain resource where selected resource are no longer
It is selected as the resource of other business packets, to guarantee that the candidate resource in a time domain resource is assigned to only a business
Packet uses.For example, the time domain resource where candidate resource is the son where the candidate PRB with candidate resource for candidate PRB
For frame or short subframe, and the residue candidate PRB in the subframe or short subframe after resource exclusion includes PRB1 and PRB2, if the son
PRB1 on frame or short subframe has been selected as the transfer resource of business packet 1, then, will not when selecting resource for other business packets
Select the PRB2 in the subframe or short subframe.
Wherein, it is corresponding to account for all transmission carrier sets before the resource excludes for the one group of S-RSSI low candidate resource
All candidate resources ratio be pre-configured or by high level configuration or it is identical as the given threshold.One candidate resource
I-RSSI can be the linear mean values of RSSI of all subchannels on the candidate resource.
For example, by the obtained transmission carrier set of candidate carrier selection course include carrier wave 1 and carrier wave 2,
It include: business packet 1, business packet 2 in multiple associated business packets.In S304, following resource selection process is executed:
For business packet 1, the frequency for needing to occupy is transmitted to business packet 1 is met in the remaining candidate resource of carrier wave 1 and carrier wave 2
The candidate resource of domain resource size, is ranked up according to S-RSSI, and one that S-RSSI is low is selected from the candidate resource after sequence
Group candidate resource in one group of candidate resource low from the S-RSSI, selects resource for business packet 1;
For business packet 2, the frequency for needing to occupy is transmitted to business packet 2 is met in the remaining candidate resource of carrier wave 1 and carrier wave 2
The candidate resource of domain resource size, is ranked up according to S-RSSI, and one that S-RSSI is low is selected from the candidate resource after sequence
Group candidate resource in one group of candidate resource low from the S-RSSI, selects resource for business packet 2.Wherein, if the S-RSSI is low
One group of candidate resource in part candidate resource it is overlapping with the resource of distributing to business packet 1, then can be provided again for business packet
Source selection, to guarantee that the resource of business packet 1 and business packet 2 does not clash.
Optionally, it can be successively based on according to the sequence of the frequency domain resource that business packet occupies from big to small for each business packet
The remaining candidate resource for transmitting all carrier waves in carrier set carries out resource selection.It is of course also possible to be occupied according to business packet
Frequency domain resource sequence from small to large or other settings sequences, be successively each business packet based in transmission carrier set
The remaining candidate resource of all carrier waves carries out resource selection.
Above-mentioned resource selection process is applicable to the candidate carrier selection method of foregoing embodiments offer, is particularly suitable for
Candidate carrier selection method 1, candidate carrier selection method 2 or candidate carrier selection method 3.
It should be noted that if using above-mentioned candidate carrier selection method 4, candidate carrier selection method 5, time in S201
Carrier selecting method 6 or candidate carrier selection method 7 is selected to carry out the selection of candidate carrier, then due to being directed to each candidate carrier
Through having carried out resource exclusion, therefore in S202, can not have to be first carried out resource exclusion process (S301 can be omitted), but it is straight
It connects and executes S302.If determining that the surplus resources ratio of candidate carrier is lower than given threshold according to S302, PSSCH- is being promoted
After RSRP threshold value (S303), the resource exclusion process that S301 is executed according to the PSSCH-RSRP threshold value after promotion is still needed to.
Resource selection method 2:
(son that carrier set is candidate carrier set will be transmitted by transmission carrier set determined by S201 first
Collection, wherein may include one or more carrier waves) in all candidate resources corresponding to each candidate carrier be set to available, then may be used
Resource selection is carried out according to process shown in Fig. 4.
As shown in figure 4, the process can include:
S401: resource exclusion is carried out for each carrier wave in transmission carrier set.The resource exclusion may include following
Two aspects:
First aspect: for terminal in perception window send data all frequency domain resources in the time domain, determine the end
Hold all possible reserve resource;If transmitting in carrier set, there are conflicted resource, (conflicted resource is that there are portions with reserve resource
Point or all overlapping candidate's subframes), then by conflicted resource from transmission carrier set in the corresponding candidate's subframes of corresponding carriers
It excludes.
Second aspect: the SA information sent according to other terminals listened in perception window determines other described ends
Hold all possible reserve resource;If transmitting in carrier set, there are conflicted resource, (conflicted resource is that there are portions with reserve resource
Point or all overlapping candidate's subframes) and the SA information indicated by the RSRP of PSSCH be higher than PSSCH-RSRP threshold value, then
The conflicted resource is excluded in the corresponding candidate's subframes of corresponding candidate carrier wave from transmission carrier set.
Resource exclusion side described in the specific implementation process and previous embodiment of resource method for removing provided by S401
Related content in method 1 or resource method for removing 2 is similar.
S402: for whole carrier waves in transmission carrier set, respectively according to each business in multiple associated business packets
Whether the frequency domain resource size that packet transmission needs to occupy judges to have in each time domain resource and transmits the multiple association industry
Frequency domain resource needed for business packet, if frequency domain needed for having the multiple associated services packet of transmission in a time domain resource provides
The time domain resource is then denoted as available by source.If available time domain resource quantity is lower than available units time-domain resource threshold
Value, then be transferred to S403;If available time domain resource quantity reaches or is higher than on whole carrier waves in transmission carrier set
The available units time-domain resource threshold value, then be transferred to S404.Wherein, the available units time-domain resource threshold value be pre-configured or
It is configured by high level.
S403: according to the step-length of setting that each carrier wave is corresponding for each carrier wave in transmission carrier set
PSSCH-RSRP threshold value is promoted, according to the PSSCH-RSRP threshold value after promotion, for every in transmission carrier set
A carrier wave re-executes S401.
S404: the linear mean value of S-RSSI of all available subchannels in each time domain resource is calculated, according to S-RSSI
Linear mean value is ranked up available units time-domain resource, and one group that S-RSSI is low is selected from the time domain resource after sequence
Time domain resource in one group of time domain resource low from the S-RSSI, selects the time domain for meeting the number of transmissions
Resource;From be in each time domain resource for meeting the number of transmissions in the multiple associated business packet each business packet choosing
Select resource.
Above-mentioned resource selection process is applicable to the candidate carrier selection method of foregoing embodiments offer, is particularly suitable for
Candidate carrier selection method 1, candidate carrier selection method 2 or candidate carrier selection method 3.
It should be noted that if using above-mentioned candidate carrier selection method 4, candidate carrier selection method 5, time in S201
Carrier selecting method 6 or candidate carrier selection method 7 is selected to carry out the selection of candidate carrier, then due to being directed to each candidate carrier
Through having carried out resource exclusion, therefore in S202, can not have to be first carried out resource exclusion process (S401 can be omitted), but it is straight
It connects and executes S402.If determining that the surplus resources ratio of candidate carrier is lower than given threshold according to S402, PSSCH- is being promoted
After RSRP threshold value (S403), the resource exclusion process that S401 is executed according to the PSSCH-RSRP threshold value after promotion is still needed to.
By above description as can be seen that in the embodiment of the present application, terminal can be according in service attribute, candidate carrier set
Resource occupation in the load of candidate carrier, the candidate carrier set in candidate carrier excludes at least one of result, from
One or more candidate carriers are selected in candidate carrier set, obtain transmission carrier set, and transmit the carrier wave in carrier set
In corresponding candidate resource, resource of the selection for data transmission, so that the resource selection under multicarrier scene can be realized.
Based on the same technical idea, the embodiment of the present application also provides a kind of resource selection devices.The device can be
Terminal is also possible to the device in terminal.
It is the structural schematic diagram of resource selection device provided by the embodiments of the present application, the device can include: carry referring to Fig. 5
Wave selecting module 501, resource selection mould 502, in which:
Carrier selection module 501 is used to select one or more candidate carriers from candidate carrier set, obtains transmission and carries
Wave set;Wherein, the candidate transport carrier set be according to the load of candidate carrier in service attribute, candidate carrier set,
Resource occupation in the candidate carrier set in candidate carrier excludes the selection of at least one of result;
Resource selection module 502 is used to be passed for each business packet in multiple associated business packets according to corresponding service packet
It is defeated to need the frequency domain resource size that occupies, from all carrier resources of the transmission carrier set exclude after surplus resources in be
Corresponding service packet selects resource.
Optionally, carrier selection module 501 selects one or more candidate according to service attribute from candidate carrier set
When carrier wave, execute:
According to the type of service of data to be transmitted, the service class with the data to be transmitted is selected from candidate carrier set
The corresponding one or more candidate carriers of type;Wherein, the candidate carrier in the candidate carrier set is corresponding with type of service
Relationship is to be pre-configured or configured by high level;Alternatively,
According to the service priority of data to be transmitted, the business with the data to be transmitted is selected from candidate carrier set
The corresponding one or more candidate carriers of priority;Wherein, the candidate carrier and service priority in the candidate carrier set
Corresponding relationship be pre-configured or by high level configure.
Optionally, carrier selection module 501 is according to the load of candidate carrier in service attribute and candidate carrier set, from institute
When stating selection one or more candidate carrier in candidate carrier set, execute: according to the service priority of data to be transmitted, and
Corresponding relationship between service priority and carrier load determines corresponding with the service priority of the data to be transmitted first
Carrier load;According to the load of candidate carrier in first carrier load and the candidate carrier set, from the candidate
One or more candidate carriers corresponding with first carrier load are selected in carrier set.
Optionally, it is remaining candidate resource ratio of the carrier wave after resource exclusion that the resource occupation of a carrier wave, which excludes result,
Example, the remaining candidate resource ratio of a candidate carrier are that the carrier wave meets first in the remaining candidate resource after resource exclusion
The candidate resource quantity and the carrier wave that business packet frequency domain resource requires meet the first business in the candidate resource before resource exclusion
The ratio for the candidate resource quantity that packet frequency domain resource requires, wherein the first business packet is to pass in the multiple associated business packet
It is defeated to need to occupy the maximum business packet of frequency domain resource;Alternatively, the surplus resources of a carrier wave, which occupy, excludes result as on the carrier wave
The average value of the corresponding remaining candidate resource ratio of each business packet in the multiple associated business packet, one on a carrier wave
The corresponding remaining candidate resource ratio of business packet is that the carrier wave meets the business packet in the remaining candidate resource after resource exclusion
The candidate resource quantity and the carrier wave that frequency domain resource requires meet business packet frequency domain money in the candidate resource before resource exclusion
The ratio for the candidate resource quantity that source requires.
Optionally, carrier selection module 501 is excluded according to the resource occupation in the candidate carrier set in candidate carrier
As a result, being executed when selecting one or more candidate carriers from the candidate carrier set:
Carry out resource exclusion;The resource exclusion includes: on the one hand, to send data institute for the terminal in perception window
All frequency domain resources in the time domain determine all possible reserve resource of the terminal;If being deposited in the candidate carrier set
In conflicted resource, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding carriers in the candidate carrier set;
Wherein, the conflicted resource is there is partly or entirely overlapping candidate resource with the reserve resource;On the other hand, according to
The SA information that other terminals listened in perception window are sent determines all possible reserve resource of other described terminals;If
There are the references that physics indicated by conflicted resource and the SA information leads directly to link shared channels in the candidate carrier set
The RSRP of signal reception power PSSCH is higher than PSSCH-RSRP threshold value, then by the conflicted resource from the candidate carrier collection
It is excluded in the corresponding candidate resource of corresponding candidate carrier wave in conjunction;
Each candidate carrier after excluding for resource transmits needs according to the first business packet in multiple associated services packets
The quantity of the sets of sub-channels sub-channels of occupancy determines that candidate carrier meets institute in the remaining candidate resource after resource exclusion
It states the quantity for the candidate sub-channel set that the number of sub-channels that the transmission of the first business packet needs to occupy requires and is excluded in resource
Meet the candidate sub-channel set that the number of sub-channels that the first business packet transmission needs to occupy requires in preceding candidate resource
Quantity, according to candidate carrier in the candidate sub-channel collective number after resource exclusion and the candidate sub-channel before resource exclusion
Collective number determines the remaining candidate resource ratio of candidate carrier;
According to the remaining candidate resource ratio of each candidate carrier in the candidate carrier set, from the candidate carrier collection
One or more candidate carriers are selected in conjunction.
Optionally, carrier selection module 501 is excluded according to the resource occupation in the candidate carrier set in candidate carrier
As a result, being executed when selecting one or more candidate carriers from the candidate carrier set:
Resource exclusion is carried out, the resource exclusion process can be found in previous embodiment;
Each candidate carrier after being excluded for resource, the number of subchannels for needing to occupy according to the transmission of each business packet respectively
The corresponding remaining candidate resource ratio of corresponding service packet in the candidate carrier that determines is measured, a business packet is corresponding on a carrier wave
Remaining candidate resource ratio is that the carrier wave meets business packet frequency domain resource requirement in the remaining candidate resource after resource exclusion
Candidate resource quantity and the carrier wave resource exclusion before candidate resource in meet the business packet frequency domain resource requirement candidate
The ratio of resource quantity;
Each candidate carrier after excluding for resource, should according to the corresponding remaining candidate resource ratio-dependent of each business packet
The arithmetic average or weighted average of the remaining candidate resource ratio of candidate carrier, according to the multiple in each candidate carrier
The arithmetic average or weighted average of the corresponding remaining candidate resource ratio of associated business packet, from the candidate carrier
One or more candidate carriers are selected in set.
Optionally, carrier selection module 501 is excluded according to the resource occupation in the candidate carrier set in candidate carrier
As a result, being executed when selecting one or more candidate carriers from the candidate carrier set:
Resource exclusion is carried out, the resource exclusion process can be found in previous embodiment;
The remaining candidate resource ratio for determining each candidate carrier, according to the surplus resources ratio of each candidate carrier, from
One or more candidate carriers are selected in the candidate carrier set.
Optionally, candidate resource is candidate sub-channel, after the residue candidate resource ratio is the residue after resource exclusion
The ratio of candidate sub-channel quantity before person's number of sub-channels and resource exclusion;Alternatively, the candidate resource is candidate PRB, institute
State the ratio that remaining candidate resource ratio is the candidate PRB quantity before remaining candidate's PRB quantity after resource excludes is excluded with resource
Value.
Optionally, resource selection module 502 is specifically used for:
For each carrier wave in the transmission carrier set, respectively according to each industry in the multiple associated business packet
Business packet transmission needs the frequency domain resource size occupied to determine the corresponding remaining candidate resource ratio of corresponding service packet;
There is the corresponding remaining candidate resource ratio of business packet lower than given threshold if having on first carrier, for described the
One carrier wave promotes the corresponding PSSCH-RSRP threshold value of the first carrier according to the step-length of setting, and for this first
Carrier wave re-starts the resource according to the PSSCH-RSRP threshold value after promotion and excludes, until all business on first carrier
Corresponding remaining candidate resource ratio is wrapped to reach or higher than until the given threshold;Wherein, first carrier is the biography
A carrier wave in defeated carrier set;
If the corresponding remaining candidate resource ratio of all business packets is impartial on all carrier waves in the transmission carrier set
In or be higher than the given threshold, then for each business packet in associated multiple business packets, respectively to the transmission
Meet the frequency that the transmission of corresponding service packet needs to occupy in the remaining candidate resource after the exclusion of all carrier resources in carrier set
The candidate resource of domain resource size is ranked up, from the time after sequence according to straight-through link received signals intensity instruction S-RSSI
It selects and selects the low one group of candidate resource of S-RSSI in resource, be corresponding service in one group of candidate resource low from the S-RSSI
Packet selection resource;The S-RSSI is the linear mean value of RSSI of all subchannels on candidate resource.
Optionally, resource selection module 502 is specifically used for:
For whole carrier waves in the transmission carrier set, respectively according to each industry in the multiple associated business packet
Whether the frequency domain resource size that business packet transmission needs occupy, which determines to have in each time domain resource, transmits the multiple association
Frequency domain resource needed for business packet, if frequency domain needed for having the multiple business packet of transmission in a time domain resource provides
The time domain resource is then denoted as available by source;
If available time domain resource quantity is lower than available units time-domain resource threshold value, it is directed to the transmission carrier set
Whole carrier waves in conjunction respectively promote the corresponding PSSCH-RSRP threshold value of each carrier wave according to the step-length of setting, root
It re-starts the resource according to the PSSCH-RSRP threshold value after promotion to exclude, until whole loads in the transmission carrier set
Available time domain resource quantity reaches or is higher than the available units time-domain resource threshold value on wave;
If available time domain resource quantity reaches or be higher than available units time-domain resource threshold value, each list is calculated
The linear mean value of S-RSSI of all available subchannels in the time-domain resource of position, when according to the linear mean value of the S-RSSI to available units
Domain resource is ranked up, and the low one group of time domain resource of S-RSSI is selected from the time domain resource after sequence, from described
In one group of S-RSSI low time domain resource, the time domain resource for meeting the number of transmissions is selected;It is transmitted in each satisfaction
It is each business packet selection resource in the multiple associated services packet in the time domain resource of number.
Optionally, resource selection module 502 is specifically used for executing:
Step A: carrying out resource exclusion, and the resource exclusion includes: to send data institute for the terminal in perception window
All frequency domain resources in the time domain determine all possible reserve resource of the terminal;If being deposited in the transmission carrier set
In conflicted resource, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding carriers in the transmission carrier set,
Wherein, the conflicted resource is there is partly or entirely overlapping candidate resource with the reserve resource;And according to perceiving
The SA information that other terminals listened in window are sent determines all possible reserve resource of other described terminals;If described
There are the RSRP of PSSCH indicated by conflicted resource and the SA information to be higher than PSSCH-RSRP thresholding in transmission carrier set
Value, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding candidate carrier wave in the transmission carrier set;
Step B: for each carrier wave in the transmission carrier set, respectively according in the multiple associated business packet
Each business packet transmission needs the frequency domain resource size occupied to determine the corresponding remaining candidate resource ratio of corresponding service packet, if having
The remaining candidate resource ratio of first carrier is lower than given threshold, then is transferred to step C;If the remaining candidate resource ratio of each carrier wave
Example is equal to or higher than the given threshold, then is transferred to step D;Wherein, first carrier is one in the transmission carrier set
Carrier wave;
Step C: being directed to the first carrier, according to the step-length of setting by the corresponding PSSCH-RSRP thresholding of the first carrier
Value is promoted, and re-executes the step A for the first carrier;
Step D: for each business packet in associated multiple business packets, own in the transmission carrier set
Meet the time for the frequency domain resource size that the transmission of corresponding service packet needs to occupy in remaining candidate resource after resource excludes on carrier wave
Resource is selected, is ranked up according to S-RSSI, one group of candidate resource for selecting S-RSSI low from the candidate resource after sequence, from institute
It states in one group of low candidate resource of S-RSSI, selects resource for corresponding service packet;The S-RSSI of one candidate resource is the candidate
The linear mean value of the RSSI of all subchannels in resource.
Optionally, resource selection module 502 is specifically used for executing:
Step A: carrying out resource exclusion, and the resource exclusion includes: to send data institute for the terminal in perception window
All frequency domain resources in the time domain determine all possible reserve resource of the terminal;If being deposited in the transmission carrier set
In conflicted resource, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding carriers in the transmission carrier set,
Wherein, the conflicted resource is there is partly or entirely overlapping candidate resource with the reserve resource;And according to perceiving
The SA information that other terminals listened in window are sent determines all possible reserve resource of other described terminals;If described
There are the RSRP of PSSCH indicated by conflicted resource and the SA information to be higher than PSSCH-RSRP thresholding in transmission carrier set
Value, then by the conflicted resource from being excluded in the corresponding candidate resource of corresponding candidate carrier wave in the transmission carrier set;
Step B: for whole carrier waves in the transmission carrier set, respectively according in the multiple associated business packet
Whether each business packet transmission needs the frequency domain resource size occupied to determine in each time domain resource has transmission described more
Frequency domain resource needed for a associated services packet, if having needed for transmitting the multiple associated services packet in a time domain resource
Frequency domain resource, then the time domain resource is denoted as available;
If available time domain resource quantity is lower than available units time-domain resource threshold value, it is transferred to step C;If the biography
Available time domain resource quantity reaches or is higher than the available units time domain and provides on whole carrier waves in defeated carrier set
Source threshold value is then transferred to step D;
Step C: according to the step-length of setting that each carrier wave is corresponding for each carrier wave in the transmission carrier set
PSSCH-RSRP threshold value is promoted, according to the PSSCH-RSRP threshold value after promotion, in the transmission carrier set
Each carrier wave re-execute the steps A;
Step D: the linear mean value of S-RSSI of all available subchannels in each time domain resource is calculated, according to the S-
The linear mean value of RSSI is ranked up available units time-domain resource, selects S-RSSI low from the time domain resource after sequence
One group of time domain resource in one group of time domain resource low from the S-RSSI, selects the unit for meeting the number of transmissions
Time-domain resource;From being each business in the multiple associated business packet in each time domain resource for meeting the number of transmissions
Packet selection resource.
Optionally, resource selection module 502 is specifically used for: being business in one group of candidate resource low from the S-RSSI
When packet selection resource, if a candidate resource in the one group of S-RSSI low candidate resource has been selected as a business packet
Resource, then the candidate resource selected is no longer selected as the resource of other business packets;Alternatively, resource selection module 502 has
Body is used for: in one group of candidate resource low from the S-RSSI, when selecting resource for business packet, if one group that the S-RSSI is low
A candidate resource in candidate resource has been selected as the resource of a business packet, then when unit where selected resource
Other candidate resources in the resource of domain are no longer selected as the resource of other business packets.
Based on the same technical idea, the embodiment of the present application also provides a kind of communication devices.It is the application referring to Fig. 6
The structural schematic diagram for the communication device that embodiment provides.The communication device can be terminal.As shown, the communication device can wrap
It includes: processor 601, memory 602, transceiver 603 and bus interface.
Processor 601, which is responsible for management bus architecture and common processing, memory 602, can store processor 601 and is holding
Used data when row operation.Transceiver 603 is for sending and receiving data under the control of processor 601.
Bus architecture may include the bus and bridge of any number of interconnection, specifically represented by processor 601 one or
The various circuits for the memory that multiple processors and memory 602 represent link together.Bus architecture can also will be such as outer
Various other circuits of peripheral equipment, voltage-stablizer and management circuit or the like link together, these are all that this field institute is public
Know, therefore, it will not be further described herein.Bus interface provides interface.Processor 601 is responsible for the total coil holder of management
Structure and common processing, memory 602 can store the used data when executing operation of processor 601.
The process that the embodiment of the present invention discloses, can be applied in processor 601, or realized by processor 601.In reality
During now, each step of signal processing flow can pass through the integrated logic circuit or software of the hardware in processor 601
The instruction of form is completed.Processor 601 can be general processor, digital signal processor, specific integrated circuit, scene can compile
Journey gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, may be implemented
Or disclosed each method, step and logic diagram in the execution embodiment of the present invention.General processor can be microprocessor
Or any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly at hardware
Reason device executes completion, or in processor hardware and software module combine and execute completion.Software module can be located at random
Memory, flash memory, read-only memory, the abilities such as programmable read only memory or electrically erasable programmable memory, register
In the storage medium of domain maturation.The storage medium is located at memory 602, and processor 601 reads the information in memory 602, knot
Close the step of its hardware completes signal processing flow.
Specifically, processor 601, for reading the program in memory 602, from candidate carrier set select one or
Multiple candidate carriers obtain transmission carrier set, wherein the candidate transport carrier set is according to service attribute, candidate load
The load of candidate carrier in wave set, the resource occupation in the candidate carrier set in candidate carrier exclude in result at least
One selection;For each business packet in multiple associated business packets, the frequency domain for needing to occupy according to the transmission of corresponding service packet
Resource size is selected from the surplus resources after all carrier resources exclusion of the transmission carrier set for corresponding service packet
Resource.The specific implementation process of above-mentioned process can be found in the description of previous embodiment, be not repeated herein.
Based on the same technical idea, the embodiment of the present application also provides a kind of computer storage mediums.The computer
Readable storage medium storing program for executing is stored with computer executable instructions, before the computer executable instructions are for executing the computer
State resource selection process described in embodiment.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.