Wireless communication method and terminal device

CN121942279APending Publication Date: 2026-04-28GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
Filing Date
2024-01-09
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In side link communication, resource collisions are prone to occur when terminal devices independently select resources, resulting in a decrease in communication efficiency and reliability, especially in scenarios outside network coverage, which is difficult to achieve efficient and accurate data transmission.

Method used

The first terminal device sends information indicating the number of continuous resource units in the target resource to the second terminal device, assists the second terminal device in selecting resources, realizes cooperative resource selection between terminals, and ensures the continuity and reliability of resources.

Benefits of technology

It improves the efficiency and accuracy of side link communication, reduces resource collisions, and ensures the continuity and reliability of data transmission, especially in scenarios outside the network coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121942279A_ABST
    Figure CN121942279A_ABST
Patent Text Reader

Abstract

The invention provides a wireless communication method and terminal equipment. The method comprises the following steps: a first terminal device sends first information to a second terminal device; wherein the resource required to be selected by the first terminal device is a target resource, the first information is used for indicating a first number, and the first number is the number of continuous resource units in the target resource. Through the first information, the first terminal device can inform the second terminal device of the number of the continuous resource units in the target resource (namely the first number), so that the second terminal device can help the first terminal device to select the resource by itself based on the first number, and efficient and accurate communication can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Wireless communication method and terminal device Technical Field

[0001] The present application relates to the field of communication technology, and more specifically, to a wireless communication method and terminal equipment. Background Art

[0002] In sidelink (SL) communications, terminal devices can autonomously select resources. For example, they can listen to resources reserved by other terminal devices. When making their own selections, they can exclude resources reserved by other terminal devices, thus avoiding resource conflicts.

[0003] Summary of the Invention

[0004] The present application provides a wireless communication method and a terminal device. The following introduces various aspects involved in the present application.

[0005] In a first aspect, a wireless communication method is provided, which includes: a first terminal device sends first information to a second terminal device; wherein, the resource that the first terminal device needs to select is a target resource, and the first information is used to indicate a first number, which is the number of continuous resource units in the target resource.

[0006] In a second aspect, a wireless communication method is provided, which includes: a second terminal device receives first information sent by a first terminal device; wherein, the resource that the first terminal device needs to select is a target resource, and the first information is used to indicate a first number, which is the number of continuous resource units in the target resource.

[0007] In a third aspect, a terminal device is provided, which is a first terminal device, and the terminal device includes: a sending unit for sending first information to a second terminal device; wherein the resource that the first terminal device needs to select is a target resource, and the first information is used to indicate a first number, which is the number of continuous resource units in the target resource.

[0008] In a fourth aspect, a terminal device is provided, which is a second terminal device, and the terminal device includes: a receiving unit for receiving first information sent by a first terminal device; wherein the resource that the first terminal device needs to select is a target resource, and the first information is used to indicate a first number, which is the number of continuous resource units in the target resource.

[0009] In a fifth aspect, a terminal device is provided, comprising a processor and a memory, wherein the memory is used to store one or more computer programs, and the processor is used to call the computer program in the memory so that the terminal device executes part or all of the steps in the method of the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a communication system, which includes the above-mentioned terminal device. In another possible design, the system may also include other devices that interact with the terminal device or network device in the solution provided in the embodiment of the present application.

[0011] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program enables a terminal device to execute part or all of the steps in the methods of the above aspects.

[0012] In an eighth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a terminal device to perform some or all of the steps of the methods described in each of the above aspects. In some implementations, the computer program product may be a software installation package.

[0013] In a ninth aspect, an embodiment of the present application provides a chip comprising a memory and a processor, wherein the processor can call and run a computer program from the memory to implement some or all of the steps described in the methods of the above aspects.

[0014] Through the first information, the first terminal device can inform the second terminal device of the number of continuous resource units in the target resource (i.e., the first number), so that the second terminal device can help the first terminal device select resources based on the first number, thereby facilitating efficient and accurate communication. For example, the second terminal device can assist the first terminal device in resource selection based on the first number, that is, to achieve collaborative resource selection between terminals, thereby recommending a more suitable resource set to the first terminal device. For another example, the second terminal device can detect the data sent by the first terminal device on the first number of resource units, thereby accurately receiving the data sent by the first terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] FIG1 is a diagram illustrating an example of a system architecture of a wireless communication system applicable to an embodiment of the present application.

[0016] FIG2 is an example diagram of a side communication scenario within network coverage.

[0017] FIG3 is an example diagram of a side communication scenario with partial network coverage.

[0018] FIG4 is an example diagram of a side communication scenario outside network coverage.

[0019] FIG5 is a diagram showing an example of a side communication scenario based on a central control node.

[0020] FIG6 is an example diagram of a sideline communication method based on broadcasting.

[0021] FIG7 is an example diagram of a unicast-based sideline communication method.

[0022] FIG8 is an example diagram of a side communication method based on multicast.

[0023] FIG. 9A is a diagram illustrating an example of a time slot structure used by a sideline communication system.

[0024] FIG. 9B is another diagram illustrating an example of a time slot structure used by the sideline communication system.

[0025] FIG10 is a comparison diagram of the time slot structures corresponding to multiple transmissions of the physical sidelink shared channel.

[0026] FIG11 is a diagram illustrating an example of the time domain relationship between the physical sidelink shared channel demodulation reference signal and the second-order sidelink control information.

[0027] FIG12 is a diagram showing an example of mapping of a physical sidelink control channel adjustment reference signal.

[0028] FIG13 is an example diagram of a time domain mapping method of a physical side shared channel calibration reference signal.

[0029] FIG14 is an example diagram of a frequency domain mapping method of a physical side shared channel calibration reference signal.

[0030] FIG15 is an example diagram of a method for reserving resources in a sideline communication system.

[0031] FIG16 is an example diagram of a resource selection method based on listening in a side communication system.

[0032] FIG17 is an example diagram of another listening-based resource selection method in a side communication system.

[0033] FIG18 is a schematic flowchart of Mode 1 for assisting terminal devices in selecting resources.

[0034] FIG19 is a diagram showing an example of a scenario applicable to the method shown in FIG18 .

[0035] FIG20 is another example diagram of a scenario applicable to the method shown in FIG18 .

[0036] FIG21 is a schematic flowchart of Method 2 for assisting terminal devices in resource selection.

[0037] FIG22 is a diagram showing an example of a scenario applicable to the method shown in FIG21 .

[0038] FIG23 is a schematic diagram of the process of listening first and speaking later.

[0039] Figure 24 is a schematic flowchart of a wireless communication method provided in an embodiment of the present application.

[0040] FIG25 is an example diagram of a resource collection provided by this application.

[0041] FIG26 is an example diagram of another resource collection provided by this application.

[0042] Figure 27 is a schematic flowchart of another wireless communication method provided in an embodiment of the present application.

[0043] Figure 28 is a schematic structural diagram of a terminal device provided in an embodiment of the present application.

[0044] Figure 29 is a schematic structural diagram of another terminal device provided in an embodiment of the present application.

[0045] Figure 30 is a schematic structural diagram of a device for communication provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0047] Communication system architecture

[0048] FIG1 is a diagram illustrating an exemplary system architecture of a wireless communication system 100 to which embodiments of the present application may be applied. The wireless communication system 100 may include communication devices. The communication devices may include a network device 110 and a terminal device 120. The network device 110 may be a device that communicates with the terminal device 120. The network device 110 may provide communication coverage for a specific geographic area and may communicate with the terminal device 120 within the coverage area.

[0049] FIG1 exemplarily shows a network device and a terminal device. Optionally, the wireless communication system 100 may include one or more network devices 110 and / or one or more terminal devices 120. For a network device 110, the one or more terminal devices 120 may all be located within the network coverage of the network device 110, or all be located outside the network coverage of the network device 110, or some may be located within the coverage of the network device 110 and others outside the network coverage of the network device 110. This is not limited in the embodiments of the present application.

[0050] Optionally, the wireless communication system 100 may further include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiment of the present application.

[0051] It should be understood that the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: fifth generation systems (5G) or new radio (NR), long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, etc. The technical solutions provided in this application can also be applied to future communication systems, such as sixth generation mobile communication systems, satellite communication systems, etc.

[0052] The terminal device in the embodiment of the present application may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), mobile terminal (MT), remote station, remote terminal device, mobile device, user terminal, wireless communication device, user agent or user device. The terminal device in the embodiment of the present application may be a device that provides voice and / or data connectivity to a user, and can be used to connect people, objects and machines, such as a handheld device with wireless connection function, a vehicle-mounted device, etc. The terminal device in the embodiment of the present application may be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a vehicle, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. For example, a terminal device can act as a dispatching entity, providing sidelink signals between terminal devices in vehicle-to-everything (V2X) or device-to-device (D2D) communications. For example, a cell phone and a car can communicate with each other using sidelink signals. A cell phone and a smart home device can also communicate without relaying the communication signal through a base station. Alternatively, the terminal device can be used to act as a base station.

[0053] The network device in the embodiments of the present application may be a device for communicating with a terminal device, and may also be referred to as an access network device or a radio access network device. For example, the network device may be a base station. The network device in the embodiments of the present application may refer to a radio access network (RAN) node (or device) that connects a terminal device to a wireless network. A base station may broadly cover various names as follows, or be replaced with the following names, such as: node B (nodeB), evolved node B (eNB), next generation node B (gNB), relay station, access point, transmitting and receiving point (TRP), transmitting point (TP), master evolved node B (MeNB), secondary evolved node B (SeNB), multiple standard radio (MSR) node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, baseband unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), positioning node, etc. A base station may be a macro base station, a micro base station, a relay node, a donor node, or the like, or a combination thereof. A base station may also refer to a communication module, modem, or chip used to be set in the aforementioned device or apparatus. A base station may also be a mobile switching center and a device that performs base station functions in device-to-device D2D, V2X, or machine-to-machine (M2M) communications, a network-side device in a 6G network, or a device that performs base station functions in future communication systems. A base station may support networks with the same or different access technologies. The embodiments of this application do not limit the specific technology and specific device form used by network devices.

[0054] Base stations can be fixed or mobile. For example, a helicopter or drone can be configured to act as a mobile base station, and one or more cells can move based on the location of the mobile base station. In other examples, a helicopter or drone can be configured to act as a device that communicates with another base station.

[0055] In some deployments, the network device in the embodiments of the present application may refer to a CU or a DU, or the network device may include a CU and a DU. The gNB may also include an AAU.

[0056] The network equipment and terminal devices can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed in the air on aircraft, balloons, and satellites. The embodiments of this application do not limit the scenarios in which the network equipment and terminal devices are located.

[0057] Sideline communication

[0058] Sidelink communication refers to a communication technology based on sidelinks. Sidelink communication can be, for example, device-to-device or connected vehicle (IoV) communication. In traditional cellular systems, communication data is sent or received between terminal devices and network equipment, while sidelink communication supports direct communication and data transmission between terminal devices. Compared to traditional cellular communication, direct data transmission between terminal devices can achieve higher spectral efficiency and lower transmission latency. For example, IoV systems utilize sidelink communication technology.

[0059] In side communication, according to the network coverage of the terminal device, the side communication can be divided into side communication within the network coverage, side communication with partial network coverage, and side communication outside the network coverage.

[0060] Figure 2 illustrates an example scenario for sidelink communication within network coverage. In the scenario shown in Figure 2, both terminal devices 120a are within the coverage of network device 110. Therefore, both terminal devices 120a can receive configuration signaling from network device 110 (configuration signaling in this application can also be replaced by configuration information) and determine the sidelink configuration based on the configuration signaling from network device 110. After both terminal devices 120a have configured their sidelinks, sidelink communication can proceed on the sidelink.

[0061] Figure 3 is an example diagram of a sidelink communication scenario with partial network coverage. In the scenario shown in Figure 3, terminal device 120a performs sidelink communication with terminal device 120b. Terminal device 120a is located within the coverage range of network device 110, so terminal device 120a can receive the configuration signaling of network device 110 and determine the sidelink configuration based on the configuration signaling of network device 110. Terminal device 120b is located outside the network coverage and cannot receive the configuration signaling of network device 110. In this case, terminal device 120b can determine the sidelink configuration based on pre-configuration information and / or information carried in the physical sidelink broadcast channel (PSBCH) sent by terminal device 120a within the network coverage. After both terminal device 120a and terminal device 120b perform sidelink configuration, sidelink communication can be performed on the sidelink.

