Resource allocation method, terminal, network side device and storage medium

By selecting resource allocation methods based on resource pool collision conditions, congestion conditions, power saving conditions and preset priority allocation rules in the LTE-V2X direct link, the resource collision problems caused by a large number of terminals choosing random selection are solved, and the reliability of resource transmission is improved.

CN115334580BActive Publication Date: 2025-04-01DATANG MOBILE COMM EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110507910.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-10
Publication Date
2025-04-01
Estimated Expiration
2041-05-10

AI Technical Summary

Technical Problem

A large number of terminals choose the random selection resource allocation method to increase the resource collision probability of the resource pool, affecting the packet reception rate.

Method used

By selecting the resource allocation method for the straight-through link based on resource pool collision conditions, resource pool congestion conditions, power saving conditions or preset priority allocation rules, we can ensure the reliability of resource allocation.

Benefits of technology

It effectively reduces the probability of resource collision in the resource pool, improves the reliability of resource transmission, and avoids the problem of resource pool overload caused by random selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115334580B_ABST
    Figure CN115334580B_ABST
Patent Text Reader

Abstract

The present application provides a resource allocation method, terminal, network-side device and storage medium, wherein the method includes: based on at least one allocation parameter and the allocation rules of each allocation parameter, selecting the resource allocation method of the direct link, the allocation parameter is the resource pool collision situation, the resource pool congestion situation, the power saving situation or the preset priority, and the allocation rule is configured on the network side; based on the resource allocation method, performing resource allocation. The method, terminal, network-side device and storage medium provided in the present application select the resource allocation method and perform resource allocation by applying at least one of the resource pool collision situation, the resource pool congestion situation, the power saving situation and the preset priority and their respective allocation rules, effectively ensuring that the number or proportion of terminals in the resource pool that select the random resource allocation method will not exceed the range that the resource pool can bear, reducing the probability of resource collision in the resource pool, and ensuring the reliability of resource transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a resource allocation method, a terminal, a network-side device, and a storage medium. Background Art

[0002] In the LTE (Long Term Evolution)-V2X (Vehicle-to-Everything) direct link Mode 4 resource allocation, the resource allocation method in the resource pool of P-UE (Pedestrian-User Equipment) can be configured as only partial sensing, only random selection, or partial sensing or random selection.

[0003] When the resource pool is configured as partial sensing or random selection, the P-UE decides whether to use partial sensing or random selection as the resource allocation method. For the P-UE, selecting the random selection resource allocation method can save power consumption, while selecting the partial sensing resource allocation method will increase power consumption.

[0004] If too many P-UEs in the resource pool choose the random selection resource allocation method for the sake of power saving, the probability of resource collision in the resource pool will increase, resulting in a decrease in PRR (Packet Reception Rate).

[0005] Application Contents

[0006] The present application provides a resource allocation method, terminal, network-side device and storage medium to solve the problem that a large number of terminals select random selection, which increases the probability of resource collision in the resource pool and affects the packet reception rate.

[0007] In a first aspect, an embodiment of the present application provides a resource allocation method, including:

[0008] Selecting a resource allocation method for a through link based on at least one allocation parameter and allocation rules for each of the allocation parameters, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority, and the allocation rule is configured on the network side;

[0009] Based on the resource allocation method, resources are allocated.

[0010] Optionally, according to a resource allocation method of an embodiment of the present application, selecting a resource allocation mode for a direct link based on at least one allocation parameter and an allocation rule of each allocation parameter includes:

[0011] Determine candidate resource allocation modes for each allocation parameter based on each allocation parameter and allocation rules for each allocation parameter;

[0012] Based on the candidate resource allocation modes of each allocation parameter, the resource allocation mode of the direct link is determined.

[0013] Optionally, according to a resource allocation method of an embodiment of the present application, the determining of candidate resource allocation modes for each allocation parameter based on each allocation parameter and allocation rules for each allocation parameter includes:

[0014] If the resource collision value in the resource pool collision situation is greater than the collision threshold, determining that the candidate resource allocation mode of the resource pool collision situation is partial perception;

[0015] Otherwise, determining the candidate resource allocation mode for the resource pool collision situation as random selection;

[0016] The resource collision value is determined based on a hybrid automatic repeat request HARQ feedback measurement or a partial perception result.

[0017] Optionally, according to a resource allocation method of an embodiment of the present application, the resource allocation method of the direct link is selected based on at least one allocation parameter and an allocation rule of each allocation parameter, and the method also includes:

[0018] Determining the resource collision value based on a proportion of negative acknowledgements NACK in HARQ feedback received within a preset period of time;

[0019] Alternatively, the proportion of unavailable resources in the candidate resources is calculated based on the partial perception results, and the resource collision value is determined based on the proportion of unavailable resources.

[0020] Optionally, according to a resource allocation method of an embodiment of the present application, the determining of candidate resource allocation modes for each allocation parameter based on each allocation parameter and allocation rules for each allocation parameter includes:

[0021] If the CBR in the resource pool congestion situation is greater than the congestion threshold, determining that the candidate resource allocation mode of the resource pool congestion situation is partial perception;

[0022] Otherwise, the candidate resource allocation mode for determining the congestion situation of the resource pool is random selection.

[0023] Optionally, according to a resource allocation method of an embodiment of the present application, the determining of candidate resource allocation modes for each allocation parameter based on each allocation parameter and allocation rules for each allocation parameter includes:

[0024] If the local power saving requirement level in the power saving situation is lower than the first power saving level threshold, determining the candidate resource allocation mode of the power saving situation as partial perception;

[0025] Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection;

[0026] The local power saving requirement level is determined based on the local battery capacity and / or battery remaining level.

[0027] Optionally, according to a resource allocation method of an embodiment of the present application, the determining of candidate resource allocation modes for each allocation parameter based on each allocation parameter and allocation rules for each allocation parameter includes:

[0028] If the proportion of power-saving terminals in the power-saving situation is greater than the power-saving terminal ratio threshold, determining that the candidate resource allocation mode of the power-saving situation is partial perception;

[0029] Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection;

[0030] The power-saving terminal ratio is the ratio of the number of other terminals whose power-saving requirement level is greater than or equal to the second power-saving level threshold to the total number of other terminals.

[0031] Optionally, according to a resource allocation method of an embodiment of the present application, the determining of candidate resource allocation modes for each allocation parameter based on each allocation parameter and each allocation rule of the allocation parameter further includes:

[0032] Obtaining direct link control information SCI sent by other terminals through partial perception;

[0033] The power saving requirement level of the corresponding terminal is extracted from the SCI.

[0034] Optionally, according to a resource allocation method of an embodiment of the present application, the determining of candidate resource allocation modes for each allocation parameter based on each allocation parameter and allocation rules for each allocation parameter includes:

[0035] If the preset priority is less than the priority threshold, determining that the candidate resource allocation mode of the preset priority is partial perception;

[0036] Otherwise, determining that the candidate resource allocation method of the preset priority is random selection;

[0037] The preset priority is the priority of the local end, or the priority of the service executed by the local end.

[0038] Optionally, according to a resource allocation method according to an embodiment of the present application, the determining the resource allocation mode of the direct link based on the candidate resource allocation modes corresponding to each allocation parameter includes:

[0039] If the candidate resource allocation mode corresponding to any allocation parameter is partially sensed, determining that the resource allocation mode of the direct link is partially sensed;

[0040] Otherwise, determine that the resource allocation mode of the direct link is random selection.

[0041] In a second aspect, an embodiment of the present application provides a resource allocation method, including:

[0042] Determine an allocation rule for at least one allocation parameter, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority;

[0043] The terminal is configured with an allocation rule of the at least one allocation parameter so that the terminal selects a resource allocation method for the direct link based on the allocation rule of the at least one allocation parameter and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation method.

[0044] Optionally, according to a resource allocation method according to an embodiment of the present application, the determining of an allocation rule of at least one allocation parameter includes:

[0045] Selecting a rule threshold corresponding to each allocation parameter from a rule threshold set of each allocation parameter;

[0046] Based on the rule threshold corresponding to each allocation parameter, an allocation rule for each allocation parameter is generated.

[0047] In a third aspect, an embodiment of the present application further provides a terminal, including a memory, a transceiver, and a processor:

[0048] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0049] Selecting a resource allocation method for a through link based on at least one allocation parameter and allocation rules for each of the allocation parameters, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority, and the allocation rule is configured on the network side;

[0050] Based on the resource allocation method, resources are allocated.

[0051] In a fourth aspect, an embodiment of the present application further provides a network side device, including a memory, a transceiver, and a processor:

[0052] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0053] Determine an allocation rule for at least one allocation parameter, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority;

[0054] The terminal is configured with an allocation rule of the at least one allocation parameter so that the terminal selects a resource allocation method for the direct link based on the allocation rule of the at least one allocation parameter and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation method.

[0055] In a fifth aspect, an embodiment of the present application further provides a resource allocation device, including:

[0056] A resource allocation mode determination unit, configured to select a resource allocation mode for a through link based on at least one allocation parameter and an allocation rule for each of the allocation parameters, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority, and the allocation rule is configured on the network side;

[0057] The allocation unit is used to allocate resources based on the resource allocation method.

[0058] In a sixth aspect, an embodiment of the present application further provides a resource allocation device, including:

[0059] A rule determination unit, used to determine an allocation rule for at least one allocation parameter, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority;

