Resource reselection method and device, terminal equipment, storage medium and program product

By deciding whether to retain use or reselection of resources based on the number of resource usage in the Internet of Vehicles system, the problems of low resource utilization efficiency and poor system performance caused by resource reselection are solved, and more efficient resource utilization and system performance improvement are achieved.

CN120151298AActive Publication Date: 2025-06-13HONGXING ZHIXIN TECHNOLOGY (NANJING) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510290619.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-12
Publication Date
2025-06-13
Estimated Expiration
2045-03-12

AI Technical Summary

Technical Problem

Under the semi-static scheduling mechanism of the Internet of Vehicles, resource reselection leads to low resource utilization efficiency and poor system performance.

Method used

When the process resource reselect counter value is 1, the number of times the resource is used within a certain period of time is obtained, and the number of times the resource is used is decided whether to retain the resource or reselect the resource according to the number of times.

Benefits of technology

It avoids the problem that the resource is reselected and no longer used after only a few times is used, improves resource utilization and improves system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120151298A_ABST
    Figure CN120151298A_ABST
Patent Text Reader

Abstract

The invention provides a resource reselection method and device, terminal equipment, a storage medium and a program product, and relates to the technical field of communication, the resource reselection method comprises the following steps: when the value of a process resource reselection counter of a first resource is 1, obtaining the number of use times of each resource in the first resource in a first duration; wherein the first resource comprises all initial transmission resources and retransmission resources maintained by the current process; the first time length comprises a time length from the last reset of the value of the process resource reselection counter of the current process to the current moment; and according to the number of use times, determining whether the first resource is reserved for continuous use or not when resource reselection is carried out. The resource utilization rate can be improved, and the system performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and in particular, to a resource reselection method, apparatus, terminal device, storage medium, and program product. Background Art

[0002] Under the scheduling mechanism of Semi-Persistent Scheduling (SPS) in the Long-Term Evolution Vehicle-to-Everything (LTE-V2X) field of the Long-Term Evolution (LTE) technology, a counter (process resource reselection counter) mechanism is adopted to avoid long-term collisions. In the counter mechanism, the "counter + P" mechanism is specifically used to determine whether the current resource needs to be reselected. In the "counter + P" mechanism, when a Transport Block (TB) arrives, if the value of the counter is 1: it is determined whether to continue using the existing resources according to the probability P after the value of the counter becomes 0, and it is determined whether to perform resource reselection according to the probability 1 - P after the value of the counter becomes 0; when the TB arrives, if the value of the counter is 0: resource reselection is performed according to the probability parameters (P, 1 - P) determined when the value of the counter is 1.

[0003] In the New Radio Vehicle-to-Everything (NR V2X), the above counter mechanism is adopted, and on this basis, mechanisms such as re-evaluation, preemption, and feedback are added. As a result, some of the resources after reselection are actually only used a few times or not used at all, and are released or reselected because the value of the counter is equal to 0, resulting in low resource utilization efficiency and poor system performance. Summary of the Invention

[0004] The present invention provides a resource reselection method, apparatus, terminal device, storage medium, and program product to solve the problem in the prior art that when performing resource reselection, all resources are reselected, resulting in low resource utilization efficiency and poor system performance.

[0005] To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0006] In a first aspect, an embodiment of the present invention provides a resource reselection method, the method including:

[0007] When the value of the process resource reselection counter for the first resource is 1, obtain the usage times of each resource in the first resource within the first time period; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first time period includes the time period between the last reset of the value of the process resource reselection counter of the current process and the current moment;

[0008] Based on the usage times, determine whether to retain the continued use of the first resource when performing resource reselection.

[0009] Optionally, when the value of the process resource reselection counter for the first resource is 1, obtaining the usage times of each resource in the first resource within the first time period includes:

[0010] When the value of the process resource reselection counter is 1, generate a first random numerical value;

[0011] Compare the first random numerical value with a pre-configured resource retention probability value;

[0012] In the case where the first random numerical value is greater than or equal to the resource retention probability value, obtain the usage times of each resource in the first resource within the first time period.

[0013] Optionally, based on the usage times, determining whether to retain the continued use of the first resource when performing resource reselection includes:

[0014] In the case where the usage times of the first target resource are less than or equal to a preset times threshold, determine to retain the continued use of the first target resource when performing resource reselection;

[0015] In the case where the usage times of the second target resource are greater than the preset times threshold, determine to perform resource reselection on the second target resource when performing resource reselection;

[0016] Wherein, the first target resource is part or all of the first resource, and the second target resource is the resource in the first resource other than the first target resource.

[0017] Optionally, in the case where the usage times of the first target resource are less than or equal to a preset times threshold, determining to retain the continued use of the first target resource when performing resource reselection includes:

[0018] In the case where the usage times of the first target resource are less than or equal to a preset times threshold, generate a second random numerical value;

[0019] In the case that the second random value is less than or equal to a pre-configured target parameter, it is determined that when resource reselection is performed, the first target resource continues to be used;

[0020] In the case that the second random value is greater than the pre-configured target parameter, it is determined that when resource reselection is performed, resource reselection is performed on the first target resource.

[0021] Optionally, the number of the number thresholds is at least two;

[0022] Different ones of the number thresholds correspond to different ones of the target parameters.

[0023] Optionally, according to first information, the usage times of some or all of the resources in the first resource are less than or equal to the number threshold;

[0024] Wherein, the first information includes at least one of the following:

[0025] Triggering re-evaluation of resources, triggering preemption of resources, feedback information indicating that resources are not used.

[0026] Optionally, the method further includes:

[0027] When resource reselection is performed, the third target resource continues to be used; wherein, the third target resource is some or all of the resources in the first resource;

[0028] Resource reselection is performed on a second resource in a candidate resource set; wherein, the second resource includes resources among the resources maintained by the current process other than the third target resource; the candidate resource set is determined through a sensing process of semi-persistent scheduling (SPS).

[0029] Optionally, the method further includes:

[0030] According to second information, a fourth target resource is released; wherein, the fourth target resource is all or part of the resources in the third target resource;

[0031] Wherein, the second information includes at least one of the following: restriction information of time slots, restriction information of round-trip time (RTT), delay requirement.

[0032] Optionally, releasing the fourth target resource according to the second information includes:

[0033] Obtaining the usage times of each resource in the fourth target resource;

[0034] Determining a release priority according to the usage times;

[0035] Releasing the fourth target resource according to the release priority.

[0036] Optionally, when performing resource reselection, continue to use the third target resource, including:

[0037] In the third target resource, determine a fifth target resource that is not reserved and occupied;

[0038] When performing resource reselection, continue to use the fifth target resource.

[0039] Optionally, the method further includes:

[0040] Add first indication information to the first direct link control information (SCI), where the first indication information is used to indicate the reservation and occupation of the third target resource; wherein, the third target resource is the resource reserved and continued to be used in the first resource, and the third target resource is part or all of the first resource; wherein, the first SCI is the SCI sent within the resource transmission period corresponding to the value of 0 of the process resource reselection counter of the process.

[0041] In a second aspect, an embodiment of the present invention further provides a resource reselection device, including:

[0042] A first acquisition module, configured to, when the value of the process resource reselection counter of the first resource is 1, acquire the usage times of each resource in the first resource within a first time period; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first time period includes the time period from after the value of the process resource reselection counter of the current process was last reset to the current moment;

