Wireless communication method and terminal equipment

CN120500901APending Publication Date: 2025-08-15GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280102656.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

In the shared spectrum, terminal equipment cannot effectively transmit sidelink data because the existing protocol does not specify the behavior between the first channel access method and the second channel access method, resulting in the device being unable to determine the appropriate channel access method. .

Method used

A wireless communication method is provided. A terminal device can transmit sidelink data on a shared spectrum based on a first channel access method and/or a second channel access method, and select an appropriate CAPC based on different channel access methods. Transmission methods to increase the possibility of data transfer.

Benefits of technology

It improves the possibility of terminal equipment transmitting side-link data on the shared spectrum, solves the problem of equipment being unable to determine the appropriate channel access method, and enhances the efficiency and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120500901A_ABST
    Figure CN120500901A_ABST
Patent Text Reader

Abstract

The invention provides a wireless communication method and terminal equipment. The method comprises: a terminal device determines to transmit first sideline data on a shared spectrum based on a first channel access mode and / or a second channel access mode, the first channel access mode being different from the second channel access mode, and the first sideline data being transmitted on the shared spectrum; the first channel access mode and the second channel access mode are channel access modes for monitoring the shared spectrum before the first sideline data is sent on the shared spectrum, and the possibility that the terminal equipment transmits the sideline data on the shared spectrum is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Wireless communication method and terminal device Technical Field The present application relates to the field of communication technology, and more specifically, to a wireless communication method and terminal equipment. Background Art Two types of channel access methods are supported in the shared spectrum: a first channel access method and a second channel access method, wherein the two types of channel access methods are channel access methods for listening to the shared spectrum before sending the first side data to be transmitted on the shared spectrum. In some cases, the terminal device can access the shared spectrum through the first channel access method or through the second channel access method. Currently, the protocol does not specify the behavior of the terminal device in the above case, resulting in the terminal device being unable to transmit side data on the shared spectrum. Summary of the invention The present application provides a wireless communication method and a terminal device. The following introduces various aspects involved in the present application. In a first aspect, a wireless communication method is provided, including: a terminal device determines to transmit first side data on a shared spectrum based on a first channel access method and / or a second channel access method, wherein the first channel access method is different from the second channel access method, and the first channel access method and the second channel access method are channel access methods of listening to the shared spectrum before sending the first side data on the shared spectrum. In a second aspect, a wireless communication method is provided, including: a terminal device determines a transmission method of sidelink data to be transmitted on a shared spectrum based on a first CAPC and a second CAPC, wherein the first CAPC is associated with a first channel access process performed on the shared spectrum, the second CAPC is associated with the sidelink data, and the first channel access process is a channel access process of listening to the shared spectrum before sending the sidelink data on the shared spectrum. According to a third aspect, a terminal device is provided, comprising: a processing unit, configured to determine to transmit first side data on a shared spectrum based on a first channel access method and / or a second channel access method, wherein the first channel access method is different from the second channel access method, and the first channel access method and the second channel access method are channel access methods for listening to the shared spectrum before sending the first side data on the shared spectrum. In a fourth aspect, a terminal device is provided, comprising: a processing unit, used to determine a transmission method of sidelink data to be transmitted on a shared spectrum based on a first CAPC and a second CAPC, wherein the first CAPC is associated with a first channel access process performed on the shared spectrum, the second CAPC is associated with the sidelink data, and the first channel access process is a channel access method of listening to the shared spectrum before sending the sidelink data on the shared spectrum. In a fifth aspect, a terminal device is provided, comprising a processor, a memory and a communication interface, wherein the memory is used to store one or more computer programs, and the processor is used to call the computer programs in the memory so that the terminal device executes part or all of the steps in the methods of various aspects. 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 in the solution provided by the embodiment of the present application. In the 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 communication device (for example, a terminal device or a network device) to perform some or all of the steps in the methods of the above aspects. In an eighth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a communication device (e.g., a terminal device or a network device) to perform some or all of the steps in the above-mentioned various aspects of the method. In some implementations, the computer program product can be a software installation package. 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. In an embodiment of the present application, the terminal device may determine to transmit first sideline data on a shared spectrum based on a first channel access method and / or a second channel access method, which helps to increase the possibility of the terminal device transmitting sideline data on a shared spectrum. BRIEF DESCRIPTION OF THE DRAWINGS FIG1 is a diagram showing an example of a system architecture of a wireless communication system to which an embodiment of the present application may be applied. FIG. 2 is a diagram showing an example scenario of sideline communication within network coverage. FIG3 is an example diagram of a scenario of sideline communication with partial network coverage. FIG. 4 is a diagram showing an example scenario of sideline communication outside network coverage. FIG. 5 is a diagram showing an example scenario of side communication based on a central control node. FIG. 6 is an exemplary diagram of a sideline communication method based on broadcasting. FIG. 7 is an example diagram of a unicast-based sideline communication method. FIG. 8 is an example diagram of a side communication method based on multicast. FIG. 9 is a schematic diagram showing a physical layer structure of sideline communication. FIG. 10 is a schematic diagram showing a resource reservation method for sideline communication. FIG. 11 is a schematic diagram showing a resource selection method based on listening in a sideline communication system. FIG. 12 is a schematic flowchart of a wireless communication method according to an embodiment of the present application. FIG. 13 is a schematic flowchart of a wireless communication method according to another embodiment of the present application. FIG. 14 is a schematic flowchart of a wireless communication method according to an embodiment of the present application. FIG. 15 is a schematic flowchart of a wireless communication method according to another embodiment of the present application. FIG. 16 is a schematic flow chart of a terminal device according to an embodiment of the present application. FIG. 17 is a schematic flowchart of a terminal device according to another embodiment of the present application. FIG. 18 is a schematic structural diagram of a communication device according to an embodiment of the present application. DETAILED DESCRIPTION The technical solution in this application will be described below in conjunction with the accompanying drawings. Communication system architecture 1 is a diagram showing an example of a system architecture of a wireless communication system 100 to which an embodiment of the present application can be applied. The wireless communication system 100 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 geographical area, and may communicate with the terminal device 120 located in the coverage area. 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 one network device 110, the one or more terminal devices 120 may all be located within the network coverage of the network device 110, or may all be located outside the network coverage of the network device 110, or may be partially located within the coverage of the network device 110 and partially located outside the network coverage of the network device 110, which is not limited in the embodiments of the present application. Optionally, the wireless communication system 100 may also include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiments of the present application. It should be understood that the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: the fifth generation (5th generation, 5G) system or new radio (new radio, NR), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD), etc. The technical solutions provided by the present application can also be applied to future communication systems, such as the sixth generation mobile communication system, satellite communication system, and so on. 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 equipment, mobile device, user terminal, wireless communication equipment, 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 may 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 (Pad), 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, the terminal device can act as a dispatching entity that provides sidelink signals between terminal devices in vehicle-to-everything (V2X) or device-to-device (D2D) communications. For example, a cell phone and a car communicate with each other using sidelink signals. A cell phone and a smart home device communicate with each other without relaying the communication signal through a base station. Alternatively, the terminal device can be used to act as a base station. The network device in the embodiment of the present application may be a device for communicating with a terminal device, and the network device may also be referred to as an access network device or a wireless access network device, such as a base station. The network device in the embodiment of the present application may refer to a wireless access network (RAN) node (or device) that connects a terminal device to a wireless network. The base station can broadly cover various names as follows, or be replaced with the following names, such as: NodeB, evolved NodeB (eNB), next generation NodeB (gNB), relay station, access point, transmission point (TRP), transmission point (TP), master station MeNB, secondary station SeNB, multi-standard radio (MSR) node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, base band unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), positioning node, etc. The base station can be a macro base station, a micro base station, a relay node, a donor node or the like, or a combination thereof. The base station may also refer to a communication module, modem or chip used to be set in the aforementioned device or apparatus. The base station may also be a mobile switching center and a device that performs the base station function in device-to-device D2D, V2X, machine-to-machine (M2M) communications, a network-side device in a 6G network, and a device that performs the base station function in a future communication system. The base station may support networks with the same or different access technologies. The embodiments of the present application do not limit the specific technology and specific device form adopted by the network equipment. 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. 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 includes a CU and a DU. The gNB may also include an AAU. The network equipment and terminal equipment can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on the water surface; they can also be deployed on aircraft, balloons and satellites in the air. The embodiments of the present application do not limit the scenarios in which the network equipment and terminal equipment are located. Sideline communication under different network coverage conditions Sidelink communication refers to a communication technology based on a sidelink. Sidelink communication can be, for example, device to device (D2D) or vehicle to everything (V2X) communication. In traditional cellular systems, communication data is received or sent between terminal devices and network devices, while sidelink communication supports direct communication data transmission between terminal devices. Compared with traditional cellular communications, direct transmission of communication data between terminal devices can have higher spectrum efficiency and lower transmission latency. For example, the vehicle networking system adopts sidelink communication technology. 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. FIG2 is a diagram showing an example of a sideline communication scenario within network coverage. In the scenario shown in FIG2, both terminal devices 120a are within the coverage of the network device 110. Therefore, both terminal devices 120a can receive the configuration signaling of the network device 110 (the configuration signaling in this application can also be replaced by configuration information), and determine the sideline configuration according to the configuration signaling of the network device 110. After both terminal devices 120a perform the sideline configuration, sideline communication can be performed on the sideline link. FIG3 is a diagram showing an example of a sidelink communication scenario with partial network coverage. In the scenario shown in FIG3, terminal device 120a performs sidelink communication with terminal device 120b. Terminal device 120a is located within the coverage of network device 110, so terminal device 120a can receive the configuration signaling of network device 110 and determine the sidelink configuration according to 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 according to the pre-configuration information and / or the information carried in the physical sidelink broadcast channel (PSBCH) sent by terminal device 120a located within the network coverage. After both terminal device 120a and terminal device 120b perform sidelink configuration, sidelink communication can be performed on the sidelink. FIG4 is a diagram showing an example of a sideline communication scenario outside network coverage. In the scenario shown in FIG4, both terminal devices 120b are outside network coverage. In this case, both terminal devices 120b can determine the sideline configuration according to the preconfiguration information. After both terminal devices 120b perform the sideline configuration, sideline communication can be performed on the sideline link. Sideline communication based on central control node Figure 5 is an example diagram of a sideline communication scenario based on a central control node. In the sideline communication scenario, multiple terminal devices can constitute 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), which 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 sideline transmission resources to other terminals, receiving sideline feedback information from other terminals, and resource coordination with other communication groups. Sideline communication mode Some standards or protocols (such as the 3rd Generation Partnership Project (3GPP)) define two modes of sideline communication: a first mode and a second mode. 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 can send data on the sidelink according to the resources allocated by the network device. The network device can allocate resources for a single transmission to the terminal device, or it can allocate resources for semi-static transmission to the terminal device. This first mode can be applied to scenarios covered by network devices, such as the scenario shown in Figure 2 above. In the scenario shown in Figure 2, the terminal device 120a is within the network coverage of the network device 110, so the network device 110 can allocate resources used in the sidelink transmission process to the terminal device 120a. In the second mode, the terminal device can autonomously select one or more resources in a resource pool (RP). Then, the terminal device can perform side transmission according to the selected resources. For example, in the scenario shown in FIG. 4, the terminal device 120b is located outside the cell coverage. Therefore, the terminal device 120b can autonomously select resources from a preconfigured resource pool for side transmission. Alternatively, in the scenario shown in FIG. 2, the terminal device 120a can also autonomously select one or more resources from a resource pool configured by the network device 110 for side transmission. Data transmission method of side communication Some side 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, it can be terminal device 2-terminal device 6 in Figure 6. In addition to broadcast transmission, some communication systems also support unicast-based data transmission methods (hereinafter referred to as unicast transmission) and / or multicast-based data transmission methods (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 methods, etc. Therefore, in order to improve the data interaction performance between vehicles, NR-V2X introduces unicast transmission and multicast transmission. For unicast transmission, the receiving terminal generally has only one terminal device. Taking Figure 7 as an example, unicast transmission is performed between terminal device 1 and terminal device 2. Terminal device 1 can be a sending terminal, terminal device 2 can be a receiving terminal, or terminal device 1 can be a receiving terminal, and terminal device 2 can be a sending terminal. For multicast transmission, the receiving terminal can be a terminal device in a communication group, or the receiving terminal can be a terminal device within a certain transmission distance. Taking Figure 8 as an example, terminal device 1, terminal device 2, terminal device 3 and terminal device 4 constitute a communication group. If terminal device 1 sends data, the other terminals in the group (terminal device 2 to terminal device 4) can all be receiving terminals. Physical layer structure of sideline communication FIG9 shows a schematic diagram of the physical layer structure of the sidelink communication. Referring to FIG9 , the physical sidelink control channel (PSCCH) can be used to carry the first sidelink control information. The physical sidelink shared channel (PSSCH) can be used to carry the sidelink data and the second sidelink control information. The PSCCH and PSSCH can be multiplexed and sent in the same time slot. The first sidelink control information (SCI) is carried in the PSCCH, which mainly includes fields related to resource monitoring, and is used for resource exclusion and resource selection after decoding by other terminals. In addition to sidelink data, the PSSCH can also carry second sidelink control information, which mainly includes fields related to data demodulation, and is used by the receiving terminal to demodulate the data carried in the PSSCH associated with the PSCCH. Resource reservation for sideline communication As described in the sideline communication mode above, in mode 2, the terminal device can autonomously 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 the selected sideline resources (e.g., time-frequency resources) in the first sideline control information carried by the PSCCH. At present, in the sideline communication system, both intra-TB resource reservation and inter-TB resource reservation are supported. Referring to Figure 10, the terminal device sends a first SCI, and uses the time resource assignment field and the frequency resource assignment field in the first SCI to indicate the N time-frequency resources used for the current TB transmission (including the time-frequency resources used for the current transmission block (Transport Block, TB)). Usually, N≤Nmax, and 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. In NR V2X, W is equal to 32. Continuing to refer to FIG. 10 , during the transmission of TB 1, the terminal device can send the first SCI in the PSCCH while sending the initial transmission data in the PSSCH, and use the above two fields in the first SCI to indicate the time-frequency resource positions of the initial transmission and retransmission 1 (i.e., N=2 at this time), i.e., reserve the time-frequency resources for retransmission 1. Usually, the initial transmission and retransmission 1 are distributed in 32 time slots in the time domain. Similarly, referring to Figure 10, during the transmission of TB 1, the terminal device can use the first SCI sent in the PSCCH of retransmission 1 to indicate the time-frequency resources of retransmission 1 and retransmission 2. The time-frequency resources of retransmission 1 and the time-frequency resources of retransmission 2 can be distributed in 32 time slots in the time domain. In addition, when the terminal device sends the first SCI, the resource reservation period field in the first SCI can be used to reserve resources between TBs. Continuing to refer to Figure 10, when the terminal device sends the first SCI indicating the initial transmission resources of TB 1, it can use the time domain resource allocation domain and frequency domain resource allocation domain in the first SCI to indicate the time-frequency resource position of the initial transmission and retransmission 1 of TB 1, which is recorded as {(t1, f1), (t2, f2)}. Among them, t1 and t2 represent the time domain position of the initial transmission and retransmission 1 resources of TB 1, and f1 and f2 represent the frequency domain position of the initial transmission and retransmission 1 resources of TB 1. If the value of the resource reservation period domain in the first SCI is 100 milliseconds, the first SCI simultaneously indicates the time-frequency resources {(t1+100, f1), (t2+100, f2)}, and these two resources are used for the transmission of the initial transmission and retransmission 1 of TB 2. Similarly, the first SCI sent on the retransmission 1 resource of TB 1 can also reserve the time and frequency resources of TB 2 retransmission 1 and retransmission 2 by using the resource reservation period field. In NR V2X, the possible values ​​of the resource reservation period field are 0, 1-99, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 milliseconds, which is more flexible than LTE V2X. However, in each resource pool, usually only k values ​​are configured, and the terminal device can determine the possible values ​​to be used based on the resource pool used. The k values ​​in the resource pool configuration are recorded as the resource reservation period set M. Exemplarily, k is less than or equal to 16. 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 SCI. 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 SCI, 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. When the terminal device operates in the above-mentioned mode 2, the terminal device can obtain the first SCI sent by other terminals by monitoring the PSCCH sent by other terminals, thereby knowing the resources reserved by other terminals. The terminal device will exclude the resources reserved by other terminals when performing resource selection next, thereby avoiding resource collision. The following introduces the resource selection method based on monitoring in the side communication system in conjunction with Figure 11. Listening-based resource selection method Referring to FIG. 11 , the terminal device may trigger resource selection or reselection in time slot n. In some implementations, time slot n may be a time slot in which the higher layer triggers the physical layer to report a candidate resource set. The resource selection window is n+T 1 Start to n+T 2 End, expressed as [n+T 1 , n+T 2]. Where 0<=T 1 <=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 <=T 2 <= remaining delay budget of the service, T 2min The value set of T 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 the value set according to the priority of its own data to be sent. 2min For example, when the subcarrier spacing is 15kHz, the terminal device determines T from the set {1, 5, 10, 20} according to the priority of its own data to be sent. 2min When T 2min When it is greater than or equal to the remaining delay budget of the service, T 2 Equal to the remaining delay budget of the service. The remaining delay budget is the difference between the corresponding time of the data delay requirement and the current time. For example, the data packet arriving at time slot n has a delay requirement of 50 milliseconds. Assuming that a time slot is 1 millisecond, if the current time is time slot n, the remaining delay budget is 50 milliseconds. If the current time is time slot n+20, the remaining delay budget is 30 milliseconds. Before selecting resources, the terminal device needs to 0 To nT proc,0 The resource monitoring is performed within the monitoring window of T 0 The value of is 100 or 1100 milliseconds. When the subcarrier spacing is 15, 30, 60, 120kHz, T proc,0 The time slots are 1, 2, and 4. Generally speaking, the terminal device will listen to the first SCI sent by other terminals 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 nT 0 To nT proc,0 The result of resource listening. The following describes the resource selection process in combination with steps 1 and 2. Step 1: The terminal device uses all candidate available resources in the resource selection window that belong to the resource pool used by the terminal device as a resource set A. Specifically, there are two cases 1-1 and 1-2. In case 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 one or more time slots based on time slot m and each allowed resource reservation period in the resource pool used by the terminal device, with the resource reservation period as the interval. The terminal device needs to exclude all resources located in the above one or more time slots from resource set A. Case 1-2: If the terminal device detects the first SCI transmitted in the PSCCH in time slot m within the listening window, it measures the SL-reference signal receiving power (RSRP) of the PSCCH or the SL-RSRP of the PSSCH scheduled by the PSCCH (i.e., the SL-RSRP of the associated PSSCH sent in the same time slot as the PSCCH). If the measured SL-RSRP is greater than the SL-RSRP threshold, the terminal device determines the resources reserved for the SPCCH based on the resource reservation information in the sidelink control information transmitted in the PSCCH. If the reserved resources are in resource set A, the terminal device excludes these reserved resources from set A. If the remaining resources in resource set A after resource exclusion are less than X% of all resources before resource exclusion, the SL-RSRP threshold is raised by 3dB and step 1 is re-executed. The physical layer reports resource set A after resource exclusion as a candidate resource set to the upper layer. Step 2: The high layer randomly selects a resource from the reported candidate resource set to send data. That is, the terminal device randomly selects a resource from the candidate resource set to send data. In some implementations, step 1 may be performed by the physical layer of the terminal device, and accordingly, the high layer in step 2 may be a high layer relative to the physical layer, such as the MAC layer. It should be noted that the above RSRP threshold is determined by the priority P1 carried in the PSCCH detected by the terminal device and the priority P2 of the data to be sent by the terminal device. In addition, whether the terminal device uses the measured PSCCH-RSRP or the PSSCH-RSRP scheduled by the PSCCH to compare with the SL-RSRP threshold depends on the resource pool configuration of the resource pool used by the terminal device. The resource pool configuration may be network configuration or preconfigured. It should also be noted that the possible values ​​of X, X are {20%, 35%, 50%}. The configuration of the resource pool used by the terminal device includes the correspondence between the priority and the above possible values. The terminal device determines the value of X according to the priority of the data to be sent and the correspondence. The resource pool configuration can be configured by the network or pre-configured. Unlicensed spectrum Unlicensed spectrum is a spectrum that can be used for radio equipment communications, which is divided by countries and regions. This spectrum is generally considered to be a shared spectrum. That is, as long as the communication equipment in the same or different communication systems meets the regulatory requirements set by the country or region on the spectrum, they can use the spectrum without applying for exclusive spectrum authorization from the government. In order to allow various communication devices (or communication systems) that use unlicensed spectrum for wireless communication to coexist in a friendly manner on the spectrum, some countries or regions have stipulated regulatory requirements that need to be met for the use of unlicensed spectrum. For example, communication equipment follows the "listen before talk (LBT)" principle. The so-called LBT means that before a communication device sends a signal on a channel of the unlicensed spectrum, it must first perform channel sensing. If the channel sensing result is that the channel is idle, the communication device can use the channel of the unlicensed spectrum to send signals; if the channel sensing result is that the channel is busy, the communication device is generally not allowed to use the channel of the unlicensed spectrum to send signals. Signal transmission on unlicensed spectrum involves concepts related to channel occupancy, such as channel occupancy time (COT), maximum channel occupancy time (MCOT), COT of network devices (such as base stations), and COT of terminal devices. MCOT may refer to the maximum length of time that a communication device is allowed to use a channel of unlicensed spectrum for signal transmission when LBT is successful. It should be understood that MCOT refers to the time occupied by signal transmission. If the channel access priority class (CAPC) of a communication device is different, the MCOT corresponding to the communication device may be different. The maximum value of MCOT can be set to 10ms, for example. COT can refer to the length of time for signal transmission using the channel of unlicensed spectrum after LBT is successful. Within the time length corresponding to COT, the channel occupied by the signal can be discontinuous in the time domain. Generally speaking, a COT cannot exceed 20ms at most. In addition, the time length occupied by signal transmission within the COT should not exceed MCOT. The COT of a network device is also called the COT initiated by the network device. Taking the network device as a gNB as an example, the COT of the network device can be called the gNB-initiated COT. The COT of a network device can refer to the channel occupancy time obtained after the LBT of the network device is successful. In addition to being used for downlink transmission, the channel occupancy time of the network device can also be used for uplink transmission of the terminal device under certain conditions. The COT of the terminal device is also called the COT initiated by the terminal device. Taking the terminal device as a UE as an example, the COT of the terminal device can be called the UE-initiated COT. The COT of the terminal device can refer to the channel occupancy time obtained by the terminal device after the LBT is successful. The following takes the SL-U system as an example to illustrate the COT sharing mechanism. It can be understood that the COT sharing mechanism described below can also be applied to other communication systems. In order to ensure that the communication devices in the SL-U system can continue to use the channel within the acquired COT, the SL-U frame structure can support a 16us guard period (GP) symbol. In some implementations, the length of the GP can be reduced by reusing the cyclic prefix extension (CP extension). The terminal device can complete COT sharing by indicating COT sharing information. The shared COT terminal device can realize COT sharing by inheriting or forwarding COT sharing information. COT information can be carried in the physical layer control signaling sidelink control information (SCI). If the COT sharing information is carried in the SCI, the implementation of COT sharing can consider the processing time. The processing time can be the time for the terminal device to receive and decode the COT sharing information carried in the SCI. Furthermore, the relationship between the processing time and the minimum listening time prescribed by regulations can be considered. The COT sharing information indicated by the terminal device initiating COT may include one or more of the following information: remaining COT duration information, available subband information (this information can be obtained through the resource indication information carried by SCI), CAPC information and COT sharing identification (identity, ID) information, etc. The COT sharing information inherited by the shared COT terminal device may include: remaining COT duration information, available subband information (this information can be obtained through resource indication information carried by SCI), CAPC information and COT sharing ID information, etc. The COT shared ID information may include at least one or more of the following: a target terminal ID, a terminal group ID, service identification information, and a sideline zone identification (SL zone ID). The inheritance and forwarding of COT shared information can meet the following processing time conditions: the time length between the end position of the received SCI symbol and the start position of the sent SCI symbol is greater than or equal to the first time length (for example, it can be represented by Tproc, SL-U), where Tproc, SL-U can be the processing time that needs to be considered for the inheritance and forwarding of COT shared information. When the terminal device receives multiple COT shared information that meets the processing time condition, solution 1 and / or solution 2 may be considered to select appropriate COT shared information to inherit and forward. Solution 1: The terminal device may select to inherit and forward the COT sharing information with the longest remaining COT length according to the remaining COT length among multiple COT sharing information. The COT sharing information with the longest remaining COT length forwarded by the terminal device may be determined relative to the sending time of the terminal device. Solution 2: When the remaining COT lengths determined according to multiple COT sharing information are the same, the terminal device can select to inherit and forward the COT sharing information with the largest CAPC value according to the CAPC values ​​in the multiple COT sharing information. It should be noted that the above-mentioned multiple COT sharing information can be multiple COT sharing information that can be used by the terminal device. In addition to the above scheme, the inheritance and forwarding of COT information can also be based on other information, for example, the inheritance and forwarding of COT information can be based on the resource block set (RB set) information in the COT sharing information. If the COT sharing conditions are met, the terminal device can be allowed to perform COT sharing. As an implementation manner, the COT sharing condition may be determined based on the COT sharing ID information. For example, a terminal group may be determined based on the COT sharing ID information, and the COT may be shared between terminal devices in the terminal group. As an implementation method, the COT sharing mechanism can also be based on an implicit public group method to determine whether the COT shared by other terminals is valid according to the evaluation results of the responding device terminal. The evaluation criteria for COT sharing of the responding device terminal may include the following criteria: expected COT sharing range / area, channel quality measurement of the responding device terminal. The expected COT sharing range / area can be determined by SL Zone ID or RSRP measurement. The channel quality measurement of the responding device terminal may include, for example, a reference signal received power (RSRP) threshold or a constant bit rate (CBR) related measurement. Channel access method for unlicensed spectrum Some communication systems (such as NR-U system) introduce a channel access method for channel access through LBT. In addition, the communication system may also support channel access through short control signaling transmission (SCSt). The above two channel access methods are introduced below. The basic concept of LBT has been introduced in the previous article. Here, we will focus on introducing several different types of LBT methods (i.e., several different types of channel access methods based on LBT). Type 1 LBT mode (Type 1 LBT mode) can also be called multi-slot channel detection with random backoff based on contention window size adjustment. In Type 1 LBT mode, the communication device can initiate a channel access priority p with a length of T mcot Channel occupation. If the network device uses the Type 1 LBT method, the network device can not only send its own data during the channel occupation period, but also share the COT with the terminal device. The so-called sharing of COT with the terminal device means: allowing the terminal device to send data within the duration corresponding to the COT (that is, the COT obtained by the network device through channel access). Correspondingly, if the terminal device uses the Type 1 LBT method, the terminal device can not only send its own data during the channel occupation period, but also share the COT with the network device. The following table gives the channel access priority class (CAPC) and its corresponding parameters when the terminal device performs the Type 1 LBT method. Table 1 Channel access parameters corresponding to different channel priorities pm p CW min,p CW max,p T mcot,p CW allowed p Values: 12372ms{3,7}227154ms{7,15}331510236or 10ms{15,31,63,127,255,511,1023}471510236or 10ms{15,31,63,127,255,511,1023} In the above Table 1, 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. min,p Refers to the CW corresponding to the channel access priority p p The minimum value, CW max,p Refers to the CW corresponding to the channel access priority p p The maximum value, T mcot,p It refers to the maximum channel occupancy time length corresponding to the channel access priority p. Among the four channel access priorities shown in Table 1, p=1 is the highest priority. The Type 2 LBT method (Type 2 LBT method) may also be referred to as a channel access method based on a fixed-length channel monitoring time slot. The Type 2 LBT method includes the Type 2A LBT method (Type 2A LBT method), the Type 2B LBT method (Type 2B LBT method), and the Type 2C LBT method (Type 2C LBT method). In the LBT mode of type 2A, the communication device can use a single time slot detection of the channel of 25us. That is, the communication device can start channel detection 25us before data starts to be sent. The 25us channel detection can include a 16us channel detection and a 9us channel detection. If both detection results indicate that the channel is idle, it can be considered that the channel is idle and channel access can be performed. In the LBT mode of type 2B, the communication device may use a 16us single-time slot channel detection. During the channel detection process, if the communication device detects that the channel is idle for more than 4us in the last 9us, the channel may be considered idle. In the Type 2C LBT mode, the communication device can transmit data directly through the channel without channel detection. In the Type 2C LBT mode, the time difference between the current transmission and the previous transmission is less than or equal to 16us. In other words, if the time difference between two transmissions is less than or equal to 16us, they can be considered to be the same transmission and channel detection is not required. It should be noted that in the Type 2C LBT mode, the transmission time of the communication device is limited and usually cannot exceed 584us. The above introduces the channel access method based on LBT, and the following introduces SCSt. In the unlicensed spectrum, in order to improve the success rate of communication equipment accessing the channel when transmitting control signaling, SCSt is introduced. SCSt is a transmission in which the communication device does not sense whether there are other signals on the channel. For example, SCSt is a communication device used to send management and control frames without sensing whether there are other signals on the channel. In other words, when a communication device adopts SCSt, the communication device does not need to listen to the channel to access the channel for transmission. However, the use of SCSt needs to meet certain conditions. For example, if a communication device hopes to use SCSt for channel access, the communication device needs to meet one or more of the following conditions: within an observation period of 50ms, the number of times SCSt is used is less than or equal to 50; and within an observation period of 50ms, the duration occupied by SCSt does not exceed 2.5ms. It should be noted that LBT is usually also called channel access, type 1 LBT method can be called type 1 channel access method, type 2A LBT method can be called type 2A channel access method, type 2B LBT method can be called type 2B channel access method, type 2C LBT method can be called type 2C channel access method. In the embodiments of the present application, LBT and channel access can be interchangeable. In addition, in the embodiment of the present application, the unlicensed spectrum may also be referred to as a “shared spectrum” or an “unlicensed spectrum for sidelink transmission.” The embodiment of the present application does not limit this. The above describes the types of LBT and the relationship between LBT parameters and CAPC. The following describes the CAPC of radio bearers and the CAPC of MAC CE. In some implementations, the CAPC of the radio bearer and / or the CAPC of the MAC CE may be preset (or fixed). In other implementations, the CAPC of the radio bearer and / or the CAPC of the MAC CE may be configurable. The following describes the formulation of CAPC in several cases. Case 1, the CAPC that fills the buffer status report (BSR) and the bit rate recommended MAC CE is fixed to the lowest priority. In case 2, the CAPC of signaling radio bearers (SRB) 0, SRB1, SRB3 and other MAC CEs are fixed to the highest priority. In case 3, the CAPC of SRB2 and data radio bearers (DRB) can be configured by the network equipment. In some scenarios, when performing type 1 LBT to transmit uplink (transport block, TB) (see TS 37.213

[0037] , Article 4.2.1.1), when CAPC is not indicated in the downlink control information, the terminal device can select CAPC as follows. If the TB contains only a medium access control element (MAC CE), the CAPC selected by the terminal device may be the CAPC with the highest priority among all the MAC CEs contained in the TB. If the TB contains a common control channel (CCCH) service data unit (SDU), the CAPC selected by the terminal device may be the highest priority CAPC. If the TB contains a dedicated control channel (DCCH) SDU, the CAPC selected by the terminal device may be the CAPC with the highest priority among the DCCHs contained in the TB. In addition, the lowest priority CAPC of the logical channel multiplexed with MAC SDU is used in the TB. Logical channel prioritization (LCP) In the side transmission scenario, the logical channel priority processing can be understood as the process of prioritizing different logical channels and determining the amount of data to be transmitted for different logical channels / MAC CEs when generating a new MAC PDU. In some cases, in sideline transmission scenarios (e.g., NR-V2X systems), the transmission method of data carried by logical channels needs to be determined based on resource authorization. For example, if the current resource grant is a resource grant configured with type one, data carried by the logical channel is allowed to be carried by the resource grant configured with type one. For another example, the currently configured resource authorization is determined according to the configured resource authorization list associated with the logical channel, and accordingly, the data carried by the logical channel is allowed to be carried by the currently configured resource authorization. Afterwards, the logical channels that need to be carried are selected from the logical channel set that meets the conditions, and the amount of data that can be carried by each logical channel is finally determined. In some implementations, the process of selecting the logical channel can be divided into the following two steps. In step 1, a target address is selected. For example, among the sidelink logical channels that have sidelink data to be sent and to which the target address of the sidelink data belongs, a logical channel with the highest associated priority level among currently selectable logical channels is included. In step 2, for the selection of logical channels within the selected target address, for example, in the logical channels belonging to the selected target address and satisfying the above restriction conditions, resources are allocated to the logical channel with the highest priority to transmit the sideline data to be transmitted. Currently, two types of channel access methods are supported in the shared spectrum: the first channel access method and the second channel access method, wherein the two types of channel access methods are channel access methods for listening to the shared spectrum before sending the first side data to be transmitted on the shared spectrum. In some cases, the terminal device can access the shared spectrum through the first channel access method or through the second channel access method. Currently, the protocol does not specify the behavior of the terminal device in the above case, resulting in the terminal device being unable to transmit side data on the shared spectrum. Taking the first channel access method as type 1 LBT and the second channel access method as type 2 LBT as an example, when the terminal device is executing type 1 LBT, other terminals share COT with the terminal device. At this time, the communication protocol does not take into account the behavior of the terminal device in this case, resulting in the terminal device being unable to transmit sidelink data on the shared spectrum. Therefore, in order to avoid the above problems, an embodiment of the present application provides a wireless communication method. The wireless communication method of the embodiment of the present application is introduced below in conjunction with Figure 12, which is a schematic flow chart of the wireless communication method of the embodiment of the present application. The method shown in Figure 12 includes step S1210. In step S1210, the terminal device determines to transmit first sidelink data on a shared spectrum based on the first channel access method and / or the second channel access method. The first channel access method is different from the second channel access method. In some implementations, the first channel access method may be of a different type from the second channel access method. For example, the first channel access method may be the type 1 LBT described above, and correspondingly, the second channel access method may be the type 2 LBT described above. In some other implementations, the CAPC associated with the first channel access method may be different from the CAPC associated with the second channel access method. For example, the first channel access method and the second channel access method are both type 2 LBT, but because the first channel access method and the second channel access method correspond to COTs shared by two different terminal devices, the CAPC associated with the first channel access method is different from the CAPC associated with the second channel access method. Of course, in the embodiment of the present application, the first channel access method and the second channel access method can be two channel access methods of different types and associated with different CAPCs. For example, the first channel access method is type 1 LBT and the associated CAPC value is p1, and the second channel access method is type 2 LBT and the associated CAPC value is p2, where p1 is different from p2. It should be noted that the above-mentioned CAPC can be understood as the CAPC priority, and the above-mentioned CAPC value can be understood as the CAPC priority level. Generally speaking, the smaller the CAPC value, the higher the corresponding CAPC priority. On the contrary, the larger the CAPC value, the lower the corresponding CAPC priority. Of course, in the embodiment of the present application, the smaller the CAPC value, the lower the corresponding CAPC priority. On the contrary, the larger the CAPC value, the higher the corresponding CAPC priority. The embodiment of the present application does not limit this. For ease of understanding, the following text will take the example that the smaller the CAPC value, the higher the corresponding CAPC priority, and the larger the CAPC value, the lower the corresponding CAPC priority. In addition, for the sake of distinction, CAPC is represented by CAPC priority below, and CAPC value is represented by CAPC priority value, or in other words, CAPC priority value represents the priority level of CAPC. That is to say, when the CAPC value is lower, the corresponding CAPC priority is higher, and conversely, when the CAPC value is higher, the corresponding CAPC priority is lower. In some implementations, the second channel access method can be shared by other terminals through the first information. That is, the above method also includes: during the process of the terminal device performing channel access based on the first channel access method, the terminal device receives the first information. The above step S1210 includes: in response to the first information, the terminal device determines to transmit the first side data on the shared spectrum based on the first channel access method and / or the second channel access method. In some implementations, the first information is used to indicate to the terminal device the information of the shared COT. In an embodiment of the present application, the first information may be, for example, the COT shared information described above. Of course, in an embodiment of the present application, the first information may also include part of the COT shared information described above, or the first information may also include other information related to the shared COT, which is not limited in the embodiment of the present application. In some implementations, the shared COT is associated with the second channel access mode. For example, the sideline resources included in the shared COT are the sideline resources that the terminal device attempts to access in the second channel access mode. As described above, during the process of the terminal device performing channel access based on the first channel access method, the terminal device receives the first information. At this time, if the terminal device determines to transmit the first side data on the shared spectrum based on the first channel access method, it can be understood that the terminal device continues to perform the channel access process of the first channel access method and transmits the first side data after successful access. If the terminal device determines to transmit the first sideline data on the shared spectrum based on the second channel access method, it can be understood that the terminal device interrupts the channel access process of the first channel access method, and executes the second channel access method based on the shared COT, and transmits the first sideline data after successful access. If the terminal device determines to transmit the first side data on the shared spectrum based on the first channel access method and the second channel access method, it can be understood that the terminal device continues to execute the channel access process of the first channel access method, and simultaneously executes the second channel access method based on the shared COT, and finally transmits the first side data after successful access. It should be noted that successful access may refer to the success of the channel access process based on the first channel access method, or successful access may refer to the success of the channel access process based on the second channel access method, or successful access may refer to the success of the channel access process based on the first channel access method and the second channel access method. In some implementations, the terminal device may select the first channel access mode and / or the second channel access mode based on the second information. The second information is associated with one or more of the following: terminal capabilities of the terminal device; whether the shared COT is available; information about the first channel access mode; information about the sideline data to be transmitted, the sideline data to be transmitted including the first sideline data; whether the terminal device expects to share the obtained COT with other terminals; and information about the selected sideline resources of the terminal device. Taking the association of the second information with the terminal device capability of the terminal device as an example, the terminal capability of the terminal device is used to indicate whether the terminal device supports simultaneous channel access in the first channel access mode and the second channel access mode. In some implementations, the terminal capability may indicate whether the terminal device supports simultaneous channel access in the first channel access mode and the second channel access mode by the number of channel access modes that the terminal device can perform simultaneously. For example, if the number of channel access modes that the terminal device can perform simultaneously is 1, it means that the terminal device does not support simultaneous channel access in the first channel access mode and the second channel access mode. For another example, if the number of channel access modes that the terminal device can perform simultaneously is 2, it means that the terminal device supports simultaneous channel access in the first channel access mode and the second channel access mode. Correspondingly, if the terminal capability indicates that the terminal device supports channel access in both the first channel access mode and the second channel access mode, the terminal device can determine to transmit the first side line data based on the first channel access mode and the second channel access mode. Of course, in an embodiment of the present application, if the terminal capability indicates that the terminal device supports channel access in both the first channel access mode and the second channel access mode, the terminal device can also determine to transmit the first side line data based on the first channel access mode, or the terminal device can also determine to transmit the first side line data based on the second channel access mode, and the embodiment of the present application does not limit this. Taking the association between the second information and whether the shared COT is available as an example, in some implementations, when the shared COT is available, the terminal device can determine to transmit the first side data based on the second channel access method. Of course, in the embodiment of the present application, when the shared COT is available, the terminal device can determine to transmit the first side data based on the second channel access method and the first channel access method. Conversely, when the shared COT is not available, the terminal device can determine to transmit the first side data based on the first channel access method. In some implementations, whether a shared COT is available is determined based on one or more of the following information: a CAPC priority associated with the shared COT; a transmission type associated with the shared COT; a target address of a sideline communication associated with the shared COT; a remaining time of the shared COT; a terminal device of the shared COT; sideline resources within the shared COT; information of sideline data to be transmitted, the sideline data to be transmitted including first sideline data; and a configuration of the network device. In some implementations, whether the shared COT is available can be determined based on the CAPC priority associated with the shared COT. For example, whether the shared COT is available can be determined based on the CAPC priority associated with the first side row data and the CAPC priority associated with the shared COT. If the CAPC priority associated with the first side row data is higher than or equal to the CAPC priority associated with the shared COT, the shared COT is available. If the CAPC priority associated with the first side row data is lower than the CAPC priority associated with the shared COT, the shared COT is unavailable. Of course, in some implementations, if the CAPC priority associated with the first side row data is lower than the CAPC priority associated with the shared COT, the shared COT is available, which will be described in detail below in conjunction with the methods shown in Figures 14 to 15. For the sake of brevity, it will not be repeated here. It should be noted that the CAPC priority associated with the shared COT can be, for example, the CAPC priority indicated in the above COT sharing information, for example, the CAPC priority used by other terminals that initiate the shared COT when executing type 1 LBT. This embodiment of the present application is not limited to this. In some implementations, whether the shared COT is available can be determined based on the transmission type associated with the shared COT. For example, if the transmission type of the first side data matches the transmission type associated with the shared COT, the shared COT is available. If the transmission type of the first side data does not match the transmission type associated with the shared COT, the shared COT is unavailable. The above transmission type may include one or more of multicast, unicast or broadcast. The transmission type of the above first side data matches the transmission type associated with the shared COT. It can be understood that if the transmission type associated with the shared COT includes the transmission type of the first side data, then the transmission type of the first side data matches the transmission type associated with the shared COT. For example, if the transmission type of the first side data is multicast, and the transmission type associated with the shared COT includes multicast, then the transmission type of the first side data matches the transmission type associated with the shared COT. On the contrary, the transmission type of the first side data does not match the transmission type associated with the shared COT, which can be understood as follows: if the transmission type associated with the shared COT does not include the transmission type of the first side data, then the transmission type of the first side data does not match the transmission type associated with the shared COT. For example, if the transmission type of the first side data is multicast, and the transmission type associated with the shared COT does not include multicast, then the transmission type of the first side data does not match the transmission type associated with the shared COT. It should be noted that the transmission type associated with the shared COT may be, for example, that indicated in the above COT sharing information, and this embodiment of the present application does not limit this. In some implementations, whether the shared COT is available can be determined based on the target address of the sideline communication associated with the shared COT. For example, if the target address of the first sideline data meets the target address requirement associated with the shared COT, the shared COT is available. If the target address of the first sideline data does not meet the target address requirement associated with the shared COT, the shared COT is unavailable. The target address of the first side row data meets the target address requirement of the shared COT association, which can be replaced by the target address of the first side row data matching the target address of the shared COT association, or the target address of the shared COT association including the target address of the first side row data. On the contrary, the target address of the first side row data does not meet the target address requirement associated with the shared COT, which may be replaced by the target address of the first side row data not matching the target address associated with the shared COT, or the target address associated with the shared COT not including the target address of the first side row data. For example, the target address associated with the shared COT is the terminal device that initiated the shared COT. At this time, if the target address of the first side data is the terminal device of the shared COT, it means that the target address of the first side data meets the target address requirement associated with the shared COT. On the contrary, if the target address of the first side data is other terminals except the terminal device of the shared COT, it means that the target address of the first side data does not meet the target address requirement associated with the shared COT. It should be noted that the target address of the side communication associated with the shared COT may be, for example, the target address indicated in the above COT sharing information. For details, please refer to the above related introduction based on the target address. The embodiment of the present application does not limit this. In some implementations, whether the shared COT is available can be determined based on the remaining time of the shared COT. For example, it can be determined based on the remaining time of the shared COT and the transmission time of the first side data. If the remaining time of the shared COT is greater than or equal to the transmission time of the first side data, the shared COT is available. On the contrary, if the remaining time of the shared COT is less than the transmission time of the first side data, the shared COT is not available. Of course, in the embodiment of the present application, there is no specific limitation on determining whether the shared COT is available based on the remaining time of the shared COT. For example, it can be determined based on the remaining time of the shared COT and the time threshold, that is, if the remaining time of the shared COT is greater than or equal to the time threshold, the shared COT is available. If the remaining time of the shared COT is less than the time threshold, the shared COT is unavailable. It should be noted that the remaining time of the shared COT may be, for example, the remaining time indicated in the above COT sharing information, and this embodiment of the present application is not limited to this. In some implementations, whether the shared COT is available may be determined based on the terminal device that shares the COT. For ease of description, the terminal device that shares the COT is referred to as terminal 1, and the terminal device that sends the first sideline data is referred to as terminal 2. For example, whether the shared COT is available can be determined based on the distance between terminal 1 and terminal 2, thereby avoiding the situation where the sidelink resources contained in the shared COT may be unavailable to terminal 2 (for example, there is large interference) when terminal 1, which is far away, shares COT with terminal 2, which helps to improve the rationality of shared COT. If the distance between terminal 1 and terminal 2 is greater than or equal to the distance threshold, the shared COT is not available. Conversely, if the distance between terminal 1 and terminal 2 is less than the distance threshold, the shared COT is available. For another example, whether the shared COT is available can be determined based on the signal quality and / or signal reception power (for example, RSRP) between terminal 1 and terminal 2, thereby avoiding the situation where terminal 1 with poor signal quality or signal reception power shares COT with terminal 2, and terminal 2 transmits first sidelink data to terminal 1 via the sidelink resources included in the shared COT, and terminal 1 is unable to accurately receive the first sidelink data due to poor signal quality or signal reception power. If the signal quality between terminal 1 and terminal 2 is greater than or equal to the signal quality threshold, the shared COT is available. Conversely, if the signal quality between terminal 1 and terminal 2 is less than the signal quality threshold, the shared COT is not available. And / or If the signal reception power between terminal 1 and terminal 2 is greater than or equal to the signal reception power threshold, the shared COT is available. Conversely, if the signal reception power between terminal 1 and terminal 2 is less than the signal reception power threshold, the shared COT is not available. In some implementations, whether the shared COT is available can be determined based on the sideline resources in the shared COT. For example, it can be determined based on the sideline resources in the shared COT and the sideline resources required for transmitting the first sideline data. If the sideline resources in the shared COT are greater than or equal to the sideline resources required for transmitting the first sideline data, the shared COT is available. Conversely, if the sideline resources in the shared COT are less than the sideline resources required for transmitting the first sideline data, the shared COT is unavailable. Of course, in the embodiment of the present application, there is no specific limitation on determining whether the shared COT is available based on the sidewalk resources in the shared COT. For example, it can be determined based on the sidewalk resources in the shared COT and the resource threshold. If the sidewalk resources in the shared COT are greater than or equal to the resource threshold, the shared COT is available. If the sidewalk resources in the shared COT are less than the resource threshold, the shared COT is unavailable. For another example, it can be determined based on whether there are available sideline resources in the shared COT. If there are available sideline resources in the shared COT, the shared COT is available. On the contrary, if there are no available sideline resources in the shared COT, the shared COT is unavailable. Among them, the available sideline resources can be understood as the existing sideline resources of the shared terminal device, or the optional sideline resources of the shared terminal device, which is not limited in the embodiments of the present application. In some implementations, whether the shared COT is available may be based on information of the sideline data to be transmitted. In some implementations, the information of the sideline data to be transmitted may include a CAPC priority associated with the sideline data to be transmitted and / or a target address of the sideline data to be transmitted. Taking the example that the information of the side data to be transmitted includes the CAPC priority associated with the side data to be transmitted, whether the shared COT is available is determined based on the CAPC priority associated with the side data to be transmitted and the CAPC priority associated with the shared COT. If the CAPC priority associated with the side data to be transmitted is higher than or equal to the CAPC priority associated with the shared COT, the shared COT is available. If the CAPC priority associated with the side data to be transmitted is lower than the CAPC priority associated with the shared COT, the shared COT is unavailable. Of course, in some implementations, if the CAPC priority associated with the side data to be transmitted is lower than the CAPC priority associated with the shared COT, the shared COT is available, which will be described in detail below in conjunction with the methods shown in Figures 14 to 15. For the sake of brevity, it will not be repeated here. It should be noted that the CAPC priority associated with the shared COT can be, for example, the CAPC priority indicated in the above COT sharing information, for example, the CAPC priority used by other terminals that initiate the shared COT when executing type 1 LBT. This embodiment of the present application is not limited to this. In addition, the above-mentioned side data to be transmitted may include first side data, or in other words, the first side data may be part or all of the side data to be transmitted, which is not limited in the embodiment of the present application. Taking the case where the information of the side data to be transmitted includes the target address of the side data to be transmitted, if the target address of the side data to be transmitted meets the target address requirement associated with the shared COT, the shared COT is available. If the target address of the side data to be transmitted does not meet the target address requirement associated with the shared COT, the shared COT is unavailable. The target address of the side data to be transmitted meets the target address requirement of the shared COT association, which can be replaced by matching the target address of the side data to be transmitted with the target address of the shared COT association, or including the target address of the side data to be transmitted. On the contrary, if the target address of the side data to be transmitted does not meet the target address requirement associated with the shared COT, it can be replaced by the target address of the side data to be transmitted not matching the target address associated with the shared COT, or the target address associated with the shared COT does not include the target address of the side data to be transmitted. For example, the target address associated with the shared COT is the terminal device that shares the shared COT. At this time, if the target address of the side data to be transmitted is the terminal device of the shared COT, it means that the target address of the side data to be transmitted meets the target address requirement associated with the shared COT. On the contrary, if the target address of the side data to be transmitted is other terminals except the terminal device of the shared COT, it means that the target address of the side data to be transmitted does not meet the target address requirement associated with the shared COT. In some implementations, whether the shared COT is available can be based on the configuration of the network device. If the network device configures the shared COT as available for the terminal device, the shared COT is available, and / or, if the network device configures the shared COT as unavailable for the terminal device, the shared COT is unavailable. Determining whether the shared COT is available based on the configuration of the network device helps to avoid waste in the scheduling process of the network device. For example, in mode 1, the network device will configure sideline resources for the terminal device. At this time, if the terminal device uses the shared COT to transmit the first sideline data, it may cause the resource configuration process of the network device for the terminal device to be wasted. At this time, if the network device can configure the shared COT as unavailable for the terminal device, waste in the resource configuration process can be avoided. Taking the association between the second information and the information of the first channel access method as an example, the information of the first channel access method includes one or more of the following: CAPC priority associated with the first channel access method; execution duration of the first channel access method; number of fallbacks of the first channel access method; number of successes of the first channel access method; number of failures of the first channel access method; transmission method associated with the first channel access method; and whether the sideline resources associated with the first channel access method are continuous. In some implementations, the information of the first channel access method may include a CAPC priority associated with the first channel access method. Accordingly, the terminal device may determine to transmit the first sideline data based on the first channel access method and / or the second channel access method based on the CAPC priority associated with the first channel access method. For example, if the value of the CAPC associated with the first channel access method is lower than or equal to the value of the CAPC of the first side row data, the terminal device can determine to transmit the first side row data based on the second channel access method. Of course, the terminal device can also determine to transmit the first side row data based on the first channel access method and the second channel access method. On the contrary, if the value of the CAPC associated with the first channel access method is higher than the value of the CAPC of the first side row data, the terminal device can determine to transmit the first side row data based on the second channel access method. For another example, if the value of the CAPC associated with the first channel access method is lower than or equal to the value of the CAPC associated with the second channel access method, the terminal device can determine to transmit the first side line data based on the first channel access method. Of course, the terminal device can also determine to transmit the first side line data based on the first channel access method and the second channel access method. On the contrary, if the value of the CAPC associated with the first channel access method is higher than the CAPC priority associated with the second channel access method, the terminal device can determine to transmit the first side line data based on the second channel access method. Of course, the terminal device can also determine to transmit the first side line data based on the first channel access method and the second channel access method. In some implementations, the information of the first channel access method may include the execution duration of the first channel access method. Accordingly, the terminal device may determine to transmit the first side data based on the first channel access method and / or the second channel access method based on the execution duration of the first channel access method. For example, if the execution time of the first channel access method is less than or equal to the time threshold, the terminal device can determine to transmit the first side data based on the first channel access method. Of course, the terminal device can also determine to transmit the first side data based on the first channel access method and the second channel access method. On the contrary, if the execution time of the first channel access method is greater than the time threshold, the terminal device can determine to transmit the first side data based on the second channel access method, which helps to improve the success rate of transmitting the first side data. In some implementations, the information of the first channel access method may include a fallback number of the first channel access method. Accordingly, the terminal device may determine to transmit the first sideline data based on the first channel access method and / or the second channel access method based on the fallback number of the first channel access method. For example, if the backoff number of the first channel access method is less than or equal to the backoff number threshold, the terminal device can determine to transmit the first side line data based on the first channel access method. Of course, the terminal device can also determine to transmit the first side line data based on the first channel access method and the second channel access method. On the contrary, if the backoff number of the first channel access method is greater than the backoff number threshold, the terminal device can determine to transmit the first side line data based on the second channel access method, which helps to reduce the delay in transmitting the first side line data. In some implementations, the information of the first channel access method may include the number of successes of the first channel access method. Accordingly, the terminal device may determine to transmit the first sideline data based on the first channel access method and / or the second channel access method based on the number of successes of the first channel access method. For example, if the number of successes of the first channel access method is less than or equal to a threshold value, the terminal device can determine to transmit the first side line data based on the first channel access method. Of course, the terminal device can also determine to transmit the first side line data based on the first channel access method and the second channel access method. On the contrary, if the number of successes of the first channel access method is greater than a threshold value, the terminal device can determine to transmit the first side line data based on the second channel access method. Of course, the terminal device can also determine to transmit the first side line data based on the first channel access method and the second channel access method, which helps to improve the success rate of transmitting the first side line data. In some implementations, the information of the first channel access method may include the number of failures of the first channel access method. Accordingly, the terminal device may determine to transmit the first sideline data based on the first channel access method and / or the second channel access method based on the number of failures of the first channel access method. For example, if the number of failures of the first channel access method is less than or equal to a threshold value, the terminal device may determine to transmit the first side line data based on the first channel access method. Of course, the terminal device may also determine to transmit the first side line data based on the first channel access method and the second channel access method. On the contrary, if the number of failures of the first channel access method is greater than a threshold value, the terminal device may determine to transmit the first side line data based on the second channel access method. Of course, the terminal device may also determine to transmit the first side line data based on the first channel access method and the second channel access method, which helps to improve the success rate of transmitting the first side line data. In some implementations, the information of the first channel access mode may include a transmission mode associated with the first channel access mode, wherein the transmission mode associated with the first channel access mode may include multiple consecutive slot transmission (MCSt) or non-MCSt. Accordingly, the terminal device may determine, based on the transmission mode associated with the first channel access mode, whether to transmit the first sidelink data based on the first channel access mode and / or the second channel access mode. For example, if the transmission mode associated with the first channel access mode is MCSt, the terminal device can determine to transmit the first side line data based on the first channel access mode. Of course, the terminal device can also determine to transmit the first side line data based on the first channel access mode and the second channel access mode. On the contrary, if the transmission mode associated with the first channel access mode is non-MCSt, the terminal device can determine to transmit the first side line data based on the second channel access mode. Of course, the terminal device can also determine to transmit the first side line data based on the first channel access mode and the second channel access mode, which helps to improve the success rate of transmitting the first side line data. In some implementations, the information of the first channel access method may include whether the sideline resources associated with the first channel access method are continuous. The sideline resources associated with the first channel access method may be understood as part or all of the sideline resources monitored by the terminal device during the channel access in the first channel access method. Whether the sideline resources associated with the above-mentioned first channel access method are continuous can be understood as whether the sideline resources associated with the first channel access method are continuous in the time domain. Accordingly, the terminal device may determine whether to transmit the first sideline data based on the first channel access mode and / or the second channel access mode based on whether the sideline resources associated with the first channel access mode are continuous. For example, if the sideline resources associated with the first channel access method are continuous, the terminal device can determine to transmit the first sideline data based on the first channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the sideline resources associated with the first channel access method are discontinuous, the terminal device can determine to transmit the first sideline data based on the second channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method, which helps to reduce the delay required to transmit the first sideline data. Taking the association between the second information and the information of the side data to be transmitted as an example, the information of the side data to be transmitted includes one or more of the following: the data amount of the side data to be transmitted; the data priority of the side data to be transmitted; the remaining PDB of the side data to be transmitted; and the CAPC priority associated with the side data to be transmitted. The side data to be transmitted may include first side data, or in other words, the first side data may be part or all of the side data to be transmitted, which is not limited in the embodiment of the present application. In some implementations, the information of the side data to be transmitted includes the amount of the side data to be transmitted. Accordingly, the terminal device can determine to transmit the first side data based on the first channel access method and / or the second channel access method based on the amount of the side data to be transmitted. For example, if the data volume of the side data to be transmitted is greater than or equal to the data volume threshold, the terminal device can determine to transmit the first side data based on the first channel access method. Of course, the terminal device can also determine to transmit the first side data based on the first channel access method and the second channel access method. On the contrary, if the data volume of the side data to be transmitted is less than the data volume threshold, the terminal device can determine to transmit the first side data based on the second channel access method. Of course, the terminal device can also determine to transmit the first side data based on the first channel access method and the second channel access method, which helps to improve the success rate of transmitting the first side data. For another example, if the data volume of the side data to be transmitted is greater than or equal to the data volume threshold, the terminal device can determine to transmit the first side data based on the second channel access method. Of course, the terminal device can also determine to transmit the first side data based on the first channel access method and the second channel access method. On the contrary, if the data volume of the side data to be transmitted is less than the data volume threshold, the terminal device can determine to transmit the first side data based on the first channel access method. Of course, the terminal device can also determine to transmit the first side data based on the first channel access method and the second channel access method, which helps to improve the success rate of transmitting the first side data. In some implementations, the information of the side data to be transmitted includes the data priority of the side data to be transmitted. Accordingly, the terminal device can determine to transmit the first side data based on the first channel access method and / or the second channel access method based on the data priority of the side data to be transmitted. For example, if the data priority of the sideline data to be transmitted is higher than or equal to the data priority threshold, the terminal device can determine to transmit the first sideline data based on the first channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the data priority of the sideline data to be transmitted is lower than the priority threshold, the terminal device can determine to transmit the first sideline data based on the second channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. For another example, if the data priority of the sideline data to be transmitted is greater than or equal to the data priority threshold, the terminal device can determine to transmit the first sideline data based on the second channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the data priority of the sideline data to be transmitted is less than the priority threshold, the terminal device can determine to transmit the first sideline data based on the first channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. In some implementations, the information of the side data to be transmitted includes the remaining PDB of the side data to be transmitted. Accordingly, the terminal device can determine to transmit the first side data based on the first channel access method and / or the second channel access method based on the remaining PDB of the side data to be transmitted. For example, if the remaining PDB of the sideline data to be transmitted is greater than or equal to the PDB threshold, the terminal device can determine to transmit the first sideline data based on the first channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the remaining PDB of the sideline data to be transmitted is less than the PDB threshold, the terminal device can determine to transmit the first sideline data based on the second channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. For another example, if the remaining PDB of the sideline data to be transmitted is greater than or equal to the PDB threshold, the terminal device can determine to transmit the first sideline data based on the second channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the remaining PDB of the sideline data to be transmitted is less than the PDB threshold, the terminal device can determine to transmit the first sideline data based on the first channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. In some implementations, the information of the side data to be transmitted includes the CAPC priority associated with the side data to be transmitted. Accordingly, the terminal device can determine to transmit the first side data based on the first channel access method and / or the second channel access method based on the CAPC priority associated with the side data to be transmitted. For example, if the CAPC priority associated with the sideline data to be transmitted is higher than or equal to the CAPC priority threshold, the terminal device can determine to transmit the first sideline data based on the first channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the CAPC priority associated with the sideline data to be transmitted is lower than the CAPC priority threshold, the terminal device can determine to transmit the first sideline data based on the second channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. For another example, if the CAPC priority associated with the sideline data to be transmitted is higher than or equal to the CAPC priority threshold, the terminal device can determine to transmit the first sideline data based on the second channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the CAPC priority associated with the sideline data to be transmitted is lower than the CAPC priority threshold, the terminal device can determine to transmit the first sideline data based on the first channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. Taking the second information and whether the terminal device expects to share the obtained COT with other terminals as an example, the terminal device can determine to transmit the first side data based on the first channel access method and / or the second channel access method based on whether the terminal device expects to share the obtained COT with other terminals. For example, if the terminal device expects to share the obtained COT with other terminals, the terminal device can determine to transmit the first side data based on the first channel access method. Of course, the terminal device can also determine to transmit the first side data based on the first channel access method and the second channel access method. On the contrary, if the terminal device does not expect to share the obtained COT with other terminals, the terminal device can determine to transmit the first side data based on the second channel access method. Of course, the terminal device can also determine to transmit the first side data based on the first channel access method and the second channel access method. Taking the second information and the information of the selected sideline resources of the terminal device as an example, the terminal device can determine to transmit the first sideline data based on the first channel access method and / or the second channel access method based on the information of the selected sideline resources of the terminal device. In some implementations, the information of the selected sideline resources may include the resource location of the selected sideline resources and / or the number of the selected sideline resources. For example, if the information of the selected sideline resource can include the resource location of the selected sideline resource, and the resource location of the selected sideline resource is earlier than the sideline resource included in the shared COT, the terminal device can determine to transmit the first sideline data based on the first channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the resource location of the selected sideline resource is not earlier than the sideline resource included in the shared COT, the terminal device can determine to transmit the first sideline data based on the second channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. For another example, if the information of the selected sideline resource can include the resource location of the selected sideline resource, and the resource location of the selected sideline resource is not earlier than the sideline resource included in the shared COT, the terminal device can determine to transmit the first sideline data based on the first channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the resource location of the selected sideline resource is earlier than the sideline resource included in the shared COT, the terminal device can determine to transmit the first sideline data based on the second channel access method. Of course, the terminal device can also determine to transmit the first sideline data based on the first channel access method and the second channel access method. For example, if the information of the selected sideline resources may include the number of the selected sideline resources, and the number of the selected sideline resources is greater than or equal to the quantity threshold, the terminal device may determine to transmit the first sideline data based on the first channel access method, and of course, the terminal device may also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the number of the selected sideline resources is less than the quantity threshold, the terminal device may determine to transmit the first sideline data based on the second channel access method, and of course, the terminal device may also determine to transmit the first sideline data based on the first channel access method and the second channel access method. For another example, if the information of the selected sideline resources may include the number of the selected sideline resources, and the number of the selected sideline resources is greater than or equal to the quantity threshold, the terminal device may determine to transmit the first sideline data based on the second channel access method, and of course, the terminal device may also determine to transmit the first sideline data based on the first channel access method and the second channel access method. On the contrary, if the number of the selected sideline resources is less than the quantity threshold, the terminal device may determine to transmit the first sideline data based on the first channel access method, and of course, the terminal device may also determine to transmit the first sideline data based on the first channel access method and the second channel access method. Of course, in the embodiment of the present application, the terminal device can also determine to transmit the first side data based on the first access method and / or the second channel access method based on pre-configuration information (also called "third information"), pre-defined information (also called "third information") or terminal implementation. The embodiment of the present application is not limited to this. Among them, the pre-configuration information can be pre-configured by the network device for the terminal device. The pre-defined information can be pre-defined based on the communication protocol. In the embodiment of the present application, the parameters associated with the first channel access method and / or the parameters associated with the second channel access method introduced above can be understood as the parameters used by the terminal device in the channel access process. In some scenarios, before executing the channel access process, the terminal device can obtain sideline resources through the two resource selection modes introduced above: mode 1 or mode 2. Accordingly, in the sideline communication process based on mode 1 or mode 2, the MAC layer of the terminal device can indicate the parameters associated with the first channel access method and / or the parameters associated with the second channel access method to the physical layer of the terminal device. At this time, the MAC layer indicates the parameters associated with the first channel access method and / or the parameters associated with the second channel access method to the physical layer, which can be called the parameters associated with the first channel access method and / or the parameters associated with the second channel access method associated in the resource selection process. The parameters associated with the first channel access method and / or the parameters associated with the second channel access method associated in the resource selection process can be used for terminal device resource acquisition, that is, the terminal device acquires resources based on these parameters. In some implementations, the parameters associated with the first channel access method can be understood as parameters required for executing the channel access process based on the first channel access method. For example, the above parameters may include the CAPC priority and / or the number of continuous transmissions (for example, the number of continuous transmissions of MCSt) associated with the first channel access method. Among them, the information of the shared COT may include, for example, one or more of the remaining duration of the shared COT, the duration of the shared COT, and the time domain starting position corresponding to the shared COT. It should be noted that the parameters associated with the first channel access method indicated by the MAC layer to the physical layer (for example, CAPC priority) may be different from the parameters used in the channel access process corresponding to the first channel access method executed by the terminal device. For example, the CAPC priority associated with the first channel access method indicated by the MAC layer to the physical layer is different from the parameters associated with the first channel access method in the first sidelink data transmitted by the terminal device based on the first channel access method. For example, the parameters associated with the first channel access method indicated by the MAC layer to the physical layer may be determined based on the sidelink data to be transmitted during the execution of Mode 1. However, as time goes by, the sidelink data to be transmitted may change (for example, some of the sidelink data to be transmitted may become invalid, or there may be newly arrived sidelink data to be transmitted). At this time, the parameters associated with the first channel access method may change. Then, when the terminal device performs a channel access process based on the first channel access method, it is determined based on the changed sidelink data to be transmitted. Therefore, the parameters associated with the first channel access method indicated by the MAC layer to the physical layer may be different from the parameters used in the channel access process corresponding to the terminal device executing the first channel access method. Of course, in an embodiment of the present application, the parameters associated with the first channel access method indicated by the MAC layer to the physical layer may be the same as the parameters used in the channel access process corresponding to the first channel access method executed by the terminal device. It should be noted that the parameters when the terminal device performs the channel access process based on the first channel access method are determined based on the changed side data to be transmitted. Taking the above parameters including the CAPC priority associated with the first channel access method as an example, the CAPC priority associated with the first channel access process can be determined based on the current side data to be transmitted, wherein the current data to be transmitted can be, for example, the side data to be transmitted cached in the cache of the terminal device. In other implementations, the parameters associated with the second channel access method may include, for example, one or more of the CAPC priority associated with the second channel access method, the number of consecutive transmissions (for example, the number of consecutive transmissions of MCSt), and the information of the shared COT. The information of the shared COT may include, for example, one or more of the remaining duration of the shared COT, the duration of the shared COT, and the time domain starting position corresponding to the shared COT. It should be noted that the parameters associated with the second channel access method indicated by the MAC layer to the physical layer (e.g., CAPC priority) may be different from the parameters used in the channel access process corresponding to the second channel access method executed by the terminal device. For example, the CAPC priority associated with the second channel access method indicated by the MAC layer to the physical layer is different from the parameters associated with the second channel access method in the first sidelink data transmitted by the terminal device based on the second channel access method. For example, the parameters associated with the second channel access method indicated by the MAC layer to the physical layer may be determined based on the sidelink data to be transmitted during the execution of Mode 1. However, as time goes by, the sidelink data to be transmitted may change (for example, part of the sidelink data to be transmitted may become invalid, or there may be newly arrived sidelink data to be transmitted). At this time, the parameters associated with the first channel access method may change. Then, the above parameters when the terminal device performs the channel access process based on the first channel access method are determined based on the changed sidelink data to be transmitted. Therefore, the parameters associated with the first channel access method indicated by the MAC layer to the physical layer may be different from the parameters used in the channel access process corresponding to the terminal device executing the first channel access method. Of course, in an embodiment of the present application, the parameters associated with the first channel access method indicated by the MAC layer to the physical layer may be the same as the parameters used in the channel access process corresponding to the first channel access method executed by the terminal device. For ease of understanding, the following takes the first channel access mode as type 1 LBT and the second channel access mode as type 2 LBT as an example, and describes the wireless communication method of an embodiment of the present application in conjunction with FIG13. FIG13 is a schematic flow chart of a wireless communication method of another embodiment of the present application. The method shown in FIG13 includes steps S1310 to S1340. In step S1310, a resource selection process is performed. In some implementations, the sideline resource selection process may include the terminal device performing resource monitoring, such as the second mode in the sideline communication mode described above. In other implementations, the sideline resource selection process may include the network device allocating the sideline resource to the terminal device, such as the first mode in the sideline communication mode described above. In the second mode, the MAC layer of the terminal device can send information 1 to the physical layer of the terminal device, wherein information 1 includes one or more of the CAPC priority associated with the sidelink data to be transmitted, the number of consecutive transmissions of MCSt, and information of shared COT. It should be noted that the information of the shared COT can refer to the above introduction, and may include one or more of the shared information of the shared COT, such as the remaining time of the shared COT, the starting position of the resources in the shared COT, and the like. In addition, in an embodiment of the present application, the above information 1 may be carried in the information of the parameters required for resource selection indicated by the MAC layer to the physical layer. The information of the parameters required for resource selection may include the priority of the side data to be transmitted, the remaining PDB of the data to be transmitted, the number of retransmissions of the side data to be transmitted, etc. In an embodiment of the present application, the information of the parameters required for resource selection indicated above and / or the object to which the information 1 is directed are not specifically limited. For example, the above information may be configured for each resource selection process. For another example, the above information may be for each resource pool. For another example, the above information may be for each resource block set. For another example, the above information may be for each resource block set. For another example, the above information may be for a new transmission process for each TB. For another example, the above information may be for each service flow. For another example, the above information may be for each wireless bearer. For another example, the above information may be for each transmission process of the sideline data to be transmitted. Of course, in the embodiment of the present application, the above-mentioned information 1 may also be transmitted separately from the information indicating the parameters required for resource selection, and the embodiment of the present application does not limit this. In the first mode, the terminal device may send information 2 to the network device, wherein the information 2 may include information associated with type 1 LBT and / or information associated with type 2 LBT. The above-mentioned information associated with type 1 LBT may include one or more information of type 1 LBT result, type 1 LBT rollback number, and type 1 LBT execution time, which is not specifically limited in the embodiments of the present application. The above-mentioned information associated with type 2 LBT may include information of shared COT, for example, may include part or all of the information in the shared COT, and this embodiment of the present application does not specifically limit this. In step S1320, the terminal device performs type 1 LBT on the acquired sidelink resources. In some implementations, the MAC layer determines that the CAPC priority associated with the sidelink data to be transmitted in the current buffer is CAPC1, and sends CAPC 1 to the physical layer. Accordingly, the physical layer can perform type 1 LBT according to CAPC 1. It should be noted that the CAPC 1 mentioned above may be the same as or different from the CAPC priority in information 1, and the embodiments of the present application do not limit this. In some scenarios, when the side data to be transmitted during the terminal device executing step S1310 changes from the side data to be transmitted during the terminal device executing step S1320 (for example, part or all of the side data to be transmitted during the execution of step S1310 is invalid, and for example, new side data to be transmitted arrives before step S1320 is executed), then the CAPC 1 mentioned above may be different from the CAPC priority in information 1. In step S1330, during the execution of type 1 LBT, other terminals send COT sharing information to the terminal device to share the COT with the terminal device. In some implementations, the COT sharing information indicates that the CAPC priority associated with the shared COT is CAPC2. In step S1340 , the terminal device determines operation 1 based on information 3 . In some implementations, operation 1 may include any of: continuing to perform type 1 LBT; interrupting type 1 LBT and performing type 2 LBT based on a shared COT; and performing type 1 and type 2 LBT based on a shared COT simultaneously. In some implementations, the above-mentioned information 3 may include one or more of the following information: terminal capabilities of the terminal device; whether shared COT is available; information on the first channel access method; information on sideline data to be transmitted, the sideline data to be transmitted including first sideline data; whether the terminal device expects to share the obtained COT with other terminals; and information on the selected sideline resources of the terminal device. It should be noted that the specific manner in which the terminal device determines operation 1 based on information 3 can refer to the above introduction about the second information, and information 3 can be used as a specific implementation manner of the second information. For the sake of brevity, it will not be described in detail below. Of course, in the embodiment of the present application, the above-mentioned information 3 may be pre-configured information, pre-defined information, or information used when the terminal device is implemented, and the embodiment of the present application does not limit this. It should be noted that, in the solution described in FIG. 13 , the implementation of type 1 LBT in step S1320 is taken as an example for introduction. In some scenarios, if the sideline resource obtained in step S1310 is a sideline resource shared by other terminals through a shared COT, correspondingly, the terminal device may implement type 2 LBT in step S1320. This embodiment of the present application is not limited to this. As introduced above, in some scenarios, the CAPC priority associated with the sidelink data to be transmitted (also known as the "first CAPC priority") may not match the CAPC priority associated with the channel access process performed by the terminal device (also known as the "second CAPC priority"). For example, the CAPC priority associated with the sidelink data to be transmitted is lower than the CAPC priority associated with the channel access process. At this time, the sidelink data to be transmitted cannot be transmitted on the sidelink resources listened to by the channel access process. Taking the above-mentioned channel access process as type 1 LBT as an example, when the terminal device is executing type 1 LBT, the side data to be transmitted may change. In some cases, part or all of the side data to be transmitted is invalid. In other cases, new side data to be transmitted arrives. At this time, the CAPC priority associated with the changed side data to be transmitted may no longer match the CAPC priority associated with type 1 LBT, resulting in the changed side data to be transmitted being unable to be transmitted on the side resources monitored by type 1 LBT. Taking the above-mentioned channel access process as type 2 LBT as an example, the CAPC priority associated with the shared COT shared by other terminals to the terminal device may not match the CAPC priority associated with the sideline data to be transmitted, resulting in the changed transmitted sideline data being unable to be transmitted on the sideline resources monitored by type 2 LBT. Therefore, an embodiment of the present application provides a wireless communication method, and a terminal device can determine the transmission mode of the side data to be transmitted on the shared spectrum based on the first CAPC priority and the second CAPC priority, which helps to increase the possibility of the side data to be transmitted on the shared spectrum. For ease of understanding, the wireless communication method of the embodiment of the present application is introduced below in conjunction with Figure 14. Fig. 14 is a schematic flow chart of a wireless communication method according to an embodiment of the present application. The method shown in Fig. 14 includes step S1410. In step S1410, the terminal device determines a transmission method of the sidelink data to be transmitted on the shared spectrum based on the first CAPC priority and the second CAPC priority. The above-mentioned first channel access process is a channel access process of listening to the shared spectrum before sending sidelink data on the shared spectrum. For example, the first channel access process can be type 1 LBT or type 2 LBT. The above-mentioned first CAPC priority is associated with the first channel access process performed on the shared spectrum. When the first channel access process includes type 1 LBT, the first CAPC priority can be the CAPC priority indicated by the MAC layer of the terminal device to the physical layer of the terminal device. When the first channel access process includes type 2 LBT, the first CAPC priority can be the CAPC priority indicated in the COT sharing information sent by other terminals. The above-mentioned second CAPC priority may be associated with the sideline data to be transmitted. In some implementations, the second CAPC priority may be determined based on the CAPC priority of the radio bearer that transmits the sideline data to be transmitted, for example, the second CAPC priority may be equal to the CAPC priority of the radio bearer that transmits the sideline data to be transmitted. In other implementations, the second CAPC priority may be determined based on the CAPC priority of the MAC CE that transmits the sideline data to be transmitted, for example, the second CAPC priority may be equal to the CAPC priority of the MAC CE that transmits the sideline data to be transmitted. Of course, in the embodiment of the present application, the above-mentioned second CAPC priority may also be determined based on the CAPC priority of the radio bearer that transmits the sideline data to be transmitted and based on the CAPC priority of the MAC CE that transmits the sideline data to be transmitted, and the embodiment of the present application is not limited to this. The following describes a method for determining the second CAPC priority in an embodiment of the present application. In some implementations, the second CAPC priority is determined based on one or more of the following information: the CAPC priority associated with the logical channel corresponding to the sideline data to be transmitted; the CAPC priority associated with the MAC CE corresponding to the sideline data to be transmitted; the type of sideline data to be transmitted. Taking the determination of the second CAPC priority based on the CAPC priority associated with the logical channel corresponding to the sideline data to be transmitted as an example, the second CAPC priority is determined based on the CAPC priority of the logical channel with the highest priority corresponding to the sideline data to be transmitted. For example, the second CAPC priority is equal to the CAPC priority of the logical channel with the highest priority corresponding to the sideline data to be transmitted. Taking the determination of the second CAPC priority based on the CAPC priority associated with the MAC CE corresponding to the sideline data to be transmitted as an example, the second CAPC priority is determined based on the CAPC priority of the highest priority MAC CE corresponding to the sideline data to be transmitted. For example, the second CAPC priority is equal to the CAPC priority of the highest priority MAC CE corresponding to the sideline data to be transmitted. Taking the second CAPC priority being determined based on the type of sidelink data to be transmitted as an example, the sidelink data type may include the type of radio bearer transmitting the sidelink data and / or the type of MAC CE transmitting the sidelink data. In some implementations, the types of the above-mentioned MAC CE may include SL MAC CE and / or other MAC CEs except SL MAC CE. For example, when the sidelink data to be transmitted corresponds only to MAC CE, the second CAPC priority is equal to the CAPC priority associated with the highest priority MAC CE corresponding to the sidelink data to be transmitted, or in other words, the value of the second CAPC is equal to the value of the CAPC associated with the highest priority MAC CE corresponding to the sidelink data to be transmitted. For another example, when the type of MAC CE corresponding to the sidelink data to be transmitted includes only SL MAC CE, the second CAPC priority is the highest priority, or in other words, the value of the second CAPC is the minimum value. In some implementations, the types of the above-mentioned radio bearers may include DRB and / or SRB. For example, when the radio bearer corresponding to the sidelink data to be transmitted includes SRB, the second CAPC priority is the highest priority, or in other words, the value of the second CAPC is the minimum value. It should be noted that the wireless bearer corresponding to the above-mentioned sidelink data to be transmitted includes SRB. It can be understood that the wireless bearer corresponding to the sidelink data to be transmitted includes SRB and DRB, or the wireless bearer corresponding to the sidelink data to be transmitted only includes SRB. For another example, when the radio bearer corresponding to the sideline data to be transmitted includes only DRBs, the second CAPC priority can be determined based on the CAPC priority of the DRB corresponding to the sideline data to be transmitted. For example, the second CAPC priority can be equal to the lowest priority CAPC priority in the DRB corresponding to the sideline data to be transmitted, or in other words, the second CAPC priority can be equal to the maximum value of the CAPC values ​​of the DRB corresponding to the sideline data to be transmitted. For another example, when the radio bearer corresponding to the sidelink data to be transmitted includes only DRBs, the second CAPC priority is the lowest priority, or in other words, the second CAPC value is the maximum value. It should be noted that, in the embodiment of the present application, the above-mentioned side data to be transmitted can be understood as the data currently cached in the cache of the terminal device. For another example, in the MAC CE and logical channel corresponding to the sidelink data to be transmitted, if the logical channel only includes DRB, the second CAPC priority is the lowest priority CAPC among the CAPCs of the included DRBs, or in other words, the value of the second CAPC is the maximum CAPC value of the included DRBs. For another example, in the MAC CE and logical channel corresponding to the sidelink data to be transmitted, if the logical channel includes SRB or DRB, the second CAPC priority is the highest priority, or in other words, the value of the second CAPC is the minimum value. The above describes the method for determining the second CAPC priority level. The following describes the transmission method of the sideline data to be transmitted in different situations in the embodiments of the present application. In some implementations, when the first condition is met, the terminal device determines a transmission method for the sidelink data to be transmitted on the shared spectrum. The first condition may be related to the high-low relationship between the first CAPC priority and the second CAPC priority. For example, the first condition may include that the value of the first CAPC is lower than or equal to the value of the second CAPC, or that the first CAPC priority is higher than the second CAPC priority. The first condition may be related to the target address associated with the COT, where the COT is a COT shared by other terminals to the terminal device. For example, the first condition may include that the target address of the sideline data to be transmitted meets the target address requirement associated with the shared COT. Of course, in the embodiment of the present application, the first condition may include that the target address of the sideline data to be transmitted meets the target address requirement associated with the shared COT, and the value of the first CAPC is lower than or equal to the value of the second CAPC. Or the above two conditions may be used separately. In some implementations, when the first condition is met, the transmission method includes transmitting the sidelink data to be transmitted on a shared spectrum. In an embodiment of the present application, if the first channel access mode is type 1 LBT, the data packet can be assembled according to the LCP process described above, and the assembled side data can be transmitted through the shared spectrum. If the first channel access mode is type 2 LBT, the matching side data can be selected according to the target address associated with the shared COT to assemble the data packet, and the assembled side data can be transmitted through the shared spectrum. In the above-mentioned side data selected according to the target address associated with the shared COT, the matched side data may include one or more of the following: side data of the terminal device whose target address is the sending end of the shared COT; the corresponding logical channel includes the logical channel with the highest priority; the corresponding MAC CE includes the MAC CE with the highest priority; the target address belongs to the target address allowed by the shared COT. The target addresses allowed by the shared COT may include other terminals except the sending end of the shared COT. The above-mentioned transmission of the sidelink data to be transmitted on the shared spectrum may, for example, include transmitting the above-mentioned sidelink data to be transmitted on the sidelink resources on which the first channel access process in the shared spectrum is successfully sensed. In some other implementations, when the first condition is not met, the terminal device determines a transmission method for the sidelink data to be transmitted on the shared spectrum. The above situation where the first condition is not met may include, for example, that the value of the first CAPC is higher than the value of the second CAPC, and / or the target address of part or all of the sideline data to be transmitted meets the target address requirement associated with the shared COT. In some implementations, the transmission method includes transmitting part of the sidelink data to be transmitted on a shared spectrum, wherein the CAPC priority associated with the part of the data is higher than or equal to the first CAPC priority, and / or the target address associated with the part of the data meets the target address requirement associated with the COT. Taking the example of the CAPC priority associated with some data being higher than or equal to the first CAPC priority, it can be understood that when the value of the first CAPC is higher than the value of the second CAPC, some data in the side data to be transmitted whose associated CAPC priority is higher than or equal to the first CAPC priority can be transmitted through the shared spectrum, or in other words, the terminal device can filter out some data in the side data to be transmitted whose associated CAPC priority is lower than the first CAPC priority, and transmit the remaining side data through the shared spectrum. Taking the example that the target address associated with some data meets the target address requirement associated with COT, it can be understood that when the target address associated with some data in the side data to be transmitted does not meet the target address requirement associated with COT, the partial data that meets the target address requirement associated with COT can be transmitted through the shared spectrum. In other implementations, when the first condition is not met, the terminal device does not transmit the sideline data to be transmitted on the sideline resources associated with the first channel access process, or in other words, the terminal device abandons the sideline resources associated with the first channel access process. It should be noted that the embodiments of the present application do not limit the subsequent behavior of the terminal device. For example, if the terminal device does not transmit the sideline data to be transmitted on the sideline resources associated with the first channel access process, the terminal device may use the existing subsequent resources to transmit the sideline data to be transmitted. For another example, if the terminal device does not transmit the sideline data to be transmitted on the sideline resources associated with the first channel access process, the terminal device may trigger resource reselection. For another example, if the terminal device does not transmit the sideline data to be transmitted on the sideline resources associated with the first channel access process, the terminal device may request the sideline resources from the network device, for example, by sending one or more of BSR, SR, and PUCCH to request the sideline resources. In some other implementations, when the first condition is not met, the terminal device may stop executing resource monitoring in the first channel access process, or in other words, terminate the first channel access process. It should be noted that the embodiments of the present application do not limit the subsequent behavior of the terminal device. For example, if the terminal device terminates the first channel access process, the terminal device can perform resource monitoring on the shared spectrum based on the second CAPC priority. In other words, after the terminal device terminates the first channel access process, it can re-monitor the sideline resources according to the CAPC priority associated with the sideline data currently to be transmitted. In addition, the sideline resources monitored by the terminal device based on the second CAPC priority may include one or more of the following: previously monitored sideline resources, next sideline resources, and reacquired sideline resources, which is not limited in this embodiment of the present application. In some implementations, if the first channel access process is successful, the terminal device may transmit a data packet containing the to-be-transmitted sideline data on the available sideline resources. In some other implementations, if the first channel access process is unsuccessful, the terminal device may abandon the current sidelink resource. The embodiments of the present application do not limit the subsequent behavior of the terminal device. For example, if the terminal device does not transmit the sideline data to be transmitted on the sideline resources associated with the first channel access process, the terminal device may use the existing subsequent resources to transmit the sideline data to be transmitted. For another example, if the terminal device does not transmit the sideline data to be transmitted on the sideline resources associated with the first channel access process, the terminal device may trigger resource reselection. For another example, if the terminal device does not transmit the sideline data to be transmitted on the sideline resources associated with the first channel access process, the terminal device may request the sideline resources from the network device, for example, by sending one or more of BSR, SR, and PUCCH to request the sideline resources. In the embodiment of the present application, the method shown in FIG. 14 can be used alone with the method shown in FIG. 12 to FIG. 13. Of course, the method shown in FIG. 14 can be used in combination with the method shown in FIG. 12 to FIG. 13. For ease of understanding, the wireless communication method of another embodiment of the present application is described below in conjunction with FIG. 15. It should be noted that steps S1510 to S1540 in FIG. 15 are the same as steps S1310 to S1340, and the above description can be referred to. The following mainly describes steps S1550 to S1570. In step S1510, a resource selection process is performed. In step S1520, the terminal device performs type 1 LBT on the acquired sidelink resources. In some implementations, the CAPC priority of the above-mentioned type 1 LBT association is CAPC1. In step S1530, during the execution of type 1 LBT, other terminals send COT sharing information to the terminal device to share the COT with the terminal device. In some implementations, the COT sharing information indicates that the CAPC priority associated with the shared COT is CAPC2. In step S1540 , the terminal device determines operation 1 based on information 3 . In step S1550, the terminal device determines that the CAPC priority associated with the sideline data to be transmitted is CAPC3. It should be noted that the method for determining CAPC 3 can refer to the method for determining the second CAPC priority above. CAPC priority 3 can be used as an example of the second CAPC priority. For the sake of brevity, it will not be repeated here. In step S1560, the terminal device determines a transmission method of the sidelink data to be transmitted on the shared spectrum based on CAPC 4 and CAPC 3. In some implementations, if it is determined in step S1540 to continue to execute type 1 LBT, accordingly, CAPC4 is CAPC 1. At this time, the terminal device determines the transmission method of the sidelink data to be transmitted on the shared spectrum based on CAPC 1 and CAPC 3. If CAPC 1 is equal to CAPC 3, the terminal device can assemble the data packet according to the traditional LCP process. If the priority of CAPC 1 is lower than that of CAPC 3, the terminal device can assemble the data packet according to the traditional LCP process. If CAPC1 has a higher priority than CAPC 3, the terminal device can perform the enhanced LCP process. For example, the terminal device can filter out the side data whose associated CAPC value is greater than CAPC1 from the side data to be transmitted, that is, when selecting a logical channel, only select the logical channel or MAC CE whose CAPC value is less than or equal to CAPC 1, and assemble the side data in the selected logical channel or MAC CE. In some other implementations, if it is determined in step S1540 to continue to execute type 2 LBT, accordingly, CAPC4 is CAPC 2. At this time, the terminal device determines the transmission method of the sidelink data to be transmitted on the shared spectrum based on CAPC 2 and CAPC 3. If CAPC 2 is equal to CAPC 3, the terminal device can indicate the target address based on the shared COT, select the side data that meets the target address condition from the side data to be transmitted, and group the selected side data into packets. It should be noted that the above-mentioned side data that meets the target address condition can be referred to the above introduction, and for the sake of brevity, it will not be repeated here. If the priority of CAPC 2 is lower than that of CAPC 3, the terminal device can select the side data that meets the target address condition from the side data to be transmitted based on the shared COT indication target address, and perform data packet grouping on the selected side data. It should be noted that the above-mentioned side data that meets the target address condition can refer to the above introduction, and for the sake of brevity, it will not be repeated here. If CAPC 2 has a higher priority than CAPC 3, the terminal device may perform the enhanced LCP process. For example, the terminal device can indicate the target address based on the shared COT, and select the side data that meets the target address condition from the side data to be transmitted. Then, the side data whose associated CAPC value is greater than CAPC 2 is filtered out from the side data that meets the target address condition, that is, when selecting a logical channel, only the logical channel or MAC CE whose CAPC value is less than or equal to CAPC 2 is selected, and the side data in the selected logical channel or MAC CE is assembled into a data packet. In step S1570, the terminal device determines whether to transmit a data packet on the sideline resources monitored by the channel access process 1 based on the result of the channel access process 1. The above-mentioned channel access process 1 may be determined in step S1540. For example, when operation 1 includes continuing to perform type 1 LBT, channel access process 1 is type 1 LBT. For another example, when operation 1 includes continuing to perform type 2 LBT, channel access process 2 is type 2 LBT. If the channel access process 1 is successful, the terminal device can transmit a data packet containing the sideline data to be transmitted on the available sideline resources. In some other implementations, if the channel access process 1 is unsuccessful, the terminal device may abandon the current sidelink resource. The embodiments of the present application do not limit the subsequent behavior of the terminal device after abandoning the current sidelink resources. For example, if the terminal device does not transmit the sidelink data to be transmitted on the sidelink resources associated with the first channel access process, the terminal device can use the existing subsequent resources to transmit the sidelink data to be transmitted. For another example, if the terminal device does not transmit the sidelink data to be transmitted on the sidelink resources associated with the first channel access process, the terminal device can trigger resource reselection. For another example, if the terminal device does not transmit the sidelink data to be transmitted on the sidelink resources associated with the first channel access process, the terminal device can request the sidelink resources from the network device, for example, by sending one or more of BSR, scheduling request (scheduling request, SR), and physical uplink control channel (physical uplink control channel, PUCCH) to request the sidelink resources. In addition, in the embodiment of the present application, the order between step S1570 and step S1560 is not limited. For example, step S1570 can be performed before step S1560. For another example, step S1570 can be performed after step S1560. For another example, step S1570 can be performed simultaneously with step S1560. In an embodiment of the present application, step S1550 and step S1560 can be two independent steps, or step S1550 and step S1560 can be combined into one step. In this case, during the execution of step S1560, the side data to be transmitted can be filtered according to the determination method of CAPC3 introduced in S1550. For the sake of brevity, it will not be repeated below. The method embodiment of the present application is described in detail above in conjunction with Figures 1 to 15, and the device embodiment of the present application is described in detail below in conjunction with Figures 16 to 17. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment, so the part not described in detail can refer to the previous method embodiment. FIG. 16 is a schematic flowchart of a terminal device according to an embodiment of the present application. The terminal device 1600 shown in FIG. 16 includes: a processing unit 1610 . Processing unit 1610 is used to determine whether to transmit first side data on a shared spectrum based on a first channel access method and / or a second channel access method, wherein the first channel access method is different from the second channel access method, and the first channel access method and the second channel access method are channel access methods for listening to the shared spectrum before sending the first side data on the shared spectrum. In a possible implementation, the CAPC associated with the first channel access mode is different from the CAPC associated with the second channel access mode, and / or the type of the first channel access mode is different from the type of the second channel access mode. In one possible implementation, the terminal device also includes: a receiving unit, used to receive first information during a process in which the terminal device performs channel access based on the first channel access method, the first information being used to indicate to the terminal device information about a shared COT, the COT being associated with the second channel access method; a processing unit, used to determine, in response to the first information, that the terminal device transmits the first sidelink data on the shared spectrum based on the first channel access method and / or the second channel access method. In one possible implementation, the processing unit is used to: in response to the first information, determine based on the second information whether to transmit the first sideline data on the shared spectrum based on the first channel access method and / or the second channel access method, wherein the second information is associated with one or more of the following: terminal capabilities of the terminal device; whether the shared COT is available; information on the first channel access method; information on the sideline data to be transmitted, the sideline data to be transmitted including the first sideline data; whether the terminal device expects to share the obtained COT with other terminals; and information on the selected sideline resources of the terminal device. In one possible implementation, if the second information is associated with whether the shared COT is available, whether the shared COT is available is determined based on one or more of the following information: the CAPC associated with the shared COT; the transmission type associated with the shared COT; the target address of the sideline communication associated with the shared COT; the remaining time of the shared COT; the terminal device sharing the shared COT; the sideline resources within the shared COT; information of the sideline data to be transmitted, the sideline data to be transmitted including the first sideline data; and the configuration of the network device. In a possible implementation, if the second information is associated with the terminal capability of the terminal device, the terminal capability of the terminal device is used to indicate whether the terminal device supports channel access in both the first channel access mode and the second channel access mode. In one possible implementation, if the second information is associated with the information of the first channel access method, the information of the first channel access method includes one or more of the following: CAPC associated with the first channel access method; execution duration of the first channel access method; number of backoffs of the first channel access method; number of successes of the first channel access method; number of failures of the first channel access method; transmission mode associated with the first channel access method; and whether the sideline resources associated with the first channel access method are continuous. In one possible implementation, if the second information is associated with the information of the side data to be transmitted, the information of the side data to be transmitted includes one or more of the following: the data volume of the side data to be transmitted; the data priority of the side data to be transmitted; the remaining PDB of the side data to be transmitted; and the CAPC associated with the side data to be transmitted. In a possible implementation, if the second information is associated with the information of the selected sideline resource, the information of the selected sideline resource includes the location of the information of the selected sideline resource and / or the resource quantity of the selected sideline resource. In one possible implementation, the processing unit is used to: determine, based on third information, to transmit first sidelink data on a shared spectrum based on a first channel access method and / or a second channel access method, wherein the third information is predefined or preconfigured. In a possible implementation, parameters associated with the first channel access method and / or the second channel access method are sent by the MAC layer of the terminal device to the physical layer of the terminal device. In a possible implementation, the parameters associated with the first channel access mode and / or the second channel access mode include one or more of the following: CAPC, number of consecutive transmissions, and COT information shared by other terminals. In one possible implementation, the CAPC associated with the resource selection process of the terminal device is the same as or different from the CAPC associated with the first channel access method, and / or the CAPC associated with the resource selection process of the terminal device is the same as or different from the CAPC associated with the second channel access method. In a possible implementation, the CAPC, the number of consecutive transmissions, and COT information shared by other terminals associated with the resource selection process are sent by the MAC layer of the terminal device to the physical layer of the terminal device. Fig. 17 is a schematic diagram of a terminal device according to another embodiment of the present application. The terminal device 1700 shown in Fig. 17 includes: a processing unit 1710 . Processing unit 1710 is used to determine a transmission method of sidelink data to be transmitted on a shared spectrum based on a first CAPC and a second CAPC, wherein the first CAPC is associated with a first channel access process performed on the shared spectrum, the second CAPC is associated with the sidelink data, and the first channel access process is a channel access process of listening to the shared spectrum before sending the sidelink data on the shared spectrum. In a possible implementation, the second CAPC is determined based on one or more of the following information: the CAPC associated with the logical channel corresponding to the sideline data to be transmitted; the CAPC associated with the MAC CE corresponding to the sideline data to be transmitted; the type of the sideline data to be transmitted. In a possible implementation, if the second CAPC is determined based on the CAPC associated with the logical channel corresponding to the sidelink data to be transmitted, then the second CAPC is determined based on the CAPC of the highest priority logical channel corresponding to the sidelink data to be transmitted. In a possible implementation, the second CAPC is equal to the CAPC of the logical channel with the highest priority corresponding to the sidelink data to be transmitted. In one possible implementation, when the second CAPC is determined based on the type of sidelink data to be transmitted, if the sidelink data to be transmitted only includes SL MAC CE, the second CAPC is the highest priority CAPC; or if the sidelink data to be transmitted includes SRB, the second CAPC is the highest priority; or if the sidelink data to be transmitted does not include SRB and includes DRB, the second CAPC is the lowest priority CAPC value in the CAPC of the DRB corresponding to the sidelink data to be transmitted. In one possible implementation, the processing unit is used to: determine the transmission method of the sidelink data to be transmitted on the shared spectrum when a first condition is met, wherein the first condition is associated with the first CAPC and / or the second CAPC, and / or the first condition is associated with the target address of a COT, and the COT is a COT shared by other terminals to the terminal device. In a possible implementation, the first condition includes one or more of the following: the first CAPC value is lower than or equal to the second CAPC value; the target address of the sideline data to be transmitted meets the target address requirement associated with the shared COT. In a possible implementation manner, the transmission manner includes transmitting the sidelink data to be transmitted on the shared spectrum. In one possible implementation, the terminal device determines the transmission mode of the sidelink data to be transmitted on the shared spectrum based on the first CAPC and the second CAPC, including: when the first condition is not met, the terminal device determines the transmission mode of the sidelink data to be transmitted on the shared spectrum. In one possible implementation, the transmission method includes transmitting part of the sidelink data to be transmitted on the shared spectrum, or not transmitting the sidelink data to be transmitted on the sidelink resources associated with the first channel access process, wherein the CAPC value associated with the part of the data is higher than or equal to the first CAPC value, and / or the target address associated with the part of the data meets the target address requirement associated with the COT. In one possible implementation, if the transmission method includes not transmitting the sidelink data to be transmitted on the sidelink resources associated with the first channel access process, the processing unit is used to: stop executing resource listening in the first channel access process; and / or perform resource listening on the shared spectrum based on a second CAPC. In one possible implementation, if channel access based on the first channel access process fails, the terminal device performs one or more of the following operations: the terminal device triggers resource reselection; the terminal device sends one or more of BSR, SR and PUCCH to the network device; and the terminal device transmits the sideline data to be transmitted on the target sideline resource, and the target sideline resource is located after the sideline resource associated with the first channel access process. In an optional embodiment, the processing unit 1610 may be a processor 1810. The terminal device 1800 may further include a transceiver 1830 and a memory 1820, as specifically shown in FIG. 18 . In an optional embodiment, the processing unit 1710 may be a processor 1810. The terminal device 1800 may further include a transceiver 1830 and a memory 1820, as specifically shown in FIG. 18 . FIG18 is a schematic structural diagram of a communication device according to an embodiment of the present application. The dotted lines in FIG18 indicate that the unit or module is optional. The device 1800 may be used to implement the method described in the above method embodiment. The device 1800 may be a chip, a terminal device, or a network device. The device 1800 may include one or more processors 1810. The processor 1810 may support the device 1800 to implement the method described in the foregoing method embodiment. The processor 1810 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 also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The apparatus 1800 may further include one or more memories 1820. The memory 1820 stores a program, which can be executed by the processor 1810, so that the processor 1810 executes the method described in the above method embodiment. The memory 1820 may be independent of the processor 1810 or integrated in the processor 1810. The apparatus 1800 may further include a transceiver 1830. The processor 1810 may communicate with other devices or chips through the transceiver 1830. For example, the processor 1810 may transmit and receive data with other devices or chips through the transceiver 1830. 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. The embodiment of the present application also provides a computer program product. The computer program product includes a program. The computer program product can be applied to the terminal or network device provided in the embodiment of the present application, and the program enables the computer to execute the method performed by the terminal or network device in each embodiment of the present application. The embodiment of the present application also provides a computer program. The computer program can be applied to the terminal or network device provided in the embodiment of the present application, and the computer program enables a computer to execute the method executed by the terminal or network device in each embodiment of the present application. It should be understood that the above-mentioned CAPC can be understood as the CAPC priority, and the above-mentioned CAPC value can be understood as the CAPC priority level. Generally speaking, the smaller the CAPC value, the higher the corresponding CAPC priority. On the contrary, the larger the CAPC value, the lower the corresponding CAPC priority. Of course, in the embodiment of the present application, the smaller the CAPC value, the lower the corresponding CAPC priority. On the contrary, the larger the CAPC value, the higher the corresponding CAPC priority. The embodiment of the present application does not limit this. For ease of understanding, the following description is based on the example that the smaller the CAPC value, the higher the corresponding CAPC priority, and the larger the CAPC value, the lower the corresponding CAPC priority. It should also be understood that the terms "system" and "network" in the present application can be used interchangeably. In addition, the terms used in the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. The terms "first", "second", "third" and "fourth" in the specification and claims of the present 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 of their variations are intended to cover non-exclusive inclusions. In the embodiments of the present application, the "indication" mentioned can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association relationship between A and B. In the embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information. In the embodiments of the present application, the term "corresponding" may indicate that there is a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship of indication and being indicated, configuration and being configured, etc. In the embodiments of the present application, "pre-definition" or "pre-configuration" can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in a device (for example, including a terminal device and a network device), and the present application does not limit the specific implementation method. For example, pre-definition can refer to what is defined in the protocol. In the embodiments of the present application, the “protocol” may refer to a standard protocol in the communication field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, and the present application does not limit this. In the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there can be three relationships. 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 article generally indicates that the associated objects before and after are in an "or" relationship. 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. In the several embodiments provided in the present 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, 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. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. 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. 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 may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may 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 may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may 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. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)). The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A wireless communication method, It is characterized in that include: The terminal device determines to transmit the first sidelink data on the shared spectrum based on the first channel access method and / or the second channel access method, The first channel access method is different from the second channel access method, and the first channel access method and the second channel access method are channel access methods for listening to the shared spectrum before sending the first sidelink data on the shared spectrum.

