Resource selection method and device, equipment and storage medium

By excluding and filtering the resource set in SL communication, the terminal equipment selects continuous resources in the time domain, solving the problem of low resource selection efficiency in the prior art, and improving channel utilization rate and user competition channel capabilities.

CN119729778APending Publication Date: 2025-03-28GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510017127.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-07-18
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In SL communication, further research is still needed on how terminal devices can efficiently select and exclude transmission resources to improve channel utilization and user competing channel capabilities.

Method used

By excluding resource sets, the terminal device selects continuous resources in the time domain and filters and initializes resources according to the RSRP threshold and resource reservation period to ensure that the candidate resource set contains continuous resources in the time domain.

Benefits of technology

It realizes that the terminal device selects continuous resources in the time domain in the candidate resource set, supports B2B transmission, and improves the utilization rate of channel occupation time and the competing channel capabilities of SL-U users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729778A_ABST
    Figure CN119729778A_ABST
Patent Text Reader

Abstract

The invention discloses a resource selection method and device, equipment and a storage medium, and relates to the technical field of communication. The method comprises: after performing resource exclusion on a first resource set, selecting a transmission resource in the first resource set, any one resource in the first resource set being a first resource, the first resource corresponding to N consecutive time units on a time domain, N being an integer greater than 1 (710). In the embodiment of the invention, the candidate resource set obtained after the resources are excluded comprises the continuous resources on the time domain, so that when the terminal equipment selects the transmission resources from the candidate resource set, the continuous resources on the time domain can be selected, B2B transmission is supported, the utilization rate of COT can be improved, and the SL-U user can compete for channels.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with application number 202280095024.2 filed on July 18, 2022, and invention name “Resource selection method, exclusion method, device, equipment and storage medium”. Technical Field

[0002] The embodiments of the present application relate to the field of communication technology, and in particular to a resource selection method, device, equipment and storage medium. Background Art

[0003] In SL (Sidelink) communication, the terminal device can select transmission resources in the resource pool by listening. With the evolution of technology, how the terminal device selects and excludes resources needs further study. Summary of the invention

[0004] The embodiments of the present application provide a resource selection method, exclusion method, device, equipment and storage medium. The technical solution is as follows:

[0005] According to one aspect of an embodiment of the present application, a resource selection method is provided, the method being executed by a terminal device, the method comprising:

[0006] After excluding resources from the first resource set, a transmission resource is selected from the first resource set, any one resource in the first resource set is a first resource, and the first resource corresponds to N continuous time units in the time domain, where N is an integer greater than 1.

[0007] According to one aspect of an embodiment of the present application, a resource exclusion method is provided, the method being executed by a terminal device, the method comprising:

[0008] After excluding the second resource set, if the number of second resources in the second resource set that meet the first condition is less than the first threshold, the RSRP (Reference Signal Receiving Power) threshold is raised, and after initializing the second resource set, the second resource set is excluded again; wherein, the first condition includes that there are non-excluded second resources for at least N consecutive time units starting from the time unit where the second resource is located, and N is an integer greater than 1.

[0009] According to one aspect of an embodiment of the present application, a resource selection device is provided, the device comprising:

[0010] The selection module is used to select transmission resources in the first resource set after excluding resources from the first resource set, any one resource in the first resource set is a first resource, and the first resource corresponds to N continuous time units in the time domain, where N is an integer greater than 1.

[0011] According to one aspect of an embodiment of the present application, a resource exclusion device is provided, the device comprising:

[0012] An exclusion module is used to raise the reference signal received power RSRP threshold after excluding the second resource set, if the number of second resources in the second resource set that meet the first condition is less than a first threshold, and initialize the second resource set before re-excluding the second resource set; wherein the first condition includes that there are at least N consecutive time units starting from the time unit where the second resource is located, and that non-excluded second resources exist, and N is an integer greater than 1.

[0013] According to one aspect of an embodiment of the present application, a terminal device is provided, comprising a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program to implement the above-mentioned resource selection method or resource exclusion method.

[0014] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is used to be executed by a processor to implement the above-mentioned resource selection method or resource exclusion method.

[0015] According to one aspect of an embodiment of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions. When the chip is running, it is used to implement the above-mentioned resource selection method or resource exclusion method.

[0016] According to one aspect of an embodiment of the present application, a computer program product is provided, which includes computer instructions stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to implement the above-mentioned resource selection method or resource exclusion method.

[0017] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0018] The candidate resource set obtained after resource exclusion includes resources that are continuous in the time domain, thereby ensuring that the terminal device can select resources that are continuous in the time domain when selecting transmission resources from the candidate resource set, supporting B2B (Back to Back) transmission, which is beneficial to improving the utilization rate of COT (Channel Occupancy Time) and facilitating SL-U users to compete for channels. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a schematic diagram of a network architecture provided by an embodiment of the present application;

[0020] Figure 2 It is a schematic diagram of the physical layer structure of SL communication provided by an embodiment of the present application;

[0021] Figure 3 It is a schematic diagram of time-frequency resource location reservation provided by an embodiment of the present application;

[0022] Figure 4 It is a schematic diagram of resource monitoring and resource selection provided by an embodiment of the present application;

[0023] Figure 5 is a schematic diagram of a comb-tooth resource block provided by an embodiment of the present application;

[0024] Figure 6 It is a schematic diagram of resource block set division provided by an embodiment of the present application;

[0025] Figure 7 is a flow chart of a resource selection method provided by an embodiment of the present application;

[0026] Figure 8 yes Figure 7 A schematic diagram of resource selection given by an exemplary embodiment corresponding to the embodiment;

[0027] Fig. 9 is a flow chart of a resource exclusion method provided by another embodiment of the present application;

[0028] Fig.10 yes Fig. 9 A schematic diagram of resource exclusion given by an exemplary embodiment corresponding to the embodiment;

[0029] Fig.11 is a block diagram of a resource selection device provided by an embodiment of the present application;

[0030] Fig.12 is a block diagram of a resource exclusion device provided by an embodiment of the present application;

[0031] Fig.13It is a structural diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0033] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0034] Please refer to Figure 1 , which shows a schematic diagram of a network architecture provided by an embodiment of the present application. The network architecture may include: a core network 11, an access network 12 and a terminal device 13.

[0035] The core network 11 includes several core network devices. The functions of the core network devices are mainly to provide user connection, user management, and service bearing, and to provide an interface to the external network as a bearer network. For example, the core network of the 5G (5th Generation) NR (New Radio) system may include devices such as AMF (Access and Mobility Management Function) entity, UPF (User Plane Function) entity, and SMF (Session Management Function) entity.

[0036] The access network 12 includes several access network devices 14. The access network in the 5G NR system can be called NG-RAN (New Generation-Radio Access Network). The access network device 14 is a device deployed in the access network 12 to provide wireless communication functions for the terminal device 13. The access network device 14 may include various forms of macro base stations, micro base stations, relay stations, access points, etc. In systems using different wireless access technologies, the names of devices with access network device functions may be different. For example, in the 5G NR system, it is called gNodeB or gNB. With the evolution of communication technology, the name "access network device" may change. For the convenience of description, in the embodiments of the present disclosure, the above-mentioned devices that provide wireless communication functions for the terminal device 13 are collectively referred to as access network devices.

[0037] The number of terminal devices 13 is usually multiple, and one or more terminal devices 13 can be distributed in each cell managed by an access network device 14. The terminal device 13 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment, mobile stations (MS), etc. For the convenience of description, the above-mentioned devices are collectively referred to as terminal devices. The access network device 14 communicates with the core network device through some air technology, such as the NG interface in the 5G NR system. The access network device 14 and the terminal device 13 communicate with each other through some air technology, such as the Uu interface.

[0038] Terminal devices 13 and terminal devices 13 (for example, vehicle-mounted devices and other devices (such as other vehicle-mounted devices, mobile phones, RSU (Road Side Unit), etc.)) can communicate with each other through a direct communication interface (such as a PC5 interface). Accordingly, the communication link established based on the direct communication interface can be called a direct link or SL. SL transmission is the direct communication data transmission between terminal devices through a side link. Different from the traditional cellular system in which communication data is received or sent through access network equipment, SL transmission has the characteristics of short delay and low overhead, and is suitable for communication between two terminal devices with close geographical locations (such as vehicle-mounted devices and other peripheral devices with close geographical locations). It should be noted that in Figure 1 In this application, only the vehicle-to-vehicle communication in the V2X (vehicle to everything) scenario is used as an example. SL technology can be applied to scenarios where various terminal devices communicate directly with each other. In other words, the terminal device in this application refers to any device that communicates using SL technology.

[0039] The "5G NR system" in the embodiments of the present disclosure may also be referred to as a 5G system or an NR system, but those skilled in the art may understand its meaning. The technical solution described in the embodiments of the present disclosure may be applicable to a 5G NR system or to a subsequent evolution system of the 5G NR system.

[0040] Before introducing the technical solution of this application, some background technical knowledge involved in this application is first introduced and explained. The following related technologies can be combined arbitrarily with the technical solution of the embodiment of this application as optional solutions, and they all belong to the protection scope of the embodiment of this application. The embodiment of this application includes at least part of the following contents.

[0041] 1.SL transmission

[0042] Regarding SL transmission, 3GPP defines two transmission modes: Mode A and Mode B.

[0043] Mode A: The transmission resources of the terminal device are allocated by the access network device (such as a base station). The terminal device transmits communication data on the side link according to the transmission resources allocated by the access network device. The access network device can allocate transmission resources for a single transmission to the terminal device, or allocate transmission resources for a semi-static transmission to the terminal device.