[0043] A first processing module, configured to determine whether to continue to use the first resource when performing resource reselection according to the usage times.

[0044] In a third aspect, an embodiment of the present invention further provides a terminal device, including: a processor, a memory, and a program stored on the memory and executable on the processor, where when the program is executed by the processor, the steps in the resource reselection method described in any one of the first aspects are implemented.

[0045] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps in the resource reselection method described in any one of the first aspects are implemented.

[0046] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including computer instructions, where when the computer instructions are executed by a processor, the steps in the resource reselection method described in any one of the first aspects are implemented.

[0047] The beneficial effects of the present invention are as follows:

[0048] In the resource reselection method provided by the solution of the present invention, when the value of the process resource reselection counter counter of the first resource is 1, the usage times of the first resource within the first time period are obtained. The first time period includes the time period from the time when the value of the process resource reselection counter of the current process was last reset to the current moment. According to the usage times, it is determined whether to retain the first resource for continued use when performing resource reselection. According to the usage times of the first resource, the present invention retains the first resource for continued use or reselects it, which can avoid the problem that the first resource is reselected and no longer used just because it has been used several times, improve resource utilization rate, and enhance system performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic diagram showing the re-evaluation mechanism provided by the present invention;

[0050] Figure 2 A schematic diagram showing the preemption mechanism provided by the present invention;

[0051] Figure 3 A flowchart showing the resource reselection method provided by an embodiment of the present invention;

[0052] Figure 4 One of the example diagrams showing the resource reselection method provided by an embodiment of the present invention;

[0053] Figure 5 Another example diagram showing the resource reselection method provided by an embodiment of the present invention;

[0054] Figure 6 Another example diagram showing the resource reselection method provided by an embodiment of the present invention;

[0055] Figure 7 Another example diagram showing the resource reselection method provided by an embodiment of the present invention;

[0056] Figure 8 A schematic structural diagram showing the resource reselection device provided by an embodiment of the present invention;

[0057] Figure 9 A schematic structural diagram showing the terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0058] The technical solutions of the embodiments of the present invention can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Long Term Evolution (LTE) system, 5G system, future systems (such as 6G, etc.). Optionally, the 5G system or 5G network can also be referred to as a New Radio (NR) system or NR network.

[0059] Exemplarily, the communication system to which the embodiments of the present invention are applied may include a network device and a terminal device (which can also be referred to as a terminal, a communication terminal, etc.); the network device can be a device that communicates with the terminal device. Among them, the network device can provide communication coverage within a certain area range and can communicate with terminals located in this area. Optionally, the network device can be a base station in each communication system, such as an Evolutional Node B (eNB) in the LTE system, or a base station (gNB) in the 5G system or NR system, or a base station in the 6G system.

[0060] To make the technical problems, technical solutions, and advantages to be solved by this application clearer, the following will be described in detail with reference to the drawings and specific embodiments. In the following description, providing specific details such as specific configurations and components is only to help comprehensively understand the embodiments of this application. Therefore, those skilled in the art should clearly understand that various changes and modifications can be made to the embodiments described here without departing from the scope and spirit of this application. In addition, descriptions of known functions and structures are omitted for clarity and conciseness.

[0061] It should be understood that the "one embodiment" or "an embodiment" mentioned 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, the "in one embodiment" or "in an embodiment" that appears throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics can be combined in one or more embodiments in any suitable manner.

[0062] In various embodiments of this application, it should be understood that the magnitudes of the serial numbers of the following processes do not mean the order of execution is prior or subsequent, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of this application.

[0063] In the embodiments provided by this application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0064] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0065] Before the description of the specific embodiments of the present invention, the following explanations are made first:

[0066] Explain the "counter+P" mechanism:

[0067] The following triggering conditions for resource reselection are defined in the standard:

[0068] When the counter times out under the SPS mechanism, resource reselection is required:

[0069] (1) When a Transmission Block (TB) arrives, if the value of the counter is 1: Determine to maintain the use of the existing resources with a probability P after the counter value becomes 0; perform resource reselection with a probability of 1 - P after the counter equals 0; the carrier-specific parameter P ranges from [0, 0.2, 0.4, 0.6, 0.8];

[0070] (2) When a service TB arrives, if the value of the counter is 0: Perform resource reselection according to the parameters determined when the counter value is 1; reset the value of the counter, and the reset value is an integer randomly selected within a certain range;

[0071] Among them, in LTE, the value range of the counter is: when the transmission period is 20 ms: the value range of the counter is [25, 75]; when the transmission period is 50 ms: the value range of the counter is [10, 30]; when the transmission period is greater than or equal to 100 ms: the value range of the counter is [5, 15];

[0072] The value range of the counter in NR:

[0073] When the transmission period is less than 100 ms:

[0074] The value range of the counter is

[0075] Among them, P rsvp_TX represents the reservation period of the current process;

[0076] When the transmission period is greater than or equal to 100 ms: the value range of the counter is [5, 15];

[0077] (3) When service TB arrives, if the value of counter is not 0: decrement the value of counter by 1.

[0078] Explanation of counter:

[0079] Resource collisions are very likely to occur when selecting resources in the same or adjacent subframes, and in scenarios of topological changes.

[0080] If the initial transmission resources and retransmission resources of both node A and node B collide, the collision cannot be detected and re-selection will not be triggered.

[0081] If an initial transmission resource collides and the retransmission resource does not collide (not just in the case of half-duplex, but when resources collide), the retransmission resource can be monitored, but re-selection will not be triggered either. That is, a collision does not trigger re-selection. Here, different cases need to be distinguished, such as 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 the retransmission resource collides and the initial transmission resource does not collide, due to resource collision, some nodes can resolve it while some cannot. If the information sent by the peer node can be received, it means that the two nodes are relatively close. For the intermediate node, it may not be able to receive. Collisions still need to be avoided.

[0083] The following combines Figure 1 , to illustrate the re-evaluation mechanism:

[0084] In NR-V2X, non-periodic burst services will increase the probability of resource collisions. By studying and enhancing the designed re-evaluation mechanism, the UE can detect collisions in advance and make adjustments. From the perspective of the sending node, it can effectively sense the resource collision situation, trigger re-selection, and select better resources, thereby reducing the probability of resource collisions; from the perspective of the receiving node, it can improve the decoding success rate, thus enhancing the system performance.

[0085] It includes the following steps:

[0086] Step 1: Media Access Control (MAC) provides: objects to be evaluated (r0, r1, r2,...), and the remaining packet delay budget (PDB) of this TB.

[0087] (r0, r1, r2, …): It is the transmission resource for multiple transmissions of a TB, satisfying the resource selection window (PDB requirement) of this TB, which is comprehensively determined according to the indication of system control information (SCI) and the resource selection situation. The resources provided by the MAC are all those through which the MAC protocol data unit (PDU) needs to be carried. If it is determined that they are empty and there is no packet to be carried, this process is not triggered. The condition for the MAC to provide this resource is judged as follows: It has never been indicated by any previous SCI, including those in the previous cycle or the current cycle.

[0088] Step 2: The physical layer (PHY) performs a re-evaluation at T3 before the resource is indicated for the first time.