[0062] Figure 4 illustrates an example scenario for sidelink communication outside of network coverage. In the scenario shown in Figure 4, both terminal devices 120b are outside of network coverage. In this scenario, both terminal devices 120b can determine the sidelink configuration based on pre-configured information. After both terminal devices 120b have configured their sidelinks, sidelink communication can proceed over the sidelink.

[0063] Figure 5 is an example diagram of a side communication scenario based on a central control node. In this side communication scenario, multiple terminal devices can form a communication group, and the communication group has a central control node. The central control node can be a terminal device in the communication group (such as terminal device 1 in Figure 5), and the terminal device can also be called a cluster header (CH) terminal device. The central control node can be responsible for completing one or more of the following functions: establishment of a communication group, joining and leaving of group members of the communication group, resource coordination within the communication group, allocation of side transmission resources to other terminal devices, receiving side feedback information from other terminal devices, and resource coordination with other communication groups.

[0064] Sideline communication mode

[0065] Unlike traditional cellular systems, where communication data is sent or received via base stations, terminals can communicate directly via sidelinks, offering higher frequency efficiency and lower latency. For example, connected vehicle systems can utilize sidelinks, which are direct end-to-end communication. The 3rd Generation Partnership Project (3GPP) defines two sidelink transmission modes: Mode 1 and Mode 2.

[0066] The first mode may also be referred to as mode A. In the first mode, the resources of the terminal device (the resources mentioned in this application may also be referred to as transmission resources, such as time-frequency resources) are allocated by the network device. The terminal device may send data on the side link according to the resources allocated by the network device. The network device may allocate resources for a single transmission to the terminal device, or may allocate resources for semi-static transmission to the terminal device. This first mode may be applied to scenarios covered by a network device, such as the scenario shown in FIG2 above. In the scenario shown in FIG2 , both terminal devices 120a are within the network coverage of the network device 110, so the network device 110 may allocate resources used in the side transmission process to the two terminal devices 120a.

[0067] The second mode may also be referred to as mode B. In the second mode, the terminal device may autonomously select one or more resources from a resource pool (RP). Then, the terminal device may perform side transmission based on the selected resources. For terminal devices within and outside the coverage of the network device, the second mode may be used to select resources. For example, in the scenario shown in FIG3 , the terminal device 120 b is located outside the coverage of the cell. Therefore, the terminal device 120 b may autonomously select resources from the pre-configured resource pool for side transmission. Alternatively, in the scenario shown in FIG1 , the terminal device 120 a may also autonomously select one or more resources from the resource pool configured by the network device 110 for side transmission.

[0068] Data transmission method of side communication

[0069] Some sidewalk communication systems (such as long-term evolution vehicle to everything (LTE-V2X)) support broadcast-based data transmission (hereinafter referred to as broadcast transmission). For broadcast transmission, the receiving terminal can be any terminal device around the transmitting terminal. Taking Figure 6 as an example, terminal device 1 is the transmitting terminal, and the receiving terminal corresponding to the transmitting terminal is any terminal device around terminal device 1, for example, terminal device 2 to terminal device 6 in Figure 6.

[0070] In addition to broadcast transmission, some communication systems also support unicast-based data transmission (hereinafter referred to as unicast transmission) and / or multicast-based data transmission (hereinafter referred to as multicast transmission). For example, the new radio vehicle to everything (NR-V2X) hopes to support autonomous driving. Autonomous driving places higher requirements on data interaction between vehicles. For example, data interaction between vehicles requires higher throughput, lower latency, higher reliability, larger coverage, more flexible resource allocation, etc. Therefore, in order to improve the performance of data interaction between vehicles, NR-V2X introduces unicast transmission and multicast transmission.

[0071] For unicast transmission, there is typically only one receiving terminal. For example, in Figure 7, unicast transmission occurs between terminal devices 1 and 2. Terminal device 1 can be the sending terminal, and terminal device 2 can be the receiving terminal, or vice versa.

[0072] For multicast transmission, the receiving terminal can be a terminal device within a communication group, or a terminal device within a certain transmission distance. For example, in Figure 8, terminal devices 1, 2, 3, and 4 form a communication group. If terminal device 1 sends data, all other terminal devices in the group (terminal devices 2 through 4) can be receiving terminals.

[0073] Time slot structure for sideline communication

[0074] A communication system may define a frame, subframe, or time slot structure for sidelink communication. Some sidelink communication systems define multiple time slot structures. For example, NR-V2X defines two time slot structures. One of these two time slot structures does not include the physical sidelink feedback channel (PSFCH), as shown in Figure 9A ; the other includes the PSFCH, as shown in Figure 9B .

[0075] The physical sidelink control channel (PSCCH) in NR-V2X can start at the second sidelink symbol of the time slot in the time domain, and the PSCCH can occupy 2 or 3 symbols in the time domain (the symbols mentioned here can all refer to orthogonal frequency division multiplexing (OFDM) symbols). The PSCCH can occupy multiple physical resource blocks (PRBs) in the frequency domain. For example, the number of PRBs occupied by the PSCCH can be selected from the following values: {10, 12 15, 20, 25}.

[0076] To reduce the complexity of blind detection of PSCCH by terminal devices, typically, only one number of symbols and PRBs is configured for PSCCH within a resource pool. Furthermore, because NR-V2X uses subchannels as the minimum granularity for PSCCH resource allocation, the number of PRBs occupied by PSCCH must be less than or equal to the number of PRBs contained in a subchannel within the resource pool.

[0077] Referring to Figure 9A, for a time slot structure that does not include PSFCH, the physical sidelink shared channel (PSSCH) in NR-V2X can use the second sidelink symbol of the time slot as the starting position in the time domain. The last sidelink symbol in the time slot is used as a guard period (GP), and the remaining symbols can be mapped to PSSCH. The first sidelink symbol in the time slot can be a repetition of the second sidelink symbol. Generally speaking, the terminal device at the receiving end will use the first sidelink symbol as a symbol for automatic gain control (AGC). Therefore, the data on the first sidelink symbol is usually not used for data demodulation. PSSCH can occupy K subchannels in the frequency domain, and each subchannel can include N consecutive PRBs. Wherein, K and N can both be integers. The values ​​of K and N can be predefined by the protocol, or preconfigured, or configured by the network device, or depend on the implementation of the terminal device.

[0078] For a time slot structure including PSFCH, FIG9B schematically illustrates the positions of the symbols occupied by PSFCH, PSCCH, and PSSCH in a time slot. The main difference between the time slot structure shown in FIG9B and FIG9A is that the second-to-last symbol and the third-to-last symbol in the time slot are used to transmit PSFCH. In addition, the symbol before the symbol used to transmit PSFCH is also used as the GP. As can be seen from the time slot structure shown in FIG9B, in a time slot, the last symbol is used as the GP, the second-to-last symbol is used for PSFCH transmission, and the data on the third-to-last symbol is the same as the data on the second-to-last symbol used for PSFCH transmission. That is, the third-to-last symbol serves as the symbol for AGC, and the fourth-to-last symbol has the same function as the last symbol and also serves as the GP. In addition, the first symbol in the time slot is used for AGC, and the data on this symbol is the same as the data on the second symbol in the time slot. PSCCH occupies 3 symbols, and the remaining symbols can be used for PSSCH transmission.

[0079] PSSCH

[0080] In some sidelink communication systems (such as NR-V2X systems), PSSCH can be used to carry second-order sidelink control information (SCI) and data information. The format of the second-order SCI can be the first sidelink control information 2-A or the first sidelink control information 2-B. The second-order SCI can be encoded in the form of polarization code and modulated using quadrature phase shift keying (QPSK). The data information of PSSCH can be coded in the form of low density parity check (LDPC), and the highest supported modulation order is 256 quadrature amplitude modulation (256QAM).

[0081] In the NR-V2X system, the PSSCH supports up to two streams of transmission, and uses a unit matrix precoding matrix to map the data on the two transmission layers corresponding to the two streams to two antenna ports. Currently, at most one transmission block (TB) can be sent in a PSSCH. When the PSSCH uses a dual-stream transmission mode, the modulation symbols of the second-order SCI on both streams can be exactly the same. This design can ensure the reception performance of the second-order SCI in highly correlated channels.

[0082] In the NR-V2X system, the maximum number of retransmissions of a PSSCH is 32 times. Therefore, if there are PSFCH resources in the resource pool and the configuration period of the PSFCH resources is 2 or 4, the number of available symbols in the time slot where the PSSCH is located may change for multiple transmissions of the same PSSCH. For example, referring to Figure 10, the PSSCH is transmitted for the nth time in time slot a and for the n+1th time in time slot b. As can be seen from Figure 10, there are PSFCH resources and their corresponding related resources in time slot a (such as AGC symbols and GP symbols corresponding to PSFCH, etc., see the description of Figure 9B for details), and there is no PSFCH in time slot b. Therefore, due to the change of PSFCH resources, the number of available symbols in the time slot is different in the nth transmission and the n+1th transmission. The change of available symbols in the time slot will cause the transmission block size (TBS) corresponding to the PSSCH to change. Therefore, in order to ensure that the TBS of PSSCH remains unchanged during multiple transmissions, the actual number of PSFCH symbols may not be used when calculating TBS. Instead, the number of PSFCH symbols used to calculate TBS may be determined based on the indication information in the first-order SCI.

[0083] The code rate of the second-order SCI can be dynamically adjusted within a certain range, and the code rate used by the second-order SCI can be indicated by the first-order SCI. Therefore, even if the code rate of the second-order SCI changes, the terminal device as the receiving end does not need to perform blind detection on the second-order SCI. The modulation symbol of the second-order SCI can start from the symbol where the first demodulation reference signal (DMRS) of the PSSCH is located, and is mapped in the frequency domain first and then the time domain. In the OFDM symbol where the DMRS is located, the second-order SCI can be mapped to the RE not occupied by the DMRS. Taking Figure 11 as an example, the second-order SCI occupies symbols 1 to 4, and the second-order SCI shares symbol 1 with the first PSCCH DMRS.

[0084] Within a resource pool, PSSCH data information can use multiple different modulation and coding scheme (MCS) tables. These multiple different MCS tables can include, for example, a conventional 64QAM MCS table, a 256QAM MCS table, and a low-spectrum-efficiency 64QAM MCS table. During a PSSCH transmission, the MCS table used by the transmitting terminal device can be indicated by the "MCS Table Indication" field in the first-order SCI.

[0085] To control the peak-to-average power ratio (PAPR), the PSSCH typically needs to be transmitted on contiguous PRBs. In NR SL systems, a subchannel is the minimum frequency-domain resource granularity for the PSSCH. Therefore, to control the PAPR, NR SL systems typically require the PSSCH to occupy contiguous subchannels.

[0086] Sidelink transport block size

[0087] In some sideline communication systems (such as NR SL systems), PSSCH follows the TBS determination mechanism of the physical downlink shared channel (PDSCH) and physical uplink shared channel (PUSCH) in the NR system, that is, the TBS is determined according to the reference value of the number of REs used for PSSCH in the time slot where PSSCH is located, so that the actual code rate is as close to the target code rate as possible. In other words, when determining TBS, such sideline communication systems do not use the actual number of REs occupied by PSSCH, but use the reference value of the number of REs of PSSCH. The purpose of this is to ensure that the number of REs used to determine TBS remains unchanged during the retransmission of PSSCH, so that the TBS size determined by different transmission processes of PSSCH is the same. Reference value N of the number of REs occupied by PSSCH RE Can satisfy: Among them, n PRB Indicates the number of PRBs occupied by PSSCH, Indicates the number of REs occupied by the first-order SCI ( It may include the number of REs occupied by DMRS of PSCCH), Indicates the number of REs occupied by the second-order SCI, N′ RE Indicates the number of reference REs that can be used for PSSCH in a PRB.

