METHOD AND DEVICE FOR SELECTING RESOURCES, TERMINAL AND MEDIUM.

MX431730BActive Publication Date: 2026-02-25GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
MX2022009697
Authority / Receiving Office
MX · MX
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-08-05
Publication Date
2026-02-25
Estimated Expiration
2040-02-07

AI Technical Summary

Technical Problem

In the Vehicle to Everything (V2X) system, existing resource selection methods in the sidelink transmission mode are inefficient, leading to increased power consumption and reduced battery life due to extensive resource listening and potential resource conflicts.

Method used

The method involves determining a resource listening window that includes only a portion of slots before the selected resource, reducing the time required for listening and minimizing power consumption by avoiding unnecessary resource reselection.

Benefits of technology

This approach reduces power consumption and extends battery life by optimizing the resource listening procedure, thereby improving the efficiency of resource selection in V2X systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure MX431730B0
    Figure MX431730B0
Patent Text Reader

Abstract

This application relates to the field of wireless communications; it describes a resource selection method and device, a terminal, and a medium; the method comprises: determining a resource monitoring window, wherein the resource monitoring window comprises some time slots before a time slot m in which a selected resource is located; and when the result of monitoring the resource monitoring window is that a resource conflict occurs between the selected resource and a reserved resource of a second terminal, performing a resource reselection for the selected resource;In the present application, the monitoring window for the determined resource only comprises some of the time slots prior to time slot m where the selected resource is located, instead of all time slots, and therefore, in a resource reselection monitoring procedure, the time required for monitoring is reduced, and the energy consumption of a first terminal is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