[0060] A configuration unit is used to configure an allocation rule of at least one allocation parameter for a terminal, so that the terminal selects a resource allocation method for a direct link based on the allocation rule of at least one allocation parameter and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation method.

[0061] In the seventh aspect, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the method described in the first aspect as described above, or to execute the method described in the second aspect as described above.

[0062] The resource allocation method, terminal, network-side device and storage medium provided in the embodiments of the present application select a resource allocation method and perform resource allocation by applying at least one of a resource pool collision situation, a resource pool congestion situation, a power saving situation and a preset priority and their respective allocation rules. Compared with the resource allocation method being completely selected by the terminal independently, it is effectively ensured that the number or proportion of terminals in the resource pool that select the random resource allocation method will not exceed the tolerable range of the resource pool, thereby reducing the probability of resource collision in the resource pool and ensuring the reliability of resource transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0064] Figure 1 It is a schematic diagram of partial perception in the prior art;

[0065] Figure 2 It is one of the flowcharts of the resource allocation method provided in this application;

[0066] Figure 3 This is the second flowchart of the resource allocation method provided by this application;

[0067] Figure 4 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0068] Figure 5 It is a schematic diagram of the structure of the network side device provided in the embodiment of the present application;

[0069] Figure 6 It is one of the structural schematic diagrams of the resource allocation device provided in the embodiment of the present application;

[0070] Figure 7 This is the second structural diagram of the resource allocation device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0071] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0072] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0073] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0074] In the LTE-V2X direct link, the P-UE perceives the reserved resources of other UEs through partial sensing within the resource perception window, and determines the available candidate resources in the resource selection window after excluding the collision resources. Figure 1 is a schematic diagram of partial perception in the prior art. Figure 1 The subframes filled with slashes represent candidate subframes, and the subframes filled with grids represent the number Y of candidate subframes determined by the high-level parameter minNumCAndidateSF-r14 configuration.

[0075] like Figure 1 As shown, the P-UE determines the minimum value of the number of candidate subframes Y according to the high-level parameter minNumCAndidateSF-r14 configuration, and determines the position of the Y subframes in the resource selection window by itself. The resource occupancy result on the subframe determines the current subframe Whether it is available. Among them, represents the y-th subframe, Indicates the yk×P step subframes, P step is the interval of sensing opportunities. The set of k values ​​is configured through the high-level parameter gapCandidateSensing-r14. k corresponds to the position where the kth bit of the high-level parameter gapCandidateSensing-r14 is 1. For example, Figure 1 In the middle, the high-level parameter gapCandidateSensing-r14 is "1100101010".

[0076] In the LTE-V2X direct link, the P-UE can also allocate resources through random selection. Random selection does not require any perception and directly randomly selects the resources to be sent from the candidate resources.

