Resource reselection method and apparatus, terminal device, storage medium, and program product
By implementing a strategy in the new radio-to-vehicle (NRV) system to determine whether to retain or reselect resources based on their usage frequency, the problem of low resource utilization efficiency is solved, and system performance is improved.
Patent Information
- Application Number
- CN202510290619.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2045-03-12
AI Technical Summary
In the new radio-interface vehicle-to-everything (V2X) system, the existing resource reselection mechanism results in low resource utilization efficiency and poor system performance. In particular, due to the counter+P mechanism, some resources are reselected and no longer used after only a few uses.
When the process resource reselection counter is 1, the number of times the resource is used within the first time period is obtained, and the decision on whether to retain or reselect the resource is made based on the number of times it is used. The resource retention or reselection strategy is determined by comparing the generated random value with the pre-configured probability value.
It improves resource utilization, reduces the probability of resource collisions, and enhances system performance.
Smart Images

Figure CN120151298B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a resource reselection method, apparatus, terminal equipment, storage medium, and program product. Background Technology
[0002] In the semi-static scheduling (SPS) mechanism of Long-Term Evolution Vehicle-to-Everything (LTE-V2X) technology, a counter (process resource reselection counter) mechanism is used to avoid long-term collisions. Specifically, the "counter+P" mechanism determines whether the current resource needs to be reselected. In the "counter+P" mechanism, when a Transport Block (TB) arrives, if the counter value is 1: based on probability P, it determines whether to continue using the existing resource after the counter value is 0; based on probability 1-P, it determines whether to perform resource reselection after the counter value is 0. When a TB arrives, if the counter value is 0: resource reselection is performed based on the probability parameters (P, 1-P) determined when the counter value is 1.
[0003] The New Radio Vehicle-to-Everything (NR V2X) uses the aforementioned counter mechanism, and adds re-evaluation, preemption, and feedback mechanisms on this basis. This results in some resources being released or reselected after being used only a few times or not at all because the counter value is equal to 0, leading to low resource utilization efficiency and poor system performance. Summary of the Invention
[0004] This invention provides a resource reselection method, apparatus, terminal device, storage medium, and program product to solve the problem in the prior art that reselecting all resources during resource reselection leads to low resource utilization efficiency and poor system performance.
[0005] To address the aforementioned technical problems, the embodiments of the present invention provide the following technical solutions:
[0006] In a first aspect, embodiments of the present invention provide a resource reselection method, the method comprising:
[0007] When the process resource reselection counter of the first resource is 1, the number of times each resource in the first resource is used within a first duration is obtained; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first duration includes the duration from the time the process resource reselection counter of the current process was last reset to the current time.
[0008] Based on the number of times it is used, determine whether to retain the first resource for continued use during resource reselection.
[0009] Optionally, when the process resource reselection counter of the first resource is 1, the number of times each resource in the first resource is used within the first time period is obtained, including:
[0010] When the value of the process resource reselection counter is 1, a first random value is generated;
[0011] The first random value is compared with the pre-configured resource retention probability value;
[0012] If the first random value is greater than or equal to the resource retention probability value, obtain the number of times each of the first resources is used within the first duration.
[0013] Optionally, based on the number of uses, determining whether to retain the first resource for continued use during resource reselection includes:
[0014] If the number of times the first target resource is used is less than or equal to a preset threshold, it is determined that the first target resource will continue to be used when resource reselection is performed.
[0015] If the number of times the second target resource is used exceeds a preset threshold, it is determined that the second target resource should be reselected during resource reselection.
[0016] Wherein, the first target resource is some or all of the resources in the first resource, and the second target resource is the resources in the first resource other than the first target resource.
[0017] Optionally, if the number of times the first target resource is used is less than or equal to a preset threshold, determining to retain the continued use of the first target resource during resource reselection includes:
[0018] If the number of times the first target resource is used is less than or equal to a preset threshold, a second random value is generated.
[0019] If the second random value is less than or equal to the pre-configured target parameter, it is determined that the first target resource will continue to be used when resource reselection is performed.
[0020] If the second random value is greater than the pre-configured target parameter, it is determined that the first target resource will be reselected when resource reselection is performed.
[0021] Optionally, the number of the number thresholds is at least two;
[0022] Different threshold values correspond to different target parameters.
[0023] Optionally, according to the first information, the number of times some or all of the resources in the first resource are used is less than or equal to the number of times threshold.
[0024] The first information includes at least one of the following:
[0025] Triggering resource reassessment, triggering resource preemption, and feedback information indicating that resources are not in use.
[0026] Optionally, the method further includes:
[0027] When performing resource reselection, the third target resource is retained for continued use; wherein, the third target resource is some or all of the resources in the first resource.
[0028] Resource reselection is performed on the second resource from the candidate resource set; wherein the second resource includes the resources maintained by the current process, excluding the third target resource; the candidate resource set is determined through the perception process of semi-persistent scheduling (SPS).
[0029] Optionally, the method further includes:
[0030] Based on the second information, release the fourth target resource; wherein, the fourth target resource is all or part of the resources in the third target resource;
[0031] The second information includes at least one of the following: time slot limitation information, round-trip time (RTT) limitation information, and latency requirements.
[0032] Optionally, based on the second information, the fourth target resource is released, including:
[0033] Obtain the usage count of each resource in the fourth target resource;
[0034] Determine the release priority based on the number of times it has been used;
[0035] Release the fourth target resource according to the release priority.
[0036] Optionally, during resource reselection, the continued use of the third target resource may be retained, including:
[0037] Among the third target resources, a fifth target resource that has not been reserved is identified;
[0038] When reselecting resources, the fifth target resource will continue to be used.
[0039] Optionally, the method further includes:
[0040] A first indication is added to the first direct link control information (SCI), which indicates that a third target resource is reserved for continued use. The third target resource is a resource in the first resource that is reserved for continued use. The third target resource is a portion or all of the resources in the first resource. The first SCI is the SCI sent within the resource sending period corresponding to the value of the process resource reselection counter being 0.
[0041] Secondly, embodiments of the present invention also provide a resource reselection device, the device comprising:
[0042] The first acquisition module is used to acquire the number of times each resource in the first resource is used within a first duration when the value of the process resource reselection counter of the first resource is 1; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first duration includes the duration from the time the value of the process resource reselection counter of the current process was last reset to the current time.
[0043] The first processing module is used to determine, based on the number of times the resource is used, whether to retain the first resource for continued use during resource reselection.
[0044] Thirdly, embodiments of the present invention also provide a terminal device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, it implements the steps of the resource reselection method as described in any one of the first aspects.
[0045] Fourthly, embodiments of the present invention also provide a readable storage medium storing a program, which, when executed by a processor, implements the steps of the resource reselection method as described in any one of the first aspects.
[0046] Fifthly, embodiments of the present invention also provide a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the resource reselection method as described in any one of the first aspects.
[0047] The beneficial effects of this invention are:
[0048] The resource reselection method provided by this invention, when the value of the process resource reselection counter (counter) for a first resource is 1, obtains the number of times the first resource has been used within a first time period. This first time period includes the duration from the last reset of the process resource reselection counter to the current moment. Based on this usage count, it determines whether to retain the first resource for continued use during resource reselection. This invention, by determining whether to retain or reselect the first resource based on its usage count, avoids the problem of the first resource being reselected and no longer used after only a few uses, thereby improving resource utilization and enhancing system performance. Attached Figure Description
[0049] Figure 1 A schematic diagram illustrating the re-evaluation mechanism provided by this invention;
[0050] Figure 2 A schematic diagram illustrating the preemption mechanism provided by this invention;
[0051] Figure 3 A flowchart illustrating the resource reselection method provided in this embodiment of the invention;
[0052] Figure 4 One of the example diagrams illustrates the resource reselection method provided in this embodiment of the invention;
[0053] Figure 5 The second example diagram illustrates the resource reselection method provided in this embodiment of the invention;
[0054] Figure 6 The third example diagram illustrates the resource reselection method provided in this embodiment of the invention.
[0055] Figure 7 Figure 4 illustrates the resource reselection method provided in this embodiment of the invention.
[0056] Figure 8 This is a schematic diagram of the resource reselection device provided in an embodiment of the present invention;
[0057] Figure 9 This is a schematic diagram of the structure of the terminal device provided in an embodiment of the present invention. Detailed Implementation
[0058] The technical solutions of this invention can be applied to various communication systems, such as GSM (Global System of Mobile communication), LTE (Long Term Evolution), 5G, and future systems (such as 6G). Optionally, a 5G system or 5G network can also be referred to as a New Radio (NR) system or NR network.
[0059] For example, the communication system used in this embodiment of the invention may include network devices and terminal devices (also referred to as terminals, communication terminals, etc.); the network device may be a device that communicates with the terminal device. The network device can provide communication coverage within a certain area and can communicate with terminals located within that area. Optionally, the network device may be a base station in various communication systems, such as an evolved Node B (eNB) in an LTE system, a gNB in a 5G or NR system, or a base station in a 6G system.
[0060] To make the technical problems, technical solutions, and advantages of this application clearer, a detailed description will be provided below in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as particular configurations and components are provided merely to aid in a comprehensive understanding of the embodiments of this application. Therefore, those skilled in the art should understand that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this application. Furthermore, for clarity and brevity, descriptions of known functions and structures have been omitted.
[0061] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0062] In the various embodiments of this application, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0063] In the embodiments provided in this application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information.
[0064] In this embodiment of the invention, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0065] Before describing the specific embodiments of the present invention, the following will be explained first:
[0066] Explanation of the "counter+P" mechanism:
[0067] The standard defines the following triggering conditions for resource reselection:
[0068] Under the SPS mechanism, if the counter times out, resource reselection is required.
[0069] (1) When a Transmission Block (TB) arrives, if the value of counter is 1: determine to continue using the existing resources with probability P after the value of counter equals 0; or perform resource reselection with probability 1-P after the value of counter equals 0; the carrier-specific parameter P ranges from [0, 0.2, 0.4, 0.6, 0.8];
[0070] (2) When the business TB arrives, if the value of counter is 0: the resource is reselected according to the parameters determined when the value of counter is 1; the value of counter is reset, and the reset value is a randomly selected integer within a certain range.
[0071] In LTE, the value range of counter is as follows: for a transmission period of 20ms, the value range of counter is [25, 75]; for a transmission period of 50ms, the value range of counter is [10, 30]; for a transmission period greater than or equal to 100ms, the value range of counter is [5, 15].
[0072] The range of values for counter in NR:
[0073] Sending period less than 100ms:
[0074] The range of values for counter is
[0075] Among them, P rsvp_TX Indicates the current reservation period for the process;
[0076] For transmission periods greater than or equal to 100ms: the value range of counter is [5, 15];
[0077] (3) When the business TB arrives, if the value of counter is not 0: the value of counter is reduced by 1.
[0078] Counter description:
[0079] At the same time, when selecting resources in adjacent subframes, or in scenarios with topology changes, resource collisions are highly likely to occur.
[0080] If the initial transmission resources and retransmission resources of node A and node B collide, the collision will not be known and a reselection will not be triggered.
[0081] If an initial transmission resource collides but a retransmission resource does not (not just half-duplex, but resources colliding), the retransmission resource can be detected, but a reselection will not be triggered. That is, a collision does not trigger a reselection. Here we need to distinguish between the cases: the initial transmission of resource A and the initial transmission of resource B, and the initial transmission of resource A and the retransmission of resource B. Logically, there seems to be no difference.
[0082] If retransmitted resources collide but the initial transmission does not, due to the resource collision, some nodes can parse the data while others cannot. If the information sent by the peer node is received, it means that the two nodes are relatively close. Therefore, intermediate nodes may not be able to receive the data. Collisions still need to be avoided.
[0083] The following is combined Figure 1 This explains the reassessment mechanism:
[0084] In NR-V2X, non-periodic bursty services increase the probability of resource collisions. By studying and enhancing the re-evaluation mechanism, the UE can detect collisions in advance and make adjustments accordingly. From the perspective of the transmitting node, resource collisions can be effectively detected, triggering reselection to choose better resources, thereby reducing the probability of resource collisions. From the perspective of the receiving node, decoding success rate can be improved, thus enhancing system performance.
[0085] Includes the following steps:
[0086] Step 1: Media Access Control (MAC) provides: the object to be evaluated (r0, r1, r2, ...), and the remaining packet delay budget (PDB) for this TB.
[0087] (r0, r1, r2, ...): This is a transport resource that is transmitted multiple times in a TB: satisfying the resource selection window (PDB requirement) for this TB. It is determined comprehensively based on system control information (SCI) indications and resource selection status. Resources provided by the MAC are only used by MAC Protocol Data Units (PDUs). If it is determined that these resources are empty and no packets need to be carried, this process is not triggered. The condition for the MAC to provide this resource is that it has never been indicated by any previous SCI, including those from the previous cycle or the current cycle.
[0088] Step 2: The physical layer (PHY) performs a reassessment at T3 before the resource is first indicated.
[0089] Determine whether the resource is reserved. This process is also a sensing process, simultaneously identifying a candidate resource set: based on information provided by the MAC layer, the sensing process confirms whether the resource satisfies X*M. total S A This refers to the candidate resource set. Where M... total This represents the total number of candidate resources in the resource selection window. X is a configuration value that represents the proportion of candidate resources that meet the criteria for subsequent resource selection.
[0090] Step 3: If the resource set (r0, r1, r2, ...) provided by the higher layer is not in S A In the PHY protocol, the instruction is: "Report re-evaluation of the resource ri to higher layers," and the candidate resource set is reported to the MAC. This is a resource reselection trigger. Short-term sensing perceives information between resource selection and the re-evaluation time, essentially extending the original sensing window to... Time. The value of T3 is equal to in, and Please see the table below for the possible values.
[0091] Table 8.1.4-1: depending on sub-carrier spacing
[0092]
[0093] Table 8.1.4-2: depending on sub-carrier spacing
[0094]
[0095] Step 4: MAC removes the resource at the corresponding location.
[0096] Step 5: The MAC reselects resources for the preempted resources based on the candidate resource set. Not all resources are reselected, so the UE can continue to use these unoccupied resources.
[0097] Resource reselection must satisfy the constraint W. W is the interval between a given resource location in this TB and the resource location it indicates. It must be within 32 slots, and the reselected resource must satisfy the condition that, except for the first resource, the subsequent resource can be indicated by the preceding resource. Furthermore, the reselected resource must remain within the T2 window. If none of the candidate resources satisfy the constraint W with the already selected resource, then this constraint is ignored. If a Physical Sidelink Feedback Channel (PSFCH) is configured, the Hybrid Automatic Repeat Request (HARQ) Round-Trip Time (RTT) constraint must be met.
[0098] Step 6: MAC will replace the reselected resource.
[0099] Replace the previously removed resources with the reselected resources. Here, we choose to replace all, so after the reselection, all 10*counter (process resource reselection counter) reservations corresponding to that resource will also be replaced.
[0100] The following is combined Figure 2 Explaining the preemption mechanism:
[0101] NR-V2X introduces a pre-emption mechanism during resource selection, allowing high-priority services to preempt resources used by low-priority services. Low-priority services avoid resources occupied by high-priority services by decoding SCI, thereby reducing interference with high-priority services and ensuring the reliability of high-priority service transmission.
[0102] Step 1: The MAC provides the PHY with (r0′,r1′,r2′,…), the priority corresponding to this TB, and the remaining PDB of this TB.
[0103] (r0′,r1′,r2′,…): This is a transmission resource that is transmitted multiple times in a TB. It satisfies the resource selection window (PDB requirement) for this TB, which may be a segment of a logical channel or multiple logical channels multiplexed. The determination is based on the SCI indication and resource selection status. Resources provided by the MAC always have MAC PDUs to send. If it is determined to be empty and no packets need to be sent, this process is not triggered. The condition for the MAC to provide this resource is: it is indicated by any previous SCI, including those from the previous cycle or the current cycle.
[0104] Step 2: The PHY performs a pre-emption check in T3;
[0105] This involves determining whether the resource has been preempted. This process is also a sensing process, where the determination of whether X*M is satisfied is achieved through the sensing process. total The candidate resource set is then checked. Next, it's determined whether the resource undergoing preemption checking was excluded from the Reference Signal Receiving Power (RSRP) exclusion process, rather than being skipped. Finally, the priority indicated by the peer's SCI is used to determine if preemption has occurred.
[0106] Step 3: If the conditions are met and the resource is preempted, the UE is instructed to report a preemption of the resource ri′ to higher layers (PHY protocol) and simultaneously report the candidate resource set to the MAC. This is a resource reselection trigger.
[0107] Step 4: MAC remove the resources in the corresponding location.
[0108] Step 5: The MAC reselects resources for the preempted resources based on the candidate resource set. Not all reselected resources allow the UE to continue using the unpreempted resources. Resource reselection must meet the W constraint. W is the interval between a given resource location in the current TB and the location it indicates. It must be within 32 slots, and the reselected resource must ensure that, except for the first resource, the subsequent resource can be indicated by the previous resource. Furthermore, the reselected resource must remain within the T2 window. If no resource satisfying the W constraint can be selected, the constraint is lifted. Additionally, if the resource pool is configured with PSFCH, the reselected resource and other resources must also meet the HARQ RTT constraint in terms of time.
[0109] Step 6: MAC will replace the reselected resource.
[0110] In NR-V2X, service types are more diverse. To support higher reliability requirements, a HARQ feedback mechanism is introduced for multicast and unicast. Compared to blind retransmission, the feedback mechanism further improves the success rate of vehicle receiving service packets. Furthermore, since the maximum number of transmissions in New Radio (NR) is 32, excessive transmissions increase system load. Introducing the feedback mechanism reduces unnecessary transmissions, thereby lowering system load and improving Packet Resource Request (PRR).
[0111] HARQ feedback uses PSFCH to send acknowledgment (ACK) or negative-acknowledgment (NACK) feedback. Unicast feedback uses ACK / NACK, multicast feedback uses ACK / NACK or only negative feedback (NACK only), and broadcast feedback has no HARQ feedback. The PSFCH period is indicated by sl-PSFCH-Period-r16 and must be sent on a logical slot.
[0112] sl-MinTimeGapPSFCH-r16 is used to indicate the minimum logical slot distance between the PSFCH and the Physical Sidelink Shared Channel (PSSCH).
[0113] In existing technologies, the process resource reselection counter (counter) targets the entire resource bucket (TB). Although some resources are sent and some are not, the counter value is updated after the last resource is sent. Regardless of whether the resource has changed, the counter value is decremented by 1 after each update until a resource reselection is determined based on the "counter+P" mechanism, at which point all resources are reselected. However, due to the existence of reassessment and preemption mechanisms, after a reassessment or preemption is triggered, some resources may not meet the sending requirements, resulting in partial resource reselection. Resource reselection after a reassessment or preemption does not affect the update of the counter value; the current counter value continues to be used.
[0114] However, some newly selected resources may be reselected and no longer used after only a few transmissions due to the "counter+P" mechanism. On the one hand, the resource will not be selected again due to skip exclusion; on the other hand, the reselection process may introduce more skip exclusions.
[0115] The feedback mechanism introduced by NR-V2X means that resources that are sent later in the process may not be sent after sending an ACK in advance. As a result, at the time of reselection, the resource may only be used a few times or not at all.
[0116] If the current resource has never been used and has not been indicated by SCI, no skip subframe will be generated, which means it will not affect the skip exclusion at the subsequent reselection time. Therefore, directly reselecting all resources will not have any impact.
[0117] If a resource is not used at all, but is continuously reserved by the SCI that previously sent the resource, the resource is essentially in a listening state. When a reselection is triggered, the reservation status on that subframe can be clearly understood, and the resource occupancy status will not be incorrectly assessed due to half-duplex.
[0118] If the current resource is used within a few cycles before the reselection, a skip subframe will be generated, which will affect the skip exclusion of the resource.
[0119] The NR-V2X introduces the above mechanisms. If the current "counter+P" mechanism is used, it will reduce resource utilization or introduce more skip subframes, affecting the resource candidate set and increasing the probability of collision.
[0120] To address the problem of low resource utilization efficiency and poor system performance caused by reselecting all resources during resource reselection in the prior art, embodiments of the present invention provide a resource reselection method, apparatus, terminal device, storage medium, and program product.
[0121] like Figure 3 As shown, this embodiment of the invention provides a resource reselection method, the method comprising:
[0122] Step 301: When the process resource reselection counter of the first resource is 1, obtain the number of times each resource in the first resource is used within a first duration; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first duration includes the duration from the time the process resource reselection counter of the current process was last reset to the current time.
[0123] It should be noted that the quantity of the first resource is one or more resources, where "multiple" means two or more. When the first resource includes multiple resources, each resource in the first resource may have the same or different usage counts.
[0124] For example, the first resource includes four resources, namely the first resource, the second resource, the third resource and the fourth resource. The first resource and the second resource are used the same number of times, but the first resource, the third resource and the fourth resource are used differently, and the third resource and the fourth resource are used differently.
[0125] In this step, when the process resource reselection counter (counter) of the first resource is 1, the number of times each resource in the first resource is used within a first duration is obtained. This first duration includes the time from the last time the counter was reset to the current time.
[0126] Step 302: Based on the number of uses, determine whether to retain the first resource for continued use during resource reselection.
[0127] It should be noted that, in this embodiment of the invention, the conditions for resource reselection include: the arrival of the service packet, the completion of all resource transmission during the resource transmission cycle, and the update of the value of the corresponding process resource reselection counter to 0. That is, after the arrival of the service packet, the completion of all resource transmission during the resource transmission cycle, and the update of the value of the corresponding process resource reselection counter to 0 are all satisfied, all or part of the resources in the first resource are retained for continued use, or resource reselection is performed on all or part of the resources in the first resource.
[0128] In this step, based on the number of times it is used, it is determined whether to reselect the first resource during resource reselection, i.e., whether to retain the use of the first resource.
[0129] In this step, the number of times the first resource has been used after being reselected is obtained. Based on the number of times it has been used, it is determined whether to retain all or part of the resources in the first resource when reselecting resources, or to reselect part or all of the resources in the first resource.
[0130] Since there can be one or more first resources, when there are multiple first resources, the number of times each first resource is used may be the same or different. Furthermore, when there are multiple first resources, all of them may be retained for continued use, all may be reselected, or some may be retained for continued use and some may be reselected.
[0131] In this embodiment of the invention, when performing resource reselection, the number of times the first resource is used is taken into account. Based on the number of times it is used, the first resource is retained for continued use or reselected. This can avoid the problem that the first resource is no longer used after only a few transmissions due to the "counter+P" reason, thereby increasing resource utilization, reducing the probability of collision, and improving system performance.
[0132] In an optional embodiment, when the process resource reselection counter of the first resource is 1, the number of times each resource in the first resource is used within a first duration is obtained, including:
[0133] When the value of the process resource reselection counter is 1, a first random value is generated, that is, when the value of the process resource reselection counter is 1, a random number is thrown, that is, a first random value is generated.
[0134] The first random value is compared with a pre-configured resource retention probability value (the pre-configured resource retention probability is the configuration parameter P);
[0135] If the first random value is greater than or equal to the resource retention probability value, the number of times each resource in the first resource is used within the first duration is obtained. Specifically, if the first random value is greater than or equal to the configuration parameter P, the number of times each resource in the first resource is used within the first duration is obtained.
[0136] In one optional embodiment, determining whether to retain the first resource for continued use during resource reselection based on the number of uses includes:
[0137] If the number of times the first target resource is used is less than or equal to a preset threshold, it is determined that the first target resource will continue to be used when resource reselection is performed.
[0138] If the number of times the second target resource is used exceeds a preset threshold, it is determined that the second target resource should be reselected during resource reselection.
[0139] Wherein, the first target resource is some or all of the resources in the first resource, and the second target resource is the resources in the first resource other than the first target resource.
[0140] Each resource in the first resource is evaluated. If a resource in the first resource is used less than or equal to K times (where K is the preset threshold), then the resource is considered the first target resource and will continue to be used during resource reselection. If each resource in the first resource is used more than K times (where K is the preset threshold), then the resource is considered the second target resource and will no longer be used during resource reselection.
[0141] In this embodiment, the number of times each resource in the first resource is used is evaluated, and resources whose number of uses in the first resource is less than or equal to K times (where K times is a preset threshold) are determined to be the first target resources. Resources whose number of uses in the first resource is greater than K times (where K times is a preset threshold) are determined to be the second target resources. Then, when reselecting resources, the first target resources are retained for continued use, and the second target resources are reselected.
[0142] For example, the first resource includes four resources: the first resource, the second resource, the third resource, and the fourth resource. The first and second resources are used five times each, the third resource is used six times, and the fourth resource is used seven times. The usage threshold is set to five times (i.e., K times equals five times). Therefore, the first and second resources are determined as the first target resources, and the third and fourth resources are determined as the second target resources. When reselecting resources, the first and second resources are retained for continued use, while the third and fourth resources are reselected.
[0143] Furthermore, if the number of times the first target resource is used is less than or equal to a preset threshold, determining to retain the continued use of the first target resource during resource reselection includes:
[0144] If the number of times the first target resource is used is less than or equal to a preset threshold, a second random value is generated. That is, if the number of times the first target resource is used is less than or equal to K times, a random number is thrown again to generate a second random value.
[0145] If the second random value is less than or equal to the pre-configured target parameter (the pre-configured target parameter is the configuration parameter Q), it is determined that the first target resource will continue to be used when resource reselection is performed.
[0146] If the second random value is greater than the pre-configured target parameter (the pre-configured target parameter is the configuration parameter Q), it is determined that the first target resource will be reselected during resource reselection.
[0147] In this embodiment, resources that have been used less than or equal to K times are identified as first target resources. Then, a random number is generated to produce a second random value. If the second random value is less than or equal to the configuration parameter Q, it is determined that all resources of the first target resource will be retained for continued use during resource reselection. If the second random value is greater than the configuration parameter Q, it is determined that all resources of the first target resource will be reselected during resource reselection.
[0148] In an optional implementation, when the number of count thresholds is at least two, the number of pre-configured target parameters is also at least two, and the number of count thresholds is equal to the number of pre-configured target parameters, wherein different count thresholds correspond to different target parameters.
[0149] For example, a set of number thresholds are configured as [5, 2, 1], and a set of pre-configured target parameters are configured as [0.2, 0.6, 0.9], where "5" corresponds to "0.2", "2" corresponds to "0.6" and "1" corresponds to "0.9".
[0150] It is understandable that this set of frequency thresholds can be understood as intervals, that is, multiple frequency thresholds in a set of frequency thresholds are arranged in descending order. The first interval is greater than or equal to the first frequency threshold, the second interval is less than the first frequency threshold but greater than or equal to the second frequency threshold, the third interval is less than the second frequency threshold but greater than or equal to the third frequency threshold, and so on, with the last interval being less than the last frequency threshold.
[0151] After obtaining the usage count, first determine which interval it falls into. If it falls into the first interval, the usage count is greater than the threshold, and resource reselection is required. If the usage count falls into the second interval, the usage count is considered less than or equal to the first threshold, and the corresponding target parameter is the first target parameter. A random number is generated and compared with the first target parameter. If the usage count falls into the third interval, the usage count is considered less than or equal to the second threshold, and the corresponding target parameter is the second target parameter. A random number is generated and compared with the second target parameter. ... If the usage count falls into the last interval, the usage count is considered less than or equal to the last threshold, and the corresponding target parameter is the last target parameter. A random number is generated and compared with the last target parameter.
[0152] For example, if a first resource is used twice, its corresponding usage threshold is 2, that is, 2 times. Then its pre-configured target parameter is 0.6. If the random number is 0.7, which is greater than 0.6, then the first resource will not be retained and will be reselected.
[0153] For another example, if a first resource is used once, its corresponding usage threshold is 1, i.e., 1 time. Then its pre-configured target parameter is 0.9. If the random number is 0.8, which is less than 0.9, then the first resource will continue to be retained and will not be reselected.
[0154] It should also be noted that the usage count of each resource in the first resource is reset after a resource reselection occurs (including reselection during normal processes, reselection during reassessment, and reselection during preemption).
[0155] For example, if resource a was used only twice in the previous first duration, meaning that resource a was used twice in the previous first duration, and when resource reselection was performed in the previous first duration, it was determined that resource a needed to be retained, then in the current first duration, the value of the counter after the reset is 5, and resource a was used 5 more times in the current first duration, so the usage count of resource a is 7(5+2) times. If it is determined that resource a has been reselected in the current first duration, then the counter for the usage count of resource a is reset.
[0156] In an optional embodiment, according to the first information, the number of times some or all of the resources in the first resource are used is less than or equal to the number of times threshold.
[0157] The first information includes at least one of the following:
[0158] Triggering resource reassessment, triggering resource preemption, and feedback information indicating that resources are not in use.
[0159] It is understandable that the reason why the number of times the first resource is used is less than the threshold is the aforementioned first information, or the first information causes the number of times the first resource is used to be less than the threshold.
[0160] Situations that cause the number of times a resource is used to be less than the threshold include, but are not limited to, a business package failing to arrive within the prescribed period, a newly selected resource being re-evaluated, a newly selected resource being preempted, or some resources not being used or failing to reach the threshold due to feedback information.
[0161] In cases where feedback information indicates that resources are not used, resulting in some or all of the resources in the first resource having a usage count less than or equal to the threshold, for example, there are four resources: the first resource, the second resource, the third resource, and the fourth resource. Within a first time period, these resources need to be sent four times. If the system is configured with feedback information, after each resource transmission cycle, a feedback information indication will be received from the other party based on the reception status. The system will then decide whether to continue sending resources based on the feedback information indication. For instance, if the sending end receives an ACK feedback information after sending the second resource in a certain transmission cycle, the third and fourth resources will not be sent in that cycle, the counter value will be updated to 2, and resource transmission will continue. If a NACK feedback information is received after sending the second resource, the third resource will be sent again, and a NACK feedback information is received again, and the fourth resource will be sent again. In the final usage count, both the third and fourth resources will have a usage count of 1.
[0162] It should also be noted that if the configured threshold number is relatively large, and the generated counter random number (second random value) is small, even if the above-mentioned triggering of the re-evaluation of the first resource, triggering the preemption of the first resource, or feedback information indicating that the number of times the first resource is used is less than or equal to the threshold number, the judgment condition will still be met. That is, it is determined whether to retain the continued use of all or part of the resources in the first resource when performing resource reselection, or whether to perform resource reselection on all or part of the resources in the first resource when performing resource reselection.
[0163] Furthermore, after determining whether to retain the first resource for continued use during resource reselection based on the number of uses, the method further includes:
[0164] When performing resource reselection, the third target resource is retained for continued use; wherein, the third target resource is some or all of the resources in the first resource.
[0165] Resource reselection is performed on the second resource from the candidate resource set; wherein the second resource includes the resources maintained by the current process, excluding the third target resource; the candidate resource set is determined through the perception process of semi-persistent scheduling (SPS).
[0166] It should be noted that after determining the first target resource in the first resource using the above method, if a second random value is generated and it is determined that the second random value is less than or equal to the pre-configured target parameter, then the first target resource is the third target resource.
[0167] The third target resource is the resource that is determined to be retained and used from the first resource.
[0168] In this embodiment, when performing resource reselection, the third target resource is retained and used. In the candidate resource set, the second resource other than the third target resource is selected from the resources maintained by the current process.
[0169] Furthermore, the method also includes:
[0170] Based on the second information, release the fourth target resource; wherein, the fourth target resource is all or part of the resources in the third target resource;
[0171] The second information includes at least one of the following: time slot limitation information, round-trip time (RTT) limitation information, and latency requirements.
[0172] That is, if any of the constraints of GAP, RTT, or latency requirements makes it impossible to select the fourth target resource from the third target resources, the reserved fourth target resource from the third target resources can be released and the fourth target resource can be reselected.
[0173] In one alternative implementation, releasing the fourth target resource based on the second information includes:
[0174] Obtain the number of times each resource in the fourth target resource is used, wherein the number of times each resource in the fourth target resource is used can be the same or different;
[0175] The release priority is determined based on the number of times it is used; for example, the more times it is used, the higher the release priority.
[0176] The fourth target resource is released according to the release priority. During release, each resource in the fourth target resource can be released sequentially in descending order of priority.
[0177] It should also be noted that if there are two resources with the same number of uses in the fourth target resource, then the two resources with the same number of uses will be released in a random order.
[0178] In an alternative embodiment, retaining the continued use of the third target resource during resource reselection includes:
[0179] Among the third target resources, a fifth target resource that has not been reserved is identified;
[0180] When reselecting resources, the fifth target resource will continue to be used.
[0181] In other words, when reselecting resources, the third target resource that has already been determined to be retained for continued use needs to be checked again. If it has not been reserved by other users, it can continue to be used; otherwise, it is released and reselected.
[0182] In an optional embodiment, the method further includes:
[0183] A first indication is added to the first direct link control information (SCI), which indicates that a third target resource is reserved for continued use. The third target resource is a resource in the first resource that is reserved for continued use. The third target resource is a portion or all of the resources in the first resource. The first SCI is the SCI sent within the resource sending period corresponding to the value of the process resource reselection counter being 0.
[0184] Specifically, during the resource sending period corresponding to the value of the process resource reselection counter being 0 within the first duration, the third target resource that is determined to be reserved needs to be indicated for reservation in the first SCI sent within the resource sending period. The reservation period in the first SCI is filled in according to the current SPS period.
[0185] It should be noted that the resource transmission period corresponding to a resource reselection counter value of 0 in this process refers to the period after all initial and retransmission resources that need to be sent within the period are sent, and the counter value is updated to 0.
[0186] The following are several specific examples illustrating the resource reselection method provided in the embodiments of the present invention:
[0187] Example 1:
[0188] Please see Figure 4 The configuration threshold K is set to 5, and the target parameter Q is set to 0.6; the first duration includes... Figure 4 The periods i and i+1 in the range;
[0189] Within period i, the UE triggers a reassessment at time m. At this time, the reassessment result indicates that resource a3 does not meet the requirements and needs to be reselected. The first resource after reselection is a3', and the new resource set {a1,a2,a3'} is used to send the service, and the next period, i.e. 100ms later, is reserved for resource {b1,b2,b3'}. After resource a3' is sent, the counter value is updated to 2.
[0190] Within period i+1, the UE uses the reserved resources {b1,b2,b3'} to send services and reserves the resource {c1,c2,c3'} for the next period, i.e., 100ms later. After resource b3' is sent, the counter value is updated to 1.
[0191] At this point, a judgment is triggered, and a random number (the first random value) is thrown to determine whether the current resource needs to be reselected;
[0192] Resource b3' was detected to have been used only twice (i.e., the number of times it was used was 2), which is less than the configured threshold value K (5 times);
[0193] Then another random number (the second random value) is generated. The second random value is 0.5, which is less than the configured Q (0.6). Therefore, the resource b3' is retained.
[0194] In period i+2, the UE uses the reserved resources {c1,c2,c3'} to send services. At this time, resources c1 and c2 need to be reselected in the next period, so no reservation indication is given. Resources c3' will continue to be used in the next period, so a reservation indication is needed for resources c3' in the next period, i.e., 100ms later. After resources c3' are sent, the counter value is updated to 0; the information of resources c1 and c2 is cleared.
[0195] At time n, resource reselection is triggered. After generating a candidate resource set, since resource d3' is not reselected, only two more resources need to be selected. Two resources x1 and x2 that meet the GAP requirements are selected, and a new counter of 12 is generated.
[0196] Within period i+3, the UE uses the reserved resources {x1,d3',x2} to transmit services.
[0197] Example 2:
[0198] Please see Figure 5 Configure a set of frequency thresholds K as [5, 2, 1], and configure the corresponding target parameters Q as [0.2, 0.6, 0.9]; the first duration includes Figure 5 The periods i and i+1 in the range;
[0199] Within period i, the UE triggers a reassessment at time m. At this time, the reassessment result indicates that resource a3 does not meet the requirements and needs to be reselected. The reselected resource is a3', and the new resource set {a1,a2,a3'} is used to send the service, and the next period, i.e. 100ms later, is reserved for resource {b1,b2,b3'}. After resource a3' is sent, the counter value is updated to 2.
[0200] Within period i+1, the UE triggers a preemption check at time m2. It finds that resource b1 has been occupied by a user with higher priority, so resource b1 is reselected, and the first resource after reselection is b1'. The UE uses the reserved resources {b2,b3',b1'} to send services and reserves the next period, i.e., 100ms later, resources {c2,c3',c1'}. After resource b1' is sent, the counter value is updated to 1.
[0201] At this point, a judgment is triggered, and a random number (the first random value) is thrown to determine whether the current resource needs to be reselected;
[0202] Resource b3' was detected to have been used only twice (the number of uses is 2), which satisfies the second judgment condition (i.e., the number of uses is less than or equal to the threshold K=2), and the retention probability of its corresponding target parameter Q value is 0.6.
[0203] Then, the second random number is 0.7, which is greater than the configured retention probability of 0.6, meaning that resource b3' will not be retained.
[0204] Resource b1' was detected to have been used only once (the number of uses is 1), which satisfies the third judgment condition (i.e., the number of uses is less than or equal to the threshold K = 1), and the probability of retaining the corresponding target parameter Q value is 0.9.
[0205] Then, the second random number is 0.8, which is less than the configured retention probability of 0.9, meaning that resource b1' will continue to be retained.
[0206] Within period i+2, the UE uses the reserved resources {c2,c3',c1'} to transmit services. At this time, resources c2 and c3' need to be reselected in the next period, so no reservation indication is given. Resources c1' will continue to be used in the next period, so a reservation indication is needed for resources d1' in the next period, i.e., 100ms later. After resources c1' are transmitted, the counter value is updated to 0; the information of resources c2 and c3' is cleared.
[0207] At time n, resource reselection is triggered. After generating a candidate resource set, since resource d1' is not reselected, only two more resources need to be selected. Two resources x1 and x2 that meet the GAP and RTT requirements are selected, and a new counter of 12 is generated.
[0208] Within period i+3, the UE uses the reserved resources {x1,x2,d1',} to send services.
[0209] Example 3:
[0210] Please see Figure 6Configure a set of frequency thresholds K as [5, 2, 1], and configure the corresponding target parameters Q as [0.2, 0.6, 0.9]; the first duration includes Figure 6 The periods i and i+1 in the range;
[0211] At times m and m2, re-evaluation and preemption checks are triggered in periods i and i+1, respectively, to determine that resources a3 and b1 are unavailable. Resources a3' and b1' are reselected. After the counter is updated to 1 in period i+1, it is determined that the current resource needs to be reselected. Resources c3' and c1' are checked, and after a random number is thrown, it is determined that both resources are retained.
[0212] In period i+2, resources c3' and c1' continue to reserve resources d3' and d1' for the next period;
[0213] Resource reselection is triggered at time n. The selection is based on the candidate resources. During the selection process, resources that meet the requirements of gap or RTT cannot be selected.
[0214] At this point, we check resources d3' and d1'. Resource d3' has been used more times and has a higher release priority, so resource d3' is released first.
[0215] Keep only resource d1' and continue selecting. At this point, resources x1 and x2 that meet the requirements can be selected.
[0216] Output the current resource selection result;
[0217] A new counter value of 12 is randomly generated;
[0218] Within period i+3, the UE uses the reserved resources {x1,x2,d1',} to send services.
[0219] Example 4:
[0220] Please see Figure 7 The configuration threshold K is set to 5, and the target parameter Q is set to 0.6; the first duration includes... Figure 7 The periods i and i+1 in the range;
[0221] Within period i, after resource a1 is sent, a NACK is received from the receiver, and resource a2 is sent. After resource a2 is sent, an ACK is received. Then, the sending is stopped, and resources a3 and a4 are not used.
[0222] Within period i+1, after resources b1 and b2 are sent, both receive NACK feedback, so continue sending. After resources b3 is sent, if ACK is still received, then choose to continue sending resources b4. Resources b4 is the last transmission in the current period, and after transmission, the counter is updated to 1.
[0223] At this point, a judgment is triggered, and a random number (the first random value) is thrown to determine whether the current resource needs to be reselected;
[0224] Resource b4 was detected to have been used only once (i.e., the number of times it was used was 1), which is less than the configured threshold value K;
[0225] If the second random number is 0.5, which is less than the configured Q (0.6), then the resource will be retained.
[0226] Within period i+2, the UE uses the reserved resources {c1,c2,c3,c4} to send services based on the feedback information. At this time, resources c1, c2, and c3 need to be reselected in the next period, so no reservation indication is given. Resource c4 will continue to be used in the next period, so a reservation indication is needed for resource d4 in the next period, i.e., 100ms later. After resource c4 is sent, the counter value is updated to 0; the information of resources c1, c2, and c3 is cleared.
[0227] At time n, resource reselection is triggered. After generating a candidate resource set, if resource d4 is still in the candidate resource set, resource d4 does not need to be reselected and will continue to be used. Therefore, only three more resources need to be selected, and two resources x1, x2 and x3 that meet the GAP requirements are selected, and a new counter of 12 is generated.
[0228] Within period i+3, the UE uses the reserved resources {x1,x2,x3,d4} to transmit services.
[0229] like Figure 8 As shown, this embodiment of the invention also provides a resource reselection device, the device comprising:
[0230] The first acquisition module 801 is used to acquire the number of times each resource in the first resource is used within a first duration when the value of the process resource reselection counter of the first resource is 1; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first duration includes the duration from the time the value of the process resource reselection counter of the current process was last reset to the current time.
[0231] The first processing module 802 is used to determine, based on the number of times the resource is used, whether to retain the first resource for continued use during resource reselection.
[0232] Optionally, the first acquisition module 801 includes:
[0233] The first processing unit is configured to generate a first random value when the value of the process resource reselection counter is 1;
[0234] The second processing unit is used to compare the first random value with a pre-configured resource retention probability value;
[0235] The first acquisition unit is configured to acquire the number of times each of the first resources is used within the first duration when the first random value is greater than or equal to the resource retention probability value.
[0236] Optionally, the first processing module 802 includes:
[0237] The third processing unit is used to determine, when the number of times the first target resource is used is less than or equal to a preset threshold, to retain the continued use of the first target resource during resource reselection.
[0238] The fourth processing unit is used to determine, when the number of times the second target resource is used exceeds a preset threshold, to reselect the second target resource.
[0239] Wherein, the first target resource is some or all of the resources in the first resource, and the second target resource is the resources in the first resource other than the first target resource.
[0240] Optionally, the third processing unit is specifically used for:
[0241] If the number of times the first target resource is used is less than or equal to a preset threshold, a second random value is generated.
[0242] If the second random value is less than or equal to the pre-configured target parameter, it is determined that the first target resource will continue to be used when resource reselection is performed.
[0243] If the second random value is greater than the pre-configured target parameter, it is determined that the first target resource will be reselected when resource reselection is performed.
[0244] Optionally, the number of the number thresholds is at least two;
[0245] Different threshold values correspond to different target parameters.
[0246] Optionally, according to the first information, the number of times some or all of the resources in the first resource are used is less than or equal to the number of times threshold.
[0247] The first information includes at least one of the following:
[0248] Triggering resource reassessment, triggering resource preemption, and feedback information indicating that resources are not in use.
[0249] Optionally, the device further includes:
[0250] The second processing module is used to retain the use of the third target resource when performing resource reselection; wherein the third target resource is some or all of the resources in the first resource.
[0251] The third processing module is used to reselect the second resource from the candidate resource set; wherein the second resource includes the resources maintained by the current process, excluding the third target resource; the candidate resource set is determined through the perception process of semi-persistent scheduling (SPS).
[0252] Optionally, the device further includes:
[0253] The fourth processing module is used to release the fourth target resource based on the second information; wherein the fourth target resource is all or part of the resources in the third target resource;
[0254] The second information includes at least one of the following: time slot limitation information, round-trip time (RTT) limitation information, and latency requirements.
[0255] Optionally, the fourth processing module includes:
[0256] The second acquisition unit is used to acquire the number of times each resource in the fourth target resource is used.
[0257] The fifth processing unit is used to determine the release priority based on the number of uses;
[0258] The sixth processing unit is used to release the fourth target resource according to the release priority.
[0259] Optionally, the second processing module includes:
[0260] The seventh processing unit is used to determine, among the third target resources, a fifth target resource that has not been reserved or occupied;
[0261] The eighth processing unit is used to retain the continued use of the fifth target resource during resource reselection.
[0262] Optionally, the device further includes:
[0263] The fifth processing module is used to add a first indication information to the first direct link control information (SCI), the first indication information being used to indicate the reservation of a third target resource; wherein, the third target resource is a resource reserved for continued use in the first resource, and the third target resource is a part or all of the resources in the first resource; wherein, the first SCI is an SCI sent within the resource sending period corresponding to the value of the process resource reselection counter being 0.
[0264] It should be noted that the resource reselection device provided in the embodiments of the present invention is a device capable of executing the above-described resource reselection method. Therefore, all embodiments of the above-described resource reselection method are applicable to this device and can achieve the same or similar technical effects.
[0265] like Figure 9 As shown, this embodiment of the invention also provides a terminal device, including: a processor 901; and a memory 903 connected to the processor 901 via a bus interface 902. The memory 903 is used to store programs and data used by the processor 901 when performing operations, and the processor 901 calls and executes the programs and data stored in the memory 903.
[0266] The transceiver 904 is connected to the bus interface 902 and is used to receive and send data under the control of the processor 901. Specifically, the processor 901 is used to read the program in the memory 903 and to execute the following processes:
[0267] When the process resource reselection counter of the first resource is 1, the number of times each resource in the first resource is used within a first duration is obtained; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first duration includes the duration from the time the process resource reselection counter of the current process was last reset to the current time.
[0268] Based on the number of times it is used, determine whether to retain the first resource for continued use during resource reselection.
[0269] Optionally, the processor 901 is used for:
[0270] When the value of the process resource reselection counter is 1, a first random value is generated;
[0271] The first random value is compared with the pre-configured resource retention probability value;
[0272] If the first random value is greater than or equal to the resource retention probability value, obtain the number of times each of the first resources is used within the first duration.
[0273] Optionally, the processor 901 is used for:
[0274] If the number of times the first target resource is used is less than or equal to a preset threshold, it is determined that the first target resource will continue to be used when resource reselection is performed.
[0275] If the number of times the second target resource is used exceeds a preset threshold, it is determined that the second target resource should be reselected during resource reselection.
[0276] Wherein, the first target resource is some or all of the resources in the first resource, and the second target resource is the resources in the first resource other than the first target resource.
[0277] Optionally, the processor 901 is specifically used for:
[0278] If the number of times the first target resource is used is less than or equal to a preset threshold, a second random value is generated.
[0279] If the second random value is less than or equal to the pre-configured target parameter, it is determined that the first target resource will continue to be used when resource reselection is performed.
[0280] If the second random value is greater than the pre-configured target parameter, it is determined that the first target resource will be reselected when resource reselection is performed.
[0281] Optionally, the number of the number thresholds is at least two;
[0282] Different threshold values correspond to different target parameters.
[0283] Optionally, according to the first information, the number of times some or all of the resources in the first resource are used is less than or equal to the number of times threshold.
[0284] The first information includes at least one of the following:
[0285] Triggering resource reassessment, triggering resource preemption, and feedback information indicating that resources are not in use.
[0286] Optionally, the processor 901 is further configured to:
[0287] When performing resource reselection, the third target resource is retained for continued use; wherein, the third target resource is some or all of the resources in the first resource.
[0288] Resource reselection is performed on the second resource from the candidate resource set; wherein the second resource includes the resources maintained by the current process, excluding the third target resource; the candidate resource set is determined through the perception process of semi-persistent scheduling (SPS).
[0289] Optionally, the processor 901 is further configured to:
[0290] Based on the second information, release the fourth target resource; wherein, the fourth target resource is all or part of the resources in the third target resource;
[0291] The second information includes at least one of the following: time slot limitation information, round-trip time (RTT) limitation information, and latency requirements.
[0292] Optionally, the processor 901 is specifically used for:
[0293] Obtain the usage count of each resource in the fourth target resource;
[0294] Determine the release priority based on the number of times it has been used;
[0295] Release the fourth target resource according to the release priority.
[0296] Optionally, the processor 901 is specifically used for:
[0297] Among the third target resources, a fifth target resource that has not been reserved is identified;
[0298] When reselecting resources, the fifth target resource will continue to be used.
[0299] Optionally, the processor 901 is further configured to:
[0300] A first indication is added to the first direct link control information (SCI), which indicates that a third target resource is reserved for continued use. The third target resource is a resource in the first resource that is reserved for continued use. The third target resource is a portion or all of the resources in the first resource. The first SCI is the SCI sent within the resource sending period corresponding to the value of the process resource reselection counter being 0.
[0301] Among them, Figure 9 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 901) and memory (memory 903). The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. A bus interface provides a user interface 905. A transceiver 904 can be multiple elements, including transmitters and receivers, providing units for communicating with various other devices over a transmission medium. Processor 901 is responsible for managing the bus architecture and general processing, and memory 903 can store data used by processor 901 during operation.
[0302] In addition, specific embodiments of the present invention also provide a readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of the resource reselection method as described above.
[0303] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0304] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can be physically comprised separately, or two or more units can be integrated into one unit. The integrated unit described above can be implemented in hardware or in the form of hardware plus software functional units.
[0305] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions that cause a computer device (which may be a personal computer, server, or network device, etc.) to execute partial steps of the resource selection method described in the various embodiments of the present invention, or to execute partial steps of the information transmission method described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0306] A specific embodiment of the present invention also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above-described functionality. Figure 3 The various processes of the method embodiments shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0307] The above describes the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also within the scope of protection of the present invention.
Claims
1. A resource reselection method, characterized in that, The method includes: When the process resource reselection counter of the first resource is 1, the number of times each resource in the first resource is used within a first duration is obtained; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first duration includes the duration from the time the process resource reselection counter of the current process was last reset to the current time. Based on the number of times it is used, determine whether to retain the first resource for continued use when performing resource reselection; Determining whether to retain the first resource for continued use during resource reselection based on the number of uses includes: If the number of times the first target resource is used is less than or equal to a preset threshold, it is determined that the first target resource will continue to be used when resource reselection is performed. If the number of times the second target resource is used exceeds a preset threshold, it is determined that the second target resource should be reselected during resource reselection. Wherein, the first target resource is some or all of the resources in the first resource, and the second target resource is the resources in the first resource other than the first target resource.
2. The method according to claim 1, characterized in that, When the process resource reselection counter of the first resource is 1, obtain the number of times each resource in the first resource is used within the first time period, including: When the value of the process resource reselection counter is 1, a first random value is generated; The first random value is compared with the pre-configured resource retention probability value; If the first random value is greater than or equal to the resource retention probability value, obtain the number of times each of the first resources is used within the first duration.
3. The method according to claim 1, characterized in that, If the number of times the first target resource is used is less than or equal to a preset threshold, it is determined that the first target resource will continue to be used during resource reselection, including: If the number of times the first target resource is used is less than or equal to a preset threshold, a second random value is generated. If the second random value is less than or equal to the pre-configured target parameter, it is determined that the first target resource will continue to be used when resource reselection is performed. If the second random value is greater than the pre-configured target parameter, it is determined that the first target resource will be reselected when resource reselection is performed.
4. The method according to claim 3, characterized in that, The number of the number thresholds is at least two; Different threshold values correspond to different target parameters.
5. The method according to claim 1, characterized in that, According to the first information, the number of times some or all of the resources in the first resource are used is less than or equal to the number of times threshold. The first information includes at least one of the following: Triggering resource reassessment, triggering resource preemption, and feedback information indicating that resources are not in use.
6. The method according to claim 1, characterized in that, The method further includes: When performing resource reselection, the third target resource is retained for continued use; wherein, the third target resource is some or all of the resources in the first resource. Resource reselection is performed on the second resource from the candidate resource set; wherein the second resource includes the resources maintained by the current process, excluding the third target resource; the candidate resource set is determined through the perception process of semi-persistent scheduling (SPS).
7. The method according to claim 6, characterized in that, The method further includes: Based on the second information, release the fourth target resource; wherein, the fourth target resource is all or part of the resources in the third target resource; The second information includes at least one of the following: time slot limitation information, round-trip time (RTT) limitation information, and latency requirements.
8. The method according to claim 7, characterized in that, Based on the second piece of information, release the fourth target resource, including: Obtain the usage count of each resource in the fourth target resource; Determine the release priority based on the number of times it has been used; Release the fourth target resource according to the release priority.
9. The method according to claim 6, characterized in that, When performing resource reselection, the continued use of the third target resource is retained, including: Among the third target resources, a fifth target resource that has not been reserved is identified; When reselecting resources, the fifth target resource will continue to be used.
10. The method according to claim 1, characterized in that, The method further includes: Add a first indication information to the first direct link control information (SCI), the first indication information being used to indicate the reservation to occupy the third target resource; Wherein, the third target resource is the resource in the first resource that is reserved for continued use, and the third target resource is some or all of the resources in the first resource; The first SCI is the SCI sent within the resource sending cycle corresponding to a value of 0 for the process resource reselection counter.
11. A resource reselection device, characterized in that, The device includes: The first acquisition module is used to acquire the number of times each resource in the first resource is used within a first duration when the value of the process resource reselection counter of the first resource is 1; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first duration includes the duration from the time the value of the process resource reselection counter of the current process was last reset to the current time. The first processing module is used to determine, based on the number of times the resource is used, whether to retain the first resource for continued use during resource reselection. The first processing module includes: The third processing unit is used to determine, when the number of times the first target resource is used is less than or equal to a preset threshold, to retain the continued use of the first target resource during resource reselection. The fourth processing unit is used to determine, when the number of times the second target resource is used exceeds a preset threshold, to reselect the second target resource. Wherein, the first target resource is some or all of the resources in the first resource, and the second target resource is the resources in the first resource other than the first target resource.
12. A terminal device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the resource reselection method as described in any one of claims 1 to 10.
13. A readable storage medium, characterized in that, The readable storage medium stores a program that, when executed by a processor, implements the steps of the resource reselection method as described in any one of claims 1 to 10.
14. A computer program product, characterized in that, It includes computer instructions that, when executed by a processor, implement the steps in the resource reselection method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Resource maintenance method and network node
CN106412069A
Wireless communication method and terminal equipment
CN117751645A