[0044] Mode B: The terminal device selects transmission resources from the resource pool to transmit communication data. Specifically, the terminal device can select transmission resources from the resource pool by listening, or by random selection.

[0045] Next, we will mainly introduce the method of autonomous resource selection of terminal devices in SL communication in the NR V2X system (that is, the above-mentioned mode B).

[0046] 2.NR V2X physical layer structure

[0047] The physical layer structure of SL communication in NR V2X system is as follows: Figure 2 As shown. PSCCH (Physical Sidelink Control Channel) is used to carry 1st-stage-SCI (i.e. first-stage SCI (Sidelink Control Information)), and PSSCH (Physical Sidelink Shared Channel) is used to carry data and 2nd-stage-SCI (i.e. second-stage SCI). PSCCH and PSSCH are sent in the same time slot. The above-mentioned first-stage SCI and second-stage SCI can be two side control information with different functions. For example, the first-stage SCI is carried in PSCCH, which mainly includes domains related to resource listening, so as to facilitate resource exclusion and resource selection after decoding by other terminal devices. In PSSCH, in addition to data, it also carries second-stage SCI. The second-stage SCI mainly includes domains related to data demodulation, so as to facilitate other terminal devices to demodulate the data in the PSSCH.

[0048] 3. Resource reservation in NR V2X

[0049] In the NR V2X system, in the above-mentioned mode B, the terminal device selects transmission resources to send data on its own. Resource reservation is the prerequisite for resource selection.

[0050] Resource reservation means that the terminal device sends the first sideline control information (such as the first-order SCI mentioned above) in the PSCCH to reserve the resources to be used next. In the NR V2X system, resource reservation within a TB (Transport Block) is supported, as well as resource reservation between TBs.

[0051] like Figure 3 As shown, the terminal device sends the first side control information, using the "Time resource assignment" and "Frequency resource assignment" fields to indicate the N time-frequency resources of the current TB (including the resources used for the current transmission). Where N≤Nmax, in NR V2X, Nmax is equal to 2 or 3. At the same time, the above N indicated time-frequency resources should be distributed in W time slots. In NR V2X, W is equal to 32. For example, Figure 3 In TB1 shown in the figure, the terminal device sends the first sideline control information in PSCCH while sending the initial transmission data in PSSCH, and uses the above two fields to indicate the time-frequency resource positions of the initial transmission and retransmission 1 (that is, N=2 at this time), that is, the time-frequency resources for retransmission 1 are reserved. In addition, the initial transmission and retransmission 1 are distributed in 32 time slots in the time domain. Similarly, in Figure 3 In TB1 shown, the terminal device indicates the time-frequency resource positions of retransmission 1 and retransmission 2 using the first sidelink control information sent in the PSCCH of retransmission 1. Retransmission 1 and retransmission 2 are distributed in 32 time slots in the time domain.

[0052] At the same time, when the terminal device sends the first side control information, it uses the "Resource reservation period" field to reserve resources between TBs. Figure 3In the example, when the terminal device sends the first sidelink control information of the initial transmission of TB1, the "Time resource assignment" and "Frequency resource assignment" fields are used to indicate the time-frequency resource positions of the initial transmission and retransmission 1 of TB1, which are recorded as {(t1, f1), (t2, f2)}. Among them, t1 and t2 represent the time domain positions of the resources of the initial transmission and retransmission 1 of TB1, and f1 and f2 represent the corresponding frequency domain positions. If the value of the "Resource reservation period" field in the first sidelink control information is 100 milliseconds, then the SCI (Sidelink Control Information) also indicates the time-frequency resources {(t1+100, f1), (t2+100, f2)}, and these two resources are used for the transmission of the initial transmission and retransmission 1 of TB2. Similarly, the first sidelink control information sent in TB1 retransmission 1 also reserves the time-frequency resources of TB2 retransmission 1 and retransmission 2 using the "Resource reservation period" field. In NR V2X, the possible values ​​of the "Resource reservation period" field are 0, 1-99, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 milliseconds, which is more flexible than LTE (Long Term Evaluation) V2X. However, in each resource pool, only e values ​​are configured, and the terminal device determines the possible values ​​to be used based on the resource pool used. The e values ​​in the resource pool configuration are recorded as the resource reservation period set M. For example, e is less than or equal to 16.

[0053] In addition, through network configuration or pre-configuration, the above-mentioned reservation between TBs can be activated or deactivated in units of resource pools. When activating the reservation between TBs, the first side control information includes the "Resource reservation period" field. When deactivating the reservation between TBs, the first side control information does not include the "Resource reservation period" field. When activating the reservation between TBs, generally, before triggering resource reselection, the value of the "Resource reservation period" field used by the terminal device, that is, the resource reservation period, will not change. Each time the terminal device sends the first side control information, it uses the "Resource reservation period" field to reserve the resources of the next period for the transmission of another TB, thereby achieving periodic semi-continuous transmission.

[0054] When the terminal device operates in the above-mentioned mode B, the terminal device can obtain the first sideline control information sent by other terminal devices by listening to the PSCCH sent by other terminal devices, thereby knowing the resources reserved by other terminal devices. When the terminal device selects resources, it will exclude the resources reserved by other terminal devices to avoid resource collision.

[0055] 4. Resource selection method for NR V2X listening

[0056] In the NR V2X system, in the above mode B, the terminal device needs to select resources by itself.

[0057] like Figure 4 As shown, the terminal device triggers resource selection or reselection in time slot n or time slot n is the time slot in which the high layer triggers the physical layer to report the candidate resource set, and the resource selection window 10 starts from n+T1 and ends at n+T2. 0<=T1<=T proc,1 , when the subcarrier spacing is 15, 30, 60, 120kHz, T proc,1 The time slots are 3, 5, 9, and 17. 2min <=T2<=remaining delay budget of the service, T 2min The value set is {1,5,10,20}*2 μ time slots, where μ = 0, 1, 2, 3 corresponds to the case where the subcarrier spacing is 15, 30, 60, 120 kHz. The terminal device determines T from the value set according to the priority of its own data to be sent. 2min For example, when the subcarrier spacing is 15kHz, the terminal device determines T from the set {1, 5, 10, 20} according to the priority of its own data to be sent. 2min When T 2min When T2 is greater than or equal to the remaining delay budget of the service, T2 is equal to the remaining delay budget of the service. The remaining delay budget is the difference between the corresponding time of the data delay requirement and the current time. For example, the delay requirement for a data packet arriving at time slot n is 50 milliseconds. Assuming that a time slot is 1 millisecond, if the current time is time slot n, the remaining delay budget is 50 milliseconds. If the current time is time slot n+20, the remaining delay budget is 30 milliseconds.

[0058] Terminal equipment is in n-T0 to nT proc,0 Perform resource monitoring (excluding nT proc,0 ), T0 is 100 or 1100 milliseconds. When the subcarrier spacing is 15, 30, 60, 120 kHz, T proc,0The terminal device may select 1, 1, 2, or 4 time slots. Optionally, the terminal device may select resources in the time slots of the resource pool used by the terminal device in the resource selection window. Optionally, the terminal device may select the first side control information sent by other terminal devices in each time slot (except its own transmission time slot). When the time slot n triggers resource selection or reselection, the terminal device may select resources in the time slots n-T0 to nT1. proc,0 The result of resource listening.

[0059] Step 1: The terminal device takes all available resources in the resource pool used by the terminal device in the resource selection window 10 as resource set A. Any resource in set A is denoted as R(x,y), where x and y indicate the frequency domain position and time domain position of the resource respectively. The initial number of resources in set A is denoted as M. total The terminal device excludes resources in resource set A according to the unlistened time slots (Step 1-1) in the resource listening window 20 and / or the resource listening results (Step 1-2) in the resource listening window 20. The terminal device determines whether the resource R(x, y) or a series of periodic resources corresponding to the resource R(x, y) overlaps with the time slot determined according to the unlistened time slots in Step 1-1 or the resource determined according to the first sideline control information heard in Step 1-2, and excludes the resource R(x, y) from resource set A if they overlap.

[0060] Step 1-1: If the terminal device is in time slot t within resource listening window 20 m Send data, no listening, the terminal device will be based on the time slot t m and each allowed resource reservation period in the resource pool used by the terminal device, and the corresponding Q time slots are determined with the resource reservation period as the interval. If the Q time slots overlap with the resource R(x,y) or a series of periodic resources corresponding to the resource R(x,y), the resource R(x,y) is excluded from the resource set A. The above Q = 1 or (represents rounding up). Tscal is equal to the value of T2 converted to milliseconds. Prx is a type of resource reservation period allowed by the resource pool used by the terminal device. Optionally, a series of periodic resources corresponding to the resource R(x,y) is R(x,y+j*Ptxlg), j=0,1,2,…,Cresel-1. Cresel is related to the random count value generated by the terminal device, and Ptxlg is the number of logical time slots converted from Ptx. Ptx is the resource reservation period of the terminal device. For example Figure 4 Sub-figure (a) shows the case where Cresel is 3, indicating three periodic resources (including R(x,y)) corresponding to resource R(x,y).

[0061] For example Figure 4 In subgraph (a), the terminal device is in time slot t mNo listening is performed, and resources are excluded according to each resource reservation period in the resource reservation period set M in the resource pool configuration used. For a resource reservation period 1, assuming that the Q value is calculated to be 2, the corresponding Q time slots are Figure 4 In sub-graph (a), from time slot t m The mapped resource reservation period 1 is followed by two time slots marked by horizontal lines. For one of the resource reservation periods 2, assuming that the Q value is calculated as Q = 1, the corresponding Q time slots are Figure 4 In sub-graph (a), from time slot t m The next time slot marked with dotted shadows with a resource reservation period of 2 is mapped.