2. The method according to claim 1, It is characterized in that The CAPC associated with the first channel access mode is different from the CAPC associated with the second channel access mode, and / or, A type of the first channel access method is different from a type of the second channel access method.

3. The method according to claim 1 or 2, It is characterized in that The method further comprises: In a process in which the terminal device performs channel access based on the first channel access mode, the terminal device receives first information, where the first information is used to indicate information of sharing a COT to the terminal device, and the COT is associated with the second channel access mode; The terminal device determines to transmit first sidelink data on a shared spectrum based on the first channel access mode and / or the second channel access mode, including: In response to the first information, the terminal device determines to transmit the first sidelink data on the shared spectrum based on the first channel access method and / or the second channel access method.

4. The method according to claim 3, It is characterized in that In response to the first information, the terminal device determines to transmit the first sidelink data on the shared spectrum based on the first channel access mode and / or the second channel access mode, including: In response to the first information, the terminal device determines, according to the second information, to transmit the first sidelink data on the shared spectrum based on the first channel access method and / or the second channel access method, The second information is associated with one or more of the following: Terminal capabilities of the terminal device; Whether the shared COT is available; information about the first channel access method; Information of side data to be transmitted, wherein the side data to be transmitted includes the first side data; Whether the terminal device desires to share the obtained COT with other terminals; and Information about the selected sideline resources of the terminal device.