[0088] N′ RE Can satisfy: in, Indicates the number of subcarriers in a PRB, The value is usually 12. Indicates the number of symbols available for sideline transmission in a time slot. Usually, the last symbol (i.e., GP symbol) and the first symbol (i.e., symbol used for AGC) of a time slot are not included. Taking the time slot structure shown in Figure 11 as an example, A reference value indicating the number of symbols occupied by the PSFCH. The value of can be indicated by the "PSFCH symbol number" field in the first-order SCI. The value of is usually 0 or 3. Indicates the reference value of the number of REs occupied by the phase tracking reference signals (PT-RS) and CSI-RS. The value of can be configured by radio resource control (RRC) parameters. Indicates the average number of REs in the DMRS pattern in one slot. The value of may be related to the DMRS pattern supported in the resource pool. See Table 1, when the DMRS pattern includes three patterns {2, 3, 4}, The value of is 18, that is, the average number of REs of the three DMRS patterns is 18.

[0089] Table 1

[0090] Demodulation Reference Signal (DMRS)

[0091] As shown in Figure 12, in the NR SL system, the DMRS pattern of PSCCH is the same as the DMRS pattern of PDCCH in the NR system, that is, DMRS exists on each symbol of PSCCH and is located on the RE corresponding to {#1, #5, #9} in a PRB in the frequency domain.

[0092] PSCCH DMRS sequence r l (m) can satisfy Where c(m) represents a pseudo-random sequence. The initialization of the pseudo-random sequence c init Can satisfy: Wherein, l represents the index of the symbol where the DMRS is located in the time slot. Indicates the index of the time slot where the DMRS is located in the system frame. Indicates the number of symbols in a time slot. N ID ∈{0,1,…,65535}. In a resource pool, N ID The value can be configured or pre-configured by the network device.

[0093] The PSSCH of the NR-V2X system draws on the design of the NR air interface (i.e., Uu interface), that is, it adopts multiple time-domain PSSCH DMRS patterns. Within a resource pool, the number of available DMRS patterns is related to the number of PSSCH symbols in the resource pool (including the first AGC symbol). For a specific number of PSSCH symbols and PSCCH symbols, the available DMRS patterns and the position of each DMRS symbol within the DMRS pattern can be determined based on Table 2.

[0094] Table 2

[0095] Figure 13 shows a DMRS pattern using the example of a PSSCH symbol number of 13. As shown in Figure 13, when the number of DMRS symbols is 4, the 4 DMRS symbols occupy the 1st, 4th, 7th, and 10th symbol positions (or symbol indices) in the time slot, respectively.

[0096] If multiple DMRS patterns are configured in the time domain within a resource pool, the transmitting terminal device can select the specific DMRS pattern to use and indicate this in the first-order SCI. This design allows high-speed terminal devices to select a high-density DMRS pattern, thereby ensuring channel estimation accuracy; correspondingly, for low-speed terminal devices, a low-density DMRS pattern can be used to improve spectral efficiency.

[0097] The generation method of the PSSCH DMRS sequence is similar to that of the PSCCH DMRS sequence. The difference between the two lies in the initialization formula of the pseudo-random sequence c(m) (corresponding to the formula (4) above) where N ID The value of. In the pseudo-random sequence c(m) used to generate the PSSCH DMRS sequence, Among them, p i represents the cyclic redundancy check (CRC) of the PSCCH that schedules the PSSCH, L represents the number of bits of the PSCCH CRC, and the value of L is usually 24.

[0098] In the NR system, PDSCH and PUSCH support two frequency domain DMRS patterns, namely DMRS frequency domain type 1 and DMRS frequency domain type 2. Furthermore, for each frequency domain type of DMRS, there are two different symbol types: single symbol and dual symbol. Single symbol DMRS frequency domain type 1 can support 4 DMRS ports. Single symbol DMRS frequency domain type 2 can support 6 DMRS ports. The number of DMRS ports supported by dual symbol DMRS frequency domain type 1 is twice the number of DMRS ports supported by single symbol DMRS frequency domain type 1. The number of DMRS ports supported by dual symbol DMRS frequency domain type 2 is twice the number of DMRS ports supported by single symbol DMRS frequency domain type 2. However, in some sideline communication systems (such as NR SL systems), since PSSCH needs to support a maximum of two DMRS ports, such communication systems generally only support single symbol DMRS frequency domain type 1, and the frequency domain pattern of this type of DMRS can be shown in Figure 14.

[0099] Resource reservation for sideline communication

[0100] As described above in the sideline communication mode, in the second communication mode, the terminal device can independently select sideline resources to send data. Resource reservation can be understood as a prerequisite for supporting the terminal device to select resources. Resource reservation means that the terminal device can reserve selected sideline resources (for example, time-frequency resources) in the first sideline control information carried by the PSCCH. Currently, in NR-V2X, both intra-TB resource reservation and inter-TB resource reservation are supported. This is described below in conjunction with Figure 15.

[0101] Referring to Figure 15, the terminal device sends the first side control information, and uses the time domain resource assignment field and the frequency domain resource assignment field in the first side control information to indicate the N time-frequency resources used for the current TB transmission (including the time-frequency resources used for the current TB transmission). Generally, N≤Nmax. In NR-V2X, Nmax is equal to 2 or 3. At the same time, the above-mentioned N indicated time-frequency resources can be distributed in W time slots. Wherein, W can be a positive integer. For example, in NR-V2X, W is equal to 32.

[0102] Continuing with Figure 15 , during the transmission of TB 1, the terminal device can send first sidelink control information on the PSCCH simultaneously with the initial transmission data on the PSSCH, and use the two fields in the first sidelink control information to indicate the time-frequency resource locations for the initial transmission and retransmission 1 (in Figure 15 , N = 2), i.e., to reserve time-frequency resources for retransmission 1. Typically, the initial transmission and retransmission 1 are distributed within 32 time slots in the time domain.

[0103] Similarly, referring to Figure 15 , during the transmission of TB 1, the terminal device can use the first sidelink control information sent in the PSCCH of retransmission 1 to indicate the time-frequency resources for retransmission 1 and retransmission 2. The time-frequency resources for retransmission 1 and retransmission 2 can be distributed within 32 time slots in the time domain.

[0104] In addition, when the terminal device sends the first sidelink control information, it can use the resource reservation period field in the first sidelink control information to reserve resources between TBs.

[0105] Continuing to refer to Figure 15, when the terminal device sends the first side control information indicating the initial transmission resources of TB 1, it can use the time domain resource allocation and frequency domain resource allocation in the first side control information to indicate the time-frequency resource positions of TB 1 initial transmission and retransmission 1, which are recorded as {(t1, f1), (t2, f2)}. Among them, t1 and t2 represent the time domain positions of TB 1 initial transmission and retransmission 1 resources respectively, and f1 and f2 represent the frequency domain positions of TB 1 initial transmission and retransmission 1 resources respectively. If the value of the resource reservation period field in the first side control information is 100 milliseconds, then the first side control information also indicates the time-frequency resources {(t1+100, f1), (t2+100, f2)}, and these two resources are used for the transmission of TB 2 initial transmission and retransmission 1.

[0106] Similarly, the first sidelink control information sent on the retransmission 1 resource of TB 1 can also use the resource reservation period field to reserve the time-frequency resources for TB 2 retransmission 1 and retransmission 2. 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 or 1000 milliseconds, which is more flexible than LTE-V2X. However, in each resource pool, only e values ​​are usually configured, and the terminal device can determine the possible values ​​to use based on the resource pool used. Among them, e can be less than or equal to 16. The e values ​​in the resource pool configuration can be recorded as the resource reservation period set M.

[0107] 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 deactivating the reservation between TBs, the resource reservation period field is not included in the first side control information. 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 therein to reserve the resources of the next period for the transmission of another TB, thereby achieving periodic semi-continuous transmission.

[0108] When a terminal device operates in the second mode described above, it can obtain the first sidelink control information sent by other terminal devices by monitoring the PSCCH transmitted by other terminal devices, thereby learning the resources reserved by other terminal devices. When the terminal device subsequently selects resources, it will exclude the resources reserved by other terminal devices, thereby avoiding resource collisions. The following describes a method for resource selection based on monitoring in a sidelink communication system, with reference to Figures 16 and 17.

[0109] Resource selection method in side communication system

[0110] Referring to Figure 16, the terminal device may trigger resource selection or reselection in time slot n. In some implementations, time slot n may be the time slot in which the upper layer (e.g., the MAC layer) triggers the physical layer to report the candidate resource set. The resource selection window starts from n+T1 and ends at n+T2, expressed as [n+T1, n+T2]. Where 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 of 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, 120kHz. The terminal device determines T from this 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 If T2 is greater than or equal to the service's remaining delay budget, then T2 equals the service's remaining delay budget. The remaining delay budget is the difference between the time at which the data's delay requirement corresponds and the current time. For example, if a data packet arrives at time slot n and the delay requirement is 50 milliseconds, and a time slot is 1 millisecond, then 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.

[0111] Before resource selection, the terminal device needs to proc,0 (excluding nT proc,0 ) in the listening window, T0 is 100 or 1100 milliseconds. When the subcarrier spacing is 15, 30, 60, 120 kHz, T proc,0In some implementations, the terminal device performs resource listening in the time slots belonging to the resource pool used by it within the listening window. Generally speaking, the terminal device listens to the first sideline control information sent by other terminal devices in each time slot (except its own transmission time slot). If resource selection or reselection is triggered in time slot n, the terminal device can use n-T0 to nT proc,0 The result of resource listening.

[0112] The resource selection process may include step 1 and step 2.

[0113] Step 1: The terminal device selects all candidate available resources in the resource pool used by the terminal device within the resource selection window as resource set A (hereinafter referred to as "candidate resource set"). Any single time slot resource in resource 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, representing one or more consecutive subchannels starting from subchannel y within time slot x. The initial number of resources in resource set A is denoted as M. total The terminal device may exclude resources from resource set A based on the unlistened time slots within the resource listening window (step 1-1) and / or the resource listening results within the resource listening window (step 1-2). The terminal determines whether resource R(x, y) or a series of periodic resources corresponding to resource R(x, y) overlaps with the time slot determined based on the unlistened time slots in step 1-1 or the resource determined based on the first sidelink control information heard in step 1-2. If so, resource R(x, y) is excluded from resource set A.

[0114] Step 1 may include step 1-1 and step 1-2. Step 1-1 and step 1-2 are described below.

[0115] In step 1-1, if the terminal device sends data in time slot m within the listening window and does not listen, the terminal device will determine the corresponding Q time slots based on time slot m and each allowed resource reservation period in the resource pool used by the terminal, with the resource reservation period as the interval. If any of the reserved Q time slots overlaps with resource R(x,y) or a series of periodic resources corresponding to resource R(x,y), the terminal device will exclude resource R(x,y) from resource set A. In the above case, Q = 1 or ( Indicates rounding up), where Tscal is equal to the value of T2 converted to milliseconds, and Prx is one of the resource reservation periods allowed by the resource pool used by the terminal. In some implementations, a series of periodic resources corresponding to the resource R(x,y) are Cresel resources that have the same position as R(x,y) in the frequency domain and have a fixed time interval in the time domain. Cresel is related to the random count value generated by the terminal device. For example, in some implementations, the time interval can be determined based on the resource reservation period Ptx of the terminal device. For example, Figure 16 shows the case where Cresel is 3, indicating 3 periodic resources corresponding to the resource R(x,y) (it should be noted that the 3 periodic resources include R(x,y)).

[0116] Referring to Figure 16 , the terminal does not listen in time slot m. Therefore, the terminal device excludes resources for each resource reservation period in M ​​based on the resource reservation period set M in the resource pool configuration used. For a resource reservation period 1, assuming the Q value is calculated to be 2, the corresponding Q time slots are the two time slots marked with horizontal line shadows mapped from time slot m, with resource reservation period 1 as the interval. For a resource reservation period 2, assuming the Q value is calculated to be 1, the corresponding Q time slots are the one time slot mapped from time slot m, with resource reservation period 2 as the interval in Figure 16.

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

[0118] In some implementations, the terminal device can use the resource pool to activate the reservation between TBs. In this case, the terminal device may not perform the above step 1-1. In other implementations, after the terminal device performs step 1-1, if the remaining resources in resource set A are less than X*M total , the resource set A can be initialized to all available resources in the resource selection window belonging to the resource pool used by the terminal, and then steps 1-2 are performed.

[0119] Step 1-2: If the terminal device detects the first sidelink control information 1 transmitted in the PSCCH in the time slot m within the listening window, it measures the sidelink reference signal receiving power (SL-RSRP) of the PSCCH or the SL-RSRP of the PSSCH scheduled by the PSCCH, that is, the SL-RSRP of the corresponding PSSCH sent in the same time slot as the PSCCH.

[0120] If the measured SL-RSRP is greater than the SL-RSRP threshold, and the first sideline control information 1 received by the terminal device contains a resource reservation period domain, the terminal device will determine the corresponding Q time slots based on the time slot m and the resource reservation period carried in the detected first sideline control information 1, with the resource reservation period as the interval. The terminal will assume that the first sideline control information 1 with the same content is also received in the Q time slots. Subsequently, the terminal device will determine whether the time domain resource allocation and frequency domain resource allocation of the first sideline control information 1 received in time slot m and these assumed Q first sideline control information 1s overlap with the resource R(x,y) or a series of periodic resources corresponding to the resource R(x,y). If there is an overlap, the terminal device will exclude the corresponding resource R(x,y) from the set A. In the above case, Q=1 or Among them, Tscal is equal to the value after T2 is converted into milliseconds, and Prx is the resource reservation period carried in the first side control information detected. In some implementations, a series of periodic resources corresponding to the resource R(x,y) are Cresel resources that are at the same position as R(x,y) in the frequency domain and have a fixed time interval in the time domain, wherein Cresel is related to the random count value generated by the terminal device. For example, in some implementations, the time interval is determined according to the resource reservation period Ptx of the terminal device. For example, Figure 17 shows a case where Cresel is 3, indicating 3 periodic resources corresponding to the resource R(x,y) (it should be noted that the 3 periodic resources include R(x,y)).

[0121] Referring to Figure 17 , when the SCI received by a terminal device includes a resource reservation period field, if the terminal device detects first sidelink control information 1 in the PSCCH on resource E(v, m) in time slot m, and the resource reservation period in first sidelink control information 1 is Prx, and assuming the Q value is calculated to be 1, the terminal device will assume that the same first sidelink control information 1 has been received in the next time slot starting from time slot m and separated by Prx (i.e., the time slot where resource 4 is located). The terminal will determine whether resources 1, 2, 3, 4, 5, and 6 indicated by the time domain resource allocation and frequency domain resource allocation of the first sidelink control information 1 received in time slot m and the assumed first sidelink control information 1 to be received overlap with resource R(x, y) or a series of periodic resources corresponding to resource R(x, y). If they overlap and the RSRP condition is met, the terminal device will exclude resource R(x, y) from resource set A.

[0122] If the SL-RSRP measured by the terminal device is greater than the SL-RSRP threshold, and the SCI received by the terminal device does not include the resource reservation period domain, the terminal only determines whether the time domain resource allocation and the frequency domain resource allocation indicated by the first sidelink control information 1 received in time slot m overlap with the resource R(x,y) or a series of resources corresponding to the resource R(x,y). If they overlap, the terminal device will exclude the resource R(x,y) from the resource set A.

[0123] Continuing to refer to Figure 17, when the SCI received by the terminal device does not include the resource reservation period domain, if the terminal device detects the first sideline control information 1 in the PSCCH on the resource E(v, m) in time slot m, the terminal device will determine whether the resources 1, 2, and 3 indicated by the time domain resource allocation and frequency domain resource allocation in the first sideline control information 1 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 terminal device will exclude the resource R(x, y) from the resource set A.

[0124] If the remaining resources in resource set A are less than X*M after the above resources are excluded total , then increase the SL-RSRP threshold by 3dB and repeat step 1. The physical layer reports the resource set A after resource exclusion as a candidate resource set to the upper layer.

[0125] 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.

[0126] In some implementations, step 1 may be performed by the physical layer of the terminal device, and accordingly, the higher layer in step 2 may be a higher layer relative to the physical layer, such as the MAC layer.

[0127] During resource selection, one or more of the following should be considered. First, the 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 transmitted by the terminal device. The resource pool configuration used by the terminal includes a SL-RSRP threshold table, which contains the SL-RSRP thresholds corresponding to all priority combinations. The resource pool configuration can be network-configured or pre-configured. When a terminal device detects a PSCCH transmitted by another terminal device, it obtains the priority P1 and the priority P2 of the data to be transmitted carried in the first sidelink control information 1 transmitted in the PSCCH. The terminal device then determines the SL-RSRP threshold by looking up Table 1. Second, whether the terminal device uses its measured PSCCH-RSRP or the PSSCH-RSRP scheduled by the PSCCH to compare with the SL-RSRP threshold depends primarily on the resource pool configuration used by the terminal, which can be network-configured or pre-configured. Third, the possible values ​​of X mentioned above 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 based on the priority of the data to be sent and the correspondence. The resource pool configuration can be configured by the network or pre-configured.

[0128] Resource selection for inter-terminal collaboration

[0129] Some communication technologies (such as the 3GPP Release 17 standard) have optimized the SL communication method described above in which the terminal device autonomously selects resources through listening. The optimization may include an SL communication method in which terminal devices assist in resource selection (referred to as inter-terminal collaborative resource selection). The collaborative resource selection method between terminal devices can be divided into method 1 and method 2. Assume that the terminal device that needs to perform resource selection is terminal device B (represented by UE B), and the terminal device that assists terminal device B in resource selection is terminal device A (represented by UE A). In method 1, terminal device A generates a resource set based on the listening results. The resource set may, for example, include a preferred resource set and / or a non-preferred resource set. The preferred resource set is a set of resources suitable for transmission by terminal device B. The non-preferred resource set is a collection of resources that are not suitable for transmission by terminal device B. Terminal device A transmits the preferred / non-preferred resource set to terminal device B, and terminal device B can determine the transmission resource based on this after receiving it. In Method 2, terminal device B sends an SCI to terminal device A to indicate reserved transmission resources. Terminal device A uses the reserved resources indicated by terminal device B to determine whether there is a resource conflict with the reserved resources indicated by other terminals. If a conflict occurs, terminal device A sends a 1-bit conflict indication to terminal device B. After receiving the resource conflict indication, terminal device B triggers resource reselection. Methods 1 and 2 are described in detail below with reference to the accompanying figures.

[0130] Figure 18 is a flowchart of Method 1. In Figure 18, UE B is the terminal device that performs autonomous resource selection, and UE A is the terminal device that determines the preferred / non-preferred resource set. As shown in Figure 18, UE A can send the determined preferred / non-preferred resource set to UE B. When UE B performs resource selection, it can refer to the preferred / non-preferred resource set transmitted by UE A to avoid resource collision with other UEs and improve communication reliability.

[0131] As shown in Figure 18, there are two main triggering mechanisms for inter-UE collaboration in Mode 1. One is initiated by UE B, where UE B transmits trigger information or request information to UE A. After receiving the trigger information or request information, UE A determines a set of preferred / non-preferred resources and sends it to UE B. The other is initiated by UE A, where, when specific conditions are met, such as when UE A meets periodic conditions, UE A determines a set of preferred / non-preferred resources and sends it to UE B.

[0132] When UE A transmits a preferred resource set to UE B, UE A is typically the data receiver for UE B. UE A can initialize a candidate resource set from the perspective of the receiver. In some implementations, UE A can exclude resources based on undetected time slots and / or detected SCIs. In some implementations, UE A can exclude resources that are not expected to be received due to half-duplex operation. UE A can determine the excluded candidate resource set as the preferred resource set and transmit it to UE B. After receiving the preferred resource set, UE B can intersect its own candidate resource set with the preferred resource set and select a transmission resource from the intersection.

[0133] When UE A transmits a non-preferred resource set to UE B, UE A may be or may not be a data receiving end of UE B. For example, UE A may be a data receiving end of another UE C.

[0134] When UE A is the data receiver of UE B, if the SL-RSRP of the PSSCH corresponding to the first sidelink control information 1 detected by UE A or the SL-RSRP scheduled by the PSCCH is greater than a threshold, UE A may determine the resources indicated by the first sidelink control information 1 as resources in a non-preferred resource set and transmit the non-preferred resource set to UE B. For example, the resources indicated by the first sidelink control information 1 are resources indicated by the time domain resource allocation domain or the frequency domain resource allocation domain. In addition, UE A may also place resources that are not expected to be received due to half-duplex mode into the non-preferred resource set.

[0135] Referring to Figure 19 , UE A is the data receiving end of UE B. From the perspective of UE A as the receiving end, if the RSRP of the SCI sent to UE A by any terminal device UE C other than UE A and UE B is greater than the SL-RSRP threshold, UE A can regard the resources indicated by the SCI sent by UE C as a non-preferred resource set and transmit the non-preferred resource set to UE B, thereby preventing UE B and UE C from selecting the same resources. This is because, if UE B selects the same resources as UE C, UE A, as the receiving end, will be subject to strong interference from UE C when receiving data transmitted by UE B. In some implementations, the non-preferred resource set may include resources indicated by multiple SCIs from multiple UE Cs (i.e., UEs different from the two UEs performing data transmission).

[0136] When UE A is not the receiving end of UE B, if the SL-RSRP of the PSSCH corresponding to the first sidelink control information 1 heard by UE A or the SL-RSRP scheduled by the PSCCH is less than the threshold, and UE A is the receiving end of the PSCCH scheduled by the PSCCH, UE A can determine the resources indicated by the first sidelink control information 1 as resources in the non-preferred resource set and transmit the non-preferred resource set to UE B.

[0137] Referring to Figure 20 , UE A is not the data receiver of UE B, but rather the data receiver of UE C. When UE A receives the SCI transmitted by UE C and detects that the SL-RSRP of the SCI is relatively low, UE A will treat the resources indicated by the SCI transmitted by UE C as a non-preferred resource set and transmit the non-preferred resource set to UE B. After receiving the non-preferred resource set, UE B excludes candidate resources that overlap with the non-preferred resource set from its own generated candidate resource set to avoid interfering with data transmission from UE C to UE A. Because the RSRP of the signal sent by UE C is relatively low and easily interfered with, the transmission link from UE C to UE A is relatively fragile. If UE B selects the same resource as UE C, UE A, as the receiving end, will experience strong interference from UE B when receiving data transmitted by UE C. In some implementations, the non-preferred resource set may include resources indicated by multiple SCIs from multiple UE Cs (i.e., UEs transmitting data with UE A).

[0138] Figure 21 is a flowchart of Method 2. In Figure 21, UE B is a terminal device that performs autonomous resource selection. UE B transmits first sidelink control information 1 to UE A. UE C is any terminal device other than UE A and UE B. UE C transmits first sidelink control information 2 to UE A. That is, UE A can receive both the first sidelink control information 1 transmitted by UE B and the first sidelink control information 2 transmitted by UE C. The first sidelink control information 1 transmitted by UE B to UE A indicates reserved resources. After receiving the first sidelink control information 1, UE A determines a resource conflict indication based on the detected first sidelink control information 1 and the first sidelink control information 2, and transmits the resource conflict indication to UE B. After receiving the resource conflict indication, UE B triggers resource reselection based on the resource conflict indication.

[0139] In some implementations, the reserved resources indicated by the SCI are resources indicated by the time-domain resource allocation field and the frequency-domain resource allocation field, excluding the resources in the current SCI. For example, if the time-domain resource allocation and the frequency-domain resource allocation indicate three resources 1, 2, and 3, and resource 1 is the resource for transmitting the SCI, then the reserved resources indicated by the SCI are resource 2 and / or resource 3. In some implementations, upon receiving a resource conflict indication, UE B may reselect the reserved resources indicated by the SCI.

[0140] In mode 2, UE A can be the data receiving end of UE B or the data receiving end of UE C.

[0141] When UE A is the data receiver for UE B, UE A will transmit a resource conflict indication to UE B when certain conditions are met. For example, with respect to the following conditions, when condition 1 is met, UE A may transmit a resource conflict indication to UE B. For another example, when conditions 2, 4, and 5 are met, UE A may transmit a resource conflict indication to UE B. For another example, when conditions 3, 4, and 5 are met, UE A may transmit a resource conflict indication to UE B. Condition 1: UE A does not expect to receive in the time slot where the reserved resources indicated by UE B through the first sidelink control information 1 are located due to half-duplex; Condition 2: The SL-RSRP of the PSCCH carrying the first sidelink control information 2 or the PSSCH scheduled by the PSCCH is higher than the threshold value; Condition 3: The SL-RSRP of the PSCCH carrying the first sidelink control information 2 or the PSSCH scheduled by the PSCCH is higher than the SL-RSRP of the PSCCH carrying the first sidelink control information 1 or the PSSCH scheduled by the PSCCH plus the configured threshold; Condition 4: The reserved resources indicated by the first sidelink control information 2 overlap with the reserved resources indicated by the first sidelink control information 1; Condition 5: The priority indicated by the first sidelink control information 2 is higher than the priority indicated by the first sidelink control information 1.

[0142] When UE A is the data receiving end of UE C, UE A will transmit a resource conflict indication to UE B when certain conditions are met. For example, when the following conditions 1, 3, and 4 are met, UE A can transmit a resource conflict indication to UE B. For another example, when the following conditions 2, 3, and 4 are met, UE A can transmit a resource conflict indication to UE B. Condition 1, the SL-RSRP of the PSCCH carrying the first sidelink control information 1 or the PSSCH scheduled by the PSCCH is higher than the threshold value; Condition 2, the SL-RSRP of the PSCCH carrying the first sidelink control information 1 or the PSSCH scheduled by the PSCCH is higher than the SL-RSRP of the PSCCH carrying the first sidelink control information 2 or the PSSCH scheduled by the PSCCH plus the configured threshold; Condition 3, the reserved resources indicated by the first sidelink control information 2 overlap with the reserved resources indicated by the first sidelink control information 1; Condition 4, the priority indicated by the first sidelink control information 2 is higher than the priority indicated by the first sidelink control information 1.

[0143] Referring to Figure 22 , UE B transmits first sidelink control information 1 to UE A, and UE C transmits first sidelink control information 2 to UE A. After receiving these two SCIs, UE A determines whether the indicated reserved resources overlap. When UE A is the data receiver for UE B, a high RSRP of first sidelink control information 2 will interfere with the transmission from UE B to UE A. When the priority of first sidelink control information 1 is low, UE A will transmit a resource conflict indication to UE B, triggering resource reselection to avoid resource conflict. When UE A is the data receiver for UE C, a high RSRP of first sidelink control information 1 will interfere with the transmission from UE C to UE A. When the priority of first sidelink control information 1 is low, UE A may transmit a resource conflict indication to UE B, triggering resource reselection to avoid resource conflict.

[0144] Unlicensed spectrum communications

[0145] Unlicensed spectrum is a spectrum allocated by countries and regions that can be used for radio equipment communications. This spectrum is generally considered to be shared spectrum, that is, as long as communication equipment meets the regulatory requirements set by the country or region on this spectrum, it can use this spectrum without applying for exclusive spectrum authorization from the country or region's dedicated spectrum management agency. Because the use of unlicensed spectrum needs to meet the specific regulatory requirements of each country and region, such as communication equipment using unlicensed spectrum in accordance with the "listen-before-talk" (LBT) principle, NR technology needs to be enhanced accordingly to adapt to the regulatory requirements of unlicensed frequency bands, while efficiently utilizing unlicensed spectrum to provide services. Unlicensed spectrum can also be referred to as unlicensed spectrum, unlicensed frequency bands, shared spectrum, or shared bandwidth.

[0146] The NR system is a communication technology used on existing and new licensed spectrum. The NR system can achieve seamless coverage, high spectrum efficiency, high peak rate and high reliability of cellular networks. Unlicensed spectrum is a shared spectrum. Multiple different communication systems can amicably share resources on the unlicensed spectrum for wireless communication if they meet certain requirements. In the LTE system, the unlicensed spectrum has been used as a supplementary frequency band to the licensed spectrum for cellular networks. Similarly, NR technology can also be applied to unlicensed spectrum, which is called new radio-based access to unlicensed spectrum (NR-U) based on the NR system.

[0147] For ease of understanding, the following description uses the NR-U system applied to unlicensed spectrum as an example. It is understandable that the present application can also be applied to other communication systems applied to unlicensed spectrum.

[0148] NR-U technology supports two networking modes: licensed spectrum assisted access and unlicensed spectrum independent access. Licensed spectrum assisted access requires the use of licensed spectrum to access the network. The carrier on the unlicensed spectrum is an auxiliary wave, which serves as a supplementary spectrum to the licensed spectrum to provide users with big data service transmission. Unlicensed spectrum independent access can be independently networked through unlicensed spectrum, and users can directly access the network through unlicensed spectrum. The range of unlicensed spectrum used by the NR-U system introduced in the relevant technology is concentrated in the 5GHz and 6GHz frequency bands, such as 5925-7125MHz in the United States, or 5925-6425MHz in Europe. In the relevant technology, band 46 (5150MHz-5925MHz) is also newly defined for use as unlicensed spectrum.

[0149] In the relevant communication standards, the standardization of NR-U technology has been mainly completed in the following aspects: channel monitoring process; initial access process; control channel design; hybrid automatic repeat request (HARQ) and scheduling; scheduling-free authorization transmission, etc.

[0150] Channel Monitoring

[0151] In order to allow various communication systems using unlicensed spectrum for wireless communication to coexist peacefully on this spectrum, some countries or regions have established regulatory requirements that must be met when using unlicensed spectrum. For example, according to European regulations, when using unlicensed spectrum for communication, communication devices must follow the LBT principle, that is, before using a channel on the unlicensed spectrum to transmit a signal, the communication device must first perform channel monitoring. Only when the channel monitoring result is that the channel is idle or LBT is successful, the communication device can transmit a signal through the channel. If the channel monitoring result on the channel by the communication device is that the channel is busy or LBT fails, then the communication device cannot transmit a signal through the channel. In addition, to ensure the fairness of spectrum resource use in shared spectrum, if a communication device successfully LBTs on a channel in the unlicensed spectrum, the duration that the communication device can use the channel for communication transmission cannot exceed the maximum channel occupancy time (MCOT). Figure 23 shows the channel occupancy time obtained by a communication device after a successful LBT on a channel in the unlicensed spectrum, and the use of resources within the channel occupancy time for signal transmission. This mechanism limits the maximum duration of communication after a successful LBT, allowing different communication devices to have the opportunity to access the shared channel, thereby enabling different communication systems to coexist in a friendly manner on the shared spectrum.

[0152] Although channel sensing is not a global regulatory requirement, it can provide interference avoidance and friendly coexistence benefits for communication transmissions between communication systems on shared spectrum. Therefore, in the design of NR systems on unlicensed spectrum, channel sensing is a feature that must be supported by the communication equipment in the system. From the perspective of system networking, channel sensing includes two mechanisms: load-based equipment (LBE) LBT, also known as dynamic channel sensing or dynamic channel occupancy, and frame-based equipment (FBE) LBT, also known as semi-static channel sensing or semi-static channel occupancy.

[0153] Dynamic channel monitoring can be considered as channel access based on LBE. The principle of channel monitoring is that the communication device performs LBT on the carrier of the unlicensed spectrum after the service arrives, and starts sending signals on the carrier after the LBT is successful. The channel access methods of dynamic channel monitoring include type 1 channel access method and type 2 channel access method. Type 1 channel access method is a multi-slot channel detection with random backoff based on the adjustment of the contention window size, wherein the corresponding channel access priority class (CAPC) p can be selected according to the priority of the service to be transmitted. Type 2 channel access method is a channel access method based on a fixed-length monitoring time slot. Among them, type 2 channel access methods include type 2A channel access, type 2B channel access and type 2C channel access. Type 1 channel access method is mainly used for communication equipment to initiate channel occupation, and type 2 channel access method is mainly used for communication equipment to share channel occupation.

[0154] The following describes the channel access method using a network device as an example. It is understandable that a terminal device can also use the channel access method described below to access the channel.

[0155] It should be noted that when a network device initiates channel occupancy for a supplementary service (SS) / physical broadcast channel (PBCH) block within a dedicated reference signal (DRS) window, and the DRS window does not include unicast data transmission of the terminal device, if the length of the DRS window does not exceed 1ms and the duty cycle of the DRS window transmission does not exceed 1 / 20, then the network device can use type 2A channel access to initiate channel occupancy.

[0156] Type 1 channel access mode can also be called multi-slot channel detection with random backoff based on contention window size adjustment. In type 1 channel access mode, the communication device can initiate a channel access priority of length T according to the channel access priority p. mcot Table 3 shows the channel access priority and its corresponding parameters when the communication device performs type 1 channel access.

[0157] Table 3

[0158] In Table 3, m p Refers to the number of fallback slots corresponding to the channel access priority p, CW p Refers to the contention window (CW) size corresponding to the channel access priority p, CWmin,p Refers to the CW corresponding to the channel access priority p p Minimum value, CW max,p Refers to the CW corresponding to the channel access priority p p The maximum value, T mcot,p Refers to the maximum occupancy time of the channel corresponding to the channel access priority p. If the channel access process is completed, the network device can use the channel to transmit the service to be transmitted. The maximum time that the network device can use the channel for transmission cannot exceed T mcot,p .

[0159] If a network device uses a channel access method of type 1, then the network device can not only send its own data during the channel occupancy period, but also share the channel occupancy time (COT) with the terminal device. Correspondingly, if a terminal device uses a channel access method of type 1, then the terminal device can not only send its own data during the channel occupancy period, but also share the COT with the network device or other terminal devices. Resource sharing within the COT can use a channel access method of type 2 for channel access. The channel access method of type 2 can be called a channel access method based on a fixed-length channel monitoring time slot. The channel access method of type 2 includes a channel access method of type 2A, a channel access method of type 2B, and a channel access method of type 2C.

[0160] In the Type 2A channel access mode, the communication device can use a 25μs single-slot channel detection. For example, in the Type 2A channel access mode, the communication device can perform a 25μs channel detection before starting to transmit and can transmit after the channel detection is successful.

[0161] In Type 2B channel access, communications devices can use a 16μs single-slot channel detection period. For example, in Type 2B channel access, a communications device can monitor the channel for 16μs before starting a transmission and then transmit after successfully monitoring the channel. The interval between the start of a transmission and the end of the previous transmission is 16μs.

[0162] In Type 2C channel access, a communication device transmits after a gap ends without performing channel detection. Specifically, in Type 2C channel access, a communication device can directly transmit, where the gap between the start position of a transmission and the end position of the previous transmission can be less than or equal to 16μs. In addition, the length of the transmission can not exceed 584μs.

[0163] Channel access parameter indication

[0164] In the NR-U system, when the terminal device is scheduled to transmit PUSCH or physical uplink control channel (PUCCH), the network device can indicate the channel access method corresponding to the PUSCH or PUCCH by carrying downlink control information (DCI) of uplink grant (UL grant) or downlink grant (DL grant). Since some channel access methods need to meet the gap requirements of 16μs or 25μs, the terminal device can ensure the gap size between two transmissions by transmitting an extended cyclic prefix (CPE). Accordingly, the network device can indicate the CPE length of the first symbol of the uplink transmission of the terminal device.

[0165] The network device can explicitly indicate channel access parameters such as CPE length, channel access mode or channel access priority to the terminal device through joint coding.

[0166] There are four DCI formats for indicating the channel access parameters introduced, namely: fallback uplink authorization for scheduling PUSCH transmission (DCI format 0_0), fallback downlink authorization for scheduling PDSCH transmission (DCI format 1_0), non-fallback uplink authorization for scheduling PUSCH transmission (DCI format 0_1), and non-fallback downlink authorization for scheduling PDSCH transmission (DCI format 1_1).

[0167] When scheduling a fallback uplink grant (DCI format 0_0) for PUSCH transmission, the set of channel access mode and CPE length joint indications preset in the standard is shown in Table 4. The fallback uplink grant includes 2 bits of LBT indication information, which is used to indicate the jointly coded channel access mode and CPE length from the set shown in Table 4. The channel access mode and CPE length are used for PUSCH transmission. If the channel access mode is type 1 channel access, the terminal device selects the CAPC based on the service priority.

[0168] When scheduling the fallback downlink grant (DCI format 1_0) for PDSCH transmission, the set of preset channel access mode and CPE length joint indications can be as shown in Table 4. The fallback downlink grant includes 2-bit LBT indication information, which is used to indicate the jointly coded channel access mode and CPE length from the set shown in Table 4. The channel access mode and CPE length are used for PUCCH transmission, and PUCCH can carry the acknowledgment (ACK) or negative acknowledgment (NACK) information corresponding to the PDSCH. If the channel access mode is Type 1 channel access, the terminal device determines that the channel access priority CAPC = 1 for transmitting PUCCH.

[0169] In Table 4, the value of C1 may be specified by the protocol. For example, when the subcarrier spacing is 15 kHz and 30 kHz, C1 = 1; when the subcarrier spacing is 60 kHz, C1 = 2. The values ​​of C2 and C3 are configured by higher-layer parameters. When the subcarrier spacing is 15 kHz and 30 kHz, the values ​​of C2 and C3 range from 1 to 28; when the subcarrier spacing is 60 kHz, the values ​​of C2 and C3 range from 2 to 28.

[0170] Table 4

[0171] When scheduling a non-fallback uplink grant (DCI format 0_1) for PUSCH transmission, the higher layer configures an LBT parameter indication set, which includes at least one jointly coded channel access method, CPE length, and CAPC. The non-fallback uplink grant includes LBT indication information. Among them, the LBT indication information can be used to indicate the jointly coded channel access method, CPE length, and CAPC from the above-mentioned LBT parameter indication set. The channel access method, CPE length, and CAPC can be used for PUSCH transmission. If the indicated channel access method is type 2 channel access, the CAPC indicated at the same time is the CAPC used by the network device when obtaining the COT. The LBT indication information includes a maximum of 6 bits.

[0172] When scheduling a non-fallback downlink grant (DCI format 1_1) for PDSCH transmission, the higher layer configures an LBT parameter indication set, which includes at least one jointly coded channel access method and CPE length. The non-fallback downlink grant includes LBT indication information, which is used to indicate the jointly coded channel access method and CPE length from the above-mentioned LBT parameter indication set. The channel access method and CPE length are used for PUCCH transmission, where the PUCCH can carry ACK or NACK information corresponding to the PDSCH. If the channel access method is type 1 channel access, the terminal device can determine the channel access priority CAPC=1 for transmitting PUCCH. The LBT indication information includes a maximum of 4 bits.

[0173] In addition to the above explicit indications, the network device can also implicitly indicate the channel access method within the COT. For example, when a terminal device receives an uplink grant or downlink grant sent by a network device, and the uplink grant or downlink grant indicates that the channel access type corresponding to the PUSCH or PUCCH is type 1 channel access, if the terminal device can determine that the transmission time of the PUSCH or PUCCH is within the COT of the network device, then the terminal device can update the channel access type corresponding to the PUSCH or PUCCH to type 2A channel access instead of type 1 channel access.

[0174] Figure 24 is a schematic flowchart of a wireless communication method provided by an embodiment of the present application. Figure 24 can be executed by a first terminal device and a second terminal device. For example, the first terminal device can be a terminal device that needs to select resources for sideline communication. The second terminal device can be a terminal device that assists the first terminal device in selecting resources.

[0175] The method shown in FIG. 24 may include step S2410 .

[0176] Step S2410: The first terminal device sends first information to the second terminal device.

[0177] The first information may be related to the target resource. For example, the first information may be used to indicate information related to the target resource. The target resource may be a resource that the first terminal device needs to select. In other words, the target resource may be a resource that the first terminal device is about to use for communication or a resource that the first terminal device expects to use.

[0178] In some embodiments, after selecting the target resource, the first terminal device may perform side communication with the second terminal device via the target resource. For example, the second terminal device may be a receiving end of data sent by the first terminal device.

[0179] In some embodiments, after selecting a target resource, the first terminal device can communicate with a third terminal device via the target resource. For example, the third terminal device can be the receiver of data sent by the first terminal device. The third terminal device can be different from both the first terminal device and the second terminal device.

[0180] It can be seen from this that the second terminal device may be a device that performs sideline communication with the first terminal device, or may not be a device that performs sideline communication with the first terminal device.

[0181] In some embodiments, the target resource may be continuous. The target resource being continuous may mean that the target resource is continuous in the time domain.

[0182] The target resource can be represented by a resource unit in the time domain. That is, the target resource may include one or more consecutive resource units. For example, the resource unit may include a time slot, that is, the target resource may consist of one or more consecutive time slots. Alternatively, the resource unit may be represented by other time domain units or time units. For example, the resource unit may be represented by microseconds (μs) or milliseconds (ms). A resource unit may include resources of at least 1 μs or at least 1 ms. In this case, the target resource may include resources of several consecutive ms or several μs.

[0183] In the case where the target resource includes multiple consecutive resource units, there may be no interval or a very small interval between the multiple resource units. The very small interval may mean that the interval is not enough for other communication devices to access / occupy / use the frequency band.

[0184] From this, we can see that the target resource is continuous, which means that, for a certain frequency band, the resources between the start time and the end time of the target resource are all occupied by the first terminal device or reserved for the first terminal device, and the resources cannot or are difficult to be used or preempted by other communication devices. Taking the resource unit including time slots as an example, there will be no time slots not occupied by the first terminal device or time slots occupied by other communication devices between the time slots included in the target resource.

[0185] The first information may indicate information related to the target resource. For example, the first information may be used to indicate a first number. The first number may be the number of consecutive resource units in the target resource or the length of the target resource. For example, if the resource units include time slots, the first information may be used to indicate that the target resource is a consecutive time slot resource and includes a first number of consecutive time slots.

[0186] Through the first information, the first terminal device can inform the second terminal device of the number of continuous resource units in the target resource (i.e., the first number), so that the second terminal device can help the first terminal device select resources based on the first number, thereby facilitating efficient and accurate communication. For example, the second terminal device can assist the first terminal device in resource selection based on the first number, that is, to achieve collaborative resource selection between terminals, thereby recommending a more suitable resource set to the first terminal device. For another example, the second terminal device can detect the data sent by the first terminal device on the first number of resource units, thereby accurately receiving the data sent by the first terminal device.

[0187] In some embodiments, the target resources may belong to resources of an unlicensed spectrum. That is, the embodiments provided in the present application may be applied in authorized spectrum communications. In the unlicensed spectrum, if the target resources are not continuous, that is, there are intervals in the resources used for transmission by the first device, then during the interval, the unlicensed spectrum may be preempted by other communication devices (such as heterogeneous system devices), thereby causing the transmission of the first terminal device to be interrupted, and further resulting in increased latency or even transmission failure. Through the present application, the resources selected by the first terminal device may be continuous. Therefore, the present application can avoid the unlicensed spectrum from being preempted by other communication devices, so that the transmission of the first terminal device on the unlicensed spectrum can proceed normally.

[0188] In some embodiments, the target resource may be a resource in an authorized spectrum or a dedicated spectrum. That is, the embodiments provided herein may be used in communications in an authorized spectrum or a dedicated spectrum. A dedicated spectrum may be a spectrum dedicated to a particular field. For example, a dedicated spectrum may include an intelligent transport system (ITS) spectrum.

[0189] In some embodiments, the first terminal device may receive second information sent by the second terminal device. The second information may be related to a first candidate resource set recommended by the second terminal device to the first terminal device. The target resource may be selected based on the first candidate resource set. For example, the target resource may be selected from the first candidate resource set. Alternatively, the target resource may be selected with reference to the recommendation of the first candidate resource set, i.e., resources in the target resource may belong to the first candidate resource set or may not belong to the first candidate resource set.

[0190] It should be noted that in some embodiments, the first candidate resource set may be a resource set that the second terminal device expects the first terminal device to select. Therefore, the first candidate resource set may also be referred to as a preferred resource set or an expected resource set.

[0191] It can be seen that the second information can be used to implement a collaborative resource selection process between terminal devices, that is, the second terminal device can cooperate with the first terminal device to select continuous target resources by indicating the second information.

[0192] In some embodiments, the second information may be determined based on the first information. For example, the first candidate resource set may be determined based on the first number.

[0193] In a possible implementation, the first candidate resource set may consist of one or more first resources. The first resources may include multiple contiguous resource units. The number of resource units included in the first resources may be greater than or equal to the first number. That is, the resources included in the first candidate resource set are all contiguous resources that are greater than or equal to the first number of resource units.

[0194] In the case of resource selection through coordination between terminals, the relevant technology only considers the inter-terminal coordination process of a single resource unit (such as a single time slot). Therefore, the relevant technology is difficult to meet the demand that the target resource is a continuous resource unit. For example, the preferred resource set sent by the opposite terminal device is determined based on a single resource unit, so the preferred resource set contains a large total number of resource units. On the one hand, this will result in a large signaling overhead for the information indicating the resource set transmitted between terminal devices. On the other hand, a large number of resources contained in the preferred resource set cannot be used by the first terminal device, resulting in a waste of resources. Based on the present application, in the case where the resources included in the first candidate resource set are all continuous resources greater than or equal to the first number of resource units, the total number of resource units in the first candidate resource set is small. Therefore, the signaling overhead indicating the first candidate resource set is small. In addition, in the case where the target resource is selected from the first candidate resource set, the optional range of the target resource will be much smaller, thereby reducing the waste of resources.

[0195] In addition, this application combines the coordination mechanism between terminal devices to solve various problems such as hidden node / resource conflicts, thereby improving resource utilization efficiency and avoiding resource interference or resource conflicts.

[0196] In the case where the target resources belong to unlicensed spectrum resources, if the target resources selected through collaboration between terminal devices are continuous, it can avoid the first terminal device being preempted by other communication devices during the process of using the unlicensed spectrum.

[0197] It should be noted that, when the first candidate resource set includes multiple first resources, the number of resource units in the multiple first resources may be the same or different. For example, the number of resource units in the Nth first resource may be the first number, and the number of resource units in the Mth first resource may be greater than the first number. M and N may both be positive integers, and M and N may be different.

[0198] Taking the resource unit as a time slot as an example, the first resource can include greater than or equal to the first number of time slots. For example, if the first number is equal to 4, the first candidate resource set will include one or more continuous time slot resources with a number of time slots greater than or equal to 4. The following is an example illustrated by Figure 25. In Figure 25, the first number is 4. As shown in Figure 25, the first resources included in the first candidate resource set are: 4 time slots, 5 time slots, 4 time slots, and 13 time slots, respectively. That is, the first candidate resource set includes continuous time slot resources that are greater than or equal to 4 time slots.

[0199] It is understandable that the first candidate resource set consists of the first resource, and some candidate resources may be excluded, thereby making the optional range of target resources smaller, thereby simplifying the resource selection process.

[0200] In some embodiments, the resources included in the first candidate resource set may satisfy the following requirements: less than the first number of resource units, or consisting of a single resource unit. The resource units comprising the first candidate resource set may or may not be contiguous. FIG. 26 illustrates this using a resource unit as a time slot as an example.

[0201] For the example shown in Figure 26, the first number is 4. As shown in Figure 26, the number of resource units in the resources included in the first candidate resource set is: 1 time slot, 4 time slots, 5 time slots, 1 time slot, 4 time slots, 2 time slots, 7 time slots, 3 time slots, and 1 time slot, respectively. As can be seen from Figure 26, the first candidate resource set can include a single time slot. Alternatively, the number of consecutive time slots in the resources included in the first candidate resource set shown in Figure 26 can be less than 4.

[0202] The present application does not limit the method by which the second terminal device determines the first candidate resource set. For example, the second terminal device may exclude or select resources based on the first information to determine the first candidate resource set.

[0203] Optionally, the second terminal device may perform one or more of the following operations: excluding resources that are not monitored and / or resources that are monitored to receive SCI indications; excluding resources used for half-duplex (resources used by the second terminal device to send signals) that are not expected to be received; and, among the excluded resources, determining a set of resources whose number of consecutive resource units is greater than or equal to the first number as a first candidate resource set.

[0204] In some embodiments, the target resource can be determined based on the first candidate resource set and the remaining candidate resource set of the first terminal device. The remaining candidate resource set can be a set of resources remaining after the first terminal device is excluded from the resource pool. The first terminal device can exclude resources by the method of method resource listening described above. For example, the first terminal device can perform the following steps: the first terminal device excludes resources based on the unlistened time slots and / or the listened SCI. The specific exclusion method can be referred to above and will not be repeated here.

[0205] In some embodiments, the intersection of the first candidate resource set and the remaining candidate resource set of the first terminal device may include a second candidate resource set. That is, the second candidate resource set can be obtained by taking the intersection of the first candidate resource set and the remaining candidate resource set. Exemplarily, the second candidate resource set may be composed of one or more second resources. Among them, the second resource may include a plurality of continuous resource units, and the number of resource units contained in the second resource may be greater than or equal to the first number. That is to say, after taking the intersection of the first candidate resource set and the remaining candidate resource set, the resources whose number of continuous resource units is less than the first number can be eliminated to obtain the second candidate resource set. The second candidate resource set is explained below using Figures 25 and 26 as examples.

[0206] In Figures 25 and 26, the first number is 4, and the resource unit is a time slot. As shown in Figures 25 or 26, the intersection of the remaining resource set and the first candidate resource set is taken. Since the number of consecutive time slots in the intersecting resources outlined by the dashed line is greater than or equal to 4, these resources can belong to the second candidate resource set. Since the number of consecutive time slots in the intersecting resources outlined by the dotted line is 3, which is less than 4, these resources do not belong to the second candidate resource set.

[0207] It should be noted that, when the second candidate resource set includes multiple second resources, the number of resource units in the multiple second resources may be the same or different. For example, the number of resource units in the Pth second resource may be the first number, and the number of resource units in the Qth second resource may be greater than the first number. P and Q may both be positive integers, and P and Q may be different.

[0208] In some embodiments, the target resource may be selected from the second set of candidate resources.

[0209] Optionally, the first terminal device may report the second candidate resource set to a higher layer, and the higher layer may select a resource having a first number of continuous resource units from the second candidate resource set as a target resource. The higher layer may include protocol layers above the physical layer, such as a MAC layer. The higher layer may notify the physical layer of the selected target resource. The physical layer may use the target resource notified by the higher layer to send sidelink information.

[0210] It is understandable that the second candidate resource set is composed of the second resources, and some candidate resources can be excluded, thereby making the optional range of target resources smaller, thereby simplifying the resource selection process.

[0211] In some embodiments, the remaining candidate resource set may be composed of one or more third resources. Among them, the third resource may include a plurality of continuous resource units. In addition, the number of resource units included in the third unit may be greater than or equal to the first number. Alternatively, the third unit may not include a separate resource unit (i.e., a resource with only one resource unit). For example, after the first terminal device excludes resources based on unlistened time slots and / or detected SCI, the resources may be further excluded based on the number of continuous resource units. Exemplarily, the remaining candidate resource set may be a set of resources that excludes separate resource units and / or continuous resource units that are less than the first number.

[0212] It should be noted that, when the remaining resource set includes multiple third resources, the number of resource units in the multiple third resources may be the same or different. For example, the number of resource units in the Xth third resource may be the first number, and the number of resource units in the Yth third resource may be greater than the first number. X and Y may both be positive integers, and X and Y may be different.

[0213] Continuing with reference to Figure 25, in Figure 25, the first number is 4, and the resource unit is a time slot. The numbers of time slots containing the third resource in the remaining resource set are: 4, 5, 5, 6, and 5.

[0214] It is understandable that the remaining resource set is composed of third resources, which can exclude some candidate resources, thereby making the optional range of target resources smaller and simplifying the resource selection process.

[0215] In some embodiments, the first information may be used to request or trigger the second terminal device to assist the first terminal device in resource exclusion or resource selection. That is, in response to receiving the first information, the second terminal device may assist the first terminal device in resource exclusion or resource selection and further transmit the second information. Therefore, the first information may also be referred to as first request information or first trigger information.

[0216] It should be noted that this application does not limit the message carrying the first information.

[0217] Optionally, the first information may be carried by one or more of the following: a medium access control element (MAC CE) and an SCI. The SCI may include a second-order SCI and / or a first-order SCI. The second-order SCI may be, for example, an SCI format 2-C. For example, the first information may be carried by the SCI. For another example, the first information may be carried by the MAC CE and the SCI.

[0218] Optionally, the first information may be carried by a PSSCH at the physical layer.

[0219] It should be noted that this application does not limit the message carrying the second information.

[0220] Optionally, the second information may be carried in one or more of the following: a MAC CE and an SCI. The SCI may include a second-order SCI and / or a first-order SCI. The second-order SCI may be, for example, SCI format 2-C. For example, the second information may be carried by the SCI. In another example, the second information may be carried by both the MAC CE and the SCI.

[0221] Optionally, the second information may be carried by a PSSCH at the physical layer.

[0222] For ease of understanding, the application is described in detail below using the embodiment shown in FIG27 .

[0223] The method shown in Figure 27 may be performed by a first terminal device (represented by UE1) and a second terminal device (represented by UE2). UE1 plans to send data to UE2.

[0224] The method shown in FIG. 27 may include steps S2710 to S2750 .

[0225] Step S2710: UE1 sends first trigger information to UE2.

[0226] Through the first trigger information, UE1 can inform UE2 that UE1 plans to send data in a continuous time slot transmission mode; and the length of the continuous time slot is a first number (through N MCSt represents) consecutive time slots. MCSt =4 as an example for explanation.

[0227] The first trigger information is carried by MAC CE and / or SCI (eg, second-order SCI format 2-C).

[0228] After receiving the first trigger message, UE2 begins to exclude resources according to the resource monitoring method in the related art. The resources to be excluded may include one or more of the following: time slots not monitored and the reserved time slots in the corresponding period; time slots that are occupied / reserved as indicated by the monitored SCI; and time slots that UE2 plans to transmit (i.e., not intended for reception) due to half-duplex (inability to receive while transmitting in a certain time slot, or inability to transmit while receiving).

[0229] Step S2720: After UE2 performs resource exclusion, it MCSt Determine the desired resource set C.

[0230] UE2 can form the desired resource set C through method 1 and method 2, which are described below respectively.

[0231] In a first approach, UE2 forms a desired time slot resource set C with the remaining resources, where the desired set C is a resource set formed by a single time slot resource.

[0232] Method 2: UE2 receives the N indicated by the first trigger information MCSt Continuous time slot resources, UE2 selects some or all of the following resources from the remaining resources as the desired resource set C: continuous N MCSt time slot resources and / or continuous N MCSt More than one time slot resource.

[0233] Step S2730: UE2 sends the desired time slot resource set C to UE1.

[0234] In step S2740 and step S2750, after UE1 receives the desired time slot resource set C, it selects a resource with a length of N in combination with the resource selection process of UE1. MCSt The continuous time slot resources of are used as the target resources.

[0235] The following describes the method for UE1 to select continuous time slot resources in conjunction with Figures 25 and 26. The first candidate resource set shown in Figure 25 or Figure 26 may be the desired time slot resource set C.

[0236] As shown in FIG25, after completing the resource exclusion process, UE2 sets the number of consecutive time slot resources in the remaining resources to N. MCSt The time slot resources with a value greater than or equal to N are all determined as the desired time slot resource set C. That is, the desired time slot resource set C is formed based on the method 2 in step S2720, that is, all time slots in the desired time slot resource set C are continuous, and the length of the continuous time slots is greater than or equal to N. MCSt .

[0237] In Figure 25, after UE1 performs resource exclusion, according to N MCSt= the remaining resource set of UE1 consisting of 4 or more consecutive time slots.

[0238] In Figure 25, UE1 intersects the remaining resource set of UE1 with the desired time slot resource set C sent by UE2, and selects continuous time slot resources as N when taking the intersection. MCSt ≥ 4. The intersection resource set (i.e., the second candidate resource set) obtained after taking the intersection is outlined by a dotted line in the figure.

[0239] As shown in Figure 26, the desired time slot resource set C is a set of independent time slot resources. Independent time slot resources can be continuous or discontinuous. In other words, the desired time slot resource set C is formed based on the method 1 in step S2720, that is, all time slots in the desired time slot resource set C do not need to be continuous.

[0240] In Figure 26, after UE1 performs resource exclusion, according to N MCSt = the remaining resource set of UE1 consisting of 4 or more consecutive time slots.

[0241] In Figure 26, UE1 intersects the remaining resource set of UE1 with the desired time slot resource set C sent by UE2, and selects continuous time slot resources as N when taking the intersection. MCSt ≥ 4. The intersection resource set (i.e., the second candidate resource set) obtained after taking the intersection is outlined by a dotted line in the figure.

[0242] Step S2740 may further include: UE1 reporting the intersection resource set to a higher layer of UE1.

[0243] Step S2750: The upper layer of UE1 may select an N MCSt =4 continuous time slot resources as the target resources, and inform the physical layer of the target resources.

[0244] The physical layer of UE1 will use the N MCSt =4 continuous time slot resources (ie, target resources) to send sidelink information to UE2.

[0245] The method embodiments of the present application are described in detail above, and the device embodiments of the present application are described in detail below. It should be understood that the description of the method embodiments corresponds to the description of the device embodiments, so for parts not described in detail, reference can be made to the above method embodiments.

[0246] FIG28 is a schematic structural diagram of a terminal device 2800 provided in an embodiment of the present application. The terminal device 2800 may be a first terminal device and may include a sending unit 2810.

[0247] The sending unit 2810 is used to send first information to the second terminal device; wherein, the resource that the first terminal device needs to select is the target resource, and the first information is used to indicate a first number, which is the number of consecutive resource units in the target resource.

[0248] In some embodiments, the terminal device 2800 is also used to: receive second information sent by the second terminal device; wherein, the second information is determined based on the first information, the second information is related to the first candidate resource set recommended by the second terminal device to the first terminal device, and the target resource is selected based on the first candidate resource set.

[0249] In some embodiments, the first candidate resource set consists of one or more first resources, the first resources include a plurality of consecutive resource units, and the number of resource units included in the first resources is greater than or equal to the first number.

[0250] In some embodiments, the intersection of the remaining candidate resource set of the first terminal device and the first candidate resource set includes a second candidate resource set, the target resource is selected based on the second candidate resource set, the second candidate resource set is composed of one or more second resources, the second resources contain multiple continuous resource units, and the number of resource units contained in the second resources is greater than or equal to the first number.

[0251] In some embodiments, the remaining candidate resource set consists of one or more third resources, the third resources include multiple consecutive resource units, and the number of resource units included in the third resources is greater than or equal to the first number.

[0252] In some embodiments, the target resource is selected from the second set of candidate resources.

[0253] In some embodiments, the resource units comprise time slots.

[0254] In some embodiments, the target resource belongs to unlicensed spectrum resources.

[0255] In some embodiments, the target resource is used for communication between the first terminal device and the second terminal device or the third terminal device.

[0256] In an optional embodiment, the sending unit 2810 may be a transceiver 3030. The terminal device 2800 may further include a processor 3010 and a memory 3020, as specifically shown in FIG30 .

[0257] FIG29 is a schematic structural diagram of a terminal device 2900 provided in an embodiment of the present application. The terminal device 2900 may be a second terminal device and may include a receiving unit 2910.

[0258] The receiving unit 2910 is used to receive the first information sent by the first terminal device; wherein, the resource that the first terminal device needs to select is the target resource, and the first information is used to indicate a first number, which is the number of continuous resource units in the target resource.

[0259] In some embodiments, the terminal device 2910 is also used to: send second information to the first terminal device; wherein the second information is determined based on the first information, the second information is related to the first candidate resource set recommended by the second terminal device to the first terminal device, and the target resource is selected based on the first candidate resource set.

[0260] In some embodiments, the first candidate resource set consists of one or more first resources, the first resources include a plurality of consecutive resource units, and the number of resource units included in the first resources is greater than or equal to the first number.

[0261] In some embodiments, the intersection of the remaining candidate resource set of the first terminal device and the first candidate resource set includes a second candidate resource set, the target resource is selected based on the second candidate resource set, the second candidate resource set is composed of one or more second resources, the second resources contain multiple continuous resource units, and the number of resource units contained in the second resources is greater than or equal to the first number.

[0262] In some embodiments, the remaining candidate resource set consists of one or more third resources, the third resources include multiple consecutive resource units, and the number of resource units included in the third resources is greater than or equal to the first number.

[0263] In some embodiments, the target resource is selected from the second set of candidate resources.

[0264] In some embodiments, the resource units comprise time slots.

[0265] In some embodiments, the target resource belongs to unlicensed spectrum resources.

[0266] In some embodiments, the target resource is used for communication between the first terminal device and the second terminal device or the third terminal device.

[0267] In an optional embodiment, the receiving unit 2910 may be a transceiver 3030. The terminal device 2900 may further include a processor 3010 and a memory 3020, as specifically shown in FIG30 .

[0268] Figure 30 is a schematic block diagram of a communication device according to an embodiment of the present application. The dashed lines in Figure 30 indicate that the unit or module is optional. The device 3000 can be used to implement the method described in the above method embodiment. The device 3000 can be a chip or a terminal device.

[0269] The device 3000 may include one or more processors 3010. The processor 3010 may support the device 3000 to implement the method described in the method embodiment above. The processor 3010 may be a general-purpose processor or a special-purpose processor. For example, the processor may be a central processing unit (CPU). Alternatively, the processor may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0270] The apparatus 3000 may further include one or more memories 3020. The memories 3020 store programs that can be executed by the processor 3010, causing the processor 3010 to perform the methods described in the above method embodiments. The memories 3020 may be independent of the processor 3010 or integrated into the processor 3010.