[0062] The terminal device will determine whether the Q time slots corresponding to each reserved period overlap with the resource R(x, y) or a series of periodic resources corresponding to the resource R(x, y). If so, the resource R(x, y) will be excluded from the resource set A.

[0063] Optionally, when the resource pool used by the terminal device deactivates the reservation between TBs, the terminal device may not execute the above Step 1-1.

[0064] Optionally, after executing Step 1-1, if the remaining resources in resource set A are less than M total *X, then the resource set A is initialized to all available resources in the resource selection window 10 belonging to the resource pool used by the terminal device and then Step 1-2 is executed.

[0065] Step 1-2: If the terminal device is in the time slot t of the resource listening window 20 m The first sidelink control information transmitted in the PSCCH is detected, and the SL-RSRP (Sidelink Reference Signal Received Power) of the PSCCH or the SL-RSRP of the PSSCH scheduled by the PSCCH (i.e., the SL-RSRP of the PSSCH sent in the same time slot as the PSCCH) is measured.

[0066] If the measured SL-RSRP is greater than the SL-RSRP threshold, and the first sidelink control information received by the terminal device contains the "Resource reservation period" field, the terminal device will m The terminal device determines the corresponding Q time slots based on the resource reservation period carried in the first sideline control information intercepted. The terminal device assumes that the first sideline control information with the same content is also received in the Q time slots. The terminal device will determine the corresponding Q time slots in time slot t mWhether the resources indicated by the "Time resource assignment" and "Frequency resource assignment" fields of the received first side control information and the assumed Q first side control information are overlapped with the resource R(x, y) or a series of periodic resources corresponding to the resource R(x, y), if so, the corresponding resource R(x, y) is excluded from the set A. The above Q = 1 or (represents rounding up). Tscal is equal to the value of T2 converted to milliseconds. Prx is the resource reservation period carried in the first side control information detected. Optionally, a series of periodic resources corresponding to the resource R(x,y) is R(x,y+j*Ptxlg), j=0,1,2,…,Cresel-1. Wherein Cresel is related to the random count value generated by the terminal device, and Ptxlg is the number of Ptx converted to logical time slots. Ptx is the resource reservation period of the terminal device. For example Figure 4 Sub-figure (b) shows the case where Cresel is 3, indicating three periodic resources (including R(x,y)) corresponding to resource R(x,y).

[0067] For example Figure 4 In sub-figure (b), when the first sideline control information received by the terminal device contains the "Resourcereservation period" field, if the terminal device is in time slot t m The first sideline control information in the PSCCH is intercepted on the resource E(v,m). The resource reservation period in the first sideline control information is Prx. Assuming that the Q value is calculated to be 1, the terminal device will assume that in time slot t m+Prxlg The terminal device will determine whether the first sideline control information with the same content is received in time slot t m The first sideline control information received and assumed in time slot t m+Prxlg Whether the resources 1, 2, 3, 4, 5, 6 indicated by the "Time resource assignment" and "Frequency resource assignment" fields of the received first side control information overlap with the resource R(x, y) or a series of periodic resources corresponding to the resource R(x, y); if they overlap and meet the RSRP condition, the resource R(x, y) is excluded from the resource set A.

[0068] If the SL-RSRP measured by the terminal device is greater than the SL-RSRP threshold, and the first sidelink control information received by the terminal device does not contain the "Resource reservation period" field, the terminal device only determines the resource reservation period in time slot t mWhether the resources indicated by the "Time resource assignment" and "Frequency resource assignment" fields of the received first side control information overlap with the resource R(x, y) or a series of resources corresponding to the resource R(x, y); if so, the resource R(x, y) is excluded from the resource set A.

[0069] For example Figure 4 In sub-figure (b), when the first sideline control information received by the terminal device does not contain the "Resourcereservation period" field, if the terminal device is in time slot t m When the first sidelink control information in the PSCCH is detected on the resource E(v,m), the terminal device determines whether the resources 1, 2, 3 indicated by the "Time resource assignment" and "Frequency resource assignment" fields in the first sidelink control information overlap with the resource R(x,y) or a series of periodic resources corresponding to the resource R(x,y). If they overlap and the RSRP condition is met, the resource R(x,y) is excluded from the resource set A.

[0070] If the remaining resources in resource set A are less than M after the above resources are excluded total *X, the SL-RSRP threshold is raised by 3dB, and Step 1 is executed again. The physical layer reports the resource set A after resource exclusion as a candidate resource set to the upper layer.

[0071] Step 2: The upper layer randomly selects resources from the reported candidate resource set to send data. That is, the terminal device randomly selects resources from the candidate resource set to send data.

[0072] It should be noted that:

[0073] (1) The above RSRP threshold is determined by the priority P1 carried in the PSCCH detected by the terminal device and the priority P2 of the data to be sent by the terminal device. The configuration of the resource pool used by the terminal device includes an SL-RSRP threshold table, which contains the SL-RSRP thresholds corresponding to all priority combinations. The configuration of the resource pool can be network configuration or pre-configured.

[0074] For example, as shown in Table 1, assuming that the optional values ​​of the priority levels of P1 and P2 are both 0-7, the SL-RSRP thresholds corresponding to different priority combinations are expressed as γ ij Indicates that, where γ ij Here, i is the value of the priority level P1, and j is the value of the priority level P2.

[0075] Table 1: SL-RSRP threshold table

[0076]

[0077] When the terminal device detects the PSCCH sent by other terminal devices, it obtains the priority P1 and the priority P2 of the data to be sent carried in the first sideline control information transmitted in the PSCCH, and determines the SL-RSRP threshold by looking up Table 1.

[0078] (2) Whether the terminal device uses the measured PSCCH-RSRP or the PSSCH-RSRP scheduled by the PSCCH to compare with the SL-RSRP threshold depends on the resource pool configuration of the resource pool used by the terminal device. The resource pool configuration can be network configuration or pre-configured.

[0079] (3) The possible values ​​of X, X are {20%, 35%, 50%}. The configuration of the resource pool used by the terminal device includes the correspondence between the priority and the above possible values. The terminal device determines the value of X according to the priority of the data to be sent and the correspondence. The resource pool configuration can be configured by the network or pre-configured.

[0080] (4) Convert the resource reservation period into a logical time slot:

[0081] As mentioned above, the terminal device sends a first side control message to indicate the time-frequency resources and reserves the resources to be used next. When listening, the terminal device that performs resource selection will decode the first side control message sent by other terminal devices, learn the resources reserved by other terminal devices, and exclude the corresponding resources during resource selection, thereby avoiding resource collisions. When performing resource exclusion, the terminal device that performs resource selection will convert the physical time (for example, 100 milliseconds) indicated by the "resource reservation period" field in the decoded first side control message into the corresponding number of logical time slots, and then use the number of logical time slots to exclude resources:

[0082]

[0083] In the above formula, Prsvp is the resource reservation period, such as Prsvp is the resource reservation period indicated by the "resource reservation period" in the first side control information intercepted by the terminal device, or the resource reservation period allowed in the resource pool, or the resource reservation period of the terminal device, and P'rsvp is the calculated corresponding number of logical time slots. T'max is the number of time slots in the resource pool or the sending resource pool belonging to the terminal device within a SFN (System Frame Number) cycle or 10240 milliseconds.

[0084] The above introduction is a SL communication method in NR-V2X, that is, the terminal device autonomously selects transmission resources through resource listening and transmits data on the side link. This SL communication method can also be applied to various SL communications such as direct communication between handheld terminals and direct communication between pedestrians and vehicles.

[0085] 5. SL-U (Unlicensed) physical layer structure

[0086] When NR SL technology works on unlicensed spectrum, system design needs to consider the regulatory requirements of related areas, such as OCB (Occupied Channel Bandwidth) and PSD (Power Spectral Density) requirements. For example, for unlicensed spectrum in the 5GHz band, European regulatory requirements include minimum channel occupied bandwidth and maximum power spectral density requirements. For OCB requirements, when the terminal device uses the channel for data transmission, the occupied channel bandwidth is not less than 80% of the total channel bandwidth; in order to meet the OCB occupancy requirements, SL-U can refer to the IRB (Interlaced Resource Block) structure in NR-U. For example, the 80% bandwidth requirement here means that the span between the lowest and highest PRBs for transmission accounts for 80% of the total bandwidth. If you still follow Figure 2 If the frequency domain is continuously occupied, it will occupy 80% of the total bandwidth. Basically, only one user can be transmitted in one time slot. Figure 2 The continuous occupancy in the frequency domain is transformed into discrete occupancy, which satisfies the 80% span without actually occupying 80% of the bandwidth.

[0087] A comb tooth resource includes N PRBs that are discrete in the frequency domain. A frequency band includes a total of M comb tooth resources. The mth comb tooth includes PRBs {m, M+m, 2M+m, 3M+m, ...}.

[0088] like Figure 5 As shown in the figure: the system bandwidth includes 20 PRBs (one PRB corresponds to 12 subcarriers), including 5 comb teeth (i.e., M=5), each comb tooth includes 4 PRBs (i.e., N=4), and the frequency domain intervals of two adjacent PRBs in a comb tooth are the same, i.e., 5 PRBs apart. The numbers in the boxes in the figure represent the comb tooth index. It should be noted that the PRBs included in a comb tooth can also be called an interlaced resource block (IRB), and the comb tooth can also be called an IRB.

[0089] In addition to the IRB structure, the concept of RB set (Resource Block set) may also be introduced in SL-U.