[0089] Judge whether this resource is reserved and occupied. This process is also a sensing process, and at the same time, a candidate resource set is determined: According to the information provided by the MAC layer, through the Sensing process, confirm the S that satisfies X * M total of A , that is, the candidate resource set. Among them, M total represents the number of all candidate resources in the resource selection window, and X is a configured value representing the proportion of candidate resources that meet the conditions for the subsequent resource selection process.

[0090] Step 3: If the resource set (r0, r1, r2, …) provided by the higher layer is not in S A , then indicate: report re-evaluation of the resource ri to higher layers. (PHY protocol), and at the same time report the candidate resource set to the MAC. This is a trigger for resource reselection. Short-term sensing is to sense the information between the time of resource selection and the re-evaluation time, which is equivalent to expanding the original sensing window to time. The value of T3 is equal to Among them, and Please refer to the following table for the 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: The MAC removes the resources at the corresponding positions.

[0096] Step 5: The MAC reselects resources for the preempted resources according to the candidate resource set. Not all reselections allow the UE to continue using such unoccupied resources.

[0097] The reselected resources need to meet the restriction of W. W is the interval between a certain resource position of this TB and the resource position it indicates. It is necessary to ensure that it is within 32 slots, and the reselected resources also need to meet the requirement that for all resources except the first one, each subsequent resource can be indicated by the previous resource. And the reselected resources need to be ensured to be still within the T2 window. If all candidate resources cannot meet the restriction of W with the already selected resources, then this restriction is ignored. If a Physical Sidelink Feedback Channel (PSFCH) is configured, then the restriction of the Round-Trip Time (RTT) of the Hybrid Automatic Repeat Request (HARQ) must be met.

[0098] Step 6: The MAC replaces the reselected resources.

[0099] Replace the previously removed resources with the reselected resources. Here, if all are selected for replacement, then after reselection, the 10 * counter (process resource reselection counter) times of reservation corresponding to this resource are also all replaced.

[0100] The following combines Figure 2 to illustrate the preemption mechanism:

[0101] The NR-V2X introduces a pre-emption mechanism in the resource selection process, allowing high-priority services to preempt the resources of low-priority services; low-priority services avoid the resources occupied by high-priority services by decoding the SCI, thereby reducing the interference to high-priority services and ensuring the reliability of high-priority service transmissions.

[0102] Step 1: The MAC provides to the PHY: (r0′, r1′, r2′,...), the corresponding priority of this TB, and the remaining PDB of this TB.

[0103] (r0′, r1′, r2′, …): It is the transmission resource for multiple transmissions of a TB, which meets the resource selection window (PDB requirement) of this TB. It may be a segment of a logical channel or the multiplexing of multiple logical channels, and is determined comprehensively according to the SCI indication and resource selection situation. All resources provided by the MAC are for sending MAC PDUs. If it is determined that the resource is empty and there is no packet to send, this process is not triggered. The condition for the MAC to provide this resource is determined by any previous SCI indication, including those in the previous cycle or the current cycle.

[0104] Step 2: The PHY performs a pre-emption check at T3.

[0105] That is, it determines whether this resource is pre-empted. This process is also a sensing process. Through the sensing process, the candidate resource set that meets X*M total is determined. Then, it is judged whether the resource for the pre-emption check is excluded in the reference signal receiving power (RSRP) exclusion, rather than skipped. Then, it is determined whether it is pre-empted according to the priority indicated by the peer SCI.

[0106] Step 3: If the conditions are met and it is pre-empted, it indicates that the UE shall report pre-emption of the resource ri′ to higher layers (PHY protocol), and at the same time report the candidate resource set to the MAC. This is a trigger for resource reselection.

[0107] Step 4: The MAC removes the resource at the corresponding position.

[0108] Step 5: The MAC reselects resources for the pre-empted resources according to the candidate resource set. Not all reselections allow the UE to continue using such non-pre-empted resources. The reselected resources need to meet the restriction of W. W is to ensure the interval between a certain resource position of this TB and the resource position it indicates. It needs to be ensured within 32 slots, and the reselected resources also need to meet the requirement that for all resources except the first one, each subsequent resource can be indicated by the previous one. And the reselected resources need to be ensured to be within the T2 window. If no resources that meet the W restriction can be selected, the restriction is cancelled. In addition, if the resource pool configures PSFCH, the reselected resources and other resources also need to meet the HARQ RTT restriction in terms of time.

[0109] Step 6: The MAC replaces the reselected resources.

[0110] In NR-V2X, the service types are more diverse. To support higher reliability requirements, a HARQ feedback mechanism is introduced for multicast and unicast. Compared with blind retransmission, the feedback mechanism further improves the success rate of vehicles receiving service packets. In addition, since the maximum number of transmissions in the New Radio (NR) is 32 times, too many transmissions will increase the system load. Introducing the feedback mechanism can reduce unnecessary transmissions, thereby reducing the system load and improving the Packet Resource Request (PRR) of the system channel resources.

[0111] The HARQ feedback uses the Physical Sidelink Feedback Channel (PSFCH) to send an Acknowledge (ACK) or Negative-Acknowledge (NACK). Among them, the unicast feedback method is ACK / NACK, the multicast feedback method is ACK / NACK or only NACK, and there is no HARQ feedback for broadcast. The PSFCH period is indicated by sl-PSFCH-Period-r16 and needs to be sent on a logical slot.

[0112] sl-MinTimeGapPSFCH-r16 is used to indicate the minimum value of the logical slot distance between the PSFCH and the Physical Sidelink Shared Channel (PSSCH).

[0113] In the prior art, the process resource reselection counter (counter) targets this Transport Block (TB). Although some resources are sent and some are not, the value of the counter is updated after the last resource is sent. And regardless of whether the resources have changed, the value of the counter is decremented by 1 each time it is updated until resource reselection is determined according to the "counter + P" mechanism, and then all resources are reselected. However, due to the existence of the re-evaluation and preemption mechanisms, after triggering re-evaluation or preemption, resource reselection may be performed on some resources because some resources do not meet the transmission requirements, that is, there is resource reselection for some resources. The resource reselection after triggering re-evaluation and preemption does not affect the update of the counter value, and the current counter value continues to be used.

[0114] However, there are cases where the newly selected resources have only been sent a few times and are reselected and no longer used due to the "counter + P" mechanism. On the one hand, due to skip exclusion, the resource will not be selected again; on the other hand, more skip exclusions may be introduced at the reselection moment.

[0115] In the feedback mechanism introduced by NR-V2X, for the resources at the back, since they choose not to send after the ACK is fed back in advance, it may be that these resources are only used a few times or not at all at the actual reselection moment.

[0116] If the current resource has not been used at all and has not been indicated by SCI, no skip subframe will be generated, that is, it will not affect the skip exclusion at the subsequent reselection moment. Therefore, there will be no impact if all are directly reselected.

[0117] If the current resource has not been used at all, but this resource has been continuously reserved and indicated by the SCI of the previously transmitted resource, this resource is equivalent to being in a listening state all the time. When reselection is triggered, the reserved occupancy situation on this subframe can be clearly understood, and the resource occupancy situation cannot be correctly evaluated due to half-duplex.

[0118] If the current resource is used in several cycles before reselection, skip subframes will be generated, thus affecting the skip exclusion of resource exclusion.