METHOD AND DEVICE FOR RESOURCE SELECTION, TERMINAL AND MEDIUM TECHNICAL FIELD This application relates to the field of wireless communication and, in particular, to a resource selection method and apparatus, a terminal and a medium. BACKGROUND OF THE INVENTION To enable direct communication between terminals in the Vehicle to Everything (V2X) system, the side link (SL) transmission mode is introduced. In SL transmission mode, the terminal needs to select resources from the resource pool. The terminal defines a resource selection window and a resource listening window. Based on the listening results from the resource listening window, it excludes the resource(s) within the selection window and obtains the candidate resource(s) (resources after exclusion) for the service to be transmitted. The terminal then randomly selects one resource from the candidate resources to transmit the service to another terminal, including the initial transmission and subsequent retransmissions. BRIEF DESCRIPTION OF THE INVENTION The modalities of this application provide a method and apparatus for resource selection, a terminal, and a means. The technical solutions are as follows. According to one aspect of this application, a resource selection method is provided, which applies to a first terminal, and the method includes: determine a resource listening window, where the resource listening window includes a portion of slots before a slot m where a selected resource is located; and when a listening result of the resource listening window is that a resource conflict occurs between the selected resource and a reserved resource of a second terminal, performing a resource reselection on the selected resource. According to one aspect of this application, a resource selection apparatus is provided, which is applied to a first terminal, and the apparatus includes: a determination module, configured to determine a resource listening window, where the resource listening window includes a portion of slots before a slot ! AQAnn / ZZnZ / E / YIAI m where a selected resource is located; and a reselection module, configured to perform resource reselection on the selected resource when a resource listening result from the resource listening window is that a resource conflict occurs between the selected resource and a reserved resource of a second terminal. According to one aspect of this application, an apparatus for a resource selection method is provided, the apparatus includes: a determination module, configured to determine a resource listening window, where the resource listening window includes a portion of slots before a slot m where a selected resource is located; and a reselection module, configured to perform resource reselection on the selected resource when a resource listening result from the resource listening window is that a resource conflict occurs between the selected resource and a reserved resource of a second terminal. According to one aspect of this application, a terminal is provided, including the terminal: a processor; a transceiver connected to the processor; a memory for storing executable instructions of the processor; wherein the processor is configured to load and execute the executable instructions to implement the resource selection method as described in the preceding aspects. According to one aspect of this application, a computer-readable storage medium is provided, the executable instructions are stored on the readable storage medium, and the executable instructions are loaded and executed by a processor to implement the resource selection method as described in the preceding aspects. The technical solutions provided by the modalities of this application include at least the following beneficial effects. The resource listening window determined by the terminal only includes a portion of the slots before slot m, where the selected resource is located, instead of all slots. Therefore, in the resource reselection listening procedure, the listening time required is reduced, terminal power consumption is saved, and the terminal's battery life is improved. BRIEF DESCRIPTION OF THE DRAWINGS ) «QAnn / zznz / E / YiAi To illustrate more clearly the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments are briefly presented below. Obviously, the drawings in the following description are only some of the embodiments of this application. Those skilled in the art can easily obtain other drawings based on these drawings without any further creative effort. Figures 1A and 1B are schematic diagrams of a side-link transmission mode in the related technique of the present application; Figure 2 is a schematic diagram of the selection of a resource in LTE-V2X in the related technique of the present application; Figure 3 is a block diagram of an NR-V2X physical layer structure in the related technique of the present application; Figure 4 is a schematic diagram of TB transmission in the related technique of the present application; Figure 5 is a schematic diagram of a resource selection method in the related technique of the present application; Figure 6 is a schematic diagram of a resource selection method in the related technique of the present application; Figure 7 is a block diagram of a communication system that supports sidelink transmission provided by an exemplary modality of the present application; Figure 8 is a schematic diagram of a resource selection method provided by an exemplary modality of the present application; Figure 9 is a schematic diagram of a resource selection method provided by an exemplary modality of the present application; Figure 10 is a schematic time-frequency diagram of a resource listening window provided by an exemplary modality of the present application; Figure 11 is a schematic time-frequency diagram of a resource listening window provided by an exemplary modality of the present application; Figure 12 is a schematic time-frequency diagram of a resource listening window provided by an exemplary modality of the present application; Figure 13 is a schematic time-frequency diagram of a resource listening window provided by an exemplary modality of the present application; Figure 14 is a schematic diagram of a resource selection method provided by an exemplary modality of this application; Figure 15 is a schematic configuration diagram for a network device provided by an exemplary modality of the present application; Figure 16 is a schematic diagram of a group of vehicles provided by an exemplary modality of the present application; Figure 17 is a schematic configuration diagram by a third terminal serving as a group head provided by an exemplary modality of the present application; Figure 18 is a schematic diagram of a resource selection method provided by an exemplary modality of the present application; Figure 19 is a structural block diagram of a resource selection apparatus provided by an exemplary modality of this application; and Figure 20 is a schematic structural diagram of a terminal provided by an exemplary modality of this application. DETAILED DESCRIPTION OF THE INVENTION To make the objectives, technical solutions and advantages of this application clearer, the modalities of this application will be described in more detail below with reference to the attached drawings. First, the terms involved in the modalities of this application are briefly introduced: Vehicle-to-Everything (V2X): This is the key technology for the future intelligent transportation system. It primarily studies the vehicle data transmission scheme based on the 3GPP communication protocol. V2X communication includes vehicle-to-vehicle (V2V) communication, vehicle-to-infrastructure (V2I) communication, and vehicle-to-person (V2P) communication. V2X applications will improve driving safety, reduce congestion and vehicle energy consumption, improve traffic efficiency, and more. Sidelink (SL) transmission: This is a device-to-device communication method with high spectral efficiency and low transmission latency. 3GPP defines two sidelink transmission modes: Figure 1A and Figure IB. As shown in Figure 1A, the base station allocates the terminal's transmission resource over the downlink, and the terminal transmits data over the sidelink according to the resource allocated by the base station. The base station can allocate the resource for a single transmission to the terminal or for semi-static transmission. As shown in Figure IB, the terminal selects a resource from the resource pool to transmit data itself. Specifically, the terminal can select a transmission resource from the resource pool by listening or by random selection. In Figure IB of the sidelink transmission mode, the terminal can select the transmission resource from the resource pool by listening. The resource selection methods in LTE-V2X and NR-V2X are described below: i AdAnn / zznz / E / YiAi 1) Resource selection method in LTE-V2X When a new data packet arrives (i.e., a service arrives) at time n, resource selection must be performed. The terminal can select a resource within n+T1 or n+T2 milliseconds, depending on the outcome of listening in the last second. Within these ranges, T1 <= 4 and T2 <= 100. The selected T1 must be greater than the terminal's processing delay, and the selected T2 must be within the service delay requirement. For example, if the service delay requirement is 50 ms, then 20 <= T2 <= 50, and if the service delay requirement is 100 ms, then 20 <= T2 <= 100. As an example, as shown in Figure 2, a new data packet arrives at time n, resource selection must be performed, and the resource listening window is [ / 7-1000, n]. The service delay requirement is 100 ms, and the resource selection window is [ / 7+4, / 7+100]. The procedure for the terminal to select a resource in the resource selection window is as follows (for the specific resource selection procedure, see the operating steps in 3GPP TS36.213, and several main resource selection steps are listed here). The terminal takes all available resources in the resource selection window as a set A, and the terminal performs an exclusion operation on the resource(s) in set A. In step 1: if the terminal sends data in some subframes in the resource listening window and does not listen, the resources in the corresponding subframes are excluded from the resource selection window. In step 2: if the terminal detects a physical sidelink control channel (PSCCH) within the resource listening window, it measures a received reference signal power (RSRP) from a shared physical sidelink channel (PSSCH) programmed by the PSCCH. If the measured PSSCH-RSRP is higher than a PSSCH-RSRP threshold, and according to the reservation information in the control information transmitted on the PSCCH, it is determined that the transmission resource reserved by another terminal is within the terminal's resource selection window, the terminal excludes this resource from set A. The selection of the PSSCH-RSRP threshold is determined by the priority information carried on the detected PSCCH and a priority of the data to be transmitted by the terminal. In step 3: if the amount of remaining resources in set A is less than 20% of the total amount of resources, the terminal increases the PSSCH-RSRP threshold by 3 dB and repeats steps 1 to 2 until the amount of remaining resources in set A is greater than 20% of the total number of resources. ! AQAnn / ZZnZ / E / YIAI In step 4: the terminal performs sidelink received signal strength indicator (S-RSSI) detection on the remaining resources in set A, classifies the remaining resources in set A according to the power level, and places the 20% of resources with the lowest power (relative to the number of resources in set A) into set B. In step 5: the terminal selects a resource from set B with equal probability for data transmission. 2) Resource selection method listening in NR-V2X In NR-V2X, autonomous driving must be supported, which presents a relatively high requirement for data interaction between vehicles, such as higher throughput, lower latency, greater reliability, greater coverage, more flexible resource allocation, etc. The physical layer structure of NR-V2X is shown in Figure 3. The PSCCH 301 used to transmit control information is included in the PSSCH 302 used to transmit data, which also means that PSCCH 301 and PSSCH 302 must be sent at the same time. The current standard only supports the initial transmission of the current data block (transport block, TB) reserving the retransmission of the current TB, the retransmission of the current TB reserving the retransmission of the current TB, and the initial transmission (or retransmission) of the previous TB reserving the initial transmission (or retransmission) of the current TB. As shown in Figure 4, the current TB is assumed to be TB2 and the previous TB is TB1. Initial retransmission 421 of TB2 reserves retransmissions 422 and 423 of TB2, retransmission 422 of TB2 reserves retransmission 423 of TB2, initial retransmission 411 of TB1 reserves initial retransmission 421 of TB2, retransmission 412 of TB1 reserves retransmission 422 of TB2, and retransmission 413 of TB1 reserves retransmission 423 of TB2. In NR-V2X, as shown in Figure IB above, the terminal also needs to select the resource itself. Its resource selection mechanism is similar to the resource selection mechanism in LTE-V2X mentioned earlier. When the terminal generates a service data packet at time n, it needs to select a resource and takes all resources in the resource selection window as set A. The resource selection window starts at / 7+T1 and ends at / 7+T2. T1 >= the time for the terminal to prepare to send data and select the resource, T2min <= T2 <= the service delay requirement interval. The value of T2min is {1, 5, 10, 20}*2μ slots, where μ = 0, 1, 2, 3 corresponds to the subcarrier spacings of 15, 30, 60, and 120 kHz. As shown in Figure 5, the terminal listens for resources at time 77-T0 an, and the range of T0 values ​​is [100,1100] milliseconds. If the terminal detects the PSCCH, it measures the RSRP of the PSCCH or the RSRP of the PSCCH programmed by the PSCCH, and if the measured RSRP is greater than the RSRP threshold, and it is determined that the reserved resource is within the resource selection window according to the resource reservation information in the control information transmitted on the PSCCH, the corresponding resource is excluded from set A. Once resource exclusion is performed, the terminal randomly selects several resources from set A as sending resources for its initial transmission and retransmission. The RSRP threshold is determined by the priority carried on the PSCCH monitored by the terminal and the priority of the data to be sent by the terminal. Furthermore, the difference between the time-domain position of the initial transmission resource selected by the terminal and the time-domain position of the last retransmission resource must be less than or equal to W. In NR-V2X, W is equal to 32 slots. The length of each slot is related to the subcarrier spacing. If the subcarrier spacing is 15 kHz, the slot length is 1 ms, and if the subcarrier spacing is 30 kHz, the slot length is 0.5 ms. It should be noted that resource prioritization is compatible with NR-V2X; that is, after the terminal performs resource exclusion, set A can include the resource block(s) reserved by a terminal with a low priority, and the terminal takes precedence over the resource block(s) reserved by the low-priority terminal. For example, resource prioritization can be achieved by adjusting the RSRP threshold. Assuming that in Figure 5, terminal 1 generates data at time n for resource selection, terminal 1 determines a resource selection window from / 7+T1 to / 7+T2 and a resource listening window from / hTO to n. Within the resource listening window, terminal 1 detects that terminal 2 sends PSCCH and PSSCH at time n-a and reserves resource x at time / 7+b. After detecting the PSCCH sent by terminal 2, terminal 1 knows that the priority carried in terminal 2's PSCCH is lower than the priority of the data it will send, thus increasing the RSRP threshold. Therefore, the probability that the measured RSRP of the signal sent by terminal 2 is less than the RSRP threshold increases. When the measured RSRP is lower than the RSRP threshold, terminal 1 will not exclude resource x reserved by terminal 2.If terminal 1 randomly selects resource x reserved by terminal 2 in set A after the resource exclusion, terminal 1 appropriates resource x. Conversely, if terminal 1 detects that the priority it carries in terminal 2's PSCCH is higher than the priority of the data to be sent by it, it lowers the RSRP threshold, making the resource reserved by terminal 2 easier to send, thus avoiding using the same block of resources with the higher-priority terminal. In addition, NR-V2X supports continuous listening (re-evaluation) after the initial resource selection. ! AQAnn / ZZnZ / E / YIAI As shown in Figure 6, the terminal generates data at time n, determines a resource listening window and a resource selection window, and selects the initial transmit resource % at time n+a, and the retransmit resources yyz at time n+b and n+c. After time n, the terminal continues listening to the PSCCH. Before time n+a, if the terminal finds that resource xo, resource yo, or resource z is reserved by another terminal (i.e., a resource conflict occurs) through a re-evaluation, and the measured RSRP is higher than the RSRP threshold, the terminal will release the corresponding resource, and under the premise of meeting the service delay requirement, the terminal will select another resource.After time n+a, because the terminal sent PSCCH and PSSCH on resource %y reserved resources yy z, only when the terminal discovers that the high-priority UE overtook resource yo za through re-evaluation, and RSRP is greater than the RSRP threshold, will the terminal release resource yo zy and re-select the resource. According to the above, in the NR system, the UE is allowed to reselect resources after selecting a resource. However, the UE continues listening to resources after selection, which can increase its energy consumption. Therefore, this application proposes a partial listening (partial detection) technical solution to reduce the UE's energy consumption. Figure 7 shows a block diagram of a communication system that supports sidelink transmission provided by an exemplary modality of this application. The communication system may be a schematic diagram of a non-roaming 5G system architecture, and the system architecture may be applied to a vehicle-to-everything (V2X) service using D2D technology. The system architecture includes a data network (DN), and a V2X application server required for the V2X service is configured on the data network. The system architecture also includes a 5G core network. The network functions of the 5G core network include: Unified Data Management (UDM), Policy Control Function (PCF), Network Exposure Function (NEF), Application Function (AF), Unified Data Repository (UDR), Access and Mobility Management Function (AMF), Session Management Function (SMF), and User Plane Function (UPF). The system architecture also includes a radio access network (next-generation radio access network, NG-RAN) and four sample user computers (i.e., user computer 1 through user computer 4), where each user computer has the V2X application installed. One or more access network devices, such as base stations (gNB), are provided in the radio access network. The user computer performs an uplink transmission to the access network device. In the system architecture, the data network and user plane function in the 5G core network are connected via reference point N6; the V2X application server yi AQRnn / zznz / E / YiAi and the V2X application on the user device are connected via reference point VI; the radio access network is connected to the AMF function and the UPF function in the 5G core network, and the radio access network is connected to user device 1 and user device 5 respectively via reference point Uu; and multiple user devices perform sidelink transmission via reference point PC5, and multiple V2X applications are connected via reference point V5. The above reference points can also be referred to as interfaces. Figure 8 shows a flowchart of a resource selection method provided by an example modality of this application. The method can be executed by the user's computer on the V2X as shown in Figure 7, and the user's computer is the first service dispatch terminal during execution. The method includes the following steps. In step 102, when a service arrives at time n, a resource is selected to transmit the service and a reserved resource (retransmission resource) in a resource selection window. The resource selection window is a window from time n + Tn to time / 7 + T12, the first time period from time n to time n + Tu is greater than or equal to a processing delay of the first terminal, and the second time period from time n to time n + T12 is less than or equal to the service delay requirement interval. Optionally, multiple resources can be used to transmit services within the resource selection window, and the first terminal will only perform resource selection when the resource selection condition is met. The previous introduction describes the resource selection method. For an example, the selected resource is located in slot m. In the vehicle-with-everything system, communication between two terminals is carried out via a side link. Specifically, the two terminals adopt Figure IB of the side link; that is, the first terminal selects a resource from a resource pool to transmit data. At time n, the first terminal has a service to transmit, and it can perform resource selection within the resource selection window from time / 7+T11 to time / 7+T12 to select an initial transmission resource. The first terminal then uses this initial transmission resource to transmit the service to the second terminal for the first time. In step 104, a resource listening window is determined, and the resource listening window includes a portion of slots before a slot m where the selected resource is located. After determining the selected resource, the first terminal also needs to continuously monitor whether the selected resource conflicts with the reserved resource(s) of another terminal(s). However, to reduce listening time, the first terminal determines the resource's listening window. The resource listening window includes some (but not all) of the slots between slot n and slot m. Slot n is the slot where the service arrives, and slot m is the slot where the selected resource is located. Optionally, there can be at least two selected resources, and each selected resource corresponds to its own slot. For example, the selected resources include: initial transmission resource 1 and reserved retransmission resource 2. The slot where initial transmission resource 1 is located is slot mi, and the slot where retransmission resource 2 is located is slot m2. Therefore, the listening window for resource 1 corresponding to initial transmission resource 1 is determined according to a portion of the slots before slot mi, and the listening window for resource 2 corresponding to retransmission resource 2 is determined according to a portion of the slots before slot m2. Optionally, if the last slot of the predetermined resource listening window is located in slot zt?-T3 or after slot / 7>T3, the last slot of the resource listening window is changed to a slot / 7>T3-1, where T3 is the time required for the first terminal to perform resource reselection. In step 106, when a listening result from the resource listening window is that there is a resource conflict between the selected resource and a reserved resource from a second terminal, a resource reselection is performed on the selected resource. The first terminal listens in the resource listening window, and when the result of listening in the resource listening window is that the selected resource has a resource conflict with the reserved resource of the second terminal, a resource reselection is performed on the selected resource. Possible sources of the above resource conflict include: 1. The selected resource is replaced by a second terminal with a higher priority; 2. After the first terminal selects the selected resource, an aperiodic burst service is generated on the second terminal and the selected resource is also reserved. Taking as an example the selected resource that has the conflict as the initial transmission resource (similar to the retransmission resource), the first terminal determines the reselection resource of the initial transmission resource in the reselection window. Among them, the reselection window is a window from time / H-ti+Tzi to time / 7+ti+T22, and according to the listening result of the slot listened to in the listening window of the resource determined in the previous step, the resource is excluded from the reselection window, and a resource is randomly selected from the remaining candidate resources as the reselection resource of the initial transmission resource. Optionally, T21 is greater than or equal to a terminal processing delay, and ti+T22 is less than or equal to a service delay requirement interval. The time n+ti is the time at which the initial transmission resource is determined to be conflicting. For example, ti is 100 milliseconds, and the terminal determines that the initial transmission resource conflicts at / 7+100 milliseconds; the terminal's processing delay is 10 milliseconds, and T21 is equal to the processing delay of the first terminal, which is also 10 milliseconds; the service delay requirement interval is 1000 milliseconds, ti+T22 is less than or equal to the service delay requirement interval, and T22 is 900 milliseconds. The reselection window is a window from time / 7+tl+10 to time / 7+tl+900. In summary, in the method provided in this mode, the resource listening window determined by the first terminal only includes a portion of the slots before slot m, where the selected resource is located, but not all of them. Therefore, during the resource reselection listening procedure, the listening time required is reduced, the power consumption of the first terminal is saved, and the battery life of the first terminal is improved. In an optional mode based on Figure 8, step 104 can be implemented as the following steps, as shown in Figure 9. In step 104a: a resource listening window is determined according to a listening window parameter. According to different types of listening window parameters, this first terminal step includes at least the following four implementation forms. In a first form, the listening window parameter includes: a first parameter k. The first terminal determines that the resource listening window includes: a portion of slots in A slots before slot m where the selected resource is located. As an example, the first terminal determines that the resource listening window includes: a resource listening window \mk, / 77-T3), where T3 is the time required for the first terminal to perform resource reselection. That is, the resource listening window is from slot / 77-Á- to slot / z?T3-l. As shown in Figure 10, this is implemented by configuring or preconfiguring another device or UE. If the first terminal determines the first parameter k, the first terminal determines that the resource listening window is \mk, / 77-T3), where T3 is the time required for the UE to perform resource reselection. In a second form, the listening window parameter includes: a bitmap and a starting position in the time domain of the bitmap. The first terminal determines that the resource listening window includes: at least one slot before slot m where the selected resource is located; at least one slot is specified in a time domain by the bitmap and the bitmap's time domain start position i; and the slot indicated by a bit with a first value in the bitmap is a slot in the resource listening window. The bitmap's time domain start position is v, optionally, i is equal to or greater than time n. The bitmap includes several bits. When the i-th bit is 1, it means that the (v+i)-th slot belongs to the resource listening window; when the i-th bit is 0, it means that the (v+i)-th slot does not belong to the resource listening window.Or, when the i-th bit is 0, it represents that the (v+i)th slot belongs to the resource listening window; when the i-th bit is 1, it represents that the (v+i)th slot does not belong to the resource listening window. As shown in Figure 11, it is implemented through the configuration or preconfiguration of another device or UE. The first terminal determines the bitmap 111010101 and the starting position of the time domain v of the bitmap, then the first terminal determines that the resource listening window is a plurality of slots corresponding to the bits of 1. For example, when the last slot indicated by the bitmap and the starting position in the time domain of the bitmap is in or after slot / 7>T3, the last slot of the resource listening window is changed to a slot m-T3-1; where T3 is the time when the first terminal performs resource selection. In a third way, the listening window parameter includes: a second parameter P1 and a third parameter P2. The first terminal determines that the resource listening window includes: slot m-P1 to slot m-P2. P1 and P2 are integers. As shown in Figure 12, this is implemented through the configuration or preconfiguration of another device or UE. If the first terminal determines the second parameter P1 and the third parameter P2, the first terminal determines that the resource listening window is [ / tt-PI, / 77-P2). For example, when slot m-P2 is later than or equal to slot m-T3, the last slot in the resource listening window is checked to slot / 77-T3-1; where T3 is the time it takes the first terminal to perform resource selection. In a fourth way, the listening window parameter includes: a fourth parameter u and a fifth parameter t. The first terminal determines that the resource listening window includes: slot ua, slot ¿ / +t, and slot ua, slot ¿ / +t are located before slot m where the selected resource is found, uy fson integers. As shown in Figure 13, it is implemented through the configuration or preconfiguration of another device or UE. The first terminal determines the fourth parameter u and the fifth parameter t, and the first terminal determines that the resource listening window is [u, u+f). Optionally, when slot u+t is equal to or after slot ztt-T3, the resource listening window is determined to include: slot ua and slot / T / -T3-1; when slot u+t is before slot ztt-T3, the resource listening window is determined to include: slot ua and slot u+t. Slot ua and slot u+t are located before slot m where the selected resource is located, and T3 is the time when the first terminal selects the resource. In an optional modality based on Figure 8, as shown in Figure 14, the above method also includes the following steps. In step 101a: configuration signaling is received, where the configuration signaling is used to configure a listening window parameter. The first terminal receives the configuration signal sent by another device. The configuration signal is used to configure any of the four listening window parameters mentioned above. In one example, the other device is a network device (also called a network-side device or an access network device), and the network device sends an initial configuration signal to the first terminal. The first terminal receives the initial configuration signal sent by the network device. The initial configuration signal includes: downlink control information (DCI); or, radio resource control (RRC) signaling; or, a system information block (SIES) message, as shown in Figure 15. Taking network equipment such as an evolved base station (eNB) or a 5G base station (gNB) as an example, DCI is the control information transmitted by the eNB / gNB to the UE on the physical downlink control channel (PDCCH). RRC signaling is a method for the eNB / gNB to configure the UE when the UE is in the RRC connection state. The SIB message is system information obtained when the UE initially accesses the network and is typically sent periodically by the eNB / gNB. After the UE has accessed the network, it may still receive some SIB messages sent by the network. In another example, shown in Figure 16, vehicle grouping is one of the scenarios recently introduced in NR-V2X. This involves several vehicles forming a fleet and traveling at the same speed. In the vehicle grouping scenario, a lead vehicle (11) at the front of the group or a trailing vehicle (12) at the back of the group often acts as the lead vehicle and performs the tasks related to configuration, resource selection, and resource allocation for the vehicles in the group. Similar situations where several vehicles form a group exist in other NR-V2X scenarios. Additionally, two-stage side link control information (2-stage SCI) is also introduced in NR-V2X.In a 2-stage SCI example, the first side-link control information that stores information related to resource discovery is transmitted on PSCCH, and the second side-link control information that stores remaining information is transmitted on PSSCH. Taking as an example the first terminal acting as the group terminal and the third terminal acting as the group head terminal, the third terminal acting as the group head sends a second configuration signal to the first terminal, and the first terminal receives the second configuration signal sent by the third terminal acting as the group head. The second configuration signal includes: first side-link control information; or, second side-link control information; or PC5-RRC signaling; where the first side-link control information is side-link control information transmitted on the PSCCH, and the second side-link control information is side-link control information transmitted on the PSSCH, as shown in Figure 17. In an optional mode based on Figure 14, configuration signaling is used to configure the first terminal independently, or it is used to configure multiple terminals using the same resource pool. Specifically, configuration signaling is used to configure the listening window parameter for the first terminal; or it is used to configure the listening window parameter for multiple terminals using the same resource pool. Similar to Figure 14, the terminal can also receive pre-configuration information, which is used to configure the listening window parameter. Pre-configuration refers to the situation where certain settings are pre-written when the terminal leaves the factory. Pre-configuration can also mean that the UE receives configuration information from a network device within a coverage area, and when the UE leaves the coverage area, the previous configuration information is still used. In an optional modality based on Figure 8, as shown in Figure 18, the above method also includes the following steps. In step 101b, configuration signaling is received, where configuration signaling is used to configure whether resource reselection is performed after selecting the selected resource. The first terminal receives the configuration signal sent by another device. The configuration signal is used to configure whether resource reselection (!AQAnn / ZZnZ / E / YIAI) is performed after the selected resource has been chosen. In one example, the other device is a network device (also called a network-side device or an access network device), and the network device sends the first configuration signal to the first terminal. The first terminal receives the first configuration signal sent by the network device, where the first configuration signal includes: DCI; or RRC signaling; or, a SIB message. In another example, taking the first terminal as the group terminal and the third terminal as the group head, the third terminal, as the group head, sends the second configuration signal to the first terminal, and the first terminal receives the second configuration signal sent by the third terminal as the group head. The second configuration signal includes: first side-link control information; second side-link control information; or PC5-RRC signaling, where the first side-link control information is side-link control information transmitted on the PSCCH, and the second side-link control information is side-link control information transmitted on the PSSCH. In an optional mode based on Figure 18, configuration signaling is used to configure the first terminal independently, or it is used to configure multiple terminals using the same resource pool. Specifically, configuration signaling is used to configure the first terminal to perform resource reselection after selecting the desired resource; or it is used to configure multiple terminals using the same resource pool to perform resource reselection after selecting the desired resource. The multiple terminals include the first terminal. As a parallel modality to Figure 18, the terminal can also receive pre-configuration information, and the pre-configuration information is used to configure whether to perform resource reselection after selecting the selected resource. It should be noted that when the configuration scenario requires resource reselection after selecting the chosen resource, the configuration signal shown in Figure 14 and Figure 18 may be the same signal; that is, the configuration signal is used not only to configure resource reselection after selecting the chosen resource but also to configure the listening window parameter. However, in some other modes, the configuration signal in Figure 14 and Figure 18 may be two different signals. Another point that needs to be explained is that the listening window parameters mentioned above and whether to perform resource reselection for the selected resource !AQAnn / ZZnZ / E / YIAI can also be done through the internal code of the first terminal without the need for configuration by another device. Another point that needs clarification is that the terminal can decide for itself whether to perform a resource reselection operation after selecting a resource and determining the relevant parameters. For example, the terminal can decide whether to perform resource reselection based on its remaining power or the measured channel bus ratio (CBR). Resource reselection is performed when the terminal's remaining power or measured CBR is relatively high. Otherwise, resource reselection is not performed. Resource reselection here refers to determining the resource listening window. Based on the listening results from that window, if a resource conflict occurs between the selected resource and the reserved resource of the second terminal, resource reselection is performed on the selected resource.If the resource reselection operation is not performed, it is not necessary to determine the resource listening window or to listen. Figure 19 shows a block diagram of a resource selection device as shown in an exemplary embodiment of this application. The device is applied to, or implemented as, a first terminal, and includes: a determination module 1920, configured to determine a resource listening window, where the resource listening window includes a portion of slots before a slot m where a selected resource is located; A 1940 reselection module, configured to perform a resource reselection on the selected resource when the listening result of the resource listening window is that the selected resource has a resource conflict with a reserved resource of the second terminal. In an optional mode, the 1920 determination module is configured to determine the resource listening window according to a listening window parameter. In an optional mode, the listening window parameters include: a first parameter Xr, the determination module 1920 is configured to determine that the resource listening window includes: a portion of k slots before slot m where the selected resource is located. In an optional mode, the listening window parameter includes: a bitmap and a starting position in the time domain of the bitmap; The determination module 1920 is configured to determine that the resource listening window includes: at least one slot before slot m where the selected resource !AQAnn / ZZnZ / E / YIAI is located, and the at least one slot is specified in a time domain by the bitmap and the time domain start position of the bitmap, and a slot indicated by a bit with a first value in the bitmap is the slot in the resource listening window. In an optional mode, the listening window parameter includes: a second parameter P1 and a third parameter P2; The determination module 1920 is configured to determine that the resource listening window includes: slot / 77-Pl to slot / n-P2. In an optional mode, the listening window parameter includes: a fourth parameter uy and a fifth parameter or the determination module 1920 is configured to determine that the resource listening window includes: slot ua and slot u+t, where slot ua and slot u+t are located before slot m where the selected resource is located. In an optional mode, the device further includes: a revision module 1980, configured to, when the last slot of the resource listening window determined by the determination module 1920 is in slot / 77-T3 or after slot / tt-T3, revise the last slot of the resource listening window to slot rz?-T3-l; where T3 is the moment when the first terminal performs the resource selection. The 1960 receiver module is configured to receive configuration signaling, where the configuration signaling is used to configure the listening window parameter. In an optional mode, the 1960 receiver module is configured to receive the first configuration signaling sent by a network device, where the first configuration signaling includes: downlink control information (DCI); or radio resource control (RRC) signaling; or a system information block (SIB) message. In an optional mode, the 1960 receiver module is configured to receive a second configuration signal sent by a third terminal acting as a group head, where the second configuration signal includes: first side-link control information; or, second side-link control information; or PC5-RRC signaling; where the first side-link control information is side-link control information transmitted on a PSCCH, and the second side-link control information is side-link control information transmitted on a PSSCH. In an optional mode, configuration signaling is used to configure the listening window parameter for the first terminal; or, configuration signaling is used to configure the listening window parameter for multiple terminals using the same resource group, and the multiple terminals include the first terminal. ! AQAnn / ZZnZ / E / YIAI In an optional mode, the device also includes: a 1960 receiving module, configured to receive pre-configuration information, where the pre-configuration information is used to configure the listening window parameter. In an optional mode, the device also includes: a 1960 receiver module, configured to receive configuration signaling, where the configuration signaling is used to configure whether resource reselection is performed after the selected resource has been selected. In an optional mode, the 1960 receiver module is configured to receive the first configuration signaling sent by a network device, where the first configuration signaling includes: downlink control information (DCI); or radio resource control (RRC) signaling; or a system information block (SIB) message. In an optional mode, the 1960 receiver module is configured to receive a second configuration signal sent by a third terminal acting as a group head, where the second configuration signal includes: first side-link control information; or, second side-link control information; or PC5-RRC signaling; where the first side-link control information is side-link control information transmitted on the PSCCH, and the second side-link control information is side-link control information transmitted on the PSSCH. In an optional mode, configuration signaling is used to configure the first terminal if resource reselection is performed after selecting the chosen resource; or, configuration signaling is used to configure multiple terminals using the same resource group if resource reselection is performed after selecting the chosen resource, including the first terminal. In an optional mode, the device also includes: a 1960 receiver module, configured to receive pre-configuration information, where the pre-configuration information is used to configure whether the first terminal performs resource reselection after selecting the selected resource. Figure 20 shows a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application. The terminal includes: a processor 101, a receiver 102, a transmitter 103, a memory 104, and a bus 105. The 101 processor includes one or more processing cores, and the 101 processor runs various functional applications and information processing by running software programs and modules. Receiver 102 and transmitter 103 can be implemented as a communication component, which can be a communication chip. Memory 104 is connected to processor 101 via bus 105. ! AQAnn / ZZnZ / E / YIAI Memory 104 can be configured to store at least one instruction, and processor 101 is configured to execute at least one instruction, to implement various steps in the modes of the above method. In addition, memory 104 can be implemented using any type or combination of volatile or non-volatile storage devices including, but not limited to, a magnetic or optical disk, an erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a static random access memory (SRAM), a read-only memory (ROM), a magnetic memory, a flash memory, and a programmable read-only memory (PROM). In one exemplary mode, a computer-readable storage medium is also provided. The computer-readable storage medium stores at least one instruction, at least one program piece, code set, or instruction set, which is loaded and executed by the processor to implement the resource selection method executed by the terminal provided by each of the modes of the above method. Those skilled in the art may understand that all or part of the implementation steps for the above methods can be completed using hardware, or they can be completed by means of relevant hardware instructions through a program, and the program can be stored on a computer-readable storage medium. The storage medium mentioned can be read-only memory, a magnetic disk, an optical disk, etc. The descriptions above are merely optional modalities of this application and are not intended to limit it. Any modifications, equivalent replacements, improvements, etc., made within the spirit and principles of this application shall be included within the scope of protection of this application.