[0271] The apparatus 3000 may further include a transceiver 3030. The processor 3010 may communicate with other devices or chips via the transceiver 3030. For example, the processor 3010 may transmit and receive data with other devices or chips via the transceiver 3030.

[0272] The present application also provides a computer-readable storage medium for storing a program. The computer-readable storage medium can be applied to a terminal or network device provided in the present application, and the program enables a computer to execute the method performed by the terminal or network device in each embodiment of the present application.

[0273] The present application also provides a computer program product. The computer program product includes a program. The computer program product can be applied to a terminal or network device provided in the present application, and the program causes a computer to execute the method performed by the terminal or network device in each embodiment of the present application.

[0274] The embodiments of the present application also provide a computer program. The computer program can be applied to the terminal or network device provided in the embodiments of the present application, and the computer program enables a computer to execute the method performed by the terminal or network device in each embodiment of the present application.

[0275] It should be understood that the terms "system" and "network" in this application can be used interchangeably. In addition, the terms used in this application are only used to explain the specific embodiments of this application and are not intended to limit this application. The terms "first", "second", "third", and "fourth" in the specification and claims of this application and the accompanying drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0276] In the embodiments of this application, the term "indication" may refer to a direct indication, an indirect indication, or an indication of an association. For example, "A indicates B" may refer to a direct indication of B, e.g., B can obtain information through A; it may refer to an indirect indication of B, e.g., A indicates C, e.g., B can obtain information through C; or it may refer to an association between A and B.