[0077] In the LTE-V2X direct link Mode 4 resource allocation, the resource allocation methods in the resource pool of the P-UE (are configured as only partial sensing, only random selection, or partial sensing or random selection. When the resource pool is configured as partial sensing or random selection, the P-UE decides whether to use partial sensing or random selection as the resource allocation method. For the P-UE, selecting the random selection resource allocation method can save power consumption, while selecting the partial sensing resource allocation method will increase power consumption.

[0078] If too many P-UEs in the resource pool choose the random selection resource allocation method for the sake of power saving, the probability of resource collision in the resource pool will increase, resulting in a decrease in PRR.

[0079] To address this problem, the present application provides a resource allocation method. Figure 2 This is one of the flow charts of the resource allocation method provided by this application, such as Figure 2 As shown, the execution subject of the method is a terminal, and the terminal here can be any P-UE under the LTE-V2X direct link, or it can be other terminals in scenarios with the authority to autonomously select the resource allocation method. The embodiment of the present application does not specifically limit this. The resource allocation method includes:

[0080] Step 210, based on at least one allocation parameter and allocation rules of each allocation parameter, select the resource allocation method of the direct link, the allocation parameter is the resource pool collision situation, the resource pool congestion situation, the power saving situation or the preset priority, and the allocation rule is configured on the network side.

[0081] Step 220: Allocate resources based on the resource allocation method.

[0082] Specifically, different from the current solution in which the terminal completely independently selects the resource allocation method, the present application sets conditions for the selection of the resource allocation method for the direct link, namely, at least one allocation parameter and the allocation rules of each allocation parameter. Here, the allocation parameter is a parameter acquired by the terminal that affects the selection of the resource allocation method. Each allocation parameter has a corresponding allocation rule, and the corresponding allocation rule is used to indicate how to select the resource allocation rule under the current allocation parameter. It should be noted that the relationship between the allocation parameter and the allocation rule can be one-to-one, or multiple allocation parameters can correspond to one allocation rule, and the embodiments of the present application do not specifically limit this.

[0083] The allocation parameter may be a resource pool collision situation, which is used to reflect the resource collision situation of the resource pool of the direct link. The resource pool collision situation may be reflected by the proportion of HARQ NACK (negative acknowledgment) in the HARQ (Hybrid Automatic RepeatreQuest) feedback received by the terminal, or by the proportion of unavailable resources in the candidate resources partially perceived by the terminal. The allocation rule corresponding to the resource pool collision situation may be to select random selection as the resource allocation method when there are fewer resource pool collision situations, and to select partial sensing as the resource allocation method when there are more resource pool collision situations.

[0084] The allocation parameter may be a resource pool congestion condition, which is used to reflect the congestion condition of the resource pool of the through link, and the resource pool congestion condition may be reflected by the channel busy rate. The allocation rule corresponding to the resource pool congestion condition may be to select random selection as the resource allocation method when the resource pool congestion condition is light, and to select partial sensing as the resource allocation method when the resource pool congestion condition is heavy.

[0085] The allocation parameter may be a power saving situation, which may be used to reflect the power saving needs of the terminal itself or other terminals, and may be represented by the battery capacity and / or battery power of each terminal. The allocation rule corresponding to the power saving situation may be to select random selection as the resource allocation method when the power saving needs of the terminal itself are strong, and to select partial sensing as the resource allocation method when the power saving needs of the terminal itself are weak; or, to select partial sensing as the resource allocation method when the power saving needs of the other terminals are strong, and to select random selection as the resource allocation method when the power saving needs of the other terminals are weak.

[0086] The allocation parameter may be a preset priority, which may be used to reflect the priority of the terminal or the service currently executed by the terminal. The allocation rule corresponding to the preset priority may be that when the preset priority is high, random selection is selected as the resource allocation method, and when the preset priority is low, partial sensing is selected as the resource allocation method.

[0087] Each of the above allocation parameters can be used alone to select the resource allocation method in conjunction with its allocation rule, or multiple parameters can be combined and used in conjunction with its allocation rule to select the resource allocation method. The specific allocation parameter to be used can be pre-configured by the network side, and the allocation rule corresponding to each allocation parameter can also be pre-configured by the network side.

[0088] After determining the resource allocation method, resource allocation can be performed based on the determined resource allocation method, thereby realizing resource transmission.

[0089] The method provided by the embodiment of the present invention selects a resource allocation method and performs resource allocation by applying at least one of a resource pool collision situation, a resource pool congestion situation, a power saving situation and a preset priority and their respective allocation rules. Compared with the resource allocation method being completely selected by the terminal independently, it effectively ensures that the number or proportion of terminals in the resource pool that select a random resource allocation method will not exceed the tolerable range of the resource pool, reduces the probability of resource collision in the resource pool, and ensures the reliability of resource transmission.

[0090] Based on the above embodiment, step 210 includes:

[0091] Step 211, based on each allocation parameter and the allocation rule of each allocation parameter, determine the candidate resource allocation mode of each allocation parameter;

[0092] Step 212: Determine the resource allocation mode of the direct link based on the candidate resource allocation modes of each allocation parameter.

[0093] Specifically, in the case where there are multiple allocation parameters for selecting a resource allocation method for a direct link, first, based on each independent allocation parameter and the allocation rule corresponding thereto, a candidate resource allocation method corresponding to each allocation parameter can be obtained. The candidate resource allocation method here refers to a resource allocation method obtained by analyzing and judging only a single allocation parameter and the allocation rules of each allocation parameter.

[0094] For example, for resource pool collision, assuming that the resource pool collision indicates that there are many resource collisions, combined with the allocation rules corresponding to the resource pool collision, it can be determined that from the perspective of the resource pool collision, its candidate resource allocation method is partial sensing; for power saving, assuming that the power saving situation indicates that the current terminal has a strong power saving demand, combined with the allocation rules corresponding to the power saving situation, it can be determined that from the perspective of power saving, its candidate resource allocation method is random selection. It can be seen that when there are multiple allocation parameters, the candidate resource allocation methods of each allocation parameter may be the same or different.

[0095] After obtaining the candidate resource allocation methods for each allocation parameter, the final resource allocation method can be determined by combining the candidate resource allocation methods of each allocation parameter. For example, if the candidate resource allocation methods for all allocation parameters are random selection, then the resource allocation method is determined to be random selection. However, if the candidate resource allocation method for one of the allocation parameters is partial sensing, then the resource allocation method is determined to be partial sensing. For another example, the number of times the candidate resource allocation method is random selection and the number of times the candidate resource allocation method is partial sensing can be counted, and the one with the larger number of times can be selected as the resource allocation method.

[0096] Based on any of the foregoing embodiments, the resource pool collision condition includes a resource collision value, and the resource collision value is determined based on a hybrid automatic repeat request HARQ feedback measurement or a partial perception result.

[0097] Here, the resource collision value is used to quantify the resource pool collision situation. The higher the resource collision value, the more resource collisions occur in the resource pool, and the lower the resource collision value, the fewer resource collisions occur in the resource pool. The resource collision value can be calculated by the proportion of the number of HARQ NACKs in the HARQ feedback to the total number of HARQ feedbacks, or by the proportion of unavailable resources in the candidate resources reflected in the results obtained by partial perception.

[0098] When at least one allocation parameter includes a resource pool collision, step 211 includes:

[0099] If the resource collision value is greater than the collision threshold, the candidate resource allocation method for determining the resource pool collision situation is partial perception;

[0100] Otherwise, the candidate resource allocation method for determining resource pool collision situations is random selection.

[0101] Here, the collision threshold is a pre-set threshold for measuring whether the resource collision situation indicated by the resource collision value is less or more. A collision threshold set can be configured in advance according to the maximum number of HARQ feedbacks that can be received, the resource pool configuration, etc., and the network side configures a collision threshold for each resource pool. The collision threshold configured here can be selected from the collision threshold set. When configuring the collision threshold, the network side can refer to the size, reliability and other requirements of the resource pool for configuration.

[0102] Specifically, when the resource collision value is greater than the collision threshold, it means that there are more resource collisions in the resource pool. At this time, the terminal should choose partial sensing to avoid more resource collisions and ensure the reliability of resource transmission. When the resource collision value is less than or equal to the collision threshold, it means that there are fewer resource collisions in the resource pool. At this time, the terminal can choose random selection to save its own power as much as possible when the probability of resource collision in the resource pool is relatively low.

[0103] Based on any of the above embodiments, before executing step 211, the following steps need to be executed to determine the resource collision value:

[0104] Determining a resource collision value based on a proportion of negative acknowledgements NACK in HARQ feedback received within a preset period of time;

[0105] Alternatively, the proportion of unavailable resources in the candidate resources is calculated based on the partial perception results, and the resource collision value is determined based on the proportion of unavailable resources.

[0106] Specifically, the resource collision value can be obtained through HARQ feedback measurement or through partial sensing results:

[0107] For HARQ feedback measurement, the number of HARQ feedbacks received within a preset time period [nT,n] and the number of HARQ NACKs in the received HARQ feedback can be counted, so as to calculate the proportion of HARQ NACK in HARQ, and determine the proportion as the resource collision value. Wherein, n represents any moment, and T is the duration of the preset time period. In addition, for retransmitted HARQ feedback, a weight greater than 1 can be set for the HARQ NACK feedback, so that when counting the number of HARQ NACKs, the number of retransmitted HARQ NACK feedbacks is accumulated according to its weight. For example, the current accumulated number of HARQs is 10, of which the number of HARQ NACKs is 3. At this time, the retransmitted HARQ NACK feedback is received, and according to the retransmission weight of 1.3, the number of HARQ NACKs is updated to 4.3 times, and the number of HARQs is updated to 11.3 times.

[0108] For partial perception results, the number of unavailable resources obtained by partial perception can be counted, and the number of unavailable resources can be divided by the total number of candidate resources to obtain the proportion of unavailable resources, and the proportion can be determined as the resource collision value.

[0109] Based on any of the foregoing embodiments, the resource pool congestion condition includes a channel busy rate CBR.

[0110] Here, CBR (Channel Busy Ratio) is used to quantify the congestion of the resource pool. The higher the CBR value, the more serious the resource congestion in the resource pool, and the lower the CBR value, the less severe the resource congestion in the resource pool. The CBR here can be a value within a preset time period [nT, n].

[0111] When at least one allocation parameter includes a resource pool congestion condition, step 211 includes:

[0112] If the CBR is greater than the congestion threshold, determining the candidate resource allocation mode for the resource pool congestion condition as partial perception;

[0113] Otherwise, the candidate resource allocation method for determining the congestion of the resource pool is random selection.

[0114] Here, the congestion threshold is a pre-set threshold that measures whether the resource pool congestion indicated by the CBR value is relatively mild or relatively severe. A congestion threshold set can be configured in advance according to the system QoS (Quality of Service) requirements and resource pool configuration, and the network side configures a congestion threshold for each resource pool. The congestion threshold configured here can be selected from the congestion threshold set. When configuring the congestion threshold, the network side can refer to the size, reliability and other requirements of the resource pool for configuration.

[0115] Specifically, when CBR is greater than the congestion threshold, it means that the resource congestion in the resource pool is serious. At this time, the terminal should choose partial sensing to avoid more resource congestion and ensure the reliability of resource transmission. When CBR is less than or equal to the congestion threshold, it means that the resource congestion in the resource pool is slight. At this time, the terminal can choose random selection to save its own power as much as possible.

[0116] Based on any of the above embodiments, the power saving condition includes a local power saving requirement level, and the local power saving requirement level is determined based on the battery capacity and / or battery remaining level of the local end.

[0117] Here, the local power saving requirement level is used to quantify the power saving requirement of the local terminal, which is the execution subject of the resource allocation method, that is, the current terminal. The local power saving requirement level is the power saving requirement level of the local terminal, and the power saving requirement level can be determined based on the battery capacity and / or battery remaining of the corresponding terminal:

[0118] The power saving requirement level can be determined according to the battery capacity of the terminal. For example, the power saving requirement level of a terminal with a battery capacity of 0 to 1000mAh is 8, the power saving requirement level of a terminal with a capacity of 1000 to 2000mAh is 7, and so on. The power saving requirement level of a terminal with a capacity of 7000 to 8000mAh is 1. Terminals with a capacity greater than 8000mAh do not need to save power and can set the power saving requirement level to 0.

[0119] The power saving requirement level can also be determined based on the battery remaining of the terminal. For example, the power saving requirement level of a terminal with a battery remaining of 0 to 1000mAh is 8, the power saving requirement level of a terminal with a battery remaining of 1000 to 2000mAh is 7, and so on. The power saving requirement level of a terminal with a battery remaining of 7000 to 8000mAh is 1. Terminals with a battery remaining of more than 8000mAh do not need to save power, and the power saving requirement level can be set to 0.

[0120] The power saving requirement level can be determined based on the battery capacity and battery remaining of the terminal. For example, the power saving requirement level of a terminal with a battery capacity of 0 to 1000mAh is level 8, the power saving requirement level of a terminal with a capacity of 1000 to 2000mAh and a remaining battery of 0 to 1000mAh is also level 8, and the power saving requirement level of a terminal with a capacity of 1000 to 2000mAh and a remaining battery of 1000 to 2000mAh is level 7.

[0121] When at least one allocation parameter includes power saving, step 211 includes:

[0122] If the power saving requirement level of the local end is lower than the first power saving level threshold, the candidate resource allocation mode for determining the power saving situation is partial sensing;

[0123] Otherwise, the candidate resource allocation method for determining power saving is random selection.

[0124] Here, the first power-saving level threshold is a threshold value pre-set to measure whether the power-saving requirement of the local end indicated by the power-saving requirement level of the local end is strong or weak. A first power-saving level threshold set can be configured in advance according to the power-saving requirement of each terminal, and the network side configures a first power-saving level threshold for each resource pool. The first power-saving level threshold configured here can be selected from the first power-saving level threshold set. When configuring the first power-saving level threshold, the network side can refer to the resource pool congestion level, reliability requirements, etc. for configuration.

[0125] Specifically, when the power saving demand level of this end is lower than the first power saving level threshold, it means that the terminal’s current power saving demand is not strong. At this time, the terminal should choose partial sensing to provide power saving opportunities for other terminals while avoiding more resource congestion and ensuring the reliability of resource transmission. When the power saving demand level of this end is higher than or equal to the first power saving level threshold, it means that the terminal’s current power saving demand is relatively strong. At this time, the terminal can choose random selection to save its own power as much as possible.

[0126] For example, if the first power saving level threshold is level 5, then terminals with power saving requirement levels of 5, 6, 7, and 8 can allocate resources through random selection, and terminals with power saving requirement levels below level 5 can allocate resources through partial sensing.

[0127] Based on any of the above embodiments, the power saving condition includes the power saving requirement levels of the remaining terminals.

[0128] Here, the power saving requirement level of the remaining terminals is used to quantify the power saving requirements of the remaining terminals, and the remaining terminals refer to the terminals other than the current terminal. The power saving requirement level of the remaining terminals can be determined by referring to the power saving requirement level of the current terminal involved in the above embodiment, for example, by the battery capacity and / or battery remaining of the corresponding terminal, which will not be described in detail here.

[0129] When at least one allocation parameter includes power saving, step 211 includes:

[0130] If the proportion of power-saving terminals is greater than the power-saving terminal ratio threshold, the candidate resource allocation method for determining the power-saving situation is partial sensing;

[0131] Otherwise, the candidate resource allocation method for determining power saving is random selection;

[0132] The proportion of power-saving terminals is the ratio of the number of remaining terminals whose power-saving demand level is greater than or equal to the second power-saving level threshold to the total number of remaining terminals.

[0133] Here, the second power-saving level threshold is a pre-set threshold used to measure whether the power-saving demand of the terminal indicated by the power-saving level is strong or weak. A second power-saving level threshold set can be configured in advance according to the power-saving demand of each terminal, and the network side can configure a second power-saving level threshold for each resource pool. The second power-saving level threshold configured here can be selected from the second power-saving level threshold set. When configuring the second power-saving level threshold, the network side can refer to the resource pool congestion level, reliability requirements, etc. for configuration. It should be noted that the second power-saving level threshold here and the first power-saving level threshold mentioned above can be the same or different.

[0134] The power-saving terminal ratio threshold is a pre-set threshold used to measure whether the proportion of terminals with strong power-saving requirements is more or less. A power-saving terminal ratio threshold set can be pre-configured according to the configuration information of the resource pool, and the network side can configure a power-saving terminal ratio threshold for each resource pool. The power-saving terminal ratio threshold configured here can be selected from the power-saving terminal ratio threshold set. When configuring the power-saving terminal ratio threshold, the network side can refer to the resource pool size, reliability requirements, etc.

[0135] Specifically, after the power saving requirement level of each remaining terminal is known, the power saving requirement level of each remaining terminal can be compared with the second power saving level threshold, so as to count the number of remaining terminals whose power saving requirement level is greater than or equal to the second power saving level threshold, that is, the number of power saving terminals. On this basis, the ratio of the number of power saving terminals to the total number of remaining terminals is calculated as the node terminal ratio.

[0136] Furthermore, the power saving requirement level of each other terminal used for calculation here may be obtained by the local terminal within the preset time period [nT,n]. Assuming that the second power saving level threshold is Q, the number of power saving terminals is the number of other terminals with power saving requirement level ≥Q.

[0137] When the proportion of power-saving terminals is greater than the power-saving terminal ratio threshold, it means that there are currently many terminals that need to save power. The terminal should choose partial sensing to provide power-saving opportunities for other terminals while avoiding more resource congestion and ensuring the reliability of resource transmission. When the proportion of power-saving terminals is less than or equal to the power-saving terminal ratio threshold, it means that there are not many terminals that need to save power. At this time, the terminal can choose random selection to save its own power as much as possible.

[0138] Based on any of the above embodiments, before executing step 211, the following steps need to be executed to obtain the power saving requirement levels of other terminals:

[0139] Obtaining direct link control information SCI sent by other terminals through partial perception;

[0140] The power saving requirement level of the corresponding terminal is extracted from the SCI.

[0141] Specifically, in order to facilitate the terminals to know each other's power saving requirement level, so as to facilitate the selection of resource allocation mode. Each terminal can carry its own power saving requirement level in SCI (Sidelink Control Information) for reporting. Taking the current terminal as an example, when the current terminal performs partial perception, it can obtain the SCI sent by the other terminals and obtain the power saving requirement level of the other terminals from it.

[0142] Furthermore, N bits may be used in the 1st stage SCI to carry the power saving requirement level of the terminal, and N bits in the 2nd stage SCI may also be used to carry the power saving requirement level of the terminal, where N is the number of bits that the power saving requirement level needs to occupy.

[0143] Based on any of the above embodiments, the preset priority is the priority of the local end, or the priority of the service executed by the local end.

[0144] When at least one allocation parameter includes a preset priority, step 211 includes:

[0145] If the preset priority is less than the priority threshold, the candidate resource allocation mode of the preset priority is determined to be partial perception;

[0146] Otherwise, the allocation method of the candidate resources with the preset priority is determined to be randomly selected.

[0147] Here, the priority threshold is a pre-set threshold for measuring whether the preset priority is higher or lower. A priority threshold set can be configured in advance according to the resource pool configuration information, and the network side configures a priority threshold for each resource pool. The priority threshold configured here can be selected from the priority threshold set. When configuring the priority threshold, the network side can refer to the size, reliability and other requirements of the resource pool for configuration.

[0148] Specifically, when the preset priority is less than the priority threshold, it means that the preset priority of the terminal does not meet the conditions for random selection, and the terminal should select partial sensing to provide power saving opportunities for terminals whose preset priority is higher than the priority threshold. When the preset priority is greater than or equal to the priority threshold, it means that the preset priority of the terminal meets the conditions for random selection, and the terminal can choose random selection to save its own power.

[0149] Based on any of the above embodiments, step 212 includes:

[0150] If the candidate resource allocation mode corresponding to any allocation parameter is partially aware, then determining the resource allocation mode of the through link is partially aware;

[0151] Otherwise, the resource allocation mode of the through link is determined to be random selection.

[0152] Specifically, for the case where at least two allocation parameters jointly participate in the selection of resource allocation mode, as long as there is a candidate resource allocation mode corresponding to any allocation parameter that is partial sensing, that is, from the perspective of any allocation parameter, the terminal should select partial sensing, and the resource allocation mode of the direct link of the terminal can be directly determined to be partial sensing. Only when the candidate resource allocation modes corresponding to all allocation parameters are randomly selected, can the resource allocation mode of the direct link of the terminal be determined to be random selection.

[0153] The method provided by the embodiment of the present invention, by combining multiple allocation parameters to limit the selection of resource allocation methods, effectively ensures that the number or proportion of terminals in the resource pool that select the random resource allocation method will not exceed the tolerable range of the resource pool, reduces the probability of resource collision in the resource pool, and ensures the reliability of resource transmission.

[0154] Based on any of the above embodiments, a method for allocating resources based on a single allocation parameter and its allocation rule includes:

[0155] The terminal calculates the resource collision value by the proportion of HARQ NACK in the HARQ feedback received within a preset period, or the proportion of unavailable resources in the candidate resources calculated by partial sensing results, and compares the resource collision value with the collision threshold, determines the resource allocation method based on the comparison result, and performs resource allocation;

[0156] Alternatively, the terminal calculates the CBR within a preset time period, compares the CBR with the congestion threshold, determines a resource allocation method based on the comparison result, and performs resource allocation;

[0157] Alternatively, the terminal compares the local power saving requirement level with the first power saving level threshold, determines a resource allocation method based on the comparison result, and performs resource allocation;

[0158] Alternatively, the terminal obtains the power saving requirement levels of the remaining terminals, and calculates the power saving terminal ratio based on the power saving requirement levels of the remaining terminals and the second power saving level threshold, compares the node terminal ratio with the power saving terminal ratio threshold, determines the resource allocation method based on the comparison result, and performs resource allocation;

[0159] Alternatively, the terminal compares the preset priority with the priority threshold, and determines a resource allocation method based on the comparison result to perform resource allocation.

[0160] Based on any of the above embodiments, the method for jointly allocating resources based on two allocation parameters and allocation principles corresponding to the two allocation parameters includes:

[0161] The terminal selects a resource allocation mode for the through link and performs resource allocation based on any two of the resource pool collision situation, the resource pool congestion situation, the power saving situation and the preset priority and their corresponding allocation rules.

[0162] For example, resource allocation can be performed based on resource pool collision and resource pool congestion:

[0163] When the measured resource collision value is greater than the collision threshold and / or the measured CBR is greater than the congestion threshold, the terminal allocates resources through partial sensing.

[0164] When the measured resource collision value is less than the collision threshold and the measured CBR is less than the congestion threshold, the terminal allocates resources through random selection.

[0165] For another example, resource allocation may be performed in combination with the resource pool congestion situation and the power saving requirement level of other terminals in the power saving situation:

[0166] When the measured CBR is greater than the congestion threshold and / or the measured node terminal ratio is greater than the power-saving terminal ratio threshold, the terminal allocates resources through partial sensing.

[0167] When the measured CBR is less than the congestion threshold and the measured node terminal ratio is less than the power-saving terminal ratio threshold, the terminal allocates resources through random selection.

[0168] For another example, resource allocation can be performed based on resource pool congestion and preset priorities:

[0169] When the measured CBR value is greater than the congestion threshold and / or the preset priority is lower than the priority threshold, the terminal allocates resources through partial sensing.

[0170] When the measured CBR value is less than the congestion threshold and the preset priority is higher than the priority threshold, the terminal allocates resources through random selection.

[0171] For another example, resource allocation may be performed in combination with the resource pool collision situation and the power saving requirement level of other terminals in the power saving situation:

[0172] When the measured resource collision value is greater than the collision threshold and / or the measured node terminal ratio is greater than the power-saving terminal ratio threshold, the terminal allocates resources through partial sensing.

[0173] When the measured resource collision value is less than the collision threshold and / or the measured node terminal ratio is less than the power-saving terminal ratio threshold, the terminal allocates resources through random selection.

[0174] For another example, resource allocation can be performed based on resource pool collision conditions and preset priorities:

[0175] When the measured resource collision value is greater than the collision threshold and / or the preset priority is lower than the priority threshold, the terminal allocates resources through partial sensing.

[0176] When the measured resource collision value is less than the collision threshold and / or the preset priority is higher than the priority threshold, the terminal allocates resources through random selection.

[0177] For another example, resources may be allocated in combination with the power saving requirement levels and preset priorities of other terminals in the power saving situation:

[0178] If the measured node terminal ratio is greater than the power-saving terminal ratio threshold and / or the preset priority is lower than the priority threshold, the terminal performs resource allocation through partial sensing.

[0179] If the measured node terminal ratio is less than the power-saving terminal ratio threshold and / or the preset priority is higher than the priority threshold, the terminal allocates resources through random selection.

[0180] Based on any of the above embodiments, the method for jointly allocating resources based on three allocation parameters and allocation principles corresponding to the three allocation parameters includes:

[0181] The terminal selects a resource allocation mode for the through link and performs resource allocation based on any three of the resource pool collision situation, the resource pool congestion situation, the power saving situation and the preset priority and their corresponding allocation rules.

[0182] For example, resource allocation can be performed based on resource pool collision, resource pool congestion, and preset priorities:

[0183] When the measured resource collision value is less than the collision threshold, and the measured CBR value is less than the congestion threshold, and the preset priority is higher than the priority level threshold, the terminal allocates resources through random selection.

[0184] In other cases where the above conditions are not met (i.e., as long as one of the candidate resource allocation methods determined by the allocation parameters is partial sensing), the terminal performs resource allocation through partial sensing.

[0185] For another example, resource allocation may be performed in combination with the resource pool congestion situation, the power saving requirement level of other terminals in the power saving situation, and the preset priority:

[0186] When the measured CBR is less than the congestion threshold, the measured node terminal ratio is less than the power-saving terminal ratio threshold, and the preset priority is higher than the priority level threshold, the terminal allocates resources through random selection.

[0187] In other cases where the above conditions are not met (i.e., as long as one of the candidate resource allocation methods determined by the allocation parameters is partial sensing), the terminal performs resource allocation through partial sensing.

[0188] For another example, resource allocation may be performed in combination with resource pool collision, resource pool congestion, and power saving requirement levels of other terminals in the power saving situation:

[0189] When the measured resource collision value is less than the collision threshold, the measured CBR value is less than the congestion threshold, and the measured node terminal ratio is less than the power-saving terminal ratio threshold, the terminal allocates resources through random selection.

[0190] In other cases where the above conditions are not met (i.e., as long as one of the candidate resource allocation methods determined by the allocation parameters is partial sensing), the terminal performs resource allocation through partial sensing.

[0191] For another example, resource allocation may be performed in combination with resource pool collision conditions, power saving requirement levels of other terminals in the power saving condition, and preset priorities:

[0192] When the measured resource collision value is less than the collision threshold, and the measured node terminal ratio is less than the power-saving terminal ratio threshold, and the preset priority is higher than the priority level threshold, the terminal allocates resources through random selection.

[0193] In other cases where the above conditions are not met (i.e., as long as one of the candidate resource allocation methods determined by the allocation parameters is partial sensing), the terminal performs resource allocation through partial sensing.

[0194] Based on any of the above embodiments, Figure 3 This is the second flow chart of the resource allocation method provided by this application, such as Figure 3 As shown, the execution subject of the method is the network side, and the method includes:

[0195] Step 310, determining an allocation rule of at least one allocation parameter, where the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority;

[0196] Step 320, configure at least one allocation rule of allocation parameters for the terminal, so that the terminal selects a resource allocation method for the direct link based on the at least one allocation rule of allocation parameters and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation method.

[0197] Specifically, different from the current solution in which the terminal completely independently selects the resource allocation method, the present application sets conditions for the selection of the resource allocation method for the direct link, namely, at least one allocation parameter and the allocation rules of each allocation parameter. Here, the allocation parameter is a parameter acquired by the terminal that affects the selection of the resource allocation method. Each allocation parameter has a corresponding allocation rule, and the corresponding allocation rule is used to indicate how to select the resource allocation rule under the current allocation parameter. It should be noted that the relationship between the allocation parameter and the allocation rule can be one-to-one, or multiple allocation parameters can correspond to one allocation rule, and the embodiments of the present application do not specifically limit this.

[0198] Before the terminal selects a resource allocation method based on at least one allocation parameter and the allocation rules of each allocation parameter, the network side needs to first determine the allocation rule used by the terminal for selecting the resource allocation method and configure the allocation rule to the terminal, that is, what specific allocation parameter is used for selecting the resource allocation method and the allocation rule corresponding to each allocation parameter, all of which need to be pre-configured by the network side.

[0199] The allocation parameter selected by the network side for selecting the resource allocation method may be a resource pool collision situation. The resource pool collision situation is used to reflect the resource collision situation of the resource pool of the direct link. The resource pool collision situation may be reflected by the proportion of HARQ NACK (negative acknowledgment) in the HARQ (Hybrid Automatic Repeat reQuest) feedback received by the terminal, or by the proportion of unavailable resources in the candidate resources partially perceived by the terminal. The allocation rule corresponding to the resource pool collision situation may be to select random selection as the resource allocation method when there are fewer resource pool collision situations, and to select partial sensing as the resource allocation method when there are more resource pool collision situations.

[0200] The allocation parameter selected by the network side for selecting the resource allocation method may be the resource pool congestion situation, which is used to reflect the congestion situation of the resource pool of the through link, and the resource pool congestion situation may be reflected by the channel busy rate. The allocation rule corresponding to the resource pool congestion situation may be to select random selection as the resource allocation method when the resource pool congestion situation is light, and to select partial sensing as the resource allocation method when the resource pool congestion situation is heavy.

[0201] The allocation parameter selected by the network side for selecting the resource allocation method may be a power saving situation. The power saving situation may be used to reflect the power saving demand of the terminal itself or other terminals. The power saving situation may be represented by the battery capacity and / or battery power of each terminal. The allocation rule corresponding to the power saving situation may be to select random selection as the resource allocation method when the power saving demand is strong, and to select partial sensing as the resource allocation method when the power saving demand is weak; or, to select partial sensing as the resource allocation method when the power saving demand of the remaining terminals is strong, and to select random selection as the resource allocation method when the power saving demand of the remaining terminals is weak.

[0202] The allocation parameter selected by the network side for selecting the resource allocation method may be a preset priority, and the preset priority may be used to reflect the priority of the terminal or the service currently executed by the terminal. The allocation rule corresponding to the preset priority may be that when the preset priority is high, random selection is selected as the resource allocation method, and when the preset priority is low, partial sensing is selected as the resource allocation method.

[0203] Each of the above-mentioned allocation parameters can be used alone in conjunction with its allocation rules to select the resource allocation method, or multiple parameters can be combined and used in conjunction with its allocation rules to select the resource allocation method. They can be applied alone or in combination, and the allocation rules when applied alone or in combination are all determined by the network side and then configured to the terminal.

[0204] After receiving the allocation rule configured on the network side, the terminal can select a resource allocation method and perform resource allocation in combination with the allocation rule configured on the network side and the corresponding allocation parameters of each allocation parameter, thereby realizing resource transmission.

[0205] The method provided by the embodiment of the present invention selects a resource allocation method and performs resource allocation by applying at least one of a resource pool collision situation, a resource pool congestion situation, a power saving situation and a preset priority and their respective allocation rules. Compared with the resource allocation method being completely selected by the terminal independently, it effectively ensures that the number or proportion of terminals in the resource pool that select a random resource allocation method will not exceed the tolerable range of the resource pool, reduces the probability of resource collision in the resource pool, and ensures the reliability of resource transmission.

[0206] Based on any of the above embodiments, step 310 includes:

[0207] Selecting a rule threshold corresponding to each allocation parameter from a rule threshold set of each allocation parameter;

[0208] Based on the rule threshold corresponding to each allocation parameter, an allocation rule for each allocation parameter is generated.

[0209] Specifically, for each allocation parameter, a rule threshold set of each allocation parameter may be set respectively.

[0210] For example, the rule threshold corresponding to the resource pool collision situation is the collision threshold. Here, the collision threshold is a pre-set threshold that measures whether the resource collision situation indicated by the resource collision value is less or more. A collision threshold set can be pre-configured as a rule threshold set for resource pool collision situations based on the maximum number of HARQ feedbacks that can be received and the resource pool configuration. Thereafter, the network side can configure a collision threshold for each resource pool. The collision threshold configured here can be selected from the collision threshold set. When configuring the collision threshold, the network side can refer to the size, reliability and other requirements of the resource pool for configuration.

[0211] For example, the collision threshold set is {0.3, 0.4, 0.5, 0.6}, and the network side may configure the collision threshold for the resource pool to be 0.5.

[0212] The rule threshold corresponding to the resource pool congestion situation is the congestion threshold. Here, the congestion threshold is a pre-set threshold that measures whether the resource pool congestion situation indicated by the CBR value is relatively mild or relatively severe. A congestion threshold set can be pre-configured according to the system QoS requirements and resource pool configuration as a rule threshold set for resource pool congestion. Thereafter, the network side can configure a congestion threshold for each resource pool. The congestion threshold configured here can be selected from the congestion threshold set. When configuring the congestion threshold, the network side can refer to the size, reliability and other requirements of the resource pool for configuration.

[0213] For example, the congestion threshold set is {0.4, 0.5, 0.6, 0.7}, and the network side may configure the congestion threshold for the resource pool to be 0.6.

[0214] The rule threshold corresponding to the power saving requirement level of this end in the power saving situation is the first power saving level threshold. Here, the first power saving level threshold is a threshold pre-set to measure whether the power saving requirement of this end indicated by the power saving requirement level of this end is strong or weak. A first power saving level threshold set can be pre-configured according to the power saving requirements of each terminal as a rule threshold set for the power saving situation of this end. Thereafter, the network side can configure a first power saving level threshold for each resource pool. The first power saving level threshold configured here can be selected from the first power saving level threshold set. When configuring the first power saving level threshold, the network side can refer to the resource pool congestion level, reliability requirements, etc. for configuration.

[0215] The rule thresholds corresponding to the power saving requirement levels of the remaining terminals in the power saving situation include the second power saving level threshold and the power saving terminal ratio threshold:

[0216] Here, the second power-saving level threshold is a pre-set threshold used to measure whether the power-saving demand of the terminal indicated by the power-saving level is strong or weak. A second power-saving level threshold set can be pre-configured according to the power-saving demand of each terminal as a rule threshold set for power-saving terminals. Thereafter, the network side can configure a second power-saving level threshold for each resource pool. The second power-saving level threshold configured here can be selected from the second power-saving level threshold set. When configuring the second power-saving level threshold, the network side can refer to the resource pool congestion level, reliability requirements, etc. for configuration. It should be noted that the second power-saving level threshold here and the first power-saving level threshold mentioned above can be the same or different.

[0217] The power-saving terminal ratio threshold is a pre-set threshold used to measure whether the ratio of terminals with strong power-saving requirements is more or less. A power-saving terminal ratio threshold set can be pre-configured according to the configuration information of the resource pool as a rule threshold set for the proportion of node terminals in the power-saving situation. Thereafter, the network side can configure a power-saving terminal ratio threshold for each resource pool. The power-saving terminal ratio threshold configured here can be selected from the power-saving terminal ratio threshold set. When configuring the power-saving terminal ratio threshold, the network side can refer to the resource pool size, reliability requirements, etc. for configuration.

[0218] For example, the power-saving terminal ratio threshold set is {0.3, 0.4, 0.5, 0.6, 0.7}, and the network side may configure the power-saving terminal ratio threshold as 0.6 for the resource pool.

[0219] The rule threshold corresponding to the preset priority is the priority threshold. Here, the priority threshold is a preset threshold for measuring whether the preset priority is higher or lower. A priority threshold set can be configured in advance according to the resource pool configuration information as a rule threshold set for the preset priority. Thereafter, the network side can configure a priority threshold for each resource pool. The priority threshold configured here can be selected from the priority threshold set. When configuring the priority threshold, the network side can refer to the size, reliability and other requirements of the resource pool for configuration.

[0220] For example, the priority threshold set is {3, 4, 5, 6, 7}, and the network side may configure a priority threshold of 7 for the resource pool.

[0221] The method provided by the embodiment of the present invention determines the resource allocation mode of the terminal according to a combination of one or more of the resource pool collision situation, resource pool congestion situation, power saving situation and preset priority in a resource pool supporting different resource allocation modes. The resource allocation mode of the terminal is adjusted according to at least one of the configured collision threshold, congestion threshold, power saving level threshold, power saving terminal ratio threshold and priority threshold. It avoids the terminal completely autonomously selecting the resource allocation mode, ensures that the number or proportion of terminals in the resource pool that select the random selection resource allocation mode does not exceed the range that the system can bear, thereby reducing the probability of resource collision in the resource pool and ensuring the reliability of resource transmission.

[0222] Figure 4 is a schematic diagram of the structure of the terminal provided in the embodiment of the present application, such as Figure 4 As shown, the terminal includes a memory 420, a transceiver 400, and a processor 410:

[0223] The memory 420 is used to store computer programs; the transceiver 400 is used to send and receive data under the control of the processor 410; the processor 410 is used to read the computer program in the memory 420 and perform the following operations:

[0224] Selecting a resource allocation method for a through link based on at least one allocation parameter and allocation rules for each of the allocation parameters, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority, and the allocation rule is configured on the network side;

[0225] Based on the resource allocation method, resources are allocated.

[0226] Specifically, the transceiver 400 is used to receive and send data under the control of the processor 410.

[0227] Among them, Figure 4In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 410 and various circuits of memory represented by memory 420 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 400 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including wireless channels, wired channels, optical cables, and other transmission media. For different user devices, the user interface 430 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0228] The processor 410 is responsible for managing the bus architecture and general processing, and the memory 420 can store data used by the processor 410 when performing operations.