[0090] The frequency domain resources on the carrier are divided into several resource block sets. Guard bands (referred to as "guard bands") may or may not be configured between resource block sets. For example, one RB set corresponds to a frequency domain width of 20MHz. Communication equipment needs to perform LBT (Listen Before Talk) on the unlicensed spectrum. Data can only be sent after LBT is successful. The granularity of LBT is one RB set, so one RB set can also be called an LBT subband. That is, if the communication device sends data on a certain RB set, it needs to perform LBT on the corresponding RB set, and transmission is performed after LBT is successful. One RB set includes multiple IRBs. For simplicity, Figure 6 In the example, a resource block actually corresponds to Figure 5 Generally, a BWP configured for a communication device includes an integer number of RB Sets.

[0091] In SL-U, one possible design is that the resource pool contains an integer number of RB sets (and guard bands between RB sets), and each RB set contains multiple IRBs. Furthermore, one possibility is that the concept of subchannels in the resource pool continues to be used, that is, a subchannel is defined as one or more IRBs. Another possibility is that the concept of subchannels is not used, and the terminal device directly transmits on one or more IRBs.

[0092] 6. Specific classification of LBT

[0093] Type 1: Generate a random count value. If the monitored time slot is idle, it is reduced by 1. If it is busy, it is not reduced. When it is reduced to 0, the channel can be accessed for transmission. If the count value is reduced to 0 and the communication device has no data to transmit, when the communication device needs to send data, there is no need to generate a new count value. Only an LBT with a fixed time length is required. If the LBT is successful, that is, the channel is idle within the fixed length, the channel is accessed.

[0094] Type 2A: The communication device can monitor a channel with a length of 25 microseconds (denoted as Tshort). If the monitoring time slots within Tshort are all idle, the communication device can directly access the channel.

[0095] Type 2B: The communication device can monitor a channel of 16 microseconds in length (denoted as Tf). If the monitoring time slot within Tf is idle, the communication device can directly access the channel.

[0096] 7. B2B (Back to Back) transmission

[0097] As mentioned above, in the unlicensed spectrum, the communication device needs to perform LBT first, and can access the channel only after the LBT is successful. When the communication device successfully performs LBT and accesses the channel, the time it occupies the channel is called COT (Channel Occupancy Time). Within the COT, the communication device can transmit continuously or discontinuously. Therefore, in order to make more full use of the COT initiated after the LBT is successful, the concept of B2B transmission may be introduced in SL-U. That is, the communication device transmits continuously in multiple time slots to improve the utilization rate of COT. At the same time, continuous use / occupancy of the channel is also conducive to competing for the channel with other systems. For example, when the SL-U terminal adopts B2B transmission, because the channel is continuously occupied, WIFI (Wireless-Fidelity) users cannot successfully access the channel through LBT at the same time.

[0098] According to the above, the concept of B2B transmission may be introduced in the SL-U system, that is, the terminal device transmits on multiple continuous time slots. Therefore, how to ensure that the terminal device selects continuous transmission resources in the time domain when selecting resources is a problem that needs to be solved, and the standard for this problem has not yet been discussed. Specifically, this problem can be solved at the physical layer, that is, the candidate resources in the candidate resource set reported by the physical layer are continuous resources in the time domain, and the upper layer still randomly selects resources from the candidate resource set. Alternatively, this problem can also be solved at the high level, that is, the candidate resources in the candidate resource set reported by the physical layer can be discrete or continuous in the time domain, and the high level considers B2B transmission when selecting resources in the candidate resource set, and gives priority to resources that are continuous in the time domain. To this end, the present application classifies and discusses the above solutions and refines the relevant terminal device behaviors. Below, the technical solution of the present application will be introduced and explained through several embodiments.

[0099] Please refer to Figure 7 , which shows a flow chart of a resource selection method provided by an embodiment of the present application. The method can be applied to Figure 1 In the network architecture shown, for example, the method can be executed by a terminal device. The method can include the following steps:

[0100] Step 710, after excluding resources from the first resource set, select a transmission resource from the first resource set, any one resource in the first resource set is a first resource, and the first resource corresponds to N consecutive time units in the time domain, where N is an integer greater than 1.

[0101] The first resource set may include at least one resource, and each resource in the first resource set is a first resource, that is, each resource in the first resource set corresponds to a plurality of continuous time units in the time domain.

[0102] In an embodiment of the present application, the first resource corresponds to 2 or more continuous time units in the time domain. The "time unit" mentioned in the embodiment of the present application may be a time slot, a subframe, or other time units, and the present application does not limit this. For the "time unit" mentioned elsewhere in this document, this explanation may be referred to, and no repetition will be made. Exemplarily, the first resource corresponds to N continuous time slots in the time domain, where N is an integer greater than 1.

[0103] In some embodiments, the first resource corresponds to N consecutive time units in the time domain, which means that the first resource corresponds to N consecutive physical time units in the time domain. Taking the time unit as a time slot as an example, the first resource corresponds to N consecutive physical time slots in the time domain.

[0104] In some embodiments, the first resource corresponds to N consecutive time units in the time domain, which means that the first resource corresponds to N consecutive time units belonging to the resource pool in the time domain. The time unit belonging to the resource pool can also be called a logical time unit, that is, the first resource corresponds to N consecutive logical time units in the time domain. Taking the time unit as a time slot as an example, the first resource corresponds to N consecutive time slots belonging to the resource pool in the time domain, or the first resource corresponds to N consecutive logical time slots in the time domain.

[0105] It should be noted that if the time unit in the resource pool is a continuous physical time unit in the time domain, then the N continuous time units belonging to the resource pool corresponding to the first resource in the time domain are also N continuous physical time units; if the time unit in the resource pool is a discontinuous physical time unit in the time domain, then the N continuous time units belonging to the resource pool corresponding to the first resource in the time domain may be N discontinuous physical time units.

[0106] In addition, the above N can be configured by the network, or pre-configured, or configured by the high-level of the terminal device to the physical layer, or depends on the implementation of the terminal device, or is a preset value specified by the standard. Optionally, the above N is determined by at least one of the following: COT duration, remaining COT duration, channel access priority, data transmission priority, CBR (Channel Busy Ratio), and remaining delay budget. Optionally, N is included in the resource pool configuration.

[0107] In some embodiments, the first resource corresponds to U consecutive subchannels or IRBs in the frequency domain, each subchannel includes one or more consecutive IRBs, and U is a positive integer. When U is equal to 1, the first resource corresponds to 1 subchannel or IRB in the frequency domain; when U is greater than or equal to 2, the first resource corresponds to U consecutive subchannels or IRBs in the frequency domain. Exemplarily, U consecutive subchannels or IRBs are located in the same resource block set. Optionally, the above-mentioned U can be configured by the network, or pre-configured, or configured by the high layer of the terminal device to the physical layer, or depends on the implementation of the terminal device, or is a preset value specified by the standard.

[0108] In some embodiments, the terminal device performs the following steps 1 to 3 to exclude resources:

[0109] 1. Determine the resource selection window and resource listening window;

[0110] In some embodiments, the resource selection window is [n+T1, n+T2], and the resource listening window is [n-T0, nT proc,0 ); where n is the time unit for the terminal device to trigger resource selection or reselection, or the time unit for the high layer to trigger the physical layer to report the candidate resource set, T1, T2, T0 and T proc,0 For the setting value, please refer to the above description for details.

[0111] 2. Determine an initialized first resource set, where the initialized first resource set includes at least one first resource in the resource selection window;

[0112] Exemplarily, the above-mentioned first resource set is recorded as resource set A, and resource set A includes resources within the resource selection window. In some embodiments, all first resources within the resource selection window are initialized as resource set A, that is, any resource in resource set A is recorded as a first resource. Exemplarily, the first resource is R(x, y), x is used to indicate the frequency domain position of the first resource, and y is used to indicate the time domain position of the first resource. Optionally, x is used to indicate the frequency domain starting position of the first resource, and y is used to indicate the time domain starting position of the first resource. Exemplarily, taking the time unit as a time slot as an example, R(x, y) represents N consecutive time slots starting from time slot y, and the time-frequency resources corresponding to U consecutive subchannels or IRBs starting from subchannel or IRB x. Optionally, the number of first resources in the initialized resource set A is recorded as M. total .

[0113] 3. Execute a resource exclusion step to exclude resources from the first resource set; wherein the resource exclusion step includes: a first exclusion step and / or a second exclusion step, the first exclusion step is used to exclude resources based on unlistened time units within the resource listening window, and the second exclusion step is used to exclude resources based on the first side control information heard within the resource listening window.

[0114] In some embodiments, the first exclusion step includes: determining Q1 time units corresponding to the unlistened time unit according to the unlistened time unit and each resource reservation period in the resource reservation period set or the subset of the resource reservation period set configured in the resource pool, where Q1 is a positive integer; if the Q1 time units overlap with the first resource in the first resource set or the resource corresponding to the first resource, then excluding the first resource from the first resource set. Exemplarily, the above-mentioned resource reservation period set or the subset of the resource reservation period set can be configured by the network, or preconfigured, or depend on the implementation of the terminal device. Exemplarily, the resource corresponding to the first resource is: a periodic resource with the same frequency domain position as the first resource and a fixed time interval in the time domain position. Optionally, the resource corresponding to the first resource includes the first resource. Optionally, the fixed time interval can be determined according to the resource reservation period of the terminal device. Optionally, the terminal device may not perform the first exclusion step, that is, not perform the step of excluding resources from the resource set A according to the unlistened time unit in the resource listening window.