[0277] In the embodiment of the present application, "B corresponding to A" means that B is associated with A and B can be determined based on A. However, it should be understood that determining B based on A does not mean determining B based solely on A, but B can also be determined based on A and / or other information.

[0278] In the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and indication, configuration and configuration, etc.

[0279] In the embodiments of the present application, "pre-definition" or "pre-configuration" may be implemented by pre-storing corresponding codes, tables, or other methods that can be used to indicate relevant information in a device (e.g., a terminal device and a network device). The present application does not limit the specific implementation method. For example, pre-definition may refer to information defined in a protocol.

[0280] In the embodiments of the present application, the “protocol” may refer to a standard protocol in the communications field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, and the present application does not limit this.

[0281] In the embodiments of this application, the term "and / or" is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this document generally indicates that the related objects are in an "or" relationship.

[0282] In the embodiments of this application, the term "include" can refer to direct inclusion or indirect inclusion. Alternatively, the term "include" in the embodiments of this application can be replaced with "indicates" or "is used to determine." For example, "A includes B" can be replaced with "A indicates B" or "A is used to determine B."

[0283] In various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0284] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0285] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0286] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0287] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0288] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A wireless communication method, characterized in that, Including: The first terminal device sends first information to the second terminal device; Wherein, the resource to be selected by the first terminal device is a target resource, the first information is used to indicate a first number, and the first number is the number of consecutive resource units in the target resource.