[0229] Optionally, the processor 410 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.

[0230] The processor calls the computer program stored in the memory to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0231] Optionally, the selecting a resource allocation mode of the through link based on at least one allocation parameter and allocation rules of each allocation parameter includes:

[0232] Determine candidate resource allocation modes for each allocation parameter based on each allocation parameter and allocation rules for each allocation parameter;

[0233] Based on the candidate resource allocation modes of each allocation parameter, the resource allocation mode of the direct link is determined.

[0234] Optionally, the determining, based on each allocation parameter and each allocation rule of the allocation parameter, a candidate resource allocation mode for each allocation parameter includes:

[0235] If the resource collision value in the resource pool collision situation is greater than the collision threshold, determining that the candidate resource allocation mode of the resource pool collision situation is partial perception;

[0236] Otherwise, determining the candidate resource allocation mode for the resource pool collision situation as random selection;

[0237] The resource collision value is determined based on a hybrid automatic repeat request HARQ feedback measurement or a partial perception result.

[0238] Optionally, the selecting a resource allocation mode of the through link based on at least one allocation parameter and allocation rules of each allocation parameter further includes:

[0239] Determining the resource collision value based on a proportion of negative acknowledgements NACK in HARQ feedback received within a preset period of time;

[0240] Alternatively, the proportion of unavailable resources in the candidate resources is calculated based on the partial perception results, and the resource collision value is determined based on the proportion of unavailable resources.