[0115] In some embodiments, the second exclusion step includes: if the resource indicated by the first sidelink control information overlaps with the first resource in the first resource set or a resource corresponding to the first resource and satisfies the RSRP threshold condition, then excluding the first resource from the first resource set.

[0116] In some embodiments, the second exclusion step includes: determining Q2 time units corresponding to the first time unit based on the first time unit in which the first side control information is detected and the resource reservation period indicated in the first side control information, and assuming that the first side control information with the same content will be received within Q2 time units, and Q2 is a positive integer; if the resources indicated by the first side control information detected and assumed to be received overlap with the first resource in the first resource set or the resources corresponding to the first resource and meet the RSRP threshold condition, then the first resource is excluded from the first resource set.

[0117] Exemplarily, the RSRP threshold condition includes: the RSRP of the PSCCH corresponding to the first sidelink control information or the RSRP of the PSSCH scheduled by the PSCCH is greater than the RSRP threshold.

[0118] In some embodiments, the resource indicated by the first sideline control information is a resource determined according to at least one of the following indication fields:

[0119] A first indication field, used to indicate the time domain location of the resource;

[0120] The second indication field is used to indicate the frequency domain position of the resource;

[0121] The third indication field is used to indicate whether it is a B2B transmission;

[0122] The fourth indication field is used to indicate a transmission round in the B2B transmission, which can be understood as the position of the resource in the B2B transmission, or the number of transmissions in the B2B transmission, etc. Exemplarily, the fourth indication field is used to indicate the resource corresponding to the first sideline control information, or the resource for transmitting the first sideline control information, the position in the B2B transmission, or the number of transmissions in the B2B transmission.

[0123] In some embodiments, the resources indicated by the first sideline control information are resources of one or more single time units. For example, the resources indicated by the first sideline control information are resources of one or more single time slots.

[0124] In some embodiments, the resources indicated by the first sideline control information are one or more B2B transmission groups, wherein a B2B transmission group refers to a group of continuous single-time unit resources, for example, a B2B transmission group refers to a group of continuous single-time slot resources.

[0125] In some embodiments, after executing the resource exclusion step and excluding the first resource in resource set A, if the number of the remaining first resources in resource set A is less than Z*M total , then increase the RSRP threshold H dB, initialize resource set A, and perform the above resource exclusion step again to exclude the first resource in resource set A; if the number of remaining first resources in resource set A is greater than or equal to Z*M total , then there is no need to exclude resources from resource set A again, that is, there is no need to exclude resources from the first resource set again (or stop excluding resources from the first resource set); where M total is the total number of first resources included in the initialized resource set A, and Z and H are set values. Optionally, Z and H are configured by the network, or pre-configured, or depend on the implementation of the terminal device, or are preset values ​​specified by the standard. The terminal device selects a transmission resource from the resource set A (or candidate resource set) after the resource is excluded. Optionally, the transmission resource is selected randomly.

[0126] The technical solution provided in this embodiment defines that the resources in the resource set are resources corresponding to multiple continuous time units in the time domain, so that the candidate resource set obtained after excluding resources from the resource set also includes resources that are continuous in the time domain, thereby ensuring that when the terminal device selects transmission resources from the candidate resource set, it can select resources that are continuous in the time domain, support B2B transmission, and thus help improve the utilization rate of COT and facilitate SL-U users to compete for channels.

[0127] For example, Figure 8 As shown, the terminal device determines the resource selection window 10 from n+T1 to n+T2 and the resource selection window 11 from n-T0 to nT2. proc,0 Resource listening window 20 (excluding nT proc,0 ), any resource in the resource selection window 10 that corresponds to three time slots in the time domain and one subchannel in the frequency domain is taken as R(x,y). x represents the starting position of R(x,y) in the frequency domain, and y represents the starting position in the time domain. Figure 8 In the example R(x,y) corresponds to one subchannel in the frequency domain, one subchannel corresponds to one IRB, and in this example one IRB includes three PRBs.

[0128] Initialize all R(x,y) in the resource selection window 10 to the resource set A. The number of R(x,y) in the initialized resource set A is M. total , resource set A is excluded according to the unlistened time slots and / or the heard side control information.

[0129] Exclude resources from resource set A based on the unlistened time slots, such as Figure 8 In subgraph (a) of FIG, the terminal device does not listen in time slot m, and excludes resources according to each resource reservation period in the resource reservation period set M in the resource pool configuration used. For a resource reservation period 1, assuming that the Q value is calculated to be 2, the corresponding Q time slots are Figure 8 In sub-figure (a), the next two time slots marked with horizontal lines are mapped from time slot m with resource reservation period 1 as the interval. For a resource reservation period 2, assuming that the Q value is calculated as Q=1, the corresponding Q time slots are Figure 8 In sub-figure (a), the next time slot mapped from time slot m with a dotted shadow at intervals of resource reservation period 2. If the corresponding Q time slots determined by the terminal device based on the unlistened time slots overlap with R(x, y) or the resources corresponding to R(x, y), then the resource R(x, y) is excluded from the resource set A.

[0130] According to the intercepted side control information, resource set A is excluded, such as Figure 8In subfigure (b) in the figure, the terminal device detects side control information in time slot m, and the side control information indicates the resources marked by horizontal shaded lines or indicates two B2B groups. If the resources indicated by the side control information overlap with the resources R(x, y) or the resources corresponding to the resources R(x, y), and the RSRP of the PSCCH corresponding to the side control information or the PSSCH scheduled by the PSCCH is greater than the RSRP threshold, then the resources R(x, y) are excluded from the resource set A.

[0131] The resource corresponding to the above R(x,y) is a periodic resource with the same frequency domain position as R(x,y) and a fixed time interval in the time domain. The fixed time interval is determined according to the resource reservation period of the terminal device, and the resource corresponding to R(x,y) includes the resource R(x,y). For example Figure 8 In the figure, there are three transmission resources corresponding to R(x,y).

[0132] If the number of R(x,y) in resource set A after resource exclusion is less than Z*M total , then initialize resource set A, raise the RSRP threshold by 3dB, and perform resource exclusion based on unlistened time slots and / or based on heard side control information again until the number of R(x,y) remaining after resource set A is excluded is greater than or equal to Z*M total . In the resource set A after resource exclusion, a transmission resource is randomly selected.

[0133] Please refer to Fig. 9 , which shows a flow chart of a resource exclusion method provided by an embodiment of the present application. The method can be applied to Figure 1 In the network architecture shown, for example, the method can be executed by a terminal device. The method can include the following steps:

[0134] Step 910, after excluding the second resource set, if the number of second resources in the second resource set that meet the first condition is less than the first threshold, the RSRP threshold is raised, and the second resource set is initialized and then the second resource set is excluded again; wherein the first condition includes that there are at least N consecutive time units starting from the time unit where the second resource is located, and there are second resources that are not excluded, and N is an integer greater than 1.

[0135] In an embodiment of the present application, the second resource is a resource of a single time unit, that is, the second resource corresponds to only one time unit in the time domain. The "time unit" mentioned in the embodiment of the present application may be a time slot, a subframe, or other time units, and the present application does not limit this. For the "time unit" mentioned elsewhere in this document, this explanation may be referred to, and no repetition will be made. Exemplarily, the second resource corresponds to only one time slot in the time domain, and the second resource may also be referred to as a single time slot resource.

[0136] In some embodiments, if the number of second resources in the second resource set that meet the first condition is less than the first threshold, and the number of remaining second resources in the second resource set is less than the second threshold, the RSRP threshold is raised, and the second resource set is initialized and resources are re-excluded from the second resource set.

[0137] In some embodiments, the at least N consecutive time units are at least N consecutive physical time units. Taking the time unit as a time slot as an example, the at least N consecutive time units are at least N consecutive physical time slots.

[0138] In some embodiments, at least N consecutive time units are at least N consecutive time units belonging to the resource pool. The time unit belonging to the resource pool may also be referred to as a logical time unit, i.e., at least N consecutive logical time units. Taking the time unit as a time slot as an example, at least N consecutive time units are at least N consecutive time slots belonging to the resource pool, or at least N consecutive logical time slots.

[0139] It should be noted that if the time units in the resource pool are continuous physical time units in the time domain, then at least N continuous time units belonging to the resource pool are also at least N continuous physical time units; if the time units in the resource pool are discontinuous physical time units in the time domain, then at least N continuous time units belonging to the resource pool may be at least N discontinuous physical time units.

[0140] In some embodiments, the first condition includes that there are non-excluded second resources for N consecutive time units starting from the time unit where the second resource is located. Optionally, N can be configured by the network, or pre-configured, or configured by a high layer of the terminal device to the physical layer, or depends on the implementation of the terminal device, or is a preset value specified by the standard.

[0141] In some embodiments, the second resource corresponds to U consecutive subchannels or comb-tooth resource blocks IRB in the frequency domain, each subchannel includes one or more consecutive IRBs, and U is a positive integer. When U is equal to 1, the second resource corresponds to 1 subchannel or IRB in the frequency domain; when U is greater than or equal to 2, the second resource corresponds to U consecutive subchannels or IRBs in the frequency domain. Exemplarily, U consecutive subchannels or IRBs are located in the same resource block set. Optionally, the above-mentioned U can be configured by the network, or pre-configured, or configured by the high layer of the terminal device to the physical layer, or depends on the implementation of the terminal device, or is a preset value specified by the standard.

[0142] In some embodiments, the terminal device performs the following steps 1 to 3 to exclude resources:

[0143] 1. Determine the resource selection window and resource listening window;