5. The method according to claim 4, It is characterized in that If the second information is associated with whether the shared COT is available, whether the shared COT is available is determined based on one or more of the following information: The CAPC associated with the shared COT; The transmission type associated with the shared COT; The target address of the side communication associated with the shared COT; The remaining time of the shared COT; Terminal devices that share the shared COT; Sidewalk resources within the shared COT; information of sideline data to be transmitted, wherein the sideline data to be transmitted includes the first sideline data; and Configuration of network devices.

6. The method according to claim 4, It is characterized in that If the second information is associated with the terminal capability of the terminal device, the terminal capability of the terminal device is used to indicate whether the terminal device supports channel access in the first channel access mode and the second channel access mode at the same time.

7. The method according to claim 4, It is characterized in that If the second information is associated with the information of the first channel access method, the information of the first channel access method includes one or more of the following: The CAPC associated with the first channel access method; the execution duration of the first channel access method; the number of fallbacks of the first channel access method; the number of successes of the first channel access method; the number of failures of the first channel access method; the transmission method associated with the first channel access method; and whether the sideline resources associated with the first channel access method are continuous.

8. The method according to claim 4, It is characterized in that If the second information is associated with the information of the side data to be transmitted, the information of the side data to be transmitted includes one or more of the following: The data volume of the sideline data to be transmitted; the data priority of the sideline data to be transmitted; the remaining PDB of the sideline data to be transmitted; and the CAPC associated with the sideline data to be transmitted.