2. The method according to claim 1, characterized in that Also including: The first terminal device receives second information sent by the second terminal device; Wherein, the second information is determined based on the first information, the second information is related to a first candidate resource set recommended by the second terminal device to the first terminal device, and the target resource is selected based on the first candidate resource set.

3. The method according to claim 2, wherein The first candidate resource set is composed of one or more first resources, the first resources include a plurality of consecutive resource units, and the number of resource units included in the first resources is greater than or equal to the first number.

4. The method according to claim 2 or 3, characterized in that, The intersection of the remaining candidate resource set of the first terminal device and the first candidate resource set includes a second candidate resource set, the target resource is selected based on the second candidate resource set, the second candidate resource set is composed of one or more second resources, the second resources include a plurality of consecutive resource units, and the number of resource units included in the second resources is greater than or equal to the first number.

5. The method according to claim 4, wherein The remaining candidate resource set is composed of one or more third resources, the third resources include a plurality of consecutive resource units, and the number of resource units included in the third resources is greater than or equal to the first number.

6. The method according to claim 4 or 5, characterized in that, The target resource is selected from the second candidate resource set.

7. The method according to any one of claims 1-6, characterized in that, The resource unit includes a time slot.

8. The method according to any one of claims 1 to 7, characterized in that, The target resource belongs to the resources of the unlicensed spectrum.