[0144] In some embodiments, the resource selection window is [n+T1, n+T2], and the resource listening window is [n-T0, nT proc,0 ); where n is the time unit for the terminal device to trigger resource selection or reselection, or the time unit for the high layer to trigger the physical layer to report the candidate resource set, T1, T2, T0 and T proc,0 For the setting value, please refer to the above description for details.

[0145] 2. Determine an initialized second resource set, where the initialized second resource set includes at least one second resource within the resource selection window;

[0146] Exemplarily, the above-mentioned second resource set is recorded as resource set A, and resource set A includes all available resources in the resource selection window. Exemplarily, the available resources are resources of a single time unit, such as resources of a single time slot. Exemplarily, the available resources are resources in a resource pool. In some embodiments, all second resources in the resource selection window are initialized as resource set A, that is, any one resource in resource set A is recorded as a second resource, and the second resource is a resource of a single time unit. Exemplarily, the second resource is R(x, y), x is used to indicate the frequency domain position of the second resource, and y is used to indicate the time domain position of the second resource. Optionally, y is used to indicate the time domain starting position of the second resource. Exemplarily, R(x, y) represents U consecutive subchannels or IRBs located in time slot y starting from subchannel or IRB x. Optionally, the number of second resources in the initialized resource set A is recorded as M. total .

[0147] 3. Execute a resource exclusion step to exclude resources from the second resource set; wherein the resource exclusion step includes: a first exclusion step and / or a second exclusion step, the first exclusion step is used to exclude resources based on unlistened time units within the resource listening window, and the second exclusion step is used to exclude resources based on the first side control information heard within the resource listening window.

[0148] In some embodiments, the first exclusion step includes: determining Q1 time units corresponding to the unlistened time unit according to the unlistened time unit and each resource reservation period in the resource reservation period set or the subset of the resource reservation period set configured in the resource pool, where Q1 is a positive integer; if the Q1 time units overlap with the second resource in the second resource set or the resource corresponding to the second resource, then excluding the second resource from the second resource set. Exemplarily, the above-mentioned resource reservation period set or the subset of the resource reservation period set can be configured by the network, or preconfigured, or depend on the implementation of the terminal device. Exemplarily, the resource corresponding to the second resource is: a periodic resource with the same frequency domain position as the second resource and a fixed time interval in the time domain position. Optionally, the resource corresponding to the second resource includes the second resource. Optionally, the fixed time interval can be determined according to the resource reservation period of the terminal device. Optionally, the terminal device may not perform the first exclusion step, that is, not perform the step of excluding resources from the resource set A according to the unlistened time unit in the resource listening window.

[0149] In some embodiments, the second exclusion step includes: if the resource indicated by the first sidelink control information overlaps with the second resource in the second resource set or a resource corresponding to the second resource and satisfies the RSRP threshold condition, then excluding the second resource from the second resource set.

[0150] In some embodiments, the second exclusion step includes: determining Q2 time units corresponding to the first time unit based on the first time unit of the first side control information detected and the resource reservation period indicated in the first side control information, and assuming that the first side control information with the same content will be received within Q2 time units, and Q2 is a positive integer; if the resources indicated by the first side control information detected and assumed to be received overlap with the second resource in the second resource set or the resources corresponding to the second resource and meet the RSRP threshold condition, then excluding the second resource from the second resource set.

[0151] Exemplarily, the RSRP threshold condition includes: the RSRP of the PSCCH corresponding to the first sidelink control information or the RSRP of the PSSCH scheduled by the PSCCH is greater than the RSRP threshold.

[0152] In some embodiments, the resource indicated by the first sideline control information is a resource determined according to at least one of the following indication fields:

[0153] A first indication field, used to indicate the time domain location of the resource;

[0154] The second indication field is used to indicate the frequency domain position of the resource;

[0155] The third indication field is used to indicate whether it is a B2B transmission;

[0156] The fourth indication field is used to indicate a transmission round in the B2B transmission, which can be understood as the position of the resource in the B2B transmission, or the number of transmissions in the B2B transmission, etc. Exemplarily, the fourth indication field is used to indicate the resource corresponding to the first sideline control information, or the resource for transmitting the first sideline control information, the position in the B2B transmission, or the number of transmissions in the B2B transmission.

[0157] In some embodiments, the resources indicated by the first sideline control information are resources of one or more single time units. For example, the resources indicated by the first sideline control information are resources of one or more single time slots.

[0158] In some embodiments, the resources indicated by the first sideline control information are one or more B2B transmission groups, wherein a B2B transmission group refers to a group of continuous single-time unit resources, for example, a B2B transmission group refers to a group of continuous single-time slot resources.

[0159] In some embodiments, after executing the resource exclusion step and excluding the second resource in the second resource set, if the second resource set after resource exclusion meets the following condition 1 and / or condition 2, then the RSRP threshold H dB is increased, the second resource set is initialized, and the resource exclusion step is performed again to exclude the second resource in the second resource set; if the second resource set after resource exclusion does not meet the following condition 1 and / or condition 2, then the second resource set after resource exclusion is determined as the final second resource set (or candidate resource set). Among them, condition 1 includes that the number of second resources remaining in the second resource set is less than the second threshold; condition 2 includes that the number of second resources in the second resource set that meet the first condition is less than the first threshold, and the first condition is as described above.

[0160] In some embodiments, after executing the resource exclusion step and excluding the second resource in the second resource set, if the second resource set after resource exclusion meets condition 1, the RSRP threshold H dB is increased, the second resource set is initialized, and the resource exclusion step is executed again to exclude the second resource in the second resource set; if the second resource set after resource exclusion does not meet condition 1, the second resource set after resource exclusion is determined as the final second resource set. Condition 1 is as described above.

[0161] In some embodiments, after executing the resource exclusion step and excluding the second resource in the second resource set, if the second resource set after resource exclusion meets condition 2, the RSRP threshold H dB is increased, the second resource set is initialized, and the resource exclusion step is executed again to exclude the second resource in the second resource set; if the second resource set after resource exclusion does not meet condition 2, the second resource set after resource exclusion is determined as the final second resource set. Condition 2 is as described above.

[0162] In some embodiments, after executing the resource exclusion step and excluding the second resource in the second resource set, if the second resource set after resource exclusion meets at least one of condition 1 and condition 2, the RSRP threshold HdB is increased, the second resource set is initialized, and the resource exclusion step is performed again to exclude the second resource in the second resource set; if the second resource set after resource exclusion does not meet condition 1 and condition 2, the second resource set after resource exclusion is determined as the final second resource set. Condition 1 and condition 2 are as described above. In this embodiment, as long as the second resource set meets at least one of condition 1 and condition 2, the resource exclusion step is reinitialized and performed again, so that the final second resource set has both sufficient resources and sufficient continuous resources.

[0163] Exemplarily, taking the time unit as a time slot as an example, the above-mentioned first condition is that there are R(x,y) that are not excluded or remaining in at least N consecutive time slots in the same resource block set starting from the time slot where the resource R(x,y) is located. Exemplarily, the above-mentioned first condition is that there are R(x,y) that are not excluded or remaining in N consecutive time slots in the same resource block set starting from the time slot where the resource R(x,y) is located. Optionally, the second resources in the above-mentioned at least N consecutive (or N consecutive) time units are located in the same resource block set. Optionally, the frequency domain positions of the second resources in the above-mentioned at least N consecutive (or N consecutive) time units are the same or different. Exemplarily, the frequency domain positions of R(x,y) in the at least N consecutive (or N consecutive) time slots are the same. Exemplarily, the frequency domain positions of R(x,y) in the at least N consecutive (or N consecutive) time slots are different.

[0164] Optionally, the first threshold can be configured by the network, or pre-configured, or configured by the high layer of the terminal device to the physical layer, or depends on the implementation of the terminal device, or is a preset value specified by the standard. Optionally, the first threshold is determined according to at least one of the following: COT duration, remaining COT duration, channel access priority, data transmission priority, CBR, and remaining delay budget. Exemplarily, the first threshold is Z*M total, Z can be configured by the network, or pre-configured, or configured by the higher layer of the terminal device to the physical layer, or depends on the implementation of the terminal device, or is a preset value specified by the standard.

[0165] Optionally, the second threshold may be configured by the network, or pre-configured, or configured by the high layer of the terminal device to the physical layer, or depends on the implementation of the terminal device, or is a preset value specified by the standard. Exemplarily, the second threshold is X*M total , X can be configured by the network, or pre-configured, or configured by the higher layer of the terminal device to the physical layer, or depends on the implementation of the terminal device, or is a preset value specified by the standard.

[0166] Optionally, the second resource set after resource exclusion is recorded as a candidate resource set, and the terminal device selects transmission resources from the candidate resource set. Optionally, the terminal device preferentially selects continuous resources in the time domain as transmission resources from the candidate resource set.

[0167] The technical solution provided in this embodiment ensures that, when resources are excluded, there are a certain number of resources that are continuous in the time domain in the candidate resource set obtained after resource exclusion, thereby ensuring that when the terminal device selects transmission resources from the candidate resource set, it can select resources that are continuous in the time domain, supporting B2B transmission, which is beneficial to improving the utilization rate of COT and facilitating SL-U users to compete for channels.

[0168] For example, Fig.10 As shown, Fig.10 In the figure, one subchannel corresponds to one IRB (i.e., each number 0, 1, 2, 3, and 4 in the frequency domain represents one IRB). Assume that R(x, y) is the resource corresponding to two consecutive subchannels starting from subchannel x in the frequency domain in time slot y (i.e., U=2 above). For example, R(0, 0) represents the resource corresponding to subchannels 0 and 1 in time slot 0, and R(0, 1) represents the resource corresponding to subchannels 0 and 1 in time slot 1. Initialize resource set A to all R(x, y) in time slots 0-11. The total number of R(x, y) in the initialized resource set A is M. total . Resource set A is excluded based on undetected time slots and / or detected side control information. The remaining resources after exclusion are as follows: Fig.10 As shown, it includes R(1,1), R(0,2), R(1,2), R(2,2)…R(2,6), R(3,6), R(2,7),…, R(1,11).