[0119] When NR-V2X introduces the above mechanism, if the current "counter + P" mechanism is continued, it will reduce resource utilization, or introduce more skip subframes, affect the resource candidate set, and increase the probability of collision.

[0120] To solve the problems in the prior art that when performing resource reselection, reselection of all resources leads to low resource utilization efficiency and poor system performance, the embodiments of the present invention provide a resource reselection method, device, terminal device, storage medium, and program product.

[0121] As Figure 3 shown, the embodiments of the present invention provide a resource reselection method, and the method includes:

[0122] Step 301: When the value of 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; wherein, the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first time period includes the time period between the last reset of the value of the process resource reselection counter of the current process and the current moment.

[0123] It should be noted that the number of the first resources is one or more resources, where "more than one" means two or more. In the case where the first resource includes multiple resources, the number of times each resource in the first resource is used may be the same or different.

[0124] Exemplarily, the first resource includes 4 resources, namely the first resource, the second resource, the third resource, and the fourth resource. Among them, the usage times of the first resource and the second resource are the same, but the usage times of the first resource, the third resource, and the fourth resource are different, and the usage times of the third resource and the fourth resource are different.

[0125] In this step, when the value of the process resource reselection counter counter of the first resource is 1, obtain the usage times of each resource in the first resource within the first time period. This first time period includes the time period from when the value of counter was last reset to the current moment.

[0126] Step 302: Determine, according to the usage times, whether to retain the first resource for continued use when performing resource reselection.

[0127] It should be noted that in the embodiments of the present invention, the conditions for performing resource reselection include: a service packet arrives, all resources in the resource sending cycle have been sent, and the value of the corresponding maintained process resource reselection counter counter is updated to 0. That is, it can be understood that after all of the conditions that a service packet arrives, all resources in the resource sending cycle have been sent, and the value of the corresponding maintained process resource reselection counter counter is updated to 0 are satisfied, all or part of the resources in the first resource are retained for continued use, or all or part of the resources in the first resource are subject to resource reselection.

[0128] In this step, determine, according to the usage times, whether to perform resource reselection on the first resource when performing resource reselection, that is, whether to retain the first resource for use.

[0129] In this step, obtain the usage times of the first resource after reselection, and according to this usage time, determine whether to retain all or part of the resources in the first resource for continued use or to perform resource reselection on part or all of the resources in the first resource when performing resource reselection.

[0130] Since the number of the first resources is one or more, in the case where the number of the first resources is multiple, the corresponding usage times of the different first resources may be the same or different. Also, in the case where the number of the first resources is multiple, all of the first resources among the multiple first resources may be retained for continued use, or all may be reselected, or part may be retained for continued use and part may be reselected.

[0131] In the embodiments of the present invention, when performing resource reselection, considering the usage times of the first resource, according to the usage times, the first resource is reserved for continued use or reselected, which can avoid the problem that the first resource is reselected and no longer used due to "counter + P" after only being sent a few times, increase the resource utilization rate, reduce the collision probability, and improve the system performance.

[0132] In an optional embodiment, when the value of the process resource reselection counter of the first resource is 1, obtaining the usage times of each resource in the first resource within the first time period includes:

[0133] When the value of the process resource reselection counter is 1, generate a first random value, that is, when the value of the process resource reselection counter counter is 1, toss a random number, that is, generate a first random value;

[0134] Compare the first random value with a pre-configured resource retention probability value (the pre-configured resource retention probability is the configuration parameter P);

[0135] In the case where the first random value is greater than or equal to the resource retention probability value, obtain the usage times of each resource in the first resource within the first time period. Specifically, in the case where the first random value is greater than or equal to the configuration parameter P, obtain the usage times of each resource in the first resource within the first time period.

[0136] In an optional embodiment, according to the usage times, determine whether to reserve the first resource for continued use when performing resource reselection, including:

[0137] In the case where the usage times of the first target resource are less than or equal to a preset times threshold, determine to reserve and continue to use the first target resource when performing resource reselection;

[0138] In the case where the usage times of the second target resource are greater than the preset times threshold, determine to perform resource reselection on the second target resource when performing resource reselection;

[0139] Wherein, the first target resource is part or all of the first resource, and the second target resource is the resource in the first resource except the first target resource.

[0140] That is, each resource in the first resource is evaluated. If the number of uses of a certain resource in the first resource is less than or equal to K times (this K times is the preset number threshold), then this resource is considered the first target resource. Then, when resource reselection is performed, this resource continues to be used; if the number of uses of each resource in the first resource is greater than K times (this K times is the preset number threshold), then this resource is considered the second target resource. When resource reselection is performed, this resource is no longer used and resource reselection is carried out.

[0141] That is, in this embodiment, the number of uses of each resource in the first resource is evaluated to determine that the resource in the first resource with the number of uses less than or equal to K times (this K times is the preset number threshold) is the first target resource, and the resource in the first resource with the number of uses greater than K times (this K times is the preset number threshold) is the second target resource. Furthermore, it is determined that when resource reselection is performed, the first target resource is retained and continued to be used, and, for the second target resource, resource reselection is carried out.

[0142] Exemplarily, the first resource includes 4 resources, namely the first resource, the second resource, the third resource, and the fourth resource. Among them, the number of uses of the first resource and the second resource are both 5 times, the number of uses of the third resource is 6 times, and the number of uses of the fourth resource is 7 times. The number threshold is set to 5 times (that is, K times is equal to 5 times). Therefore, it is determined that the first resource and the second resource among the 4 resources are the first target resources, and the remaining third resource and fourth resource are the second target resources. It is determined that when resource reselection is performed, the first resource and the second resource are retained and continued to be used, and resource reselection is carried out for the third resource and the fourth resource.

[0143] Furthermore, in the case where the number of uses of the first target resource is less than or equal to the preset number threshold, determining to retain and continue to use the first target resource when resource reselection is performed includes:

[0144] In the case where the number of uses of the first target resource is less than or equal to the preset number threshold, a second random value is generated. That is, in the case where the number of uses of the first target resource is less than or equal to K times, a random number is thrown again, that is, a second random value is generated;

[0145] In the case where the second random value is less than or equal to a pre-configured target parameter (this pre-configured target parameter is the configuration parameter Q), it is determined to retain and continue to use the first target resource when resource reselection is performed;

[0146] In the case where the second random value is greater than the pre-configured target parameter (this pre-configured target parameter is the configuration parameter Q), it is determined to perform resource reselection on the first target resource when resource reselection is performed.

[0147] That is, in this embodiment, when obtaining the first resource, the resource with the number of usage times less than or equal to K times is the first target resource. Then, a random number is thrown, that is, a second random value is generated. If the second random value is less than or equal to the configuration parameter Q, it is determined that when resource reselection is performed, all resources that continue to use the first target resource are retained. If the second random value is greater than the configuration parameter Q, it is determined that when resource reselection is performed, all resources of the first target resource are reselected.

[0148] In an alternative embodiment, when the number of the number thresholds is at least two, the pre-configured target parameters are also at least two, and the number of the number thresholds is equal to the number of the pre-configured target parameters, where different number thresholds correspond to different target parameters.