Claims

1. A resource selection method, applied to a first terminal, the method comprising: determining a resource listening window, wherein the resource listening window comprises a portion of slots before a slot m where a selected resource is located; and when a listening result of the resource listening window is that a resource conflict occurs between the selected resource and a reserved resource of a second terminal, performing a resource reselection on the selected resource.

2. The method according to claim 1, further characterized in that the resource conflict occurring between the selected resource and a reserved resource of a second terminal comprises: the selected resource is advanced by means of the second terminal, a data priority of the second terminal is greater than that of the first terminal, and a Received Reference Signal Energy (RSRP) measured by means of the first terminal is greater than a first threshold; and / or the selected resource has been reserved by means of the second terminal, and the RSRP measured by means of the first terminal is greater than a first threshold.

3. The method according to claim 1, further characterized in that the determination of the resource listening window comprises: determining the resource listening window according to a listening window parameter.

4. The method according to claim 3, further characterized in that the listening window parameter comprises: a first parameter k-, and the determination of the resource listening window according to the listening window parameter comprises: determining that the resource listening window comprises: a portion of k slots before slot m where the selected resource is located.

5. The method according to claim 3, further characterized in that the listening window parameter comprises: a bitmap and a time-domain start position of the bitmap; and the determination of the resource listening window according to the listening window parameter comprises: determining that the resource listening window comprises: at least one slot prior to slot m where the selected resource is located, the at least one slot being specified in a time domain by the bitmap and the time-domain start position of the bitmap, and a slot indicated by a bit having a first value in the bitmap is the slot in the resource listening window.

