Disclosure of Invention
The invention provides a resource selection method and a terminal, which solve the problems of resource waste and even possible resource selection failure caused by excessive elimination of resources in the conventional V2X SKIP mechanism.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a resource selection method, including:
in a resource selection window corresponding to a target service transmission block, a first candidate resource set is obtained according to a preset limiting condition;
Selecting transmission resources corresponding to the target service transmission block according to the first candidate resource set;
wherein the preset limiting conditions comprise at least one of the following:
performing resource exclusion for transmission resources corresponding to the through link control information (Sidelink control information, SCI) of a predetermined period;
performing resource exclusion for transmission resources meeting a predetermined transmission condition;
and releasing the resources aiming at the excluded resources in the resource selection window.
Optionally, the predetermined period is a period element in the target period set; the target period set comprises a plurality of period elements, and at least one of the following conditions is satisfied among different period elements:
the period elements meet multiplication relation;
the least common multiple among different periodic elements meets a first preset condition;
the maximum common factor between the periodic element and the target element meets a second preset condition, and the minimum common factor between the periodic element and the target element meets a third preset condition; wherein the target element is associated with a period element in the target period set that is greater than the target element.
Optionally, the performing resource exclusion for the transmission resource corresponding to the SCI in the predetermined period includes one of the following:
performing resource elimination for transmission resources corresponding to SCI of all periods configured in a resource pool;
performing resource exclusion for transmission resources corresponding to the periodic SCI monitored in the sensing window;
for the periodic SCI of the sending time slot monitored in the sensing window, eliminating the corresponding time slot of the periodic SCI of the sending time slot;
and eliminating resources corresponding to the periodic SCI of the sending time slot aiming at the periodic SCI of the sending time slot monitored in the sensing window.
Optionally, the performing resource exclusion for the transmission resource meeting the predetermined transmission condition includes:
performing resource elimination for transmission resources of M times of transmission in the N times of transmission monitored in the sensing window; m, N is a positive integer, and M is less than N;
or,
performing resource exclusion for transmission resources of the first transmission; wherein, one transmission monitored in the sensing window corresponds to one random number, and the first transmission is a transmission that the random number accords with a preset threshold.
Optionally, the performing resource release on the excluded resources in the resource selection window to obtain a first candidate resource set includes:
Under the condition that the resource selection failure occurs in the transmission resource corresponding to the target service transmission block according to the ith first candidate resource set: releasing the resources aiming at the excluded resources in the resource selection window to obtain an (i+1) th first candidate resource set; i is a positive integer.
Optionally, performing resource release for the excluded resources in the resource selection window to obtain the (i+1) th first candidate resource set, including:
obtaining the (i+1) th first candidate resource set according to the (i) th first candidate resource set and resources in the first candidate subframe; the first candidate subframes are other candidate subframes except for the candidate subframes corresponding to the Kth transmission in the second candidate subframes, and the second candidate subframes are candidate subframes corresponding to skip subframes in a sensing window; k is a positive integer;
or,
obtaining the (i+1) th first candidate resource set according to the (i) th first candidate resource set and the first resources in the second candidate subframe; wherein the first resource is a skip resource corresponding to at least one group of SCIs of the same period monitored in the sensing window.
Optionally, the first resource is: sequencing according to the number of SCIs with the same period monitored in the sensing window, and determining at least one group of skip resources corresponding to SCIs with the same period;
Or,
the first resource is: and sequencing according to the product of the number of SCIs with the same period and the period size monitored in the sensing window, and determining at least one group of skip resources corresponding to the SCIs with the same period.
In a second aspect, an embodiment of the present invention further provides a terminal, including: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of:
in a resource selection window corresponding to a target service transmission block, a first candidate resource set is obtained according to a preset limiting condition;
selecting transmission resources corresponding to the target service transmission block according to the first candidate resource set;
wherein the preset limiting conditions comprise at least one of the following:
performing resource exclusion for transmission resources corresponding to SCI of a predetermined period;
performing resource exclusion for transmission resources meeting a predetermined transmission condition;
and releasing the resources aiming at the excluded resources in the resource selection window.
Optionally, the predetermined period is a period element in the target period set; the target period set comprises a plurality of period elements, and at least one of the following conditions is satisfied among different period elements:
The period elements meet multiplication relation;
the least common multiple among different periodic elements meets a first preset condition;
the maximum common factor between the periodic element and the target element meets a second preset condition, and the minimum common factor between the periodic element and the target element meets a third preset condition; wherein the target element is associated with a period element in the target period set that is greater than the target element.
Optionally, the processor when executing the computer program implements one of the following steps:
performing resource elimination for transmission resources corresponding to SCI of all periods configured in a resource pool;
performing resource exclusion for transmission resources corresponding to the periodic SCI monitored in the sensing window;
for the periodic SCI of the sending time slot monitored in the sensing window, eliminating the corresponding time slot of the periodic SCI of the sending time slot;
and eliminating resources corresponding to the periodic SCI of the sending time slot aiming at the periodic SCI of the sending time slot monitored in the sensing window.
Optionally, the processor when executing the computer program implements the steps of:
Performing resource elimination for transmission resources of M times of transmission in the N times of transmission monitored in the sensing window; m, N is a positive integer, and M is less than N;
or,
performing resource exclusion for transmission resources of the first transmission; wherein, one transmission monitored in the sensing window corresponds to one random number, and the first transmission is a transmission that the random number accords with a preset threshold.
Optionally, the processor when executing the computer program implements the steps of:
under the condition that the resource selection failure occurs in the transmission resource corresponding to the target service transmission block according to the ith first candidate resource set: releasing the resources aiming at the excluded resources in the resource selection window to obtain an (i+1) th first candidate resource set; i is a positive integer.
Optionally, the processor when executing the computer program implements the steps of:
obtaining the (i+1) th first candidate resource set according to the (i) th first candidate resource set and resources in the first candidate subframe; the first candidate subframes are other candidate subframes except for the candidate subframes corresponding to the Kth transmission in the second candidate subframes, and the second candidate subframes are candidate subframes corresponding to skip subframes in a sensing window; k is a positive integer;
Or,
obtaining the (i+1) th first candidate resource set according to the (i) th first candidate resource set and the first resources in the second candidate subframe; wherein the first resource is a skip resource corresponding to at least one group of SCIs of the same period monitored in the sensing window.
Optionally, the first resource is: sequencing according to the number of SCIs with the same period monitored in the sensing window, and determining at least one group of skip resources corresponding to SCIs with the same period;
or,
the first resource is: and sequencing according to the product of the number of SCIs with the same period and the period size monitored in the sensing window, and determining at least one group of skip resources corresponding to the SCIs with the same period.
In a third aspect, an embodiment of the present invention further provides a terminal, including:
the processing module is used for obtaining a first candidate resource set according to a preset limiting condition in a resource selection window corresponding to the target service transmission block;
a selection module, configured to select, according to the first candidate resource set, a transmission resource corresponding to the target service transmission block;
wherein the preset limiting conditions comprise at least one of the following:
Performing resource exclusion for transmission resources corresponding to SCI of a predetermined period;
performing resource exclusion for transmission resources meeting a predetermined transmission condition;
and releasing the resources aiming at the excluded resources in the resource selection window.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a resource selection method as described above.
The technical scheme of the invention has the beneficial effects that:
in the above scheme, in a resource selection window corresponding to a target service transport block, at least one of resource exclusion is performed for a transmission resource corresponding to a SCI in a predetermined period, resource exclusion is performed for a transmission resource meeting a predetermined transmission condition, and resource release is performed for an excluded resource in the resource selection window, so as to obtain a first candidate resource set; and selecting the transmission resource corresponding to the target service transmission block according to the first candidate resource set. In this way, by reducing the number of resource exclusions performed in the resource selection window and/or the manner of releasing the excluded resources, the risk of resource overdetermination is reduced, and further the resource waste caused by resource overdetermination is reduced, and even the problem of resource selection failure is solved.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved more apparent, the following detailed description will be given with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided merely to facilitate a thorough understanding of embodiments of the invention. It will therefore be apparent to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In addition, the terms "system" and "network" are often used interchangeably herein.
In the examples provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B may be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may also determine B from a and/or other information.
In an embodiment of the present invention, the terminal may be a mobile phone (or handset), or other device capable of sending or receiving wireless signals, including a user equipment, a Personal Digital Assistant (PDA), a wireless modem, a wireless communication device, a handheld device, a laptop computer, a cordless phone, a Wireless Local Loop (WLL) station, a CPE (Customer Premise Equipment, a client terminal) or a mobile smart hotspot capable of converting mobile signals into WiFi signals, a smart home appliance, or other device capable of autonomously communicating with a mobile communication network without human manipulation, etc.
Specifically, the embodiment of the invention provides a resource selection method, which solves the problems of resource waste and even possible resource selection failure caused by excessive elimination of resources in the conventional V2X SKIP mechanism.
As shown in fig. 1, an embodiment of the present invention provides a resource selection method, including:
step 11: and in a resource selection window corresponding to the target service transmission block, acquiring a first candidate resource set according to a preset limiting condition.
Wherein the preset limiting conditions comprise at least one of the following:
performing resource exclusion for transmission resources corresponding to SCI of a predetermined period;
performing resource exclusion for transmission resources meeting a predetermined transmission condition;
and releasing the resources aiming at the excluded resources in the resource selection window.
Optionally, when the preset limiting condition includes: when the resource is eliminated for the transmission resource corresponding to the SCI in the preset period, the number of the resource elimination in the resource selection window can be reduced, so that the risk of excessive resource elimination is reduced, and further, the resource waste caused by excessive resource elimination is reduced, and even the problem of resource selection failure is solved.
Optionally, when the preset limiting condition includes: when the resource is eliminated for the transmission resource meeting the preset transmission condition, the number of the resource elimination in the resource selection window can be reduced, so that the risk of excessive elimination of the resource is reduced, and further the resource waste caused by excessive elimination of the resource is reduced, and even the problem of resource selection failure is solved.
Optionally, when the preset limiting condition includes: when the resources are released for the excluded resources in the resource selection window, the resource waste can be reduced by releasing the excluded resources under the condition of over-exclusion of the resources, so that the probability of failure in resource selection caused by over-exclusion of the resources is reduced.
Optionally, when the preset limiting condition includes: when releasing the resources with respect to the excluded resources in the resource selection window, the step 11 may further specifically include:
performing resource elimination in a resource selection window corresponding to the target service transmission block to obtain a first sub-candidate resource set; when the first sub-candidate resource set meets a preset condition, releasing the resources aiming at the excluded resources in the resource selection window to obtain a second sub-candidate resource set; and further, taking the second sub-candidate resource set as the first candidate resource set, and executing the following resource selection step.
Wherein the first sub-candidate resource set meets a preset condition may include, but is not limited to: failure of resource selection occurs when the resource selection is performed according to the first sub candidate resource set; or when the resource selection pre-judgment is carried out according to the first sub-candidate resource set, judging that the resource selection fails.
When the resource is removed in the resource selection window corresponding to the target service transport block, the resource removal may be performed not only by adopting the above transmission resource corresponding to the SCI of the predetermined period, and/or by adopting a mode of removing the resource for the transmission resource meeting the predetermined transmission condition, specifically:
as shown in fig. 2, a schematic diagram of a time domain relationship of a resource selection window corresponding to a target service transport block is given; for example: all candidate resources in the resource selection window are available resources under the initial condition; and performing resource exclusion for the resources in the resource selection window, and selecting the resources in the resource selection window.
And selecting the resources in the resource selection window by acquiring the information in the sensing window (for example, determining that the effective latest SA is that the information of other nodes acquired in the sensing window is valid only by the latest SA which is reserved for the resources which belong to the resource selection window in time and are behind the resource selection window), namely, presuming the occupation condition of the resources in the resource selection window according to the acquired information in the sensing window, and further screening the resources in the resource selection window.
In a resource selection window corresponding to the target service transmission block, eliminating candidate subframes corresponding to skip subframes; wherein, in the sensing window, if the UE itself transmits on a certain subframe (or subframes), the UE cannot receive on the subframe due to the half duplex effect, and thus cannot sense the subframe (or subframes) are called skip subframes.
For example: other UEs on the subframe reserve the resource of the next transmission in all periods of system configuration, and the subframe where the reserved transmission resource is located overlaps with the candidate subframe or overlaps with the 1,2, … (10 x counter-1) sending subframes behind the candidate subframe, so that the candidate subframe is eliminated; the counter is the number of times of periodic resource occupation and is a random number. If the system is configured to transmit short-period service (such as 20ms and 50ms in period) below 100ms, if the UE transmits in a short period before a service Transport Block (TB) arrives, the system accords with the condition of skip subframe rejection, and (100 ms/short period) candidate subframes are to be rejected, such as the system supports service with the period of 20ms, the resource selection UE transmits in the time range of [ n-20, n ], the candidate subframe y accords with the condition of skip subframe corresponding rejection, and 5 candidate subframes of y, y+20, y+40, y+60, y+80 are to be rejected;
Exclusion is performed for candidate resources within the resource selection window: the SA indicates that the next transmission resource reservation and may collide with the TB transmitted by the candidate resource or the TB transmitted by the subsequent resource corresponding to the candidate resource: performing physical sidelink shared channel-reference signal received power (Physical SideLink Shared Channel-Reference Signal Received Power, PSSCH-RSRP) measurement according to the decoded SA, the measurement being above an RSRP threshold; candidate resources meeting the two conditions need to be excluded from the resource selection window;
determining a proportion (i.e., duty cycle) of the remaining selectable resources within the resource selection window: when the proportion of the current remaining optional resources is greater than or equal to 20%, ending the resource elimination process; when the proportion of the current remaining optional resources is less than 20%, the power threshold value (such as 3dB, the initial value is the system configuration when each resource is selected), and the resource is removed again, namely the process of resource removal is realized.
Step 12: and selecting the transmission resource corresponding to the target service transmission block according to the first candidate resource set.
Optionally, the remaining resources, i.e. the resources in the first candidate resource set, whose resources are not excluded from the selection window, are ranked by average work rate, and 20% of the resources with lower smoothing power are screened. When one target service transmission block corresponds to one transmission, the UE can select one transmission resource from the screened 20% resources; when one target service transmission block corresponds to two transmissions, the UE can select two transmission resources from the screened 20% resources, the two resources can be expressed as Tn and Tn+k in the time domain, wherein the limiting condition of the two resources in the time domain is that-15 is less than or equal to k is less than or equal to 15, and k is not equal to 0. Alternatively, the method for selecting the two resources may be to select one of the resources according to the above-mentioned method for selecting the resource, and then select the second resource according to the constraint.
It should be noted that, in the case that the first candidate resource set is obtained according to the above step 11, the method for selecting the transmission resource corresponding to the target service transport block from the first candidate resource set may also be other resource selection manners than the above example, which is not limited to this embodiment of the present invention.
In the above scheme, in a resource selection window corresponding to a target service transport block, at least one of resource exclusion is performed for a transmission resource corresponding to a SCI in a predetermined period, resource exclusion is performed for a transmission resource meeting a predetermined transmission condition, and resource release is performed for an excluded resource in the resource selection window, so as to obtain a first candidate resource set; and selecting the transmission resource corresponding to the target service transmission block according to the first candidate resource set. In this way, by reducing the number of resource exclusions performed in the resource selection window and/or the manner of releasing the excluded resources, the risk of resource overdetermination is reduced, and further the resource waste caused by resource overdetermination is reduced, and even the problem of resource selection failure is solved.
The above preset limiting conditions are specifically described below with reference to specific examples:
Optionally, when the preset limiting condition includes: when the resource is removed for the transmission resource corresponding to the through link control information SCI in the predetermined period, the predetermined period is a period element in the target period set.
The target period set comprises a plurality of period elements, and at least one of the following conditions is satisfied among different period elements:
the period elements meet multiplication relation;
the least common multiple among different periodic elements meets a first preset condition;
the maximum common factor between the periodic element and the target element meets a second preset condition, and the minimum common factor between the periodic element and the target element meets a third preset condition; wherein the target element is associated with a period element in the target period set that is greater than the target element.
Because of different service period configurations, the number of the exclusion of the corresponding different SKIP time slots; such as: when the service period of the UE is more than or equal to X, the number of the SKIP exclusion time slots is related to whether multiplication relation exists between configuration periods smaller than the X or is related to the least common multiple between the configuration periods smaller than the X; when the service period of the UE is less than X, the number of the SKIP exclusion time slots is related to the maximum common factor and the minimum common multiple between the service period of the UE and the X in addition to whether multiplication relation correlation exists between the configuration periods smaller than the X; therefore, the system can reduce the number of SKIP time slot exclusions by setting the service period in advance so that the service period of the terminal meets the conditions, thereby reducing the risk of resource overdischarge, and further reducing the resource waste caused by resource overdischarge and even the problem of resource selection failure.
Alternatively, the NR-V2X can be configured from at most 16 values of 0, [1:99],100,200,300,400,500,600,700,800,900,1000ms over the service period, and X in the above scheme can be 100. Wherein [1:99] represents an integer of 1 to 99. Thus, when the system configures the service period, the following conditions can be satisfied: the periods are configured into multiplication relation, or a configuration value with the least common multiple as small as possible is selected; the configuration period is selected to be as large as possible with the maximum common factor of 100 and as small as possible with the minimum common factor.
It should be noted that, the least common multiple between the periodic elements satisfies the first preset condition, for example, the configuration value with the least common multiple between the periods as small as possible may be a group with the least common multiple between the periods smaller than the least common multiple between the periods selected from the multiple groups of alternative configuration period values, for example: one set of alternative configuration periods is [0,10,20,40,80,100,200,300,400,500,600,700,800,900,1000ms ], the other set of alternative configuration periods is [0,11,21,41,81,100,200,300,400,500,600,700,800,900,1000ms ], and a set of configuration periods with a smaller least common multiple, namely [0,10,20,40,80,100,200,300,400,500,600,700,800,900,1000ms ], can be selected between the two.
For example: the periods in [1:99] are configured in multiplication relations, such as 10,20,40,80; if the service period of the UE is 100ms, the resource selection window is [4,100 ], and the terminal transmits data in n-15 ms;
when the period is configured as [0,10,20,40,80,100,200,300,400,500,600,700,800,900,1000ms ], the number of slots to be excluded in the SKIP process is 5: n+5, n+25, n+45, n+65, n+85;
when the period is configured as [0,11,21,41,81,100,200,300,400,500,600,700,800,900,1000ms ], the number of slots to be excluded in the SKIP process is 9: n+6, n+26, n+27, n+48, n+66, n+67, n+69, n+85, n+90;
therefore, when the periods in the range of [1:99] are configured to be multiplied, the number of time slots to be eliminated in the SKIP process is relatively small, so that the risk of excessive elimination of resources can be reduced, and further the problems of resource waste and even resource selection failure caused by excessive elimination of resources are solved.
Correspondingly, the maximum common factor between the periodic element and the target element meets a second preset condition, and the least common multiple between the periodic element and the target element meets a third preset condition, for example, the configuration period is selected to be as large as possible with the maximum common factor of 100, the least common multiple is as small as possible, and the configuration period is selected from a plurality of alternative configuration period values to meet the transmission requirement, the maximum common factor between the periodic element and the target element is relatively large, and the least common multiple between the periodic element and the target element is relatively small, for example: one set of alternative configuration periods is [0,10,20,40,80,100,200,300,400,500,600,700,800,900,1000ms ], another set of alternative configuration periods is [0,10,20,40,90,100,200,300,400,500,600,700,800,900,1000ms ], and a set of periods having a relatively large maximum common factor with 100 and a relatively small minimum common factor with 100, namely [0,10,20,40,80,100,200,300,400,500,600,700,800,900,1000ms ], may be selected therebetween.
For example: the configuration period in [1:99] is selected to be as large as possible with the maximum common factor of 100 and as small as possible with the minimum common factor, such as 80 between 80 and 90;
when the period is configured as [0,10,20,40,80,100,200,300,400,500,600,700,800,900,1000ms ], assuming that the UE service period is 80ms and the resource selection window is [4,80 ], the terminal transmits data in n-15ms, and the number of slots to be excluded in the SKIP process is 4: n+5, n+25, n+45, n+65;
when the period is configured as [0,10,20,40,90,100,200,300,400,500,600,700,800,900,1000ms ], assuming that the UE service period is 90ms and the resource selection window is [4,90 "), the terminal transmits data in n-15ms, and the number of slots to be excluded in the SKIP process is 9: n+5, n+15, n+25, n+35, n+45, n+55, n+65, n+75, n+85;
from this, it can be seen that when the maximum common factor between the configuration period selection and 100 in [1:99] is as large as possible and the minimum common factor is as small as possible, the number of time slots to be excluded in the SKIP process is relatively small, so that the risk of resource overdoop can be reduced, and further the resource waste caused by resource overdoop is reduced, and even the problem of resource selection failure is solved.
Optionally, according to at least one embodiment of the foregoing, the step of performing resource exclusion for the transmission resource corresponding to the SCI of the predetermined period may specifically include the following manner:
Mode one: and performing resource exclusion for transmission resources corresponding to SCIs of all periods configured in the resource pool.
Alternatively, as an implementation: all periods configured in the resource pool may be all period elements in the target period set satisfying the above condition; thus, even if the resource is eliminated for all the periods configured in the resource pool, the number of time slots needing to be eliminated in the SKIP process is reduced.
Alternatively, as another implementation: in the case that all periods configured in the resource pool are not period elements in the target period set meeting the above conditions, the method of releasing the resources for the excluded resources in the resource selection window can be combined, so that the probability of failure in resource selection due to excessive resource exclusion can be reduced.
Mode two: and performing resource exclusion on the transmission resources corresponding to the periodic SCI monitored in the sensing window.
For example: in the process that the UE senses in the sensing window, for a certain transmission, if the fact that other UEs with the period of 50 and 80 have resource reservation in the time slot corresponding to the transmission, the SKIP mechanism with the period of 50 and 80 is initiated for the transmission.
Of course, the periods 50 and 80 listed above are merely examples, and the service period of the UE in the embodiment of the present invention is not limited thereto.
Mode three: and eliminating the periodic SCI corresponding time slot of the sending time slot aiming at the periodic SCI of the sending time slot monitored in the sensing window.
Mode four: and eliminating resources corresponding to the periodic SCI of the sending time slot aiming at the periodic SCI of the sending time slot monitored in the sensing window.
In this embodiment, the resource exclusion within the resource selection window is performed only for SCI of a specific period, which is advantageous for reducing the number of timeslots to be excluded in the SKIP process.
Optionally, according to at least one embodiment of the foregoing, the step of performing resource exclusion for a transmission resource that meets a predetermined transmission condition may specifically include:
performing resource elimination for transmission resources of M times of transmission in the N times of transmission monitored in the sensing window; m, N is a positive integer, and M is less than N;
alternatively, a ratio value may be preset, denoted as M/N; namely, randomly selecting M times of transmission from N times of transmission to trigger an SKIP mechanism; the ratio value may be a high-level configuration or may be determined according to quality of service (Quality of Service, QOS).
For example: the UE transmits 3 times in the sensing process, namely, 3 times of transmission are carried out; if the preset ratio value is 1/3, 1 transmission trigger SKIP mechanism is randomly selected from the 3 transmissions. If the second transmission of the 3 transmissions is selected, the SKIP mechanism is triggered for the second transmission, and the first transmission and the third transmission of the 3 transmissions do not trigger the SKIP mechanism, thereby being beneficial to reducing the number of time slots to be excluded in the SKIP process.
Optionally, according to at least one embodiment of the foregoing, the step of performing resource exclusion for a transmission resource that meets a predetermined transmission condition may further specifically include:
performing resource exclusion for transmission resources of the first transmission; wherein, one transmission monitored in the sensing window corresponds to one random number, and the first transmission is a transmission that the random number accords with a preset threshold.
Alternatively, a threshold k may be preset, where the threshold k may be a high-level configuration, or may be determined according to QOS; and generating a random number for each transmission monitored in the sensing window, comparing the random number with the threshold k, and triggering the SKIP mechanism if the random number is larger than the threshold k (or triggering the SKIP mechanism if the random number is smaller than the threshold k).
For example: the UE transmits 3 times in the sensing process, namely, 3 times of transmission are carried out; the threshold k is set to be 0.5, and a mode that a SKIP mechanism is triggered when the threshold k is larger than the threshold k is adopted;
for the first transmission, the generated random number is 0.36, and the random number is smaller than the threshold value k=0.5, and the SKIP mechanism is not triggered for the current transmission;
for the second transmission, the generated random number is 0.78, and the random number is greater than the threshold value k=0.5, and the SKIP mechanism is triggered for the current transmission;
for the third transmission, the generated random number is 0.26, the random number is smaller than the threshold k=0.5, and the SKIP mechanism is not triggered for the present transmission.
In this embodiment, by performing resource exclusion within the resource selection window only for a specific transmission, it is advantageous to reduce the number of slots that need to be excluded in the SKIP process.
Optionally, according to at least one embodiment of the foregoing, the step of obtaining the first candidate resource set by releasing resources for the excluded resources in the resource selection window may specifically include:
under the condition that the resource selection failure occurs in the transmission resource corresponding to the target service transmission block according to the ith first candidate resource set: releasing the resources aiming at the excluded resources in the resource selection window to obtain an (i+1) th first candidate resource set; i is a positive integer.
Of course, it may also be that, in the case of performing resource selection pre-determination according to the ith first candidate resource set, it is determined that the transmission resource corresponding to the selected target service transmission block may fail in resource selection: releasing the resources aiming at the excluded resources in the resource selection window to obtain an (i+1) th first candidate resource set; i is a positive integer.
Specifically, the step of releasing the resources with respect to the excluded resources in the resource selection window to obtain the (i+1) th first candidate resource set may specifically include:
obtaining the (i+1) th first candidate resource set according to the (i) th first candidate resource set and resources in the first candidate subframe; the first candidate subframes are other candidate subframes except for the candidate subframes corresponding to the Kth transmission in the second candidate subframes, and the second candidate subframes are candidate subframes corresponding to skip subframes in a sensing window; k is a positive integer;
for example: only reserving SKIP exclusion resources corresponding to any one transmission in the multiple transmissions, and releasing SKIP exclusion resources corresponding to other transmissions, so that resource waste caused by excessive exclusion of resources and even probability of resource selection failure can be reduced by releasing the excluded resources.
Specifically, the step of releasing the resources with respect to the excluded resources in the resource selection window to obtain the (i+1) th first candidate resource set may further specifically include:
obtaining the (i+1) th first candidate resource set according to the (i) th first candidate resource set and the first resources in the second candidate subframe; wherein the first resource is a skip resource corresponding to at least one group of SCIs of the same period monitored in the sensing window.
Alternatively, as an implementation: the first resources may be skip resources corresponding to at least one group of SCIs with the same period, which are determined by sorting according to the number of SCIs with the same period monitored in the sensing window.
Optionally, the SCIs with the same period monitored in the sensing process can be sequenced, and on the resource release mechanism, SKIP resources corresponding to the period with smaller number can be adopted for priority release; the SKIP resources corresponding to the periods with larger numbers can be used for releasing preferentially.
For example: one or more groups of SKIP resources corresponding to SCIs with the same period with the smallest quantity (or the largest quantity) can be preferentially released; the method and the device can specifically release one group at a time until the resource selection requirement is met, or release multiple groups at a time to meet the resource selection requirement, and the embodiment of the invention is not particularly limited.
For example: and triggering a SKIP resource release mechanism under the condition of resource selection failure. The period and number of periodic SCI monitored during sensing is shown in table 1 below:
TABLE 1
SCI cycle
|
Quantity of
|
200
|
6
|
100
|
10
|
80
|
20
|
50
|
50
|
20
|
30 |
If a policy of releasing SKIP resources preferentially corresponding to a smaller number of periods is adopted, the sequence of releasing the SKIP resources is as follows: the SCI period is 200, 100, 80, 20, 50.
Alternatively, as another implementation: the first resources may be skip resources corresponding to at least one group of SCIs with the same period, which are determined by sorting according to the product of the number of SCIs with the same period and the period size, which are monitored in the sensing window.
Optionally, the SCIs of the same period monitored in the sensing process can be sequenced according to the product of the SCIs and the periods, and on the resource release mechanism, SKIP resources corresponding to the periods with smaller product can be used for priority release; the SKIP resources corresponding to the period with larger product can be used for priority release.
For example: one or more groups of SKIP resources corresponding to SCIs with the same period and the minimum product (or the maximum product) can be preferentially released; the method and the device can specifically release one group at a time until the resource selection requirement is met, or release multiple groups at a time to meet the resource selection requirement, and the embodiment of the invention is not particularly limited.
For example: and triggering a SKIP resource release mechanism under the condition of resource selection failure. The period and number of periodic SCI monitored during sensing is shown in table 2 below:
TABLE 2
SCI cycle
|
Quantity of
|
Product of
|
200
|
6
|
1200
|
100
|
10
|
1000
|
80
|
20
|
1600
|
50
|
50
|
2500
|
20
|
30
|
600 |
If the policy of the SKIP resource priority release corresponding to the period with smaller product is adopted, the sequence of the SKIP resource release is as follows: the SCI period is 20, 100, 200, 80, 50.
In this embodiment, the resource waste is reduced by releasing the excluded resources, so that the probability of failure in resource selection due to excessive resource exclusion can be reduced.
The above embodiments are described with respect to the resource selection method of the present invention, and the following embodiments will further describe the corresponding terminals with reference to the accompanying drawings.
Specifically, as shown in fig. 3, an embodiment of the present invention further provides a terminal 300, including:
a processing module 310, configured to obtain a first candidate resource set according to a preset limiting condition in a resource selection window corresponding to the target service transmission block;
a selecting module 320, configured to select, according to the first candidate resource set, a transmission resource corresponding to the target service transmission block;
wherein the preset limiting conditions comprise at least one of the following:
Performing resource exclusion for transmission resources corresponding to the direct link control information SCI in a preset period;
performing resource exclusion for transmission resources meeting a predetermined transmission condition;
and releasing the resources aiming at the excluded resources in the resource selection window.
Optionally, the predetermined period is a period element in the target period set; the target period set comprises a plurality of period elements, and at least one of the following conditions is satisfied among different period elements:
the period elements meet multiplication relation;
the least common multiple among different periodic elements meets a first preset condition;
the maximum common factor between the periodic element and the target element meets a second preset condition, and the minimum common factor between the periodic element and the target element meets a third preset condition; wherein the target element is associated with a period element in the target period set that is greater than the target element.
Optionally, when the processing module 310 performs the step of performing resource exclusion for the transmission resource corresponding to the SCI of the predetermined period, the processing module 310 may specifically include:
a first elimination sub-module, configured to perform resource elimination for transmission resources corresponding to SCI of all periods configured in the resource pool;
A second elimination sub-module, configured to perform resource elimination for the transmission resources corresponding to the periodic SCI monitored in the sensing window;
a third elimination sub-module, configured to eliminate, for the periodic SCI of the transmission time slot monitored in the sensing window, a time slot corresponding to the periodic SCI of the transmission time slot;
and a fourth elimination sub-module, configured to eliminate resources corresponding to the periodic SCI of the transmission time slot with respect to the periodic SCI of the transmission time slot monitored in the sensing window.
Optionally, when the processing module 310 performs the step of performing resource exclusion for the transmission resources meeting the predetermined transmission condition, the processing module 310 may specifically include:
a fifth elimination sub-module, configured to perform resource elimination for transmission resources of M transmissions among the N transmissions monitored in the sensing window; m, N is a positive integer, and M is less than N;
a sixth elimination sub-module, configured to perform resource elimination for the transmission resource of the first transmission; wherein, one transmission monitored in the sensing window corresponds to one random number, and the first transmission is a transmission that the random number accords with a preset threshold.
Optionally, when the processing module 310 performs the step of releasing the resources with respect to the excluded resources in the resource selection window to obtain the first candidate resource set, the processing module 310 may specifically include:
A releasing sub-module, configured to, in case that resource selection failure occurs in selecting a transmission resource corresponding to the target service transport block according to the ith first candidate resource set: releasing the resources aiming at the excluded resources in the resource selection window to obtain an (i+1) th first candidate resource set; i is a positive integer.
Optionally, the release submodule includes:
a first releasing unit, configured to obtain the (i+1) th first candidate resource set according to the (i) th first candidate resource set and resources in the first candidate subframe; the first candidate subframes are other candidate subframes except for the candidate subframes corresponding to the Kth transmission in the second candidate subframes, and the second candidate subframes are candidate subframes corresponding to skip subframes in a sensing window; k is a positive integer;
a second releasing unit, configured to obtain the (i+1) th first candidate resource set according to the (i) th first candidate resource set and the first resources in the second candidate subframe; wherein the first resource is a skip resource corresponding to at least one group of SCIs of the same period monitored in the sensing window.
Optionally, the first resource is: sequencing according to the number of SCIs with the same period monitored in the sensing window, and determining at least one group of skip resources corresponding to SCIs with the same period;
Alternatively, the first resource is: and sequencing according to the product of the number of SCIs with the same period and the period size monitored in the sensing window, and determining at least one group of skip resources corresponding to the SCIs with the same period.
The terminal side embodiment of the present invention corresponds to the resource selection method embodiment, and all implementation means in the method embodiment are applicable to the terminal side embodiment, so that the same technical effects can be achieved.
In the terminal 300 in the embodiment of the present invention, in a resource selection window corresponding to a target service transport block, at least one of resource exclusion is performed for a transport resource corresponding to a SCI in a predetermined period, resource exclusion is performed for a transport resource meeting a predetermined transport condition, and resource release is performed for an excluded resource in the resource selection window, so as to obtain a first candidate resource set; and selecting the transmission resource corresponding to the target service transmission block according to the first candidate resource set. In this way, by reducing the number of resource exclusions performed in the resource selection window and/or the manner of releasing the excluded resources, the risk of resource overdetermination is reduced, and further the resource waste caused by resource overdetermination is reduced, and even the problem of resource selection failure is solved.
As shown in fig. 4, an embodiment of the present invention further provides a terminal, including: a processor 41 and a memory 43 connected to the processor 41 through a bus interface 42, the memory 43 storing programs and data used by the processor 41 in performing operations, when the processor 41 calls and executes the programs and data stored in the memory 43, the following procedure is performed.
Specifically, the processor 41 implements the following steps when executing the computer program:
in a resource selection window corresponding to a target service transmission block, a first candidate resource set is obtained according to a preset limiting condition;
selecting transmission resources corresponding to the target service transmission block according to the first candidate resource set;
wherein the preset limiting conditions comprise at least one of the following:
performing resource exclusion for transmission resources corresponding to the direct link control information SCI in a preset period;
performing resource exclusion for transmission resources meeting a predetermined transmission condition;
and releasing the resources aiming at the excluded resources in the resource selection window.
Optionally, the predetermined period is a period element in the target period set; the target period set comprises a plurality of period elements, and at least one of the following conditions is satisfied among different period elements:
The period elements meet multiplication relation;
the least common multiple among different periodic elements meets a first preset condition;
the maximum common factor between the periodic element and the target element meets a second preset condition, and the minimum common factor between the periodic element and the target element meets a third preset condition; wherein the target element is associated with a period element in the target period set that is greater than the target element.
Optionally, the processor 41 further implements one of the following steps when executing the computer program:
performing resource elimination for transmission resources corresponding to SCI of all periods configured in a resource pool;
performing resource exclusion for transmission resources corresponding to the periodic SCI monitored in the sensing window;
for the periodic SCI of the sending time slot monitored in the sensing window, eliminating the corresponding time slot of the periodic SCI of the sending time slot;
and eliminating resources corresponding to the periodic SCI of the sending time slot aiming at the periodic SCI of the sending time slot monitored in the sensing window.
Optionally, the processor 41 when executing the computer program also implements the following steps:
Performing resource elimination for transmission resources of M times of transmission in the N times of transmission monitored in the sensing window; m, N is a positive integer, and M is less than N;
or,
performing resource exclusion for transmission resources of the first transmission; wherein, one transmission monitored in the sensing window corresponds to one random number, and the first transmission is a transmission that the random number accords with a preset threshold.
Optionally, the processor 41 when executing the computer program also implements the following steps:
under the condition that the resource selection failure occurs in the transmission resource corresponding to the target service transmission block according to the ith first candidate resource set: releasing the resources aiming at the excluded resources in the resource selection window to obtain an (i+1) th first candidate resource set; i is a positive integer.
Optionally, the processor 41 when executing the computer program also implements the following steps:
obtaining the (i+1) th first candidate resource set according to the (i) th first candidate resource set and resources in the first candidate subframe; the first candidate subframes are other candidate subframes except for the candidate subframes corresponding to the Kth transmission in the second candidate subframes, and the second candidate subframes are candidate subframes corresponding to skip subframes in a sensing window; k is a positive integer;
Or,
obtaining the (i+1) th first candidate resource set according to the (i) th first candidate resource set and the first resources in the second candidate subframe; wherein the first resource is a skip resource corresponding to at least one group of SCIs of the same period monitored in the sensing window.
Optionally, the first resource is: sequencing according to the number of SCIs with the same period monitored in the sensing window, and determining at least one group of skip resources corresponding to SCIs with the same period;
alternatively, the first resource is: and sequencing according to the product of the number of SCIs with the same period and the period size monitored in the sensing window, and determining at least one group of skip resources corresponding to the SCIs with the same period.
Wherein a transceiver 44 is connected to the bus interface 42 for receiving and transmitting data under the control of the processor 41.
It should be noted that in fig. 4, the bus architecture may include any number of interconnected buses and bridges, and in particular one or more processors represented by processor 41 and various circuits of the memory represented by memory 43, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 44 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The user interface 45 may also be an interface capable of interfacing with an inscribed desired device for a different terminal, including but not limited to a keypad, display, speaker, microphone, joystick, etc. The processor 41 is responsible for managing the bus architecture and general processing, and the memory 43 may store data used by the processor 41 in performing operations.
Those skilled in the art will appreciate that all or part of the steps of implementing the above-described embodiments may be implemented by hardware, or may be implemented by instructing the relevant hardware by a computer program comprising instructions for performing some or all of the steps of the above-described methods; and the computer program may be stored in a readable storage medium, which may be any form of storage medium.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above-mentioned resource selection method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
Furthermore, it should be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. Also, the steps of performing the series of processes described above may naturally be performed in chronological order in the order of description, but are not necessarily performed in chronological order, and some steps may be performed in parallel or independently of each other. It will be appreciated by those of ordinary skill in the art that all or any of the steps or components of the methods and apparatus of the present invention may be implemented in hardware, firmware, software, or a combination thereof in any computing device (including processors, storage media, etc.) or network of computing devices, as would be apparent to one of ordinary skill in the art after reading this description of the invention.
The object of the invention can thus also be achieved by running a program or a set of programs on any computing device. The computing device may be a well-known general purpose device. The object of the invention can thus also be achieved by merely providing a program product containing program code for implementing said method or apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is apparent that the storage medium may be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. The steps of executing the series of processes may naturally be executed in chronological order in the order described, but are not necessarily executed in chronological order. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.