[0241] Optionally, the determining, based on each allocation parameter and each allocation rule of the allocation parameter, a candidate resource allocation mode for each allocation parameter includes:

[0242] If the CBR in the resource pool congestion situation is greater than the congestion threshold, determining that the candidate resource allocation mode of the resource pool congestion situation is partial perception;

[0243] Otherwise, the candidate resource allocation mode for determining the congestion situation of the resource pool is random selection.

[0244] Optionally, the determining, based on each allocation parameter and each allocation rule of the allocation parameter, a candidate resource allocation mode for each allocation parameter includes:

[0245] If the local power saving requirement level in the power saving situation is lower than the first power saving level threshold, determining the candidate resource allocation mode of the power saving situation as partial perception;

[0246] Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection;

[0247] The local power saving requirement level is determined based on the local battery capacity and / or battery remaining level.

[0248] Optionally, the determining, based on each allocation parameter and each allocation rule of the allocation parameter, a candidate resource allocation mode for each allocation parameter includes:

[0249] If the proportion of power-saving terminals in the power-saving situation is greater than the power-saving terminal ratio threshold, determining that the candidate resource allocation mode of the power-saving situation is partial perception;

[0250] Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection;

[0251] The power-saving terminal ratio is the ratio of the number of other terminals whose power-saving requirement level is greater than or equal to the second power-saving level threshold to the total number of other terminals.