9. The method according to claim 4, It is characterized in that If the second information is associated with the information of the selected sideline resource, the information of the selected sideline resource includes the location of the information of the selected sideline resource and / or the resource quantity of the selected sideline resource.

10. The method according to claim 1 or 2, It is characterized in that The terminal device determines to transmit first sidelink data on a shared spectrum based on the first channel access mode and / or the second channel access mode, including: The terminal device determines, based on the third information, to transmit the first sidelink data on the shared spectrum based on the first channel access method and / or the second channel access method, wherein the third information is predefined or preconfigured.

11. The method according to any one of claims 1 to 10, It is characterized in that Parameters associated with the first channel access method and / or the second channel access method are sent by the MAC layer of the terminal device to the physical layer of the terminal device.

12. The method according to claim 11, It is characterized in that The parameters associated with the first channel access method and / or the second channel access method include one or more of the following: CAPC, number of consecutive transmissions, and COT information shared by other terminals.

13. The method according to any one of claims 1 to 12, It is characterized in that The CAPC associated with the resource selection process of the terminal device is the same as or different from the CAPC associated with the first channel access method, and / or The CAPC associated with the resource selection process of the terminal device is the same as or different from the CAPC associated with the second channel access method.

14. The method according to claim 13, It is characterized in that The CAPC, the number of consecutive transmissions and COT information shared by other terminals associated with the resource selection process are sent by the MAC layer of the terminal device to the physical layer of the terminal device.