9. The method according to any one of claims 1-8, characterized in that, The target resource is used for communication between the first terminal device and the second terminal device or the third terminal device.

10. A wireless communication method, characterized in that, Including: The second terminal device receives first information sent by the first terminal device; Wherein, the resource to be selected by the first terminal device is a target resource, the first information is used to indicate a first number, and the first number is the number of consecutive resource units in the target resource.

11. The method according to claim 10, wherein Also including: The second terminal device sends second information to the first terminal device; Wherein, the second information is determined based on the first information, the second information is related to a first candidate resource set recommended by the second terminal device to the first terminal device, and the target resource is selected based on the first candidate resource set.

12. The method according to claim 11, wherein The first candidate resource set is composed of one or more first resources, the first resources include a plurality of consecutive resource units, and the number of resource units included in the first resources is greater than or equal to the first number.

13. The method according to claim 11 or 12, characterized in that, The intersection of the remaining candidate resource set of the first terminal device and the first candidate resource set includes a second candidate resource set, the target resource is selected based on the second candidate resource set, the second candidate resource set is composed of one or more second resources, the second resources include a plurality of consecutive resource units, and the number of resource units included in the second resources is greater than or equal to the first number.

14. The method according to claim 13, characterized in that, The remaining candidate resource set consists of one or more third resources, each of the third resources includes a plurality of consecutive resource units, and the number of resource units included in the third resource is greater than or equal to the first number.