[0252] Optionally, the determining the candidate resource allocation mode for each allocation parameter based on each allocation parameter and each allocation rule of the allocation parameter further includes:

[0253] Obtaining direct link control information SCI sent by other terminals through partial perception;

[0254] The power saving requirement level of the corresponding terminal is extracted from the SCI.

[0255] Optionally, the determining, based on each allocation parameter and each allocation rule of the allocation parameter, a candidate resource allocation mode for each allocation parameter includes:

[0256] If the preset priority is less than the priority threshold, determining that the candidate resource allocation mode of the preset priority is partial perception;

[0257] Otherwise, determining that the candidate resource allocation method of the preset priority is random selection;

[0258] The preset priority is the priority of the local end, or the priority of the service executed by the local end.

[0259] Optionally, determining the resource allocation mode of the direct link based on the candidate resource allocation modes corresponding to each allocation parameter includes:

[0260] If the candidate resource allocation mode corresponding to any allocation parameter is partially sensed, determining that the resource allocation mode of the direct link is partially sensed;

[0261] Otherwise, determine that the resource allocation mode of the direct link is random selection.

[0262] It should be noted here that the above-mentioned terminal provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the above-mentioned execution subject is the terminal, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0263] Figure 5 is a schematic diagram of the structure of the network side device provided in the embodiment of the present application, such as Figure 5As shown, the network side device includes a memory 520, a transceiver 500, and a processor 510:

[0264] The memory 520 is used to store computer programs; the transceiver 500 is used to send and receive data under the control of the processor; the processor 510 is used to read the computer program in the memory and perform the following operations:

[0265] Determine an allocation rule for at least one allocation parameter, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority;

[0266] The terminal is configured with an allocation rule of the at least one allocation parameter, so that the terminal selects a resource allocation method for the direct link based on the allocation rule of the at least one allocation parameter and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation method.

[0267] Among them, Figure 5 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 510 and memory represented by memory 520. The bus architecture may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 500 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including, these transmission media include wireless channels, wired channels, optical cables and other transmission media.

[0268] The processor 510 is responsible for managing the bus architecture and general processing, and the memory 520 can store data used by the processor 510 when performing operations.

[0269] Optionally, the processor 510 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.

[0270] The processor calls the computer program stored in the memory to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0271] Optionally, determining an allocation rule of at least one allocation parameter includes:

[0272] Selecting a rule threshold corresponding to each allocation parameter from a rule threshold set of each allocation parameter;

[0273] Based on the rule threshold corresponding to each allocation parameter, an allocation rule for each allocation parameter is generated.

[0274] It should be noted here that the above-mentioned network side device provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the above-mentioned execution subject is the network side device, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0275] Figure 6 is one of the structural diagrams of the resource allocation device provided in the embodiment of the present application, such as Figure 6 As shown, the device comprises:

[0276] A resource allocation mode determination unit 610, configured to select a resource allocation mode for a through link based on at least one allocation parameter and an allocation rule for each of the allocation parameters, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority, and the allocation rule is configured on the network side;