6. The method according to claim 3, further characterized in that the listening window parameter comprises: a second parameter P1 and a third parameter P2; the determination of the resource listening window according to the listening window parameter comprises: determining that the resource listening window comprises: a slot / 7?-Pl to a slot / tfP2.

7. The method according to any of claims 2 to 6, further characterized in that the method further comprises: receiving configuration signaling, wherein the configuration signaling is used to configure the listening window parameter.

8. The method according to claim 7, further characterized in that the reception of the configuration signaling comprises: receiving the first configuration signaling sent by a network device, wherein the first configuration signaling comprises: downlink control information (DCI); or radio resource control signaling (RRC); or a system information block (SIB) message.

9. The method according to claim 7, further characterized in that: the configuration signaling is used to configure the listening window parameter for a plurality of terminals using the same resource group, and the plurality of terminals comprises the first terminal. 10.- The method according to any of claims 2 to 6, further characterized in that the method further comprises: receiving pre-configuration information, wherein the pre-configuration information is used to configure the listening window parameter.

11. The method according to any of claims 1 to 6, further characterized in that the method further comprises: receiving preconfiguration information sent by means of a network device, wherein the preconfiguration information is used to configure whether the first terminal performs resource reselection after selecting the selected resource.

12. A resource selection apparatus, comprising: a determination module, configured to determine a resource listening window, wherein the resource listening window comprises a portion of slots before a slot m where a selected resource is located; and a reselection module, configured to perform a resource reselection on the selected resource when a listening result from the resource listening window is that a resource conflict occurs between the selected resource and a reserved resource of a second terminal.