[0169] Assume that the N configured by the high-level layer to the physical layer is 2, and the high-level layer configures the physical layer parameter Z, the first threshold is Z*M total .

[0170] If resource set A after resource exclusion meets at least one of condition 1 and condition 2, the RSRP threshold is increased by 3dB, resource set A is initialized, and the above resource exclusion is performed on resource set A again.

[0171] Condition 1: The number of R(x,y) remaining in resource set A is less than X*M total .

[0172] Condition 2: The number of remaining R(x,y) in resource set A that meets the first condition is less than Z*M total .

[0173] Assume that the first condition is that there are R(x,y) that are not excluded or remain in N consecutive time slots starting from the time slot where the R(x,y) is located, and the frequency domain positions of the remaining R(x,y) in the N time slots are the same. Then Fig.10 The remaining R(x,y) that meet the conditions include R(1,1), R(0,2), R(1,2), R(2,2), R(2,6), R(3,6), R(2,7), R(3,7), R(0,8), R(1,8), and R(0,9).

[0174] Assume that the first condition is that there are R(x,y) that are not excluded or remain in N consecutive time slots starting from the time slot where the R(x,y) is located, and the frequency domain positions of the remaining R(x,y) in the N time slots may be the same or different. Then Fig.10 The remaining R(x,y) that meet the conditions include R(1,1), R(0,2), R(1,2), R(2,2), R(2,6), R(3,6), R(2,7), R(3,7), R(0,8), R(1,8), R(2,8), R(3,8), R(0,9), R(1,9), R(0,10), R(3,10), and R(1,11).

[0175] The terminal device reports the resource set A after resource exclusion to the upper layer, and the upper layer selects resources from the resource set A.

[0176] In some embodiments, the terminal device initializes resource set A as all available resources in the resource selection window, and the terminal device excludes resources based on the unlistened time unit and / or the detected side control information for resource set A. The specific steps can be referred to the above description. The terminal device selects a transmission resource from resource set A (or candidate resource set) after resource exclusion.

[0177] When the terminal device selects transmission resources from the candidate resource set, it gives priority to time-frequency resources that are continuous in the time domain as transmission resources. Exemplarily, when the terminal device randomly selects transmission resources from resource set A, it gives priority to time-frequency resources that are continuous in the time domain. Exemplarily, when the terminal device selects the initial transmission and retransmission of TB 1, the initial transmission and retransmission of TB 1 occupy continuous time slots. Exemplarily, when the terminal device has determined the transmission resources for TB 2, when selecting the transmission resources of TB 1, the transmission resources of TB 1 and TB 2 occupy continuous time slots. Optionally, the continuous time slots are continuous physical time slots. Optionally, the continuous time slots are continuous time slots in a resource pool. In addition, TB 1 and TB 2 are two different transmission blocks.

[0178] For example, the candidate resource set reported by the physical layer of the terminal device to the upper layer includes R(1,1), R(0,2), R(1,2), R(2,2), R(2,6), R(3,6), R(2,7), R(3,7), R(0,8), R(1,8), and R(0,9). TB 1 corresponds to three transmissions, i.e., one initial transmission and two retransmissions. The upper layer of the terminal device selects resources R(2,6), R(2,7), and R(0,8) for the transmission of TB 1.

[0179] For another example, the candidate resource set reported by the physical layer of the terminal device to the upper layer includes R(1,1), R(0,2), R(1,2), R(2,2), R(2,6), R(3,6), R(2,7), R(3,7), R(0,8), R(1,8), and R(0,9). The transmission resources of TB 2 determined by the terminal device are located in time slots 1, 6, and 8. TB 1 corresponds to three transmissions, i.e., one initial transmission and two retransmissions. Therefore, the terminal device selects resources R(1,2), R(2,7), and R(0,9) for the transmission of TB 1.

[0180] The technical solution provided in this embodiment supports B2B transmission by giving priority to resources that are continuous in the time domain when selecting transmission resources from a set of candidate resources obtained through resource exclusion, thereby helping to improve the utilization rate of COT and facilitate SL-U users to compete for channels.

[0181] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0182] Please refer to Fig.11, which shows a block diagram of a resource selection device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned resource selection method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device described above, or it can be set in the terminal device. Fig.11 As shown, the device 1100 may include: a selection module 1110 .

[0183] The selection module 1110 is used to select transmission resources in the first resource set after excluding resources from the first resource set, any one resource in the first resource set is a first resource, and the first resource corresponds to N continuous time units in the time domain, where N is an integer greater than 1.

[0184] In some embodiments, the first resource corresponds to N consecutive time units in the time domain, including:

[0185] The first resource corresponds to N consecutive physical time units in the time domain;

[0186] or,

[0187] The first resource corresponds to N consecutive time units belonging to the resource pool in the time domain.

[0188] In some embodiments, the first resource corresponds to U consecutive sub-channels or IRBs in the frequency domain, each of the sub-channels includes one or more consecutive IRBs, and U is a positive integer.

[0189] In some embodiments, the U consecutive sub-channels or IRBs are located in the same set of resource blocks.

[0190] In some embodiments, Fig.11 As shown, the device 1100 further includes an exclusion module 1120, which is used to:

[0191] Determine the resource selection window and resource listening window;

[0192] Determine an initialized first resource set, where the initialized first resource set includes at least one of the first resources within the resource selection window;

[0193] Execute a resource exclusion step to exclude resources from the first resource set; wherein the resource exclusion step includes: a first exclusion step and / or a second exclusion step, the first exclusion step is used to exclude resources according to the unlistened time unit in the resource listening window, and the second exclusion step is used to exclude resources according to the first side control information heard in the resource listening window.

[0194] In some embodiments, the first eliminating step comprises:

[0195] Determine Q1 time units corresponding to the unlistened time unit according to the unlistened time unit and each resource reservation period in a resource reservation period set or a subset of the resource reservation period set configured in the resource pool, where Q1 is a positive integer;

[0196] If the Q1 time units overlap with the first resource in the first resource set or a resource corresponding to the first resource, the first resource is excluded from the first resource set.

[0197] In some embodiments, the second excluding step comprises:

[0198] If the resource indicated by the first sidelink control information overlaps with the first resource in the first resource set or the resource corresponding to the first resource and satisfies the RSRP threshold condition, excluding the first resource from the first resource set;

[0199] or,

[0200] Based on the first time unit in which the first side control information is detected and the resource reservation period indicated in the first side control information, Q2 time units corresponding to the first time unit are determined, and it is assumed that the first side control information with the same content will be received within the Q2 time units, and Q2 is a positive integer; if the resources indicated by the first side control information detected and assumed to be received overlap with the first resource in the first resource set or the resources corresponding to the first resource and meet the RSRP threshold condition, the first resource is excluded from the first resource set.

[0201] In some embodiments, the resource indicated by the first sideline control information is a resource determined according to at least one of the following indication fields:

[0202] A first indication field, used to indicate the time domain location of the resource;

[0203] The second indication field is used to indicate the frequency domain position of the resource;

[0204] The third indication field is used to indicate whether it is a B2B transmission;

[0205] The fourth indication field is used to indicate a transmission round in B2B transmission.

[0206] In some embodiments, the resources indicated by the first sideline control information are one or more resources of a single time unit; or, the resources indicated by the first sideline control information are one or more B2B transmission groups.

[0207] In some embodiments, the resource corresponding to the first resource is: a periodic resource that has the same frequency domain position as the first resource and has a fixed time interval in the time domain position.

[0208] In some embodiments, N is determined by at least one of the following: COT duration, remaining COT duration, channel access priority, data transmission priority, CBR, and remaining delay budget.

[0209] Please refer to Fig.12 , which shows a block diagram of a resource exclusion device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned resource exclusion method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device described above, or it can be set in the terminal device. Fig.12 As shown, the device 1200 may include: an exclusion module 1210 .

[0210] The exclusion module 1210 is used to raise the reference signal received power RSRP threshold after excluding the second resource set, if the number of second resources in the second resource set that meet the first condition is less than the first threshold, and initialize the second resource set before re-excluding the second resource set; wherein the first condition includes that there are at least N consecutive time units starting from the time unit where the second resource is located, and that non-excluded second resources exist, and N is an integer greater than 1.

[0211] In some embodiments, the second resource is a single time unit resource.

[0212] In some embodiments, the second resource corresponds to U consecutive sub-channels or IRBs in the frequency domain, each of the sub-channels includes one or more consecutive IRBs, and U is a positive integer.

[0213] In some embodiments, the U consecutive sub-channels or IRBs are located in the same set of resource blocks.

[0214] In some embodiments, the exclusion module 1210 is also used to execute the step of raising the RSRP threshold, initializing the second resource set and then re-excluding resources from the second resource set if the number of second resources in the second resource set that meet the first condition is less than the first threshold, and the number of remaining second resources in the second resource set is less than the second threshold.

[0215] In some embodiments, the at least N consecutive time units are: at least N consecutive physical time units; or at least N consecutive time units belonging to a resource pool.

[0216] In some embodiments, the exclusion module 1210 is further configured to:

[0217] Determine the resource selection window and resource listening window;

[0218] Determine an initialized second resource set, wherein the initialized second resource set includes at least one second resource within the resource selection window;