[0277] The allocation unit 620 is configured to perform resource allocation based on the resource allocation method.

[0278] Optionally, the resource allocation mode determining unit 610 includes:

[0279] A candidate allocation determination subunit, configured to determine a candidate resource allocation mode for each allocation parameter based on each allocation parameter and an allocation rule for each allocation parameter;

[0280] The comprehensive determination subunit is used to determine the resource allocation mode of the direct link based on the candidate resource allocation modes of each allocation parameter.

[0281] Optionally, the candidate allocation determination subunit is used to:

[0282] If the resource collision value in the resource pool collision situation is greater than the collision threshold, determining that the candidate resource allocation mode of the resource pool collision situation is partial perception;

[0283] Otherwise, determining the candidate resource allocation mode for the resource pool collision situation as random selection;

[0284] The resource collision value is determined based on a hybrid automatic repeat request HARQ feedback measurement or a partial perception result.

[0285] Optionally, the device further comprises a collision detection unit, configured to:

[0286] Determining the resource collision value based on a proportion of negative acknowledgements NACK in HARQ feedback received within a preset period of time;

[0287] Alternatively, the proportion of unavailable resources in the candidate resources is calculated based on the partial perception results, and the resource collision value is determined based on the proportion of unavailable resources.

[0288] Optionally, the candidate allocation determination subunit is used to:

[0289] If the CBR in the resource pool congestion situation is greater than the congestion threshold, determining that the candidate resource allocation mode of the resource pool congestion situation is partial perception;

[0290] Otherwise, the candidate resource allocation mode for determining the congestion situation of the resource pool is random selection.

[0291] Optionally, the candidate allocation determination subunit is used to:

[0292] If the local power saving requirement level in the power saving situation is lower than the first power saving level threshold, determining the candidate resource allocation mode of the power saving situation as partial perception;

[0293] Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection;

[0294] The local power saving requirement level is determined based on the local battery capacity and / or battery remaining level.

[0295] Optionally, the candidate allocation determination subunit is used to:

[0296] If the proportion of power-saving terminals in the power-saving situation is greater than the power-saving terminal ratio threshold, determining that the candidate resource allocation mode of the power-saving situation is partial perception;

[0297] Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection;

[0298] The power-saving terminal ratio is the ratio of the number of other terminals whose power-saving requirement level is greater than or equal to the second power-saving level threshold to the total number of other terminals.

[0299] Optionally, the device further includes a demand level acquisition unit, configured to:

[0300] Obtaining direct link control information SCI sent by other terminals through partial perception;

[0301] The power saving requirement level of the corresponding terminal is extracted from the SCI.

[0302] Optionally, the candidate allocation determination subunit is used to:

[0303] If the preset priority is less than the priority threshold, determining that the candidate resource allocation mode of the preset priority is partial perception;

[0304] Otherwise, determining that the candidate resource allocation method of the preset priority is random selection;

[0305] The preset priority is the priority of the local end, or the priority of the service executed by the local end.

[0306] Optionally, the comprehensive determination subunit is used for:

[0307] If the candidate resource allocation mode corresponding to any allocation parameter is partially sensed, determining that the resource allocation mode of the direct link is partially sensed;

[0308] Otherwise, determine that the resource allocation mode of the direct link is random selection.

[0309] Specifically, the resource allocation device provided in the embodiment of the present application can implement all the method steps implemented in the method embodiment in which the execution subject is a terminal, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those of the method embodiment will not be described in detail here.

[0310] Figure 7 This is a second structural diagram of the resource allocation device provided in the embodiment of the present application, such as Figure 7 As shown, the device comprises:

[0311] A rule determination unit 710, configured to determine an allocation rule for at least one allocation parameter, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority;

[0312] The configuration unit 720 is used to configure the allocation rule of the at least one allocation parameter for the terminal, so that the terminal selects the resource allocation method of the direct link based on the allocation rule of the at least one allocation parameter and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation method.

[0313] Optionally, the rule determination unit 710 is used to:

[0314] Selecting a rule threshold corresponding to each allocation parameter from a rule threshold set of each allocation parameter;

[0315] Based on the rule threshold corresponding to each allocation parameter, an allocation rule for each allocation parameter is generated.

[0316] Specifically, the above-mentioned resource allocation device provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the execution subject is a network side device, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0317] It should be noted that the division of units / modules in the above embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, the functional units in the various embodiments of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated units may be implemented in the form of hardware or in the form of software functional units.

[0318] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0319] Optionally, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the methods provided in the above embodiments, including:

[0320] Selecting a resource allocation method for a through link based on at least one allocation parameter and allocation rules for each of the allocation parameters, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority, and the allocation rule is configured on the network side;

[0321] Based on the resource allocation method, resources are allocated.

[0322] Or include:

[0323] Determine an allocation rule for at least one allocation parameter, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority;

[0324] The terminal is configured with an allocation rule of the at least one allocation parameter, so that the terminal selects a resource allocation method for the direct link based on the allocation rule of the at least one allocation parameter and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation method.

[0325] It should be noted that the processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.

[0326] It should also be noted that the technical solution provided in the embodiment of the present application can be applicable to a variety of systems, especially 5G systems. For example, the applicable system may be a global system of mobilecommunication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a universal mobile telecommunication system (UMTS), a world-wide interoperability for microwave access (WiMAX) system, a 5G new air interface (NR) system, etc. These various systems include terminal equipment and network equipment. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.

[0327] The terminal device involved in the embodiment of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal device may also be different. For example, in a 5G system, the terminal device may be called a user equipment (UE). A wireless terminal device can communicate with one or more core networks (CN) via a radio access network (RAN). The wireless terminal device may be a mobile terminal device, such as a mobile phone (or a "cellular" phone) and a computer with a mobile terminal device. For example, it may be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with a wireless access network. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs) and other devices. The wireless terminal device may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote terminal device, an access terminal device, a user terminal device, a user agent, and a user device, but is not limited in the embodiments of the present application.

[0328] The network side device involved in the embodiment of the present application may be a base station, which may include multiple cells providing services for the terminal. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names. The network side device may be used to interchange received air frames with Internet Protocol (IP) packets, and serve as a router between the wireless terminal device and the rest of the access network, wherein the rest of the access network may include an Internet Protocol (IP) communication network. The network side device may also coordinate the attribute management of the air interface. For example, the network side device involved in the embodiments of the present application may be a network side device (Base TransceiverStation, BTS) in the Global System for Mobile communications (Global System for Mobile communications, GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA), or a network side device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolutionary network side device (evolutional Node B, eNB or e-NodeB) in the long term evolution (long term evolution, LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), or a home evolved Node B (Home evolved Node B, HeNB), a relay node, a home base station (femto), a pico base station (pico), etc., which is not limited in the embodiments of the present application. In some network structures, the network side device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.

[0329] The network side device and the terminal device can each use one or more antennas for multiple input multiple output (MIMO) transmission. MIMO transmission can be single user MIMO (SU-MIMO) or multi-user MIMO (MU-MIMO). Depending on the form and number of antenna combinations, MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO or massive-MIMO, or it can be diversity transmission, precoding transmission or beamforming transmission, etc.

[0330] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0331] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0332] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0333] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0334] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A resource allocation method, characterized in that: include: Selecting a resource allocation method for a through link based on at least one allocation parameter and allocation rules for each of the allocation parameters, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority, and the allocation rule is configured on the network side; Based on the resource allocation method, perform resource allocation; The at least one allocation parameter includes a power saving condition, and the allocation rule of the power saving condition includes: If the proportion of power-saving terminals in the power-saving situation is greater than the power-saving terminal ratio threshold, determining that the candidate resource allocation mode of the power-saving situation is partial perception; Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection; The proportion of power-saving terminals in the power-saving situation is the ratio of the number of remaining terminals whose power-saving requirement level is greater than or equal to the second power-saving level threshold to the total number of remaining terminals. The candidate resource allocation method is used to determine the resource allocation method.

2. The resource allocation method according to claim 1, characterized in that: The selecting a resource allocation method of the through link based on at least one allocation parameter and allocation rules of each allocation parameter includes: Determine candidate resource allocation modes for each allocation parameter based on each allocation parameter and allocation rules for each allocation parameter; Based on the candidate resource allocation modes of each allocation parameter, the resource allocation mode of the direct link is determined.

3. The resource allocation method according to claim 2, characterized in that: The determining of the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter includes: If the resource collision value in the resource pool collision situation is greater than the collision threshold, determining that the candidate resource allocation mode of the resource pool collision situation is partial perception; Otherwise, determining the candidate resource allocation mode for the resource pool collision situation as random selection; The resource collision value is determined based on a hybrid automatic repeat request HARQ feedback measurement or a partial perception result.

4. The resource allocation method according to claim 3, characterized in that: The selecting of a resource allocation mode of a through link based on at least one allocation parameter and allocation rules of each allocation parameter also includes: Determining the resource collision value based on a proportion of negative acknowledgements NACK in HARQ feedback received within a preset period of time; Alternatively, the proportion of unavailable resources in the candidate resources is calculated based on the partial perception results, and the resource collision value is determined based on the proportion of unavailable resources.

5. The resource allocation method according to claim 2, characterized in that: The determining of the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter includes: If the CBR in the resource pool congestion situation is greater than the congestion threshold, determining that the candidate resource allocation mode of the resource pool congestion situation is partial perception; Otherwise, the candidate resource allocation mode for determining the congestion situation of the resource pool is random selection.