13. The apparatus according to claim 12, further characterized in that the resource conflict occurring between the selected resource and a reserved resource of a second terminal comprises: the selected resource is advanced by means of the second terminal, a data priority of the second terminal is greater than that of the first terminal, and a Received Reference Signal Energy (RSRP) measured by means of the first terminal is greater than a first threshold; and / or the selected resource has been reserved by means of the second terminal, and the RSRP measured by means of the first terminal is greater than the first threshold.

14. The apparatus according to claim 12, further characterized in that the determination module is configured to determine the resource listening window according to a listening window parameter.

15. The apparatus according to claim 14, further characterized in that the listening window parameter comprises: a first parameter k, the determination module is configured to determine that the resource listening window comprises: a portion of A-slots before the slot m where the selected resource is located.

16. The apparatus according to claim 14, further characterized in that the listening window parameter comprises: a bitmap and a starting position in the time domain of the bitmap; the determination module is configured to determine that the resource listening window comprises: at least one slot before slot m where the selected resource is located, the at least one slot being specified in a time domain by the bitmap and the starting position in the time domain of the bitmap, and a slot indicated by a bit having a first value in the bitmap is the slot in the resource listening window.

17. The apparatus according to claim 14, further characterized in that the listening window parameter comprises: a second parameter P1 and a third parameter P2; the determination module is configured to determine that the resource listening window comprises: a slot m-P1 to a slot m-P2. 18.- The apparatus according to any of claims 14 to 17, further characterized in that the apparatus further comprises: a receiving module, configured to receive configuration signaling, wherein the configuration signaling is used to configure the listening window parameter.