15. A wireless communication method, It is characterized in that include: The terminal device determines a transmission mode of the sidelink data to be transmitted on the shared spectrum based on the first CAPC and the second CAPC. The first CAPC is associated with a first channel access process performed on the shared spectrum, the second CAPC is associated with the side data, and the first channel access process is a channel access process of listening to the shared spectrum before sending the side data on the shared spectrum.

16. The method of claim 15, It is characterized in that The second CAPC is determined based on one or more of the following information: The CAPC associated with the logical channel corresponding to the sidelink data to be transmitted; The CAPC associated with the MAC CE corresponding to the sidelink data to be transmitted; The sideline data type to be transmitted.

17. The method of claim 16, It is characterized in that If the second CAPC is determined based on the CAPC associated with the logical channel corresponding to the sideline data to be transmitted, then the second CAPC is determined based on the CAPC of the highest priority logical channel corresponding to the sideline data to be transmitted.

18. The method of claim 17, It is characterized in that The second CAPC is equal to the CAPC of the logical channel with the highest priority corresponding to the sidelink data to be transmitted.

19. The method according to any one of claims 16 to 18, It is characterized in that In the case where the second CAPC is determined based on the type of sideline data to be transmitted, If the sidelink data to be transmitted includes only SL MAC CE, the second CAPC is the highest priority CAPC; or If the sidelink data to be transmitted includes SRB, the second CAPC has the highest priority; or If the sidelink data to be transmitted does not include SRB but includes DRB, then the second CAPC is the lowest priority CAPC value among the CAPCs of the DRB corresponding to the sidelink data to be transmitted.