6. The resource allocation method according to claim 2, characterized in that: The determining of the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter includes: If the local power saving requirement level in the power saving situation is lower than the first power saving level threshold, determining the candidate resource allocation mode of the power saving situation as partial perception; Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection; The local power saving requirement level is determined based on the local battery capacity and / or battery remaining level.

7. The resource allocation method according to claim 2, characterized in that: The step of determining the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter further includes: Obtaining direct link control information SCI sent by other terminals through partial perception; The power saving requirement level of the corresponding terminal is extracted from the SCI.

8. The resource allocation method according to claim 2, characterized in that: The determining of the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter includes: If the preset priority is less than the priority threshold, determining that the candidate resource allocation mode of the preset priority is partial perception; Otherwise, determining that the candidate resource allocation method of the preset priority is random selection; The preset priority is the priority of the local end, or the priority of the service executed by the local end.

9. The resource allocation method according to any one of claims 2 to 8, characterized in that: The determining the resource allocation mode of the direct link based on the candidate resource allocation modes corresponding to each allocation parameter includes: If the candidate resource allocation mode corresponding to any allocation parameter is partially sensed, determining that the resource allocation mode of the through link is partially sensed; Otherwise, determine that the resource allocation mode of the direct link is random selection.

10. A resource allocation method, characterized in that: include: Determine an allocation rule for at least one allocation parameter, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority; Configuring an allocation rule of the at least one allocation parameter for the terminal, so that the terminal selects a resource allocation mode of the direct link based on the allocation rule of the at least one allocation parameter and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation mode; The at least one allocation parameter includes a power saving condition, and the allocation rule of the power saving condition includes: If the proportion of power-saving terminals in the power-saving situation is greater than the power-saving terminal ratio threshold, determining that the candidate resource allocation mode of the power-saving situation is partial perception; Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection; The proportion of power-saving terminals in the power-saving situation is the ratio of the number of remaining terminals whose power-saving requirement level is greater than or equal to the second power-saving level threshold to the total number of remaining terminals. The candidate resource allocation method is used to determine the resource allocation method.

11. The resource allocation method according to claim 10, characterized in that: The step of determining at least one allocation rule for an allocation parameter comprises: Selecting a rule threshold corresponding to each allocation parameter from a rule threshold set of each allocation parameter; Based on the rule threshold corresponding to each allocation parameter, an allocation rule for each allocation parameter is generated.

12. A terminal, characterized in that: Including memory, transceiver, processor: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Selecting a resource allocation method for a through link based on at least one allocation parameter and allocation rules for each of the allocation parameters, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority, and the allocation rule is configured on the network side; Based on the resource allocation method, perform resource allocation; At least one allocation parameter includes a power saving condition, and the allocation rules of the power saving condition include: If the proportion of power-saving terminals in the power-saving situation is greater than the power-saving terminal ratio threshold, determining that the candidate resource allocation mode of the power-saving situation is partial perception; Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection; The proportion of power-saving terminals in the power-saving situation is the ratio of the number of remaining terminals whose power-saving requirement level is greater than or equal to the second power-saving level threshold to the total number of remaining terminals. The candidate resource allocation method is used to determine the resource allocation method.

13. The terminal according to claim 12, characterized in that: The selecting a resource allocation method of the through link based on at least one allocation parameter and allocation rules of each allocation parameter includes: Determine candidate resource allocation modes for each allocation parameter based on each allocation parameter and allocation rules for each allocation parameter; Based on the candidate resource allocation modes of each allocation parameter, the resource allocation mode of the direct link is determined.

14. The terminal according to claim 13, characterized in that: The determining of the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter includes: If the resource collision value in the resource pool collision situation is greater than the collision threshold, determining that the candidate resource allocation mode of the resource pool collision situation is partial perception; Otherwise, determining the candidate resource allocation mode for the resource pool collision situation as random selection; The resource collision value is determined based on a hybrid automatic repeat request HARQ feedback measurement or a partial perception result.

15. The terminal according to claim 14, characterized in that: The selecting of a resource allocation mode of a through link based on at least one allocation parameter and allocation rules of each allocation parameter also includes: Determining the resource collision value based on a proportion of negative acknowledgements NACK in HARQ feedback received within a preset period of time; Alternatively, the proportion of unavailable resources in the candidate resources is calculated based on the partial perception results, and the resource collision value is determined based on the proportion of unavailable resources.

16. The terminal according to claim 13, characterized in that: The determining of the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter includes: If the CBR in the resource pool congestion situation is greater than the congestion threshold, determining that the candidate resource allocation mode of the resource pool congestion situation is partial perception; Otherwise, the candidate resource allocation mode for determining the congestion situation of the resource pool is random selection.

17. The terminal according to claim 13, characterized in that: The determining of the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter includes: If the local power saving requirement level in the power saving situation is lower than the first power saving level threshold, determining the candidate resource allocation mode of the power saving situation as partial perception; Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection; The local power saving requirement level is determined based on the local battery capacity and / or battery remaining level.

18. The terminal according to claim 13, characterized in that: The step of determining the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter further includes: Obtaining direct link control information SCI sent by other terminals through partial perception; The power saving requirement level of the corresponding terminal is extracted from the SCI.

19. The terminal according to claim 13, characterized in that: The determining of the candidate resource allocation mode of each allocation parameter based on each allocation parameter and the allocation rule of each allocation parameter includes: If the preset priority is less than the priority threshold, determining that the candidate resource allocation mode of the preset priority is partial perception; Otherwise, determining that the candidate resource allocation method of the preset priority is random selection; The preset priority is the priority of the local end, or the priority of the service executed by the local end.

20. The terminal according to any one of claims 13 to 19, characterized in that: The determining the resource allocation mode of the direct link based on the candidate resource allocation modes corresponding to each allocation parameter includes: If the candidate resource allocation mode corresponding to any allocation parameter is partially sensed, determining that the resource allocation mode of the through link is partially sensed; Otherwise, determine that the resource allocation mode of the direct link is random selection.

21. A network side device, characterized in that: Including memory, transceiver, processor: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Determine an allocation rule for at least one allocation parameter, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority; Configuring an allocation rule of the at least one allocation parameter for the terminal, so that the terminal selects a resource allocation mode of the direct link based on the allocation rule of the at least one allocation parameter and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation mode; At least one allocation parameter includes a power saving condition, and the allocation rules of the power saving condition include: If the proportion of power-saving terminals in the power-saving situation is greater than the power-saving terminal ratio threshold, determining that the candidate resource allocation mode of the power-saving situation is partial perception; Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection; The proportion of power-saving terminals in the power-saving situation is the ratio of the number of remaining terminals whose power-saving requirement level is greater than or equal to the second power-saving level threshold to the total number of remaining terminals. The candidate resource allocation method is used to determine the resource allocation method.

22. The network side device according to claim 21, characterized in that: The step of determining at least one allocation rule for an allocation parameter comprises: Selecting a rule threshold corresponding to each allocation parameter from a rule threshold set of each allocation parameter; Based on the rule threshold corresponding to each allocation parameter, an allocation rule for each allocation parameter is generated.

23. A resource allocation device, characterized in that: include: A resource allocation mode determination unit, configured to select a resource allocation mode for a through link based on at least one allocation parameter and an allocation rule for each of the allocation parameters, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority, and the allocation rule is configured on the network side; An allocation unit, configured to allocate resources based on the resource allocation method; At least one allocation parameter includes a power saving condition, and the allocation rules of the power saving condition include: If the proportion of power-saving terminals in the power-saving situation is greater than the power-saving terminal ratio threshold, determining that the candidate resource allocation mode of the power-saving situation is partial perception; Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection; The proportion of power-saving terminals in the power-saving situation is the ratio of the number of remaining terminals whose power-saving requirement level is greater than or equal to the second power-saving level threshold to the total number of remaining terminals. The candidate resource allocation method is used to determine the resource allocation method.

24. A resource allocation device, characterized in that: include: A rule determination unit, used to determine an allocation rule for at least one allocation parameter, wherein the allocation parameter is a resource pool collision condition, a resource pool congestion condition, a power saving condition, or a preset priority; A configuration unit, configured to configure an allocation rule of the at least one allocation parameter for a terminal, so that the terminal selects a resource allocation mode of a direct link based on the allocation rule of the at least one allocation parameter and the allocation parameters corresponding to each allocation rule, and performs resource allocation based on the resource allocation mode; At least one allocation parameter includes a power saving condition, and the allocation rules of the power saving condition include: If the proportion of power-saving terminals in the power-saving situation is greater than the power-saving terminal ratio threshold, determining that the candidate resource allocation mode of the power-saving situation is partial perception; Otherwise, determining the candidate resource allocation mode for the power saving situation is random selection; The proportion of power-saving terminals in the power-saving situation is the ratio of the number of remaining terminals whose power-saving requirement level is greater than or equal to the second power-saving level threshold to the total number of remaining terminals. The candidate resource allocation method is used to determine the resource allocation method.

25. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a computer program, and the computer program is used to cause the processor to execute the method according to any one of claims 1 to 9, or to cause the processor to execute the method according to claim 10 or 11.

Citation Information

Patent Citations

  • Communication resource selection method, handheld intelligent terminal and access device

    CN106686736A