[0219] Execute a resource exclusion step to exclude resources from the second resource set; wherein the resource exclusion step includes: a first exclusion step and / or a second exclusion step, the first exclusion step is used to exclude resources according to the unlistened time unit in the resource listening window, and the second exclusion step is used to exclude resources according to the first side control information heard in the resource listening window.

[0220] In some embodiments, the first eliminating step comprises:

[0221] Determine Q1 time units corresponding to the unlistened time unit according to the unlistened time unit and each resource reservation period in a resource reservation period set or a subset of the resource reservation period set configured in the resource pool, where Q1 is a positive integer;

[0222] If the Q1 time units overlap with the second resource in the second resource set or a resource corresponding to the second resource, the second resource is excluded from the second resource set.

[0223] In some embodiments, the second excluding step comprises:

[0224] If the resource indicated by the first sidelink control information overlaps with the second resource in the second resource set or the resource corresponding to the second resource and satisfies the RSRP threshold condition, excluding the second resource from the second resource set;

[0225] or,

[0226] Based on the first time unit in which the first side control information is detected and the resource reservation period indicated in the first side control information, Q2 time units corresponding to the first time unit are determined, and it is assumed that the first side control information with the same content will be received within the Q2 time units, and Q2 is a positive integer; if the resources indicated by the first side control information detected and assumed to be received overlap with the second resources in the second resource set or the resources corresponding to the second resources and meet the RSRP threshold condition, the second resources are excluded from the second resource set.

[0227] In some embodiments, the resource indicated by the first sideline control information is a resource determined according to at least one of the following indication fields:

[0228] A first indication field, used to indicate the time domain location of the resource;

[0229] The second indication field is used to indicate the frequency domain position of the resource;

[0230] The third indication field is used to indicate whether it is a B2B transmission;

[0231] The fourth indication field is used to indicate a transmission round in B2B transmission.

[0232] In some embodiments, the resources indicated by the first sideline control information are one or more single time unit transmission resources; or, the resources indicated by the first sideline control information are one or more B2B transmission groups.

[0233] In some embodiments, the resource corresponding to the second resource is: a periodic resource that has the same frequency domain position as the second resource and has a fixed time interval in the time domain position.

[0234] In some embodiments, the first threshold is determined according to at least one of the following: COT duration, remaining COT duration, channel access priority, data transmission priority, CBR, and remaining delay budget.

[0235] It should be noted that the device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example to implement its functions. In practical applications, the above-mentioned functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0236] Regarding the device in the above embodiment, the specific way in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here. For details not described in detail in the embodiment of the device, reference can be made to the above method embodiment.

[0237] Please refer to Fig.13 , which shows a schematic diagram of the structure of a terminal device provided by an embodiment of the present application. The terminal device 1300 may include: a processor 1301 , a transceiver 1302 , and a memory 1303 .

[0238] The processor 1301 includes one or more processing cores. The processor 1301 executes various functional applications and information processing by running software programs and modules.

[0239] The transceiver 1302 may include a receiver and a transmitter. For example, the receiver and the transmitter may be implemented as a same wireless communication component, and the wireless communication component may include a wireless communication chip and a radio frequency antenna.

[0240] The memory 1303 may be connected to the processor 1301 and the transceiver 1302 .

[0241] The memory 1303 may be used to store a computer program executed by the processor, and the processor 1301 is used to execute the computer program to implement each step in the above method embodiment.

[0242] In an exemplary embodiment, the processor 1301 is used to select a transmission resource from the first resource set after excluding resources from the first resource set, where any one of the resources in the first resource set is a first resource, and the first resource corresponds to N consecutive time units in the time domain, where N is an integer greater than 1.

[0243] In another exemplary embodiment, the processor 1301 is used to raise the reference signal received power RSRP threshold after excluding resources from the second resource set, if the number of second resources in the second resource set that meet the first condition is less than a first threshold, and initialize the second resource set before re-excluding resources from the second resource set; wherein the first condition includes that there are at least N consecutive time units starting from the time unit where the second resource is located, and that non-excluded second resources exist, and N is an integer greater than 1.

[0244] For details not described in detail in this embodiment, please refer to the above embodiments, which will not be described in detail here.

[0245] In addition, the memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, and the volatile or non-volatile storage device includes but is not limited to: a magnetic disk or optical disk, an electrically erasable programmable read-only memory, an erasable programmable read-only memory, a static access memory, a read-only memory, a magnetic memory, a flash memory, and a programmable read-only memory.

[0246] The embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored, and the computer program is used to be executed by a processor to implement the above-mentioned resource selection method or resource exclusion method. Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives) or optical disks, etc. Among them, random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0247] An embodiment of the present application further provides a chip, which includes a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the above-mentioned resource selection method or resource exclusion method.

[0248] An embodiment of the present application also provides a computer program product, which includes computer instructions stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to implement the above-mentioned resource selection method or resource exclusion method.

[0249] It should be understood that the "indication" mentioned in the embodiments of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association relationship between A and B.

[0250] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship between indication and being indicated, configuration and being configured, and the like.

[0251] In some embodiments of the present application, "predefined" can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in a device (for example, including a terminal device and a network device), and the present application does not limit the specific implementation method. For example, predefined can refer to what is defined in the protocol.

[0252] In some embodiments of the present application, the "protocol" may refer to a standard protocol in the communication field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, which is not limited in the present application.

[0253] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0254] The term “greater than or equal to” mentioned herein may mean greater than or equal to, or greater than, and the term “less than or equal to” may mean less than or equal to, or less than.

[0255] In addition, the step numbers described in this document only illustrate a possible execution order between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to that shown in the figure. The embodiments of the present application are not limited to this.

[0256] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0257] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A resource selection method, characterized in that: The method is performed by a terminal device, and the method includes: After excluding resources from the first resource set, a transmission resource is selected from the first resource set, any one resource in the first resource set is a first resource, and the first resource corresponds to N continuous time units in the time domain, where N is an integer greater than 1.

2. The method according to claim 1, characterized in that The first resource corresponds to N consecutive time units in the time domain, including: The first resource corresponds to N consecutive physical time units in the time domain; or, The first resource corresponds to N consecutive time units belonging to the resource pool in the time domain.

3. The method according to claim 1 or 2, characterized in that: The first resource corresponds to U consecutive sub-channels or comb-tooth resource blocks IRB in the frequency domain, each of the sub-channels includes one or more consecutive IRBs, and U is a positive integer.

4. The method according to claim 3, characterized in that The U consecutive sub-channels or IRBs are located in the same resource block set.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Determine the resource selection window and resource listening window; Determine an initialized first resource set, where the initialized first resource set includes at least one of the first resources within the resource selection window; Execute a resource exclusion step to exclude resources from the first resource set; wherein the resource exclusion step includes: a first exclusion step and / or a second exclusion step, the first exclusion step is used to exclude resources according to the unlistened time unit in the resource listening window, and the second exclusion step is used to exclude resources according to the first side control information heard in the resource listening window.

6. The method according to claim 5, characterized in that The first elimination step comprises: Determine Q1 time units corresponding to the unlistened time unit according to the unlistened time unit and each resource reservation period in a resource reservation period set or a subset of the resource reservation period set configured in the resource pool, where Q1 is a positive integer; If the Q1 time units overlap with the first resource in the first resource set or a resource corresponding to the first resource, the first resource is excluded from the first resource set.

7. The method according to claim 5 or 6, characterized in that: The second elimination step comprises: If the resource indicated by the first sidelink control information overlaps with the first resource in the first resource set or the resource corresponding to the first resource and satisfies the reference signal received power RSRP threshold condition, excluding the first resource from the first resource set; or, Based on the first time unit in which the first side control information is detected and the resource reservation period indicated in the first side control information, Q2 time units corresponding to the first time unit are determined, and it is assumed that the first side control information with the same content will be received within the Q2 time units, and Q2 is a positive integer; if the resources indicated by the first side control information detected and assumed to be received overlap with the first resource in the first resource set or the resources corresponding to the first resource and meet the RSRP threshold condition, the first resource is excluded from the first resource set.

8. The method according to claim 7, characterized in that The resource indicated by the first sideline control information is a resource determined according to at least one of the following indication fields: A first indication field, used to indicate the time domain location of the resource; The second indication field is used to indicate the frequency domain position of the resource; The third indication field is used to indicate whether it is a back-to-back B2B transmission; The fourth indication field is used to indicate a transmission round in B2B transmission.

9. The method according to claim 7 or 8, characterized in that: The resource indicated by the first sideline control information is one or more resources of a single time unit; or, The resources indicated by the first sidelink control information are one or more B2B transmission groups.

10. The method according to any one of claims 6 to 9, characterized in that: The resource corresponding to the first resource is: a periodic resource that has the same frequency domain position as the first resource and has a fixed time interval in the time domain position.

11. The method according to any one of claims 1 to 10, characterized in that: The N is determined by at least one of the following: channel occupation time COT duration, remaining COT duration, channel access priority, data transmission priority, channel busy rate CBR, and remaining delay budget.

12. A resource selection device, characterized in that: The device comprises: The selection module is used to select transmission resources in the first resource set after excluding resources from the first resource set, any one resource in the first resource set is a first resource, and the first resource corresponds to N continuous time units in the time domain, where N is an integer greater than 1.

13. A terminal device, characterized in that: The terminal device comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program to implement the method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to be executed by a processor to implement the method according to any one of claims 1 to 11.

15. A chip, characterized in that: The chip comprises a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the method according to any one of claims 1 to 11.

16. A computer program product, characterized in that The computer program product comprises computer instructions, which are stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to implement the method according to any one of claims 1 to 11.