20. The method according to any one of claims 15 to 19, It is characterized in that The terminal device determines, based on the first CAPC and the second CAPC, a transmission mode of the sidelink data to be transmitted on the shared spectrum, including: When the first condition is met, the terminal device determines the transmission method of the sidelink data to be transmitted on the shared spectrum, wherein the first condition is associated with the first CAPC and / or the second CAPC, and / or the first condition is associated with the target address of the COT, and the COT is the COT shared by other terminals to the terminal device.

21. The method of claim 20, It is characterized in that The first condition includes one or more of the following: The first CAPC value is lower than or equal to the second CAPC value; The target address of the sideline data to be transmitted meets the target address requirement associated with the shared COT.

22. The method according to any one of claims 20 to 21, It is characterized in that The transmission method includes transmitting the sidelink data to be transmitted on the shared spectrum.

23. The method according to any one of claims 20 to 22, It is characterized in that The terminal device determines, based on the first CAPC and the second CAPC, a transmission mode of the sidelink data to be transmitted on the shared spectrum, including: When the first condition is not met, the terminal device determines a transmission method for the sidelink data to be transmitted on the shared spectrum.

24. The method of claim 23, It is characterized in that The transmission mode includes transmitting part of the sidelink data to be transmitted on the shared spectrum, or not transmitting the sidelink data to be transmitted on the sidelink resources associated with the first channel access process, The CAPC value associated with the partial data is lower than or equal to the first CAPC value, and / or the target address associated with the partial data meets the target address requirement associated with the COT.