[0149] Exemplarily, a set of number thresholds are configured as [5, 2, 1], and a set of pre-configured target parameters are [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 can be understood that this set of number thresholds can be understood in the form of intervals. That is, multiple number thresholds in a set of number thresholds are arranged from largest to smallest. The number greater than or equal to the first number threshold is used as the first interval, the number less than the first number threshold and greater than or equal to the second number threshold is used as the second interval, the number less than the second number threshold and greater than or equal to the third number threshold is used as the third interval... The number less than the last number threshold is used as the last interval.

[0151] After obtaining the number of usage times, first determine which interval it is in. If it is in the first interval, it is determined that the number of usage times is greater than the number threshold and resource reselection is required. If the number of usage times belongs to the second interval, that is, it is considered that the number of usage times is less than or equal to the first number threshold, and the corresponding target parameter is the first target parameter. Then, a random number is thrown and compared with the first target parameter. If the number of usage times belongs to the third interval, that is, it is considered that the number of usage times is less than or equal to the second number threshold, and the corresponding target parameter is the second target parameter. Then, a random number is thrown and compared with the second target parameter... If the number of usage times belongs to the last interval, that is, it is considered that the number of usage times is less than or equal to the last number threshold, and the corresponding target parameter is the last target parameter. Then, a random number is thrown and compared with the last target parameter.

[0152] Exemplarily, when the number of usage times of a first resource is 2 times, the corresponding number threshold is 2, that is, 2 times. Then, the corresponding pre-configured target parameter is 0.6. If the thrown random number is 0.7, which is greater than 0.6, then the first resource is not retained and reselected.

[0153] Exemplarily, when the usage times of a first resource is 1 time, the corresponding times threshold is 1, that is, 1 time. Then the pre-configured target parameter corresponding thereto is 0.9. If the randomly generated number is 0.8, which is less than 0.9, then this first resource continues to be reserved and no reselection is performed.

[0154] It should also be noted that the usage times of each resource in the first resource are reset after the resource reselection of this resource (including reselection in the normal process, reselection in re-evaluation, and reselection in preemption).

[0155] Exemplarily, resource a was only used 2 times in the previous first time period, that is, the usage times of resource a in the previous first time period was 2 times. When performing resource reselection in the previous first time period, it was determined that resource a needed to be continued to be reserved. Then in the current first time period, the value of counter after reset is 5, and in the current first time period, resource a was used 5 more times. Then the usage times of resource a is 7 (5 + 2) times. If it is determined in the current first time period that resource a undergoes resource reselection, then the counter of the usage times of resource a is reset.

[0156] In an optional embodiment, according to the first information, the usage times of some or all of the resources in the first resource are less than or equal to the times threshold;

[0157] Wherein, the first information includes at least one of the following:

[0158] Triggering re-evaluation of the resource, triggering preemption of the resource, and feedback information indicating that the resource is not used.

[0159] It can be understood that the reason why the usage times of the first resource are less than the times threshold is the above-mentioned first information, or the first information causes the usage times of the first resource to be less than the times threshold;

[0160] That is, the situations that cause the usage times of the first resource to be less than the times threshold include but are not limited to that the service packet fails to arrive according to the specified period, the newly selected resource in re-evaluation, the newly selected resource in preemption, or some resources are not used or the usage times fail to reach the times threshold due to the feedback information indication.

[0161] In the case where feedback information indication causes unused resources, resulting in the usage times of some or all resources in the first resource being less than or equal to the number threshold. Exemplarily, there are a total of four resources, including the first resource, the second resource, the third resource, and the fourth resource. In the first time period, a total of four resource transmissions are required. If the system is configured with feedback information indication, in each resource transmission cycle, after each resource transmission, a feedback information indication sent by the other party based on the reception situation will be received, and it is determined whether to continue resource transmission according to the feedback information indication. For example, after the sender sends the second resource in a certain transmission cycle and receives the feedback information ACK, the third and fourth resources are not sent in this transmission cycle, and the value of counter is updated to 2, and resource transmission continues. If after sending the second resource, the feedback information NACK is received, the third resource is sent again, and if the feedback information NACK is received again and the fourth resource is sent again, then when the usage times are finally counted, the usage times of the third and fourth resources are both 1 time.

[0162] It should also be noted that if the configured number threshold is relatively large and the counter random number (the second random value) is generated small, even if the above-mentioned triggering of the re-evaluation of the first resource, triggering the preemption of the first resource, and feedback information indication resulting in the usage times of the first resource being less than or equal to the number threshold do not occur, the judgment condition will be met, that is, it is determined whether to retain and continue to use all or part of the resources in the first resource during resource reselection, or it is determined whether to perform resource reselection on all or part of the resources in the first resource during resource reselection.

[0163] Further, after determining whether to retain and continue to use the first resource during resource reselection according to the usage times, the method further includes:

[0164] During resource reselection, retain and continue to use the third target resource; wherein, the third target resource is part or all of the resources in the first resource;

[0165] Perform resource reselection on the second resource in the candidate resource set; wherein, the second resource includes the resources other than the third target resource among the resources maintained by the current process; the candidate resource set is determined through the sensing process of semi-persistent scheduling (SPS).

[0166] It should be noted that after determining the first target resource in the first resource by 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 a pre-configured target parameter, then the first target resource is the third target resource.

[0167] This third target resource is the resource determined to be retained and continue to be used among the first resources.

[0168] In this embodiment, when performing resource reselection, the third target resource is retained and continue to be used, and among the candidate resource set, for the resources maintained by the current process, resource reselection is performed on the second resources other than the third target resource.

[0169] Further, the method further includes:

[0170] Releasing a fourth target resource according to second information; wherein, the fourth target resource is all or part of the resources in the third target resource;

[0171] Wherein, the second information includes at least one of the following: restriction information of time slots, restriction information of round-trip delay RTT, and delay requirement.

[0172] That is, when considering any one of the restriction requirements of GAP, RTT or delay requirement, resulting in the inability to select the fourth target resource among the third target resources, the fourth target resource in the reserved third target resource can be released, and resource reselection is performed on the fourth target resource.

[0173] In an alternative embodiment, releasing the fourth target resource according to the second information includes:

[0174] Obtaining the usage times of each resource in the fourth target resource, where the usage times of each resource in the fourth target resource can be the same or different;

[0175] Determining a release priority according to the usage times. Exemplarily, the more the usage times, the higher the release priority;

[0176] Releasing the fourth target resource according to the release priority. When releasing, each resource in the fourth target resource can be released in order from high to low priority.

[0177] It should also be noted that if there are two resources with the same usage times in the fourth target resource, then these two resources with the same usage times are released in a random order.

[0178] In an alternative embodiment, when performing resource reselection, retaining and continuing to use the third target resource includes:

[0179] Determining a fifth target resource that is not reserved and occupied among the third target resources;

[0180] When performing resource reselection, retaining and continuing to use the fifth target resource.

[0181] That is, when performing resource reselection, it is necessary to perform another check on the third target resource that has been determined to be reserved for continued use. If it is not reserved and occupied by other users, it can continue to be used; otherwise, it is released and reselection is performed again.

[0182] In an alternative embodiment, the method further includes:

[0183] Adding first indication information to the first direct link control information (SCI), where the first indication information is used to indicate reservation and occupation of the third target resource; wherein, the third target resource is the resource reserved for continued use in the first resource, and the third target resource is part or all of the first resource; wherein, the first SCI is the SCI sent within the resource transmission period corresponding to the value of the process resource reselection counter being 0.

[0184] Specifically, when the value of the process resource reselection counter is 0 in the resource transmission period corresponding to the first duration, it is necessary to indicate reservation and occupation in the first SCI sent within this resource transmission period for the third target resource determined to be reserved, and 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 the value of the process resource reselection counter being 0 refers to the period when the counter value is updated to 0 after all initial transmission resources and retransmission resources that need to be sent within the completion period have been sent.

[0186] The following uses several specific examples to illustrate the resource reselection method provided by the embodiments of the present invention:

[0187] Example 1:

[0188] Please refer to Figure 4 , configure the number threshold K to 5 and the configuration target parameter Q to 0.6; the first duration includes Figure 4 cycles i and i + 1 in

[0189] In cycle i, the UE triggers re-evaluation at time m. At this time, the re-evaluation result indicates that resource a3 does not meet the requirements and resource reselection is required. The first resource after reselection is a3', and the new resource set {a1, a2, a3'} is used for service transmission, and the resources {b1, b2, b3'} 100 ms later, i.e., in the next cycle, are reserved and indicated. After resource a3' is sent, the counter value is updated to 2;

[0190] In cycle i + 1, the UE uses the reserved resources {b1, b2, b3'} for service transmission, and the resources {c1, c2, c3'} 100 ms later, i.e., in the next cycle, are reserved and indicated. After resource b3' is sent, the counter value is updated to 1;

[0191] At this time, a judgment is triggered, and a random number (the first random value) is thrown to determine that the current resource needs to be reselected;

[0192] It is detected that resource b3’ has been used only 2 times (i.e., the usage times is 2 times), which is less than the configured threshold value K (5 times);

[0193] Then, a random number (the second random value) is thrown again. The second random value is 0.5, which is less than the configured Q (0.6), and this resource b3’ continues to be reserved;

[0194] In cycle 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 cycle, so no reservation indication is required. Resource c3’ will still be used in the next time, so it is necessary to reserve and indicate the resource d3’ after 100 ms, that is, in the next cycle. After resource c3’ finishes sending, 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 the 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 is generated with a value of 12;

[0196] In cycle i+3, the UE uses the reserved resources {x1, d3’, x2} to send services.

[0197] Example 2:

[0198] Please refer to Figure 5 , a set of times thresholds K are configured as [5, 2, 1], and the corresponding target parameters Q are configured as [0.2, 0.6, 0.9] respectively; the first duration includes Figure 5 cycles i and i+1 in

[0199] In cycle i, the UE triggers re-evaluation at time m. At this time, the re-evaluation result indicates that resource a3 does not meet the requirements and needs to be reselected. The reselected resource is a3’, and the UE uses the new resource set {a1, a2, a3’} to send services, and reserves and indicates the resources {b1, b2, b3’} after 100 ms, that is, in the next cycle. After resource a3’ finishes sending, the counter value is updated to 2;

[0200] In cycle i+1, the UE triggers a preemption check at time m2. It is detected that resource b1 has been occupied by a user with a higher priority, so the UE reselects resource b1. The first resource after reselection is b1'; the UE uses the reserved resources {b2, b3', b1'} to send services and reserves and indicates the resources {c2, c3', c1'} for the next cycle, i.e., after 100 ms. After resource b1' is sent, the counter value is updated to 1;

[0201] At this time, a judgment is triggered, and a random number (the first random value) is thrown to determine that the current resource needs to be reselected;

[0202] It is detected that resource b3' has been used only 2 times (the usage times is 2 times), which meets the second judgment condition (i.e., corresponding to less than or equal to the times threshold K = 2). The retention probability of the corresponding target parameter Q value is 0.6;

[0203] Then, a random number (the second random value) is thrown again, which is 0.7 and greater than the configured retention probability of 0.6, that is, this resource b3' is not retained;

[0204] It is detected that resource b1' has been used only 1 time (the usage times is 1 time), which meets the third judgment condition (i.e., corresponding to less than or equal to the times threshold K = 1). The retention probability of the corresponding target parameter Q value is 0.9;

[0205] Then, a random number (the second random value) is thrown again, which is 0.8 and less than the configured retention probability of 0.9, that is, this resource b1' continues to be retained;

[0206] In cycle i+2, the UE uses the reserved resources {c2, c3', c1'} to send services. At this time, resources c2 and c3' need to be reselected in the next cycle, so no reservation indication is made. Resource c1' will still be used in the next time, so it is necessary to reserve and indicate the resources d1' for the next cycle, i.e., after 100 ms. After resource c1' is sent, 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 resources need to be selected again. Two resources x1 and x2 that meet the GAP and RTT requirements are selected, and a new counter is generated with a value of 12;

[0208] In cycle i+3, the UE uses the reserved resources {x1, x2, d1'} to send services.

[0209] Example 3:

[0210] Please refer to Figure 6, configure a set of number thresholds K as [5, 2, 1], and configure the corresponding target parameters Q as [0.2, 0.6, 0.9] respectively; the first duration includes Figure 6 cycles i and i + 1 in

[0211] In cycles i and i + 1, re - evaluation and pre - emption checks are triggered at times m and m2 respectively, and it is determined that resources a3 and b1 are unavailable. Resources a3’ and b1’ are re - selected, and after the counter is updated to 1 within cycle i + 1, it is determined that the current resources need to be re - selected; resources c3’ and c1’ are checked, and after throwing random numbers, it is determined that both resources are retained;

[0212] In cycle i + 2, resources c3’ and c1’ continue to reserve resources d3’ and d1’ for the next cycle;

[0213] Resource re - selection is triggered at time n. Selection is made according to candidate resources, but no resources that meet requirements such as Gap or RTT can be selected;

[0214] At this time, resources d3’ and d1’ are checked. Resource d3’ has been used more times and has a higher release priority, so resource d3’ is preferentially released;

[0215] Only resource d1’ is retained for continued selection. At this time, resources x1 and x2 that meet the requirements can be selected;

[0216] Output the current resource selection result;

[0217] A new random counter value of 12 is generated;

[0218] Within cycle i + 3, the UE uses the reserved resources {x1, x2, d1’} to send services.

[0219] Example 4:

[0220] Please refer to Figure 7 , configure the number threshold K as 5, and configure the target parameter Q as 0.6; the first duration includes Figure 7 cycles i and i + 1 in

[0221] Within cycle i, after resource a1 is sent, a NACK is received from the receiver, and resource a2 is sent continuously. After resource a2 is sent, an ACK is received; the selection is to stop sending, and resources a3 and a4 are not used;

[0222] Within cycle i + 1, after resources b1 and b2 are sent, NACK feedback is received for both. Sending continues. After resource b3 is sent, an ACK is still received, so it is selected to continue sending resource b4; resource b4 is the last send in the current cycle. After sending, the counter is updated to 1;

[0223] At this time, a judgment is triggered, and a random number (the first random value) is thrown to determine that the current resource needs to be reselected;

[0224] It is detected that resource b4 has been used only once (i.e., the usage count is 1 time), which is less than the configured threshold K;

[0225] Then, a random number (the second random value) is thrown again, and the value is 0.5, which is less than the configured Q (0.6). That is, this resource continues to be reserved;

[0226] In cycle i + 2, the UE uses the reserved resources {c1, c2, c3, c4} to send services according to the feedback information. At this time, resources c1, c2, and c3 need to be reselected in the next cycle, so no reservation indication is required. Resource c4 continues to be used in the next time, so it is necessary to reserve and indicate the resource d4 after 100 ms, that is, the resource in the next cycle. After resource c4 finishes sending, the counter value is updated to 0; the information of resources c1, c2, and c3 is cleared;

[0227] When resource reselection is triggered at time n, after generating the candidate resource set, if resource d4 is still in the resource candidate set, resource d4 does not need to be reselected and continues to use resource d4. 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 with a value of 12 is generated;

[0228] In cycle i + 3, the UE uses the reserved resources {x1, x2, x3, d4} to send services.

[0229] As Figure 8 shown, an embodiment of the present invention further provides a resource reselection device, and the device includes:

[0230] A first acquisition module 801, configured to obtain the usage count of each resource in the first resource 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 when the value of the process resource reselection counter of the current process was last reset to the current time;

[0231] A first processing module 802, configured to determine whether to retain and continue to use the first resource when performing resource reselection according to the usage count.

[0232] Optionally, the first acquisition module 801 includes:

[0233] A first processing unit, configured to generate a first random value when the value of the process resource reselection counter is 1;

[0234] A second processing unit, configured to compare the first random value with a pre-configured resource retention probability value;

[0235] A first acquisition unit, configured to, when the first random value is greater than or equal to the resource retention probability value, acquire the usage times of each resource in the first resource within the first time period.

[0236] Optionally, the first processing module 802 includes:

[0237] A third processing unit, configured to, when the usage times of a first target resource are less than or equal to a preset times threshold, determine to retain and continue using the first target resource when performing resource reselection;

[0238] A fourth processing unit, configured to, when the usage times of a second target resource are greater than the preset times threshold, determine to perform resource reselection on the second target resource when performing resource reselection;

[0239] Wherein, the first target resource is part or all of the first resource, and the second target resource is the resource in the first resource other than the first target resource.

[0240] Optionally, the third processing unit is specifically configured to:

[0241] Generate a second random value when the usage times of the first target resource are less than or equal to the preset times threshold;

[0242] Determine to retain and continue using the first target resource when performing resource reselection when the second random value is less than or equal to a pre-configured target parameter;

[0243] Determine to perform resource reselection on the first target resource when performing resource reselection when the second random value is greater than the pre-configured target parameter.

[0244] Optionally, the number of the times thresholds is at least two;

[0245] Different times thresholds correspond to different target parameters.

[0246] Optionally, according to first information, the usage times of part or all of the resources in the first resource are less than or equal to the times threshold;

[0247] Wherein, the first information includes at least one of the following:

[0248] Triggering re-evaluation of resources, triggering preemption of resources, and feedback information indicating that resources are not used.

[0249] Optionally, the device further includes:

[0250] A second processing module, configured to retain and continue to use a third target resource when performing resource reselection; wherein the third target resource is part or all of the first resource;

[0251] A third processing module, configured to perform resource reselection on a second resource in a candidate resource set; wherein the second resource includes resources other than the third target resource among the resources maintained by the current process; the candidate resource set is determined through a sensing process of semi-persistent scheduling (SPS).

[0252] Optionally, the device further includes:

[0253] A fourth processing module, configured to release a fourth target resource according to second information; wherein the fourth target resource is all or part of the third target resource;

[0254] Wherein the second information includes at least one of the following: restriction information of a time slot, restriction information of round-trip time (RTT), and delay requirement.

[0255] Optionally, the fourth processing module includes:

[0256] A second obtaining unit, configured to obtain the usage times of each resource in the fourth target resource;

[0257] A fifth processing unit, configured to determine a release priority according to the usage times;

[0258] A sixth processing unit, configured to release the fourth target resource according to the release priority.

[0259] Optionally, the second processing module includes:

[0260] A seventh processing unit, configured to determine a fifth target resource that is not reserved and occupied among the third target resources;

[0261] An eighth processing unit, configured to retain and continue to use the fifth target resource when performing resource reselection.

[0262] Optionally, the device further includes:

[0263] A fifth processing module, configured to add first indication information to a first straight-through link control information (SCI), where the first indication information is used to indicate reservation and occupation of a third target resource; wherein the third target resource is the resource that is retained and continued to be used in the first resource, and the third target resource is part or all of the first resource; wherein the first SCI is the SCI sent within the resource transmission 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-mentioned resource reselection method. All embodiments of the above-mentioned resource reselection method are applicable to this device and can achieve the same or similar technical effects.

[0265] As Figure 9 shown, an embodiment of the present invention further provides a terminal device, including: a processor 901; and a memory 903 connected to the processor 901 through a bus interface 902. The memory 903 is used to store programs and data used by the processor 901 when executing operations, and the processor 901 calls and executes the programs and data stored in the memory 903.

[0266] Among them, 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 execute the following processes:

[0267] When the value of the process resource reselection counter for the first resource is 1, obtain the number of times each resource in the first resource is used within the first time period; where the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first time period includes the time period from when the value of the process resource reselection counter of the current process was last reset to the current moment;

[0268] Determine whether to retain the continued use of the first resource when performing resource reselection according to the number of times of use.

[0269] Optionally, the processor 901 is used to:

[0270] Generate a first random value when the value of the process resource reselection counter is 1;

[0271] Compare the first random value with a pre-configured resource retention probability value;

[0272] When the first random value is greater than or equal to the resource retention probability value, obtain the number of times each resource in the first resource is used within the first time period.

[0273] Optionally, the processor 901 is used to:

[0274] When the number of times of use of the first target resource is less than or equal to a preset number threshold, determine to retain the continued use of the first target resource when performing resource reselection;

[0275] When the number of times of using the second target resource is greater than a preset number threshold, it is determined that when resource reselection is performed, resource reselection is performed on the second target resource;

[0276] Wherein, the first target resource is part or all of the first resources, and the second target resource is the resource in the first resources except the first target resource.

[0277] Optionally, the processor 901 is specifically configured to:

[0278] When the number of times of using the first target resource is less than or equal to a preset number threshold, generate a second random value;

[0279] When the second random value is less than or equal to a pre-configured target parameter, it is determined that when resource reselection is performed, the first target resource continues to be used;

[0280] When the second random value is greater than the pre-configured target parameter, it is determined that when resource reselection is performed, resource reselection is performed on the first target resource.

[0281] Optionally, the number of the number thresholds is at least two;

[0282] Different number thresholds correspond to different target parameters.

[0283] Optionally, according to the first information, the number of times of using part or all of the first resources is less than or equal to the number threshold;

[0284] Wherein, the first information includes at least one of the following:

[0285] Triggering re-evaluation of resources, triggering preemption of resources, and feedback information indicating that resources are not used.

[0286] Optionally, the processor 901 is further configured to:

[0287] When resource reselection is performed, continue to use the third target resource; wherein, the third target resource is part or all of the first resources;

[0288] Perform resource reselection on the second resource in the candidate resource set; wherein, the second resource includes the resources maintained by the current process except the third target resource; the candidate resource set is determined through the sensing process of semi-persistent scheduling SPS.

[0289] Optionally, the processor 901 is further configured to:

[0290] Release the fourth target resource according to the second information; wherein, the fourth target resource is all or part of the resources in the third target resource;

[0291] Wherein, the second information includes at least one of the following: restriction information of time slots, restriction information of round-trip delay RTT, and delay requirement.

[0292] Optionally, the processor 901 is specifically configured to:

[0293] Obtain the usage times of each resource in the fourth target resource;

[0294] Determine the release priority according to the usage times;

[0295] Release the fourth target resource according to the release priority.

[0296] Optionally, the processor 901 is specifically configured to:

[0297] Determine a fifth target resource that is not reserved and occupied in the third target resource;

[0298] When performing resource reselection, keep using the fifth target resource continuously.

[0299] Optionally, the processor 901 is further configured to:

[0300] Add first indication information to the first straight-through link control information SCI, where the first indication information is used to indicate reservation and occupation of the third target resource; wherein, the third target resource is the resource in the first resource that is reserved and used continuously, and the third target resource is part or all of the first resource; wherein, the first SCI is the SCI sent within the resource transmission period corresponding to the value of the process resource reselection counter being 0.

[0301] Wherein, in Figure 9 The bus architecture may include any number of interconnected buses and bridges, specifically, various circuits represented by one or more processors represented by the processor 901 and the memory 903 represented by the memory are linked together. The bus architecture may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art, and thus will not be further described herein. The bus interface provides the user interface 905. The transceiver 904 may be multiple components, that is, including a transmitter and a receiver, and provides a unit for communicating with various other devices on the transmission medium. The processor 901 is responsible for managing the bus architecture and general processing, and the memory 903 may store data used by the processor 901 when performing operations.

[0302] In addition, a specific embodiment of the present invention further provides a readable storage medium, on which a computer program is stored, wherein when the program is executed by a processor, the steps in the resource reselection method described in any one of the above are implemented.

[0303] In several embodiments provided by the present application, it should be understood that the disclosed method and apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces. The indirect coupling or communication connection of the apparatus or unit may be in an electrical, mechanical, or other form.

[0304] In addition, in each embodiment of the present invention, each functional unit may be integrated in a processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The above integrated unit may be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.

[0305] The above integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium. The above software functional unit is stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute some steps of the resource selection method described in each embodiment of the present invention, or to execute some steps of the information sending method described in each embodiment of the present invention. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.

[0306] A specific embodiment of the present invention further provides a computer program product, including computer instructions, which when executed by a processor, implement each process of the method embodiment as shown above Figure 3 and can achieve the same technical effect. To avoid repetition, it will not be described in detail here.

[0307] The above are the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, several improvements and refinements can be made without departing from the principle of the present invention, and these improvements and refinements are also within the protection scope of the present invention.

Claims

1. A resource reselection method, characterized in that: The method comprises: When the value of 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 time period; wherein the first resource includes all initial transmission resources and retransmission resources maintained by the current process; the first time period includes the time from the value of the process resource reselection counter of the current process after the last reset to the current time; According to the number of times used, it is determined whether to keep the first resource for continued use when reselecting the resource.

2. The method according to claim 1, characterized in that When the value of the process resource reselection counter of the first resource is 1, obtaining the number of times each resource in the first resource is used within a first time period includes: When the value of the process resource reselection counter is 1, generating a first random value; comparing the first random value with a preconfigured resource retention probability value; When the first random value is greater than or equal to the resource retention probability value, the number of times each of the first resources is used within the first duration is obtained.

3. The method according to claim 1, characterized in that Determining, according to the number of times used, whether to keep the first resource for continued use when reselecting the resource includes: When the number of times the first target resource is used is less than or equal to a preset number threshold, determining to keep using the first target resource when reselecting resources; When the number of times the second target resource is used is greater than a preset number threshold, determining to reselect the second target resource when reselecting the resource; The first target resource is part of or all of the first resource, and the second target resource is the resource in the first resource except the first target resource.

4. The method according to claim 3, characterized in that When the number of times the first target resource is used is less than or equal to a preset number threshold, determining to keep using the first target resource when reselecting the resource includes: When the number of times the first target resource is used is less than or equal to a preset number threshold, generating a second random value; When the second random value is less than or equal to a pre-configured target parameter, determining to keep using the first target resource when reselecting resources; When the second random value is greater than a preconfigured target parameter, it is determined that when performing resource reselection, resource reselection is performed on the first target resource.

5. The method according to claim 4, characterized in that The number of the number thresholds is at least two; Different number thresholds correspond to different target parameters.

6. The method according to any one of claims 3, characterized in that According to the first information, the number of times some or all of the first resources are used is less than or equal to the number threshold; The first information includes at least one of the following: Triggering re-evaluation of resources, triggering preemption of resources, and feedback information indicating that resources are not used.

7. The method according to claim 1, characterized in that The method further comprises: When reselecting resources, retain and continue to use the third target resource; wherein the third target resource is part of or all of the first resource; Reselect a second resource from a candidate resource set; wherein the second resource includes resources maintained by the current process except for the third target resource; and the candidate resource set is determined through a perception process of semi-persistent scheduling SPS.

8. The method according to claim 7, characterized in that The method further comprises: According to the second information, releasing a fourth target resource; wherein the fourth target resource is all or part of the third target resource; The second information includes at least one of the following: time slot restriction information, round-trip time (RTT) restriction information, and delay requirements.

9. The method according to claim 8, characterized in that Releasing the fourth target resource according to the second information includes: Obtaining the usage count of each resource in the fourth target resource; Determine a release priority according to the number of uses; The fourth target resource is released according to the release priority.

10. The method according to claim 7, characterized in that When reselecting resources, the third target resource is retained and continued to be used, including: Determining, among the third target resources, a fifth target resource that is not occupied by a reservation; When reselecting resources, the fifth target resource is kept in use.

11. The method according to claim 1, characterized in that The method further comprises: Adding first indication information in the first direct link control information SCI, wherein the first indication information is used to indicate that the reservation occupies the third target resource; The third target resource is a resource in the first resource that is reserved for continued use, and the third target resource is part of or all of the first resource; The first SCI is an SCI sent in a resource sending period corresponding to a value of 0 of the process resource reselection counter.

12. A resource reselection device, characterized in that: The device comprises: A first acquisition module is used to obtain the number of times each resource in the first resource is used within a first time period 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; and the first time period includes the time period from the value of the process resource reselection counter of the current process after the last reset to the current time; The first processing module is used to determine whether to keep the first resource for continued use when reselecting the resource according to the number of uses.

13. A terminal device, characterized in that: include: 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, the steps in the resource reselection method according to any one of claims 1 to 11 are implemented.

14. A readable storage medium, characterized in that: The readable storage medium stores a program, and when the program is executed by a processor, the steps in the resource reselection method according to any one of claims 1 to 11 are implemented.

15. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps in the resource reselection method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Resource maintenance method and network node

    CN106412069A

  • Resource selection method and device, equipment and medium

    CN114513800A

  • Communication method of direct communication interface, terminal equipment and storage medium

    CN115175253A

  • Wireless communication method and terminal equipment

    CN117751645A

  • Periodic resource reselection method and device, equipment and storage medium

    CN118474824A