15. The method according to claim 13 or 14, characterized in that The target resource is selected from the second candidate resource set.

16. The method according to any one of claims 10-15, characterized in that, The resource unit includes a time slot.

17. The method according to any one of claims 10-16, characterized in that, The target resource belongs to the resources of the unlicensed spectrum.

18. The method according to any one of claims 10-17, characterized in that, The target resource is used for communication between the first terminal device and the second terminal device or the third terminal device.

19. A terminal device, characterized in that, The terminal device is the first terminal device, and the terminal device includes: A sending unit, configured to send first information to the second terminal device; Wherein, the resource that the first terminal device needs to select is the target resource, the first information is used to indicate a first number, and the first number is the number of consecutive resource units in the target resource.

20. The terminal device according to claim 19, characterized in that, The terminal device is further configured to: Receive second information sent by the second terminal device; Wherein, the second information is determined based on the first information, the second information is related to the first candidate resource set recommended by the second terminal device to the first terminal device, and the target resource is selected based on the first candidate resource set.

21. The terminal device according to claim 20, wherein The first candidate resource set consists of one or more first resources, each of the first resources includes a plurality of consecutive resource units, and the number of resource units included in the first resource is greater than or equal to the first number.

22. The terminal device according to claim 20 or 21, characterized in that, The intersection of the remaining candidate resource set of the first terminal device and the first candidate resource set includes a second candidate resource set, the target resource is selected based on the second candidate resource set, the second candidate resource set consists of one or more second resources, each of the second resources includes a plurality of consecutive resource units, and the number of resource units included in the second resource is greater than or equal to the first number.

23. The terminal device according to claim 22, wherein The remaining candidate resource set consists of one or more third resources, each of the third resources includes a plurality of consecutive resource units, and the number of resource units included in the third resource is greater than or equal to the first number.

24. The terminal device according to claim 22 or 23, characterized in that, The target resource is selected from the second candidate resource set.

25. The terminal device according to any one of claims 19-24, characterized in that, The resource unit includes a time slot.

26. The terminal device according to any one of claims 19-25, characterized in that, The target resource belongs to the resources of the unlicensed spectrum.

27. The terminal device according to any one of claims 19-26, characterized in that, The target resource is used for communication between the first terminal device and the second terminal device or the third terminal device.

28. A terminal device, characterized in that, The terminal device is the second terminal device, and the terminal device includes: A receiving unit, configured to receive first information sent by the first terminal device; Wherein, the resource that the first terminal device needs to select is the target resource, the first information is used to indicate a first number, and the first number is the number of consecutive resource units in the target resource.

29. The terminal device according to claim 28, characterized in that, The terminal device is further configured to: Send second information to the first terminal device; Wherein, the second information is determined based on the first information, the second information is related to the first candidate resource set recommended by the second terminal device to the first terminal device, and the target resource is selected based on the first candidate resource set.

30. The terminal device according to claim 29, characterized in that, The first candidate resource set consists of one or more first resources, the first resources each include a plurality of consecutive resource units, and the number of resource units included in the first resources is greater than or equal to the first number.

31. The terminal device according to claim 29 or 30, characterized in that, The intersection of the remaining candidate resource set of the first terminal device and the first candidate resource set includes a second candidate resource set, the target resource is selected based on the second candidate resource set, the second candidate resource set consists of one or more second resources, the second resources each include a plurality of consecutive resource units, and the number of resource units included in the second resources is greater than or equal to the first number.

32. The terminal device according to claim 31, characterized in that, The remaining candidate resource set consists of one or more third resources, the third resources each include a plurality of consecutive resource units, and the number of resource units included in the third resources is greater than or equal to the first number.

33. The terminal device according to claim 31 or 32, characterized in that, The target resource is selected from the second candidate resource set.

34. The terminal device according to any one of claims 28-33, characterized in that, The resource units include time slots.

35. The terminal device according to any one of claims 28-34, characterized in that, The target resource belongs to the resources of the unlicensed spectrum.

36. The terminal device according to any one of claims 28-35, characterized in that, The target resource is used for communication between the first terminal device and the second terminal device or the third terminal device.

37. A terminal device, characterized in that, It includes a memory and a processor, the memory is used for storing programs, and the processor is used for calling the programs in the memory to enable the terminal device to execute the method according to any one of claims 1-18.

38. A device, characterized in that, It includes a processor for calling a program from a memory to enable the device to execute the method according to any one of claims 1-18.

39. A chip, characterized in that, It includes a processor for calling a program from a memory to enable the device installed with the chip to execute the method according to any one of claims 1-18.

40. A computer-readable storage medium, characterized in that, A program is stored thereon, and the program enables a computer to execute the method according to any one of claims 1-18.

41. A computer program product, characterized in that, It includes a program, and the program enables a computer to execute the method according to any one of claims 1-18.

42. A computer program, characterized in that, The computer program enables a computer to execute the method according to any one of claims 1-18.