25. The method of claim 24, It is characterized in that If the transmission mode includes not transmitting the sideline data to be transmitted on the sideline resources associated with the first channel access process, the method further includes: The terminal device stops executing resource monitoring in the first channel access process; and / or The terminal device performs resource sensing on the shared spectrum based on the second CAPC.

26. The method according to any one of claims 15 to 25, It is characterized in that If the channel access based on the first channel access process fails, the terminal device performs one or more of the following operations: The terminal device triggers resource reselection; The terminal device sends one or more of a BSR, a SR and a PUCCH to the network device; and The terminal device transmits the sideline data to be transmitted on a target sideline resource, and the target sideline resource is located after the sideline resource associated with the first channel access process.

27. A terminal device, It is characterized in that include: a processing unit, configured to determine to transmit first sidelink data on a shared spectrum based on the first channel access mode and / or the second channel access mode, The first channel access method is different from the second channel access method, and the first channel access method and the second channel access method are channel access methods for listening to the shared spectrum before sending the first sidelink data on the shared spectrum.

28. The terminal device according to claim 27, It is characterized in that The CAPC associated with the first channel access method is different from the CAPC associated with the second channel access method, and / or the type of the first channel access method is different from the type of the second channel access method.

29. The terminal device according to claim 27 or 28, It is characterized in that The terminal device further includes: A receiving unit, configured to receive first information during a process in which the terminal device performs channel access based on the first channel access method, wherein the first information is used to indicate information of a shared COT to the terminal device, and the COT is associated with the second channel access method; A processing unit is configured to, in response to the first information, enable the terminal device to determine, based on the first channel access method and / or the second channel access method, to transmit the first sidelink data on the shared spectrum.