19. The apparatus according to claim 18, further characterized in that: the receiver module is configured to receive the first configuration signal sent by a network device, wherein the first configuration signal comprises: downlink control information (DCI); or radio resource control signal (RRC); or a system information block (SIB) message.

20. The apparatus according to claim 18, further characterized in that: the configuration signaling is used to configure the listening window parameter for a plurality of terminals using the same resource group, and the plurality of terminals (AQAnn / zznz / E / YiAi) comprises the first terminal.

21. The apparatus according to any of claims 14 to 17, further characterized in that the apparatus further comprises: a receiving module, configured to receive pre-configuration information, wherein the pre-configuration information is used to configure the listening window parameter.

22. The apparatus according to any of claims 14 to 17, further characterized in that the apparatus further comprises: a receiving module, configured to receive pre-configuration information sent by a network device, wherein the pre-configuration information is used to configure whether the first terminal performs resource re-selection after selecting the selected resource.

23. A resource selection apparatus, comprising: a processor; a transceiver connected to the processor; and a memory for storing executable instructions for the processor; wherein the processor is configured to load and execute the executable instructions to: determine a resource listening window, wherein the resource listening window comprises a portion of slots prior to a slot m where a selected resource is located; and a reselection module, configured to perform resource reselection on the selected resource when a listening result from the resource listening window is that a resource conflict occurs between the selected resource and a reserved resource of a second terminal.