30. The terminal device according to claim 29, It is characterized in that The processing unit is used for: In response to the first information, determining according to the second information that the first sidelink data is transmitted on the shared spectrum based on the first channel access method and / or the second channel access method, The second information is associated with one or more of the following: Terminal capabilities of the terminal device; Whether the shared COT is available; information about the first channel access method; Information of side data to be transmitted, wherein the side data to be transmitted includes the first side data; Whether the terminal device desires to share the obtained COT with other terminals; and Information about the selected sideline resources of the terminal device.

31. The terminal device according to claim 30, It is characterized in that If the second information is associated with whether the shared COT is available, whether the shared COT is available is determined based on one or more of the following information: The CAPC associated with the shared COT; The transmission type associated with the shared COT; The target address of the side communication associated with the shared COT; The remaining time of the shared COT; Terminal devices that share the shared COT; Sidewalk resources within the shared COT; information of sideline data to be transmitted, wherein the sideline data to be transmitted includes the first sideline data; and Configuration of network devices.

32. The terminal device according to claim 30, It is characterized in that If the second information is associated with the terminal capability of the terminal device, the terminal capability of the terminal device is used to indicate whether the terminal device supports channel access in the first channel access mode and the second channel access mode at the same time.

33. The terminal device according to claim 30, It is characterized in that If the second information is associated with the information of the first channel access method, the information of the first channel access method includes one or more of the following: The CAPC associated with the first channel access method; the execution duration of the first channel access method; the number of fallbacks of the first channel access method; the number of successes of the first channel access method; the number of failures of the first channel access method; the transmission method associated with the first channel access method; and whether the sideline resources associated with the first channel access method are continuous.

34. The terminal device according to claim 30, It is characterized in that If the second information is associated with the information of the side data to be transmitted, the information of the side data to be transmitted includes one or more of the following: The data volume of the sideline data to be transmitted; the data priority of the sideline data to be transmitted; the remaining PDB of the sideline data to be transmitted; and the CAPC associated with the sideline data to be transmitted.

35. The terminal device according to claim 30, It is characterized in that If the second information is associated with the information of the selected sideline resource, the information of the selected sideline resource includes the location of the information of the selected sideline resource and / or the resource quantity of the selected sideline resource.

36. The terminal device according to claim 27 or 28, It is characterized in that The processing unit is used for: Based on third information, it is determined to transmit the first sidelink data on the shared spectrum based on the first channel access method and / or the second channel access method, wherein the third information is predefined or preconfigured.

37. The terminal device according to any one of claims 27 to 36, It is characterized in that Parameters associated with the first channel access method and / or the second channel access method are sent by the MAC layer of the terminal device to the physical layer of the terminal device.

38. The terminal device according to claim 37, It is characterized in that The parameters associated with the first channel access method and / or the second channel access method include one or more of the following: CAPC, number of consecutive transmissions, and COT information shared by other terminals.

39. The terminal device according to any one of claims 27 to 38, It is characterized in that The CAPC associated with the resource selection process of the terminal device is the same as or different from the CAPC associated with the first channel access method, and / or The CAPC associated with the resource selection process of the terminal device is the same as or different from the CAPC associated with the second channel access method.

40. The terminal device according to claim 39, It is characterized in that The CAPC, the number of consecutive transmissions and COT information shared by other terminals associated with the resource selection process are sent by the MAC layer of the terminal device to the physical layer of the terminal device.

41. A terminal device, It is characterized in that include: a processing unit, configured to determine a transmission mode of the sidelink data to be transmitted on the shared spectrum based on the first CAPC and the second CAPC, The first CAPC is associated with a first channel access process performed on the shared spectrum, the second CAPC is associated with the side data, and the first channel access process is a channel access process of listening to the shared spectrum before sending the side data on the shared spectrum.

42. The terminal device according to claim 41, It is characterized in that The second CAPC is determined based on one or more of the following information: The CAPC associated with the logical channel corresponding to the sidelink data to be transmitted; The CAPC associated with the MAC CE corresponding to the sidelink data to be transmitted; The sideline data type to be transmitted.

43. The terminal device according to claim 42, It is characterized in that If the second CAPC is determined based on the CAPC associated with the logical channel corresponding to the sideline data to be transmitted, then the second CAPC is determined based on the CAPC of the highest priority logical channel corresponding to the sideline data to be transmitted.

44. The terminal device according to claim 43, It is characterized in that The second CAPC is equal to the CAPC of the logical channel with the highest priority corresponding to the sidelink data to be transmitted.

45. The terminal device according to claim 44, It is characterized in that In the case where the second CAPC is determined based on the type of sideline data to be transmitted, If the sidelink data to be transmitted includes only SL MAC CE, the second CAPC has the highest priority; or If the sidelink data to be transmitted is SRB, the second CAPC has the highest priority; or If the sidelink data to be transmitted does not include SRB but includes DRB, then the second CAPC is the lowest priority CAPC value among the CAPCs of the DRB corresponding to the sidelink data to be transmitted.

46. ​​The terminal device according to any one of claims 41 to 45, It is characterized in that The processing unit is used for: When a first condition is met, determine the transmission method of the sidelink data to be transmitted on the shared spectrum, wherein the first condition is associated with the first CAPC and / or the second CAPC, and / or the first condition is associated with the target address of the COT, and the COT is the COT shared by other terminals to the terminal device.

47. The terminal device according to claim 46, It is characterized in that The first condition includes one or more of the following: The first CAPC value is lower than or equal to the second CAPC value; The target address of the sideline data to be transmitted meets the target address requirement associated with the shared COT.

48. The terminal device according to any one of claims 46 to 47, It is characterized in that The transmission method includes transmitting the sidelink data to be transmitted on the shared spectrum.

49. The terminal device according to any one of claims 46 to 48, It is characterized in that The terminal device determines, based on the first CAPC and the second CAPC, a transmission mode of the sidelink data to be transmitted on the shared spectrum, including: When the first condition is not met, the terminal device determines a transmission method for the sidelink data to be transmitted on the shared spectrum.

50. The terminal device according to claim 49, It is characterized in that The transmission mode includes transmitting part of the sidelink data to be transmitted on the shared spectrum, or not transmitting the sidelink data to be transmitted on the sidelink resources associated with the first channel access process, The CAPC value associated with the partial data is higher than or equal to the first CAPC value, and / or the target address associated with the partial data meets the target address requirement associated with the COT.

51. The terminal device as claimed in claim 50, It is characterized in that If the transmission mode includes not transmitting the sideline data to be transmitted on the sideline resources associated with the first channel access process, the processing unit is configured to: Stop executing resource monitoring in the first channel access process; and / or Based on the second CAPC, resource sensing is performed on the shared spectrum.

52. The terminal device according to any one of claims 41 to 51, It is characterized in that If the channel access based on the first channel access process fails, the terminal device performs one or more of the following operations: The terminal device triggers resource reselection; The terminal device sends one or more of a BSR, a SR and a PUCCH to the network device; and The terminal device transmits the sideline data to be transmitted on a target sideline resource, and the target sideline resource is located after the sideline resource associated with the first channel access process.

53. A terminal device, It is characterized in that It comprises a transceiver, a memory and a processor, wherein the memory is used to store programs, and the processor is used to call the programs in the memory and control the transceiver to receive or send signals so that the terminal executes the method as described in any one of claims 1 to 26.

54. A device, It is characterized in that The device comprises a processor, configured to call a program from a memory so as to enable the device to execute the method according to any one of claims 1 to 26.

55. A chip, It is characterized in that It comprises a processor, which is used to call a program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 26.

56. A computer readable storage medium, It is characterized in that A program is stored thereon, the program causing a computer to execute the method according to any one of claims 1 to 26.

57. A computer program product, It is characterized in that The method comprises a program which causes a computer to execute the method according to any one of claims 1 to 26.

58. A computer program, It is characterized in that The computer program enables a computer to execute the method according to any one of claims 1 to 26.