24. The apparatus according to claim 23, further characterized in that the resource conflict occurring between the selected resource and a reserved resource of a second terminal comprises: the selected resource is advanced by means of the second terminal, a data priority of the second terminal is greater than that of the first terminal, and a Received Reference Signal Energy (RSRP) measured by means of the first terminal is greater than a first threshold; and / or the selected resource has been reserved by means of the second terminal, and the RSRP measured by means of the first terminal is greater than the first threshold.

25. The apparatus according to claim 23, further characterized in that the processor is further configured to determine the resource listening window according to a listening window parameter.

26. The apparatus according to claim 25, further characterized in that the listening window parameter comprises: a first parameter k, the determination module is configured to determine that the resource listening window comprises: a portion of k slots before slot m where the selected resource is located.

27. The apparatus according to claim 25, further characterized in that the listening window parameter comprises: a bitmap and a starting position in the time domain of the bitmap; the processor is further configured to determine that the resource listening window comprises: at least one slot prior to slot m where the selected resource is located, the at least one slot being specified in a time domain by the bitmap and the starting position in the time domain of the bitmap, and a slot indicated by a bit having a first value in the bitmap is the slot in the resource listening window.

28. The apparatus according to claim 25, further characterized in that the listening window parameter comprises: a second parameter P1 and a third parameter P2; the processor is further configured to determine that the resource listening window comprises: a / 7?-P1 slot to a / 77-P2 slot.

29. The apparatus according to any of claims 24 to 28, further characterized in that the processor is further configured to: receive configuration signaling, wherein the configuration signaling is used to configure the listening window parameter.

30. The apparatus according to claim 29, further characterized in that: the processor is further configured to receive the first configuration signal sent by a network device, wherein the first configuration signal comprises: downlink control information (DCI); or radio resource control signal (RRC); or a system information block (SIB) message.

31. The apparatus according to claim 29, further characterized in that: the configuration signaling is used to configure the listening window parameter for a plurality of terminals using the same resource group, and the plurality of terminals comprises the first terminal. 32.- The method according to any of claims 24 to 28, further characterized in that the processor is additionally configured to: receive preconfiguration information, wherein the preconfiguration information is used to configure the listening window parameter.

33. The method according to any of claims 23 to 28, further characterized in that the processor is additionally configured to: receive preconfiguration information sent by means of a network device, wherein the preconfiguration information is used to configure whether the first terminal performs resource reselection after selecting the selected resource.

34. A computer-readable storage medium, wherein the executable instructions are stored in the readable storage medium, and a processor loads and executes the executable instructions to implement the resource selection method of any of claims